matcha-theme 20.188.0 → 20.190.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/abstracts/_colors.scss +197 -122
- package/abstracts/_functions.scss +278 -114
- package/components/matcha-audio-player.scss +1 -5
- package/components/matcha-avatar.scss +2 -5
- package/components/matcha-button-toggle.scss +121 -90
- package/components/matcha-buttons.scss +3 -0
- package/components/matcha-cards.scss +147 -126
- package/components/matcha-checkbox.scss +432 -94
- package/components/matcha-form-field.scss +0 -1
- package/components/matcha-hint-text.scss +7 -8
- package/components/matcha-horizontal-tree.scss +0 -1
- package/components/matcha-menu.scss +0 -1
- package/components/matcha-option.scss +0 -1
- package/components/matcha-panel.scss +0 -1
- package/components/matcha-progress-bar.scss +169 -76
- package/components/matcha-radio.scss +426 -95
- package/components/matcha-scrollbar.scss +1 -2
- package/components/matcha-scrollbox-shadow.scss +1 -2
- package/components/matcha-select.scss +0 -1
- package/components/matcha-skeleton.scss +6 -8
- package/components/matcha-slide-toggle.scss +104 -31
- package/components/matcha-slider.scss +66 -52
- package/components/matcha-spin.scss +47 -4
- package/components/matcha-spinner.scss +65 -22
- package/components/matcha-tabs.scss +104 -79
- package/main.scss +2 -0
- package/package.json +1 -1
- package/tokens/_color-tokens.scss +95 -136
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
@mixin matcha-radio($theme) {
|
|
2
2
|
matcha-radio {
|
|
3
|
+
|
|
3
4
|
//normal use accent color
|
|
4
5
|
&:not([color]) {
|
|
5
6
|
input[type="radio"] {
|
|
6
7
|
border-color: getBlueGrey($theme);
|
|
8
|
+
|
|
7
9
|
&:active {
|
|
8
10
|
border-color: getAccent($theme);
|
|
9
11
|
}
|
|
12
|
+
|
|
10
13
|
&:checked {
|
|
11
14
|
border-color: getAccent($theme);
|
|
12
15
|
|
|
@@ -21,14 +24,15 @@
|
|
|
21
24
|
&:hover {
|
|
22
25
|
background-color: rgba(getAccent($theme), 0.1);
|
|
23
26
|
}
|
|
24
|
-
|
|
27
|
+
|
|
28
|
+
.ripple {
|
|
25
29
|
background: rgba(getAccent($theme), 0.2) !important;
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
//use custom color
|
|
31
|
-
&[color]{
|
|
35
|
+
&[color] {
|
|
32
36
|
input[type="radio"] {
|
|
33
37
|
border-color: getBlueGrey($theme);
|
|
34
38
|
}
|
|
@@ -37,226 +41,555 @@
|
|
|
37
41
|
|
|
38
42
|
// red
|
|
39
43
|
&[color="red"] {
|
|
40
|
-
input[type="radio"]:active {
|
|
44
|
+
input[type="radio"]:active {
|
|
45
|
+
border-color: getRed($theme);
|
|
46
|
+
}
|
|
47
|
+
|
|
41
48
|
input[type="radio"]:checked {
|
|
42
49
|
border-color: getRed($theme);
|
|
43
50
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
51
|
+
|
|
52
|
+
input[type="radio"]:checked::after {
|
|
53
|
+
background-color: getRed($theme);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.matcha-radio-container:hover {
|
|
57
|
+
background-color: rgba(getRed($theme), 0.1);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.matcha-radio-container .ripple {
|
|
61
|
+
background: rgba(getRedContrast($theme), 0.2) !important;
|
|
62
|
+
}
|
|
47
63
|
}
|
|
48
64
|
|
|
49
65
|
&[color="pink"] {
|
|
50
|
-
input[type="radio"]:active {
|
|
66
|
+
input[type="radio"]:active {
|
|
67
|
+
border-color: getPink($theme);
|
|
68
|
+
}
|
|
69
|
+
|
|
51
70
|
input[type="radio"]:checked {
|
|
52
71
|
border-color: getPink($theme);
|
|
53
72
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
73
|
+
|
|
74
|
+
input[type="radio"]:checked::after {
|
|
75
|
+
background-color: getPink($theme);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.matcha-radio-container:hover {
|
|
79
|
+
background-color: rgba(getPink($theme), 0.1);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.matcha-radio-container .ripple {
|
|
83
|
+
background: rgba(getPinkContrast($theme), 0.2) !important;
|
|
84
|
+
}
|
|
57
85
|
}
|
|
58
86
|
|
|
59
87
|
&[color="purple"] {
|
|
60
|
-
input[type="radio"]:active {
|
|
88
|
+
input[type="radio"]:active {
|
|
89
|
+
border-color: getPurple($theme);
|
|
90
|
+
}
|
|
91
|
+
|
|
61
92
|
input[type="radio"]:checked {
|
|
62
93
|
border-color: getPurple($theme);
|
|
63
94
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
95
|
+
|
|
96
|
+
input[type="radio"]:checked::after {
|
|
97
|
+
background-color: getPurple($theme);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.matcha-radio-container:hover {
|
|
101
|
+
background-color: rgba(getPurple($theme), 0.1);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.matcha-radio-container .ripple {
|
|
105
|
+
background: rgba(getPurpleContrast($theme), 0.2) !important;
|
|
106
|
+
}
|
|
67
107
|
}
|
|
68
108
|
|
|
69
109
|
&[color="deep-purple"] {
|
|
70
|
-
input[type="radio"]:active {
|
|
110
|
+
input[type="radio"]:active {
|
|
111
|
+
border-color: getDeepPurple($theme);
|
|
112
|
+
}
|
|
113
|
+
|
|
71
114
|
input[type="radio"]:checked {
|
|
72
115
|
border-color: getDeepPurple($theme);
|
|
73
116
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
117
|
+
|
|
118
|
+
input[type="radio"]:checked::after {
|
|
119
|
+
background-color: getDeepPurple($theme);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.matcha-radio-container:hover {
|
|
123
|
+
background-color: rgba(getDeepPurple($theme), 0.1);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.matcha-radio-container .ripple {
|
|
127
|
+
background: rgba(getDeepPurpleContrast($theme), 0.2) !important;
|
|
128
|
+
}
|
|
77
129
|
}
|
|
78
130
|
|
|
79
131
|
&[color="indigo"] {
|
|
80
|
-
input[type="radio"]:active {
|
|
132
|
+
input[type="radio"]:active {
|
|
133
|
+
border-color: getIndigo($theme);
|
|
134
|
+
}
|
|
135
|
+
|
|
81
136
|
input[type="radio"]:checked {
|
|
82
137
|
border-color: getIndigo($theme);
|
|
83
138
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
139
|
+
|
|
140
|
+
input[type="radio"]:checked::after {
|
|
141
|
+
background-color: getIndigo($theme);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.matcha-radio-container:hover {
|
|
145
|
+
background-color: rgba(getIndigo($theme), 0.1);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.matcha-radio-container .ripple {
|
|
149
|
+
background: rgba(getIndigoContrast($theme), 0.2) !important;
|
|
150
|
+
}
|
|
87
151
|
}
|
|
88
152
|
|
|
89
153
|
&[color="blue"] {
|
|
90
|
-
input[type="radio"]:active {
|
|
154
|
+
input[type="radio"]:active {
|
|
155
|
+
border-color: getBlue($theme);
|
|
156
|
+
}
|
|
157
|
+
|
|
91
158
|
input[type="radio"]:checked {
|
|
92
159
|
border-color: getBlue($theme);
|
|
93
160
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
161
|
+
|
|
162
|
+
input[type="radio"]:checked::after {
|
|
163
|
+
background-color: getBlue($theme);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.matcha-radio-container:hover {
|
|
167
|
+
background-color: rgba(getBlue($theme), 0.1);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.matcha-radio-container .ripple {
|
|
171
|
+
background: rgba(getBlueContrast($theme), 0.2) !important;
|
|
172
|
+
}
|
|
97
173
|
}
|
|
98
174
|
|
|
99
175
|
&[color="light-blue"] {
|
|
100
|
-
input[type="radio"]:active {
|
|
176
|
+
input[type="radio"]:active {
|
|
177
|
+
border-color: getLightBlue($theme);
|
|
178
|
+
}
|
|
179
|
+
|
|
101
180
|
input[type="radio"]:checked {
|
|
102
181
|
border-color: getLightBlue($theme);
|
|
103
182
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
183
|
+
|
|
184
|
+
input[type="radio"]:checked::after {
|
|
185
|
+
background-color: getLightBlue($theme);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.matcha-radio-container:hover {
|
|
189
|
+
background-color: rgba(getLightBlue($theme), 0.1);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.matcha-radio-container .ripple {
|
|
193
|
+
background: rgba(getLightBlueContrast($theme), 0.2) !important;
|
|
194
|
+
}
|
|
107
195
|
}
|
|
108
196
|
|
|
109
197
|
&[color="cyan"] {
|
|
110
|
-
input[type="radio"]:active {
|
|
198
|
+
input[type="radio"]:active {
|
|
199
|
+
border-color: getCyan($theme);
|
|
200
|
+
}
|
|
201
|
+
|
|
111
202
|
input[type="radio"]:checked {
|
|
112
203
|
border-color: getCyan($theme);
|
|
113
204
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
205
|
+
|
|
206
|
+
input[type="radio"]:checked::after {
|
|
207
|
+
background-color: getCyan($theme);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.matcha-radio-container:hover {
|
|
211
|
+
background-color: rgba(getCyan($theme), 0.1);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.matcha-radio-container .ripple {
|
|
215
|
+
background: rgba(getCyanContrast($theme), 0.2) !important;
|
|
216
|
+
}
|
|
117
217
|
}
|
|
118
218
|
|
|
119
219
|
&[color="teal"] {
|
|
120
|
-
input[type="radio"]:active {
|
|
220
|
+
input[type="radio"]:active {
|
|
221
|
+
border-color: getTeal($theme);
|
|
222
|
+
}
|
|
223
|
+
|
|
121
224
|
input[type="radio"]:checked {
|
|
122
225
|
border-color: getTeal($theme);
|
|
123
226
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
227
|
+
|
|
228
|
+
input[type="radio"]:checked::after {
|
|
229
|
+
background-color: getTeal($theme);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.matcha-radio-container:hover {
|
|
233
|
+
background-color: rgba(getTeal($theme), 0.1);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.matcha-radio-container .ripple {
|
|
237
|
+
background: rgba(getTealContrast($theme), 0.2) !important;
|
|
238
|
+
}
|
|
127
239
|
}
|
|
128
240
|
|
|
129
241
|
&[color="green"] {
|
|
130
|
-
input[type="radio"]:active {
|
|
242
|
+
input[type="radio"]:active {
|
|
243
|
+
border-color: getGreen($theme);
|
|
244
|
+
}
|
|
245
|
+
|
|
131
246
|
input[type="radio"]:checked {
|
|
132
247
|
border-color: getGreen($theme);
|
|
133
248
|
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
249
|
+
|
|
250
|
+
input[type="radio"]:checked::after {
|
|
251
|
+
background-color: getGreen($theme);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.matcha-radio-container:hover {
|
|
255
|
+
background-color: rgba(getGreen($theme), 0.1);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.matcha-radio-container .ripple {
|
|
259
|
+
background: rgba(getGreenContrast($theme), 0.2) !important;
|
|
260
|
+
}
|
|
137
261
|
}
|
|
138
262
|
|
|
139
263
|
&[color="light-green"] {
|
|
140
|
-
input[type="radio"]:active {
|
|
264
|
+
input[type="radio"]:active {
|
|
265
|
+
border-color: getLightGreen($theme);
|
|
266
|
+
}
|
|
267
|
+
|
|
141
268
|
input[type="radio"]:checked {
|
|
142
269
|
border-color: getLightGreen($theme);
|
|
143
270
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
271
|
+
|
|
272
|
+
input[type="radio"]:checked::after {
|
|
273
|
+
background-color: getLightGreen($theme);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.matcha-radio-container:hover {
|
|
277
|
+
background-color: rgba(getLightGreen($theme), 0.1);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.matcha-radio-container .ripple {
|
|
281
|
+
background: rgba(getLightGreenContrast($theme), 0.2) !important;
|
|
282
|
+
}
|
|
147
283
|
}
|
|
148
284
|
|
|
149
285
|
&[color="lime"] {
|
|
150
|
-
input[type="radio"]:active {
|
|
286
|
+
input[type="radio"]:active {
|
|
287
|
+
border-color: getLime($theme);
|
|
288
|
+
}
|
|
289
|
+
|
|
151
290
|
input[type="radio"]:checked {
|
|
152
291
|
border-color: getLime($theme);
|
|
153
292
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
293
|
+
|
|
294
|
+
input[type="radio"]:checked::after {
|
|
295
|
+
background-color: getLime($theme);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.matcha-radio-container:hover {
|
|
299
|
+
background-color: rgba(getLime($theme), 0.1);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.matcha-radio-container .ripple {
|
|
303
|
+
background: rgba(getLimeContrast($theme), 0.2) !important;
|
|
304
|
+
}
|
|
157
305
|
}
|
|
158
306
|
|
|
159
307
|
&[color="yellow"] {
|
|
160
|
-
input[type="radio"]:active {
|
|
308
|
+
input[type="radio"]:active {
|
|
309
|
+
border-color: getYellow($theme);
|
|
310
|
+
}
|
|
311
|
+
|
|
161
312
|
input[type="radio"]:checked {
|
|
162
313
|
border-color: getYellow($theme);
|
|
163
314
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
315
|
+
|
|
316
|
+
input[type="radio"]:checked::after {
|
|
317
|
+
background-color: getYellow($theme);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.matcha-radio-container:hover {
|
|
321
|
+
background-color: rgba(getYellow($theme), 0.1);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.matcha-radio-container .ripple {
|
|
325
|
+
background: rgba(getYellowContrast($theme), 0.2) !important;
|
|
326
|
+
}
|
|
167
327
|
}
|
|
168
328
|
|
|
169
329
|
&[color="amber"] {
|
|
170
|
-
input[type="radio"]:active {
|
|
330
|
+
input[type="radio"]:active {
|
|
331
|
+
border-color: getAmber($theme);
|
|
332
|
+
}
|
|
333
|
+
|
|
171
334
|
input[type="radio"]:checked {
|
|
172
335
|
border-color: getAmber($theme);
|
|
173
336
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
337
|
+
|
|
338
|
+
input[type="radio"]:checked::after {
|
|
339
|
+
background-color: getAmber($theme);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.matcha-radio-container:hover {
|
|
343
|
+
background-color: rgba(getAmber($theme), 0.1);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.matcha-radio-container .ripple {
|
|
347
|
+
background: rgba(getAmberContrast($theme), 0.2) !important;
|
|
348
|
+
}
|
|
177
349
|
}
|
|
178
350
|
|
|
179
351
|
&[color="orange"] {
|
|
180
|
-
input[type="radio"]:active {
|
|
352
|
+
input[type="radio"]:active {
|
|
353
|
+
border-color: getOrange($theme);
|
|
354
|
+
}
|
|
355
|
+
|
|
181
356
|
input[type="radio"]:checked {
|
|
182
357
|
border-color: getOrange($theme);
|
|
183
358
|
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
359
|
+
|
|
360
|
+
input[type="radio"]:checked::after {
|
|
361
|
+
background-color: getOrange($theme);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.matcha-radio-container:hover {
|
|
365
|
+
background-color: rgba(getOrange($theme), 0.1);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.matcha-radio-container .ripple {
|
|
369
|
+
background: rgba(getOrangeContrast($theme), 0.2) !important;
|
|
370
|
+
}
|
|
187
371
|
}
|
|
188
372
|
|
|
189
373
|
&[color="deep-orange"] {
|
|
190
|
-
input[type="radio"]:active {
|
|
374
|
+
input[type="radio"]:active {
|
|
375
|
+
border-color: getDeepOrange($theme);
|
|
376
|
+
}
|
|
377
|
+
|
|
191
378
|
input[type="radio"]:checked {
|
|
192
379
|
border-color: getDeepOrange($theme);
|
|
193
380
|
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
381
|
+
|
|
382
|
+
input[type="radio"]:checked::after {
|
|
383
|
+
background-color: getDeepOrange($theme);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.matcha-radio-container:hover {
|
|
387
|
+
background-color: rgba(getDeepOrange($theme), 0.1);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.matcha-radio-container .ripple {
|
|
391
|
+
background: rgba(getDeepOrangeContrast($theme), 0.2) !important;
|
|
392
|
+
}
|
|
197
393
|
}
|
|
198
394
|
|
|
199
395
|
&[color="brown"] {
|
|
200
|
-
input[type="radio"]:active {
|
|
396
|
+
input[type="radio"]:active {
|
|
397
|
+
border-color: getBrown($theme);
|
|
398
|
+
}
|
|
399
|
+
|
|
201
400
|
input[type="radio"]:checked {
|
|
202
401
|
border-color: getBrown($theme);
|
|
203
402
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
403
|
+
|
|
404
|
+
input[type="radio"]:checked::after {
|
|
405
|
+
background-color: getBrown($theme);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.matcha-radio-container:hover {
|
|
409
|
+
background-color: rgba(getBrown($theme), 0.1);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.matcha-radio-container .ripple {
|
|
413
|
+
background: rgba(getBrownContrast($theme), 0.2) !important;
|
|
414
|
+
}
|
|
207
415
|
}
|
|
208
416
|
|
|
209
417
|
&[color="grey"] {
|
|
210
|
-
input[type="radio"]:active {
|
|
418
|
+
input[type="radio"]:active {
|
|
419
|
+
border-color: getGrey($theme);
|
|
420
|
+
}
|
|
421
|
+
|
|
211
422
|
input[type="radio"]:checked {
|
|
212
423
|
border-color: getGrey($theme);
|
|
213
424
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
425
|
+
|
|
426
|
+
input[type="radio"]:checked::after {
|
|
427
|
+
background-color: getGrey($theme);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.matcha-radio-container:hover {
|
|
431
|
+
background-color: rgba(getGrey($theme), 0.1);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.matcha-radio-container .ripple {
|
|
435
|
+
background: rgba(getGreyContrast($theme), 0.2) !important;
|
|
436
|
+
}
|
|
217
437
|
}
|
|
218
438
|
|
|
219
439
|
&[color="blue-grey"] {
|
|
220
|
-
input[type="radio"]:active {
|
|
440
|
+
input[type="radio"]:active {
|
|
441
|
+
border-color: getBlueGrey($theme);
|
|
442
|
+
}
|
|
443
|
+
|
|
221
444
|
input[type="radio"]:checked {
|
|
222
445
|
border-color: getBlueGrey($theme);
|
|
223
446
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
447
|
+
|
|
448
|
+
input[type="radio"]:checked::after {
|
|
449
|
+
background-color: getBlueGrey($theme);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.matcha-radio-container:hover {
|
|
453
|
+
background-color: rgba(getBlueGrey($theme), 0.1);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.matcha-radio-container .ripple {
|
|
457
|
+
background: rgba(getBlueGreyContrast($theme), 0.2) !important;
|
|
458
|
+
}
|
|
227
459
|
}
|
|
228
460
|
|
|
229
461
|
// primary
|
|
230
462
|
&[color="primary"] {
|
|
231
|
-
input[type="radio"]:active {
|
|
463
|
+
input[type="radio"]:active {
|
|
464
|
+
border-color: getPrimary($theme);
|
|
465
|
+
}
|
|
466
|
+
|
|
232
467
|
input[type="radio"]:checked {
|
|
233
468
|
border-color: getPrimary($theme);
|
|
234
469
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
470
|
+
|
|
471
|
+
input[type="radio"]:checked::after {
|
|
472
|
+
background-color: getPrimary($theme);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.matcha-radio-container:hover {
|
|
476
|
+
background-color: rgba(getPrimary($theme), 0.1);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.matcha-radio-container .ripple {
|
|
480
|
+
background: rgba(getPrimaryContrast($theme), 0.2) !important;
|
|
481
|
+
}
|
|
238
482
|
}
|
|
239
483
|
|
|
240
484
|
// accent
|
|
241
485
|
&[color="accent"] {
|
|
242
|
-
input[type="radio"]:active {
|
|
486
|
+
input[type="radio"]:active {
|
|
487
|
+
border-color: getAccent($theme);
|
|
488
|
+
}
|
|
489
|
+
|
|
243
490
|
input[type="radio"]:checked {
|
|
244
491
|
border-color: getAccent($theme);
|
|
245
492
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
493
|
+
|
|
494
|
+
input[type="radio"]:checked::after {
|
|
495
|
+
background-color: getAccent($theme);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.matcha-radio-container:hover {
|
|
499
|
+
background-color: rgba(getAccent($theme), 0.1);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.matcha-radio-container .ripple {
|
|
503
|
+
background: rgba(getAccentContrast($theme), 0.2) !important;
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
&[color="success"] {
|
|
508
|
+
input[type="radio"]:active {
|
|
509
|
+
border-color: getSuccess($theme);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
input[type="radio"]:checked {
|
|
513
|
+
border-color: getSuccess($theme);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
input[type="radio"]:checked::after {
|
|
517
|
+
background-color: getSuccess($theme);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.matcha-radio-container:hover {
|
|
521
|
+
background-color: rgba(getSuccess($theme), 0.1);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.matcha-radio-container .ripple {
|
|
525
|
+
background: rgba(getSuccessContrast($theme), 0.2) !important;
|
|
526
|
+
}
|
|
249
527
|
}
|
|
250
528
|
|
|
251
|
-
// warn
|
|
252
529
|
&[color="warn"] {
|
|
253
|
-
input[type="radio"]:active {
|
|
530
|
+
input[type="radio"]:active {
|
|
531
|
+
border-color: getWarn($theme);
|
|
532
|
+
}
|
|
533
|
+
|
|
254
534
|
input[type="radio"]:checked {
|
|
255
535
|
border-color: getWarn($theme);
|
|
256
536
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
537
|
+
|
|
538
|
+
input[type="radio"]:checked::after {
|
|
539
|
+
background-color: getWarn($theme);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.matcha-radio-container:hover {
|
|
543
|
+
background-color: rgba(getWarn($theme), 0.1);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.matcha-radio-container .ripple {
|
|
547
|
+
background: rgba(getWarnContrast($theme), 0.2) !important;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
&[color="danger"] {
|
|
552
|
+
input[type="radio"]:active {
|
|
553
|
+
border-color: getDanger($theme);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
input[type="radio"]:checked {
|
|
557
|
+
border-color: getDanger($theme);
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
input[type="radio"]:checked::after {
|
|
561
|
+
background-color: getDanger($theme);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.matcha-radio-container:hover {
|
|
565
|
+
background-color: rgba(getDanger($theme), 0.1);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.matcha-radio-container .ripple {
|
|
569
|
+
background: rgba(getDangerContrast($theme), 0.2) !important;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
&[color="info"] {
|
|
574
|
+
input[type="radio"]:active {
|
|
575
|
+
border-color: getInfo($theme);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
input[type="radio"]:checked {
|
|
579
|
+
border-color: getInfo($theme);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
input[type="radio"]:checked::after {
|
|
583
|
+
background-color: getInfo($theme);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.matcha-radio-container:hover {
|
|
587
|
+
background-color: rgba(getInfo($theme), 0.1);
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.matcha-radio-container .ripple {
|
|
591
|
+
background: rgba(getInfoContrast($theme), 0.2) !important;
|
|
592
|
+
}
|
|
260
593
|
}
|
|
261
594
|
|
|
262
595
|
// disabled
|
|
@@ -309,8 +642,7 @@ matcha-radio {
|
|
|
309
642
|
cursor: not-allowed;
|
|
310
643
|
}
|
|
311
644
|
|
|
312
|
-
&:focus {
|
|
313
|
-
}
|
|
645
|
+
&:focus {}
|
|
314
646
|
}
|
|
315
647
|
|
|
316
648
|
.matcha-radio-label {
|
|
@@ -332,5 +664,4 @@ matcha-radio {
|
|
|
332
664
|
cursor: not-allowed;
|
|
333
665
|
}
|
|
334
666
|
}
|
|
335
|
-
}
|
|
336
|
-
|
|
667
|
+
}
|