UNPKG

1.19 kBSCSSView Raw
1@import '../common/styles/theme-functions';
2@import '../common/styles/typography-functions';
3
4@mixin td-dialog-typography($config) {
5 .td-dialog-title,
6 .td-status-dialog-title {
7 font: {
8 family: td-font-family($config);
9 size: td-font-size($config, title);
10 weight: td-font-weight($config, title);
11 }
12 }
13
14 .td-status-dialog-title,
15 .td-status-dialog-title .td-dialog-message {
16 line-height: td-line-height($config, subheading-1);
17 }
18
19 .td-dialog-message {
20 font: {
21 family: td-font-family($config);
22 size: td-font-size($config, subheading-2);
23 weight: td-font-weight($config, subheading-2);
24 }
25
26 line-height: td-line-height($config, subheading-2);
27 }
28}
29@mixin td-dialog-theme($theme) {
30 $primary: map-get($theme, primary);
31 $accent: map-get($theme, accent);
32 $warn: map-get($theme, warn);
33 $foreground: map-get($theme, foreground);
34 $background: map-get($theme, background);
35
36 .mat-toolbar.td-window-dialog-toolbar {
37 color: mat-color($foreground, text);
38 border-bottom: 1px solid mat-color($foreground, divider);
39 background: none;
40 }
41
42 .td-dialog-message {
43 color: mat-color($foreground, secondary-text);
44 }
45}