1 | @import 'styles/theme-functions';
|
2 |
|
3 | @mixin td-common-theme($theme) {
|
4 | $warn: map-get($theme, warn);
|
5 | $foreground: map-get($theme, foreground);
|
6 | $background: map-get($theme, background);
|
7 |
|
8 | mat-list-item,
|
9 | .mat-list-item-content {
|
10 | mat-icon {
|
11 | color: mat-color($foreground, icon);
|
12 |
|
13 | &[matListItemAvatar] {
|
14 | background-color: mat-color($background, hover);
|
15 | }
|
16 | }
|
17 | }
|
18 |
|
19 | .mat-list-text {
|
20 | p {
|
21 | color: mat-color($foreground, disabled);
|
22 | }
|
23 | }
|
24 |
|
25 | table.mat-table {
|
26 | background: transparent;
|
27 | }
|
28 |
|
29 | .mat-row {
|
30 | &:hover,
|
31 | &:focus {
|
32 | background-color: map-get($background, hover);
|
33 | }
|
34 | }
|
35 | }
|