-
Notifications
You must be signed in to change notification settings - Fork 6.7k
/
_all-theme.scss
48 lines (45 loc) · 2.15 KB
/
_all-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
39
40
41
42
43
44
45
46
47
48
@use '@angular/material' as mat;
@use '../core-theme';
@use '../../mdc-button/button-theme';
@use '../../mdc-button/fab-theme';
@use '../../mdc-button/icon-button-theme';
@use '../../mdc-list/list-theme';
@use '../../mdc-menu/menu-theme';
@use '../../mdc-snack-bar/snack-bar-theme';
@use '../../mdc-tabs/tabs-theme';
@use '../../mdc-table/table-theme';
@use '../../mdc-paginator/paginator-theme';
@use '../../mdc-progress-spinner/progress-spinner-theme';
@mixin all-mdc-component-themes($theme-or-color-config) {
$dedupe-key: 'angular-material-mdc-theme';
@include mat.private-check-duplicate-theme-styles($theme-or-color-config, $dedupe-key) {
@include core-theme.theme($theme-or-color-config);
@include mat.autocomplete-theme($theme-or-color-config);
@include button-theme.theme($theme-or-color-config);
@include mat.dialog-theme($theme-or-color-config);
@include fab-theme.theme($theme-or-color-config);
@include icon-button-theme.theme($theme-or-color-config);
@include mat.card-theme($theme-or-color-config);
@include mat.checkbox-theme($theme-or-color-config);
@include mat.chips-theme($theme-or-color-config);
@include list-theme.theme($theme-or-color-config);
@include menu-theme.theme($theme-or-color-config);
@include paginator-theme.theme($theme-or-color-config);
@include mat.progress-bar-theme($theme-or-color-config);
@include progress-spinner-theme.theme($theme-or-color-config);
@include mat.radio-theme($theme-or-color-config);
@include mat.select-theme($theme-or-color-config);
@include mat.slide-toggle-theme($theme-or-color-config);
@include mat.slider-theme($theme-or-color-config);
@include snack-bar-theme.theme($theme-or-color-config);
@include table-theme.theme($theme-or-color-config);
@include mat.form-field-theme($theme-or-color-config);
@include mat.input-theme($theme-or-color-config);
@include tabs-theme.theme($theme-or-color-config);
@include mat.tooltip-theme($theme-or-color-config);
}
}
// @deprecated Use `all-mdc-component-themes`.
@mixin angular-material-mdc-theme($theme-or-color-config) {
@include all-mdc-component-themes($theme-or-color-config);
}