@@ -12,9 +12,12 @@ $prefix: (mat, button-toggle);
1212// but may be in a future version of the theming API.
1313@function get-unthemable-tokens () {
1414 @return (
15- shape: 4px ,
16- hover- state- layer- opacity: 0.04 ,
1715 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 ,
1821 );
1922}
2023
@@ -33,19 +36,23 @@ $prefix: (mat, button-toggle);
3336 $theme-divider-color );
3437
3538 @return (
36- text- color: inspection .get-theme-color ($theme , foreground , text ),
3739 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 ),
40+ disabled- selected- state- background- color:inspection .get-theme-color ($theme , background , selected-disabled-button ),
4541 disabled- selected- state- text- color: inspection .get-theme-color ($theme , foreground , text ),
46- disabled- selected - state- background- color:
47- inspection .get-theme-color ($theme , background , selected- disabled-button ),
42+ disabled- state- background- color: inspection . get-theme-color ( $theme , background , card ),
43+ disabled - state - text - color: inspection .get-theme-color ($theme , foreground , disabled-button ),
4844 divider- color: $divider-color ,
45+ legacy- disabled- selected- state- background- color: inspection .get-theme-color ($theme , background , selected-disabled-button ),
46+ legacy- disabled- state- background- color: inspection .get-theme-color ($theme , background , disabled-button-toggle ),
47+ legacy- disabled- state- text- color: inspection .get-theme-color ($theme , foreground , disabled-button ),
48+ legacy- selected- state- background- color: inspection .get-theme-color ($theme , background , selected-button ),
49+ legacy- selected- state- text- color: inspection .get-theme-color ($theme , foreground , secondary-text ),
50+ legacy- state- layer- color: inspection .get-theme-color ($theme , background , focused-button ),
51+ legacy- text- color: inspection .get-theme-color ($theme , foreground , hint-text ),
52+ selected- state- background- color: inspection .get-theme-color ($theme , background , selected-button ),
53+ selected- state- text- color: inspection .get-theme-color ($theme , foreground , text ),
54+ state- layer- color: sass-utils .safe-color-change (inspection .get-theme-color ($theme , background , focused-button ), $alpha : 1 ),
55+ text- color: inspection .get-theme-color ($theme , foreground , text ),
4956 );
5057}
5158
@@ -57,6 +64,11 @@ $prefix: (mat, button-toggle);
5764 label- text- size: inspection .get-theme-typography ($theme , body-1 , font-size ),
5865 label- text- tracking: inspection .get-theme-typography ($theme , body-1 , letter-spacing ),
5966 label- text- weight: inspection .get-theme-typography ($theme , body-1 , font-weight ),
67+ legacy- label- text- font: inspection .get-theme-typography ($theme , body-1 , font-family ),
68+ legacy- label- text- line- height: inspection .get-theme-typography ($theme , body-1 , line-height ),
69+ legacy- label- text- size: inspection .get-theme-typography ($theme , body-1 , font-size ),
70+ legacy- label- text- tracking: inspection .get-theme-typography ($theme , body-1 , letter-spacing ),
71+ legacy- label- text- weight: inspection .get-theme-typography ($theme , body-1 , font-weight ),
6072 );
6173}
6274
0 commit comments