You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
648 B
SCSS
27 lines
648 B
SCSS
@use 'sass:map';
|
|
@use '../../../../../../node_modules/@angular/material/index' as mat;
|
|
|
|
@mixin color($theme) {
|
|
$color-config: mat.get-color-config($theme);
|
|
$primary-palette: map.get($color-config, 'primary');
|
|
|
|
mat-card.selected {
|
|
background-color: mat.get-color-from-palette($primary-palette, 'darker');
|
|
}
|
|
}
|
|
|
|
@mixin typography($theme) {
|
|
}
|
|
|
|
@mixin theme($theme) {
|
|
$color-config: mat.get-color-config($theme);
|
|
@if $color-config != null {
|
|
@include color($theme);
|
|
}
|
|
|
|
$typography-config: mat.get-typography-config($theme);
|
|
@if $typography-config != null {
|
|
@include typography($theme);
|
|
}
|
|
}
|