@@ -12,9 +12,12 @@ $prefix: (mat, button-toggle);
12
12
// but may be in a future version of the theming API.
13
13
@function get-unthemable-tokens () {
14
14
@return (
15
- shape: 4px ,
16
- hover- state- layer- opacity: 0.04 ,
17
15
focus- state- layer- opacity: 0.12 ,
16
+ hover- state- layer- opacity: 0.04 ,
17
+ legacy- focus- state- layer- opacity: 1 ,
18
+ legacy- height: 36px ,
19
+ legacy- shape: 2px ,
20
+ shape: 4px ,
18
21
);
19
22
}
20
23
@@ -33,19 +36,31 @@ $prefix: (mat, button-toggle);
33
36
$theme-divider-color );
34
37
35
38
@return (
36
- text- color: inspection .get-theme-color ($theme , foreground , text ),
37
39
background-color : inspection .get-theme-color ($theme , background , card ),
38
- state- layer- color: sass-utils .safe-color-change (
39
- inspection .get-theme-color ($theme , background , focused-button ), $alpha : 1 ),
40
- selected- state- background- color: inspection .get-theme-color (
41
- $theme , background , selected-button ),
42
- selected- state- text- color: inspection .get-theme-color ($theme , foreground , text ),
43
- disabled- state- text- color: inspection .get-theme-color ($theme , foreground , disabled-button ),
44
- disabled- state- background- color: inspection .get-theme-color ($theme , background , card ),
45
- disabled- selected- state- text- color: inspection .get-theme-color ($theme , foreground , text ),
46
40
disabled- selected- state- background- color:
47
- inspection .get-theme-color ($theme , background , selected-disabled-button ),
41
+ inspection .get-theme-color ($theme , background , selected-disabled-button ),
42
+ disabled- selected- state- text- color: inspection .get-theme-color ($theme , foreground , text ),
43
+ disabled- state- background- color: inspection .get-theme-color ($theme , background , card ),
44
+ disabled- state- text- color: inspection .get-theme-color ($theme , foreground , disabled-button ),
48
45
divider- color: $divider-color ,
46
+ legacy- disabled- selected- state- background- color:
47
+ inspection .get-theme-color ($theme , background , selected-disabled-button ),
48
+ legacy- disabled- state- background- color:
49
+ inspection .get-theme-color ($theme , background , disabled-button-toggle ),
50
+ legacy- disabled- state- text- color:
51
+ inspection .get-theme-color ($theme , foreground , disabled-button ),
52
+ legacy- selected- state- background- color:
53
+ inspection .get-theme-color ($theme , background , selected-button ),
54
+ legacy- selected- state- text- color:
55
+ inspection .get-theme-color ($theme , foreground , secondary-text ),
56
+ legacy- state- layer- color: inspection .get-theme-color ($theme , background , focused-button ),
57
+ legacy- text- color: inspection .get-theme-color ($theme , foreground , hint-text ),
58
+ selected- state- background- color:
59
+ inspection .get-theme-color ($theme , background , selected-button ),
60
+ selected- state- text- color: inspection .get-theme-color ($theme , foreground , text ),
61
+ state- layer- color: sass-utils .safe-color-change (
62
+ inspection .get-theme-color ($theme , background , focused-button ), $alpha : 1 ),
63
+ text- color: inspection .get-theme-color ($theme , foreground , text ),
49
64
);
50
65
}
51
66
@@ -57,6 +72,11 @@ $prefix: (mat, button-toggle);
57
72
label- text- size: inspection .get-theme-typography ($theme , body-1 , font-size ),
58
73
label- text- tracking: inspection .get-theme-typography ($theme , body-1 , letter-spacing ),
59
74
label- text- weight: inspection .get-theme-typography ($theme , body-1 , font-weight ),
75
+ legacy- label- text- font: inspection .get-theme-typography ($theme , body-1 , font-family ),
76
+ legacy- label- text- line- height: inspection .get-theme-typography ($theme , body-1 , line-height ),
77
+ legacy- label- text- size: inspection .get-theme-typography ($theme , body-1 , font-size ),
78
+ legacy- label- text- tracking: inspection .get-theme-typography ($theme , body-1 , letter-spacing ),
79
+ legacy- label- text- weight: inspection .get-theme-typography ($theme , body-1 , font-weight ),
60
80
);
61
81
}
62
82
0 commit comments