1- /* *
2- * Material Custom style
3- * @see https://material.io/guidelines/style/color.html#color-color-palette
4- */
5- .mat-tab-labels {
6- background-color : theme (' colors.slate.50' ) !important ;
7- }
8-
9- .mat-tab-group.mat-primary .mat-ink-bar , .mat-tab-nav-bar.mat-primary .mat-ink-bar {
10- background-color : theme (' colors.green.600' ) !important ;
11- }
1+ // Custom Theming for Angular Material
2+ // For more information: https://material.angular.io/guide/theming
3+ @use ' @angular/material' as mat ;
4+
5+ // Include the common styles for Angular Material. We include this here so that you only
6+ // have to load a single css file for Angular Material in your app.
7+ // Be sure that you only ever include this mixin once!
8+ @include mat .core ();
9+
10+ // Define the palettes for your theme using the Material Design palettes available in palette.scss
11+ // (imported above). For each palette, you can optionally specify a default, lighter, and darker
12+ // hue. Available color palettes: https://material.io/design/color/
13+ $cosna-admin-primary : mat .define-palette (mat .$green-palette );
14+ $cosna-admin-accent : mat .define-palette (mat .$orange-palette );
15+
16+ // The warn palette is optional (defaults to orange).
17+ $cosna-admin-warn : mat .define-palette (mat .$amber-palette );
18+
19+ // Create the theme object. A theme consists of configurations for individual
20+ // theming systems such as "color" or "typography".
21+ $cosna-admin-theme : mat .define-light-theme ((
22+ color : (
23+ primary: $cosna-admin-primary ,
24+ accent: $cosna-admin-accent ,
25+ warn: $cosna-admin-warn ,
26+ )
27+ ));
28+
29+ // Include theme styles for core and each component used in your app.
30+ // Alternatively, you can import and @include the theme mixins for each component
31+ // that you are using.
32+ @include mat .all-component-themes ($cosna-admin-theme );
0 commit comments