1010@include fsc .core ();
1111@include fsc .roboto ();
1212
13- $my-typography : mat .define-typography-config ($font-family : ' Roboto-local' );
13+ $my-typography : mat .define-typography-config (
14+ $font-family : ' Roboto-local' ,
15+ );
1416
1517// Define a dark theme
16- $dark-theme : mat .define-dark-theme ((color : (primary: mat .define-palette (palettes .$md-primary ),
17- accent: mat .define-palette (palettes .$md-accent ),
18- ),
19- // Only include `typography` and `density` in the default dark theme.
20- typography: $my-typography ,
21- density: 0 ,
22- ));
18+ $dark-theme : mat .define-dark-theme (
19+ (
20+ color : (
21+ primary: mat .define-palette (palettes .$md-primary ),
22+ accent: mat .define-palette (palettes .$md-accent ),
23+ ),
24+ // Only include `typography` and `density` in the default dark theme.
25+ typography: $my-typography ,
26+ density: 0 ,
27+ )
28+ );
2329
2430// Define a light theme
25- $light-theme : mat .define-light-theme ((color : (primary: mat .define-palette (palettes .$md-primary ),
26- accent: mat .define-palette (palettes .$md-accent ),
27- ),
28- ));
31+ $light-theme : mat .define-light-theme (
32+ (
33+ color : (
34+ primary: mat .define-palette (palettes .$md-primary ),
35+ accent: mat .define-palette (palettes .$md-accent ),
36+ ),
37+ )
38+ );
2939
3040// Apply the dark theme by default
3141@include mat .all-component-themes ($dark-theme );
@@ -41,4 +51,12 @@ $light-theme: mat.define-light-theme((color: (primary: mat.define-palette(palett
4151
4252html * {
4353 font-family : ' Roboto-local' ;
44- }
54+ }
55+
56+ .dense-search {
57+ @include mat .form-field-density (-5 );
58+
59+ .mat-mdc-form-field-subscript-wrapper {
60+ display : none ;
61+ }
62+ }
0 commit comments