@@ -57,16 +57,19 @@ $prefix: (mat, button);
5757
5858 @return (
5959 filled- container- color: inspection .get-theme-color ($theme , background , card ),
60- filled- disabled- container- color: inspection .get-theme-color ($theme , foreground , disabled-button , 0.12 ),
61- filled- disabled- label- text- color: inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
60+ filled- disabled- container- color:
61+ inspection .get-theme-color ($theme , foreground , disabled-button , 0.12 ),
62+ filled- disabled- label- text- color:
63+ inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
6264 filled- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
6365 filled- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
6466 filled- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
6567 filled- label- text- color: inspection .get-theme-color ($theme , foreground , text , 1 ),
6668 filled- pressed- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
6769 filled- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
6870 filled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
69- outlined- disabled- label- text- color: inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
71+ outlined- disabled- label- text- color:
72+ inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
7073 outlined- disabled- outline- color: $outline ,
7174 outlined- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
7275 outlined- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
@@ -77,16 +80,19 @@ $prefix: (mat, button);
7780 outlined- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
7881 outlined- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
7982 protected- container- color: inspection .get-theme-color ($theme , background , card ),
80- protected- disabled- container- color: inspection .get-theme-color ($theme , foreground , disabled-button , 0.12 ),
81- protected- disabled- label- text- color: inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
83+ protected- disabled- container- color:
84+ inspection .get-theme-color ($theme , foreground , disabled-button , 0.12 ),
85+ protected- disabled- label- text- color:
86+ inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
8287 protected- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
8388 protected- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
8489 protected- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
8590 protected- label- text- color: inspection .get-theme-color ($theme , foreground , text , 1 ),
8691 protected- pressed- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
8792 protected- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
8893 protected- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
89- text- disabled- label- text- color: inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
94+ text- disabled- label- text- color:
95+ inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
9096 text- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
9197 text- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
9298 text- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
@@ -95,8 +101,10 @@ $prefix: (mat, button);
95101 text- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
96102 text- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
97103 tonal- container- color: inspection .get-theme-color ($theme , background , card ),
98- tonal- disabled- container- color: inspection .get-theme-color ($theme , foreground , disabled-button , 0.12 ),
99- tonal- disabled- label- text- color: inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
104+ tonal- disabled- container- color:
105+ inspection .get-theme-color ($theme , foreground , disabled-button , 0.12 ),
106+ tonal- disabled- label- text- color:
107+ inspection .get-theme-color ($theme , foreground , disabled-button , if ($is-dark , 0.5 , 0.38 )),
100108 tonal- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
101109 tonal- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
102110 tonal- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
@@ -141,14 +149,20 @@ $prefix: (mat, button);
141149 filled- state- layer- color: $state-layer-color ,
142150 outlined- label- text- color: inspection .get-theme-color ($theme , $palette-name , default ),
143151 outlined- outline- color: map .get (get-color-tokens ($theme ), outline-color ),
144- outlined- ripple- color: if (meta .type-of ($color ) == color , rgba ($color , $ripple-opacity ), inspection .get-theme-color ($theme , foreground , base , $ripple-opacity )),
152+ outlined- ripple- color:
153+ if (meta .type-of ($color ) == color ,
154+ rgba ($color , $ripple-opacity ),
155+ inspection .get-theme-color ($theme , foreground , base , $ripple-opacity )),
145156 outlined- state- layer- color: $color ,
146157 protected- container- color: $container-color ,
147158 protected- label- text- color: $label-text-color ,
148159 protected- ripple- color: $ripple-color ,
149160 protected- state- layer- color: $state-layer-color ,
150161 text- label- text- color: inspection .get-theme-color ($theme , $palette-name ),
151- text- ripple- color: if (meta .type-of ($color ) == color , rgba ($color , $ripple-opacity ), inspection .get-theme-color ($theme , foreground , base , $ripple-opacity )),
162+ text- ripple- color:
163+ if (meta .type-of ($color ) == color ,
164+ rgba ($color , $ripple-opacity ),
165+ inspection .get-theme-color ($theme , foreground , base , $ripple-opacity )),
152166 text- state- layer- color: $color ,
153167 tonal- container- color: inspection .get-theme-color ($theme , $palette-name , default ),
154168 tonal- label- text- color: inspection .get-theme-color ($theme , $palette-name , default-contrast , 1 ),
0 commit comments