-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path_theme.scss
38 lines (33 loc) · 1.54 KB
/
_theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@use '~@angular/material' as mat;
// Custom Theming for Angular Material
// For more information: https://material.angular.io/guide/theming
// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue. Available color palettes: https://material.io/design/color/
$app-primary: mat.define-palette(mat.$indigo-palette);
$app-accent: mat.define-palette(mat.$green-palette);
// The warn palette is optional (defaults to red).
$app-warn: mat.define-palette(mat.$red-palette);
// Override the grey background with white
mat.$light-theme-background-palette: (
status-bar: map_get(mat.$grey-palette, 300),
app-bar: map_get(mat.$grey-palette, 100),
background: map_get(mat.$grey-palette, A100),
hover: rgba(black, 0.04),
card: white,
dialog: white,
disabled-button: rgba(black, 0.12),
raised-button: white,
focused-button: rgba(black, 0.12),
selected-button: map_get(mat.$grey-palette, 300),
selected-disabled-button: map_get(mat.$grey-palette, 400),
disabled-button-toggle: map_get(mat.$grey-palette, 200),
unselected-chip: map_get(mat.$grey-palette, 300),
disabled-list-option: map_get(mat.$grey-palette, 200),
tooltip: map_get(mat.$grey-palette, 700)
);
// Create the theme object (a Sass map containing all of the palettes).
$app-theme: mat.define-light-theme($app-primary, $app-accent, $app-warn);
$custom-typography: mat.define-typography-config(
$body-1: mat.define-typography-level(16px, 24px, 400),
);