forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
67 lines (58 loc) · 1.34 KB
/
styles.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@use 'sass:map';
@use 'external/npm/node_modules/@angular/material/index' as mat;
@include mat.all-component-typographies();
@include mat.core();
html,
body {
padding: 0;
margin: 0;
}
// Light theme
$light-primary: mat.m2-define-palette(mat.$m2-grey-palette, 700, 200);
$light-accent: mat.m2-define-palette(mat.$m2-blue-palette, 800);
$light-theme: mat.m2-define-light-theme($light-primary, $light-accent);
// Dark theme
$dark-primary: mat.m2-define-palette(mat.$m2-blue-grey-palette, 50);
$dark-accent: mat.m2-define-palette(mat.$m2-blue-palette, 200);
$dark-theme: map.deep-merge(
mat.m2-define-dark-theme($dark-primary, $dark-accent),
(
'color': (
'background': (
background: #202124,
card: #202124,
),
'foreground': (
text: #bcc5ce,
),
),
'background': (
background: #202124,
card: #202124,
),
'foreground': (
'text': #bcc5ce,
),
)
);
.light-theme {
@include mat.all-component-themes($light-theme);
.mat-mdc-chip.mat-mdc-standard-chip {
--mdc-chip-container-height: 24px;
}
}
.dark-theme {
background: #202124;
@include mat.all-component-themes($dark-theme);
.mat-mdc-chip.mat-mdc-standard-chip {
--mdc-chip-container-height: 24px;
}
}
ng-devtools {
.mdc-card {
padding: 4px;
}
}
.mat-mdc-menu-content {
padding: 0 !important;
}