This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use '../palette'; | |
@mixin generateColors($prefix, $palette) { | |
$colors-map: (); | |
@each $key, $value in $palette { | |
@if $key !=contrast { | |
.app-#{$prefix}-#{$key} { | |
color: map-get($palette, $key); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use '../palette'; | |
@mixin app-primary-colors { | |
$colors-map: (); | |
@each $key, $value in $app-primary { | |
@if $key !=contrast { | |
.app-primary-#{$key} { | |
color: map-get($app-primary, $key); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@use 'sass:map'; | |
@import '@angular/material/theming'; | |
$app-primary: ( | |
10: #c5e4ff, | |
20: #9fd2ff, | |
30: #78c0ff, | |
40: #5bb3ff, | |
50: #3ea5ff, | |
60: #389dff, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { environment } from 'src/environments/environment'; | |
import { DebugStreamActionType } from './debug-stream.constants'; | |
export type DevtoolsOptions = { | |
/** instance name visible in devtools */ | |
name: string; | |
/** maximum allowed actions to be stored in the history tree */ | |
maxAge: number; | |
latency: number; | |
actionsBlacklist: string[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Observable } from 'rxjs'; | |
import { tap } from 'rxjs/operators'; | |
import { DebugStreamActionType } from './debug-stream.constants'; | |
import { DevToolsEvent } from './dev-tools'; | |
/** | |
* Shows log on dev mode. | |
* @usageNotes | |
* @params message => message to log. Should be [Component Name] Event Name | |
* Example : of(100).pipe(debugStream('[Component Name] Event name')) | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* `emitEvent`: When true or not supplied (the default), both the `statusChanges` and | |
* `valueChanges` observables emit events with the latest status and value when the control value | |
* is updated. |