Fix scrollbar background
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
309995db24
commit
e8bfd8b710
@ -1,31 +0,0 @@
|
|||||||
@use 'sass:map';
|
|
||||||
@use '~@angular/material' as mat;
|
|
||||||
|
|
||||||
@mixin color($theme) {
|
|
||||||
$color: #0d071b;
|
|
||||||
$color-lighter: desaturate(lighten($color, 5), 5);
|
|
||||||
.mat-raised-button.mat-warn, .mat-fab.mat-warn, .mat-mini-fab.mat-warn, .mat-flat-button, .mat-raised-button, .mat-fab, .mat-mini-fab, .mat-drawer-inner-container, .mat-drawer-content {
|
|
||||||
background-color: $color;
|
|
||||||
}
|
|
||||||
.mat-card {
|
|
||||||
background-color: $color-lighter;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin typography($theme) {
|
|
||||||
// Get the typography config from the theme.
|
|
||||||
$typography-config: mat.get-typography-config($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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue