@@ -57,16 +57,19 @@ $prefix: (mat, button);
57
57
58
58
@return (
59
59
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 )),
62
64
filled- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
63
65
filled- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
64
66
filled- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
65
67
filled- label- text- color: inspection .get-theme-color ($theme , foreground , text , 1 ),
66
68
filled- pressed- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
67
69
filled- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
68
70
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 )),
70
73
outlined- disabled- outline- color: $outline ,
71
74
outlined- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
72
75
outlined- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
@@ -77,16 +80,19 @@ $prefix: (mat, button);
77
80
outlined- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
78
81
outlined- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
79
82
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 )),
82
87
protected- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
83
88
protected- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
84
89
protected- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
85
90
protected- label- text- color: inspection .get-theme-color ($theme , foreground , text , 1 ),
86
91
protected- pressed- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
87
92
protected- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
88
93
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 )),
90
96
text- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
91
97
text- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
92
98
text- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
@@ -95,8 +101,10 @@ $prefix: (mat, button);
95
101
text- ripple- color: inspection .get-theme-color ($theme , foreground , base , 0.1 ),
96
102
text- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
97
103
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 )),
100
108
tonal- disabled- state- layer- color: inspection .get-theme-color ($theme , foreground , base ),
101
109
tonal- focus- state- layer- opacity: if ($is-dark , 0.24 , 0.12 ),
102
110
tonal- hover- state- layer- opacity: if ($is-dark , 0.08 , 0.04 ),
@@ -141,14 +149,20 @@ $prefix: (mat, button);
141
149
filled- state- layer- color: $state-layer-color ,
142
150
outlined- label- text- color: inspection .get-theme-color ($theme , $palette-name , default ),
143
151
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 )),
145
156
outlined- state- layer- color: $color ,
146
157
protected- container- color: $container-color ,
147
158
protected- label- text- color: $label-text-color ,
148
159
protected- ripple- color: $ripple-color ,
149
160
protected- state- layer- color: $state-layer-color ,
150
161
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 )),
152
166
text- state- layer- color: $color ,
153
167
tonal- container- color: inspection .get-theme-color ($theme , $palette-name , default ),
154
168
tonal- label- text- color: inspection .get-theme-color ($theme , $palette-name , default-contrast , 1 ),
0 commit comments