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