Last change
on this file since 472dd7e was 8e74e2f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Fix bugs, add some more.
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 |
|
---|
2 | // Custom Theming for Angular Material
|
---|
3 | // For more information: https://material.angular.io/guide/theming
|
---|
4 | @import '~@angular/material/theming';
|
---|
5 | // Plus imports for other components in your app.
|
---|
6 |
|
---|
7 | // Include the common styles for Angular Material. We include this here so that you only
|
---|
8 | // have to load a single css file for Angular Material in your app.
|
---|
9 | // Be sure that you only ever include this mixin once!
|
---|
10 | @include mat-core();
|
---|
11 |
|
---|
12 | // Define the palettes for your theme using the Material Design palettes available in palette.scss
|
---|
13 | // (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
---|
14 | // hue. Available color palettes: https://material.io/design/color/
|
---|
15 | $Farmatiko-primary: mat-palette($mat-green);
|
---|
16 | $Farmatiko-accent: mat-palette($mat-cyan);
|
---|
17 |
|
---|
18 | // The warn palette is optional (defaults to red).
|
---|
19 | $Farmatiko-warn: mat-palette($mat-red);
|
---|
20 |
|
---|
21 | // Create the theme object (a Sass map containing all of the palettes).
|
---|
22 | $Farmatiko-theme: mat-light-theme($Farmatiko-primary, $Farmatiko-accent, $Farmatiko-warn);
|
---|
23 |
|
---|
24 | // Include theme styles for core and each component used in your app.
|
---|
25 | // Alternatively, you can import and @include the theme mixins for each component
|
---|
26 | // that you are using.
|
---|
27 | @include angular-material-theme($Farmatiko-theme);
|
---|
28 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.