matcha-theme 19.18.0 → 19.20.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 +26 -97
- package/components/matcha-buttons.scss +499 -0
- package/package.json +1 -1
package/abstracts/_colors.scss
CHANGED
|
@@ -197,13 +197,10 @@ $index: 0;
|
|
|
197
197
|
|
|
198
198
|
$get-shade: if($is-dark, 100, 500); // Define $red-shade com base no valor de $is-dark
|
|
199
199
|
|
|
200
|
-
.
|
|
200
|
+
.background-red-alpha {background: rgba(map-get($red, $get-shade), 0.2)}
|
|
201
201
|
.red .ripple{background: rgba(map-get($red-contrast, $get-shade), 0.2)}
|
|
202
202
|
.background-red{background: map-get($red, $get-shade)}
|
|
203
203
|
.border-color-red{border-color: map-get($red, $get-shade)}
|
|
204
|
-
.red[outline]:not([outline="false"]),
|
|
205
|
-
[color="red"][outline]:not([outline="false"]),
|
|
206
|
-
[color="red"][link]:not([link="false"]),
|
|
207
204
|
.color-red{color: map-get($red, $get-shade)!important}
|
|
208
205
|
.fill-red{fill: map-get($red, $get-shade)}
|
|
209
206
|
.stroke-red{stroke: map-get($red, $get-shade)}
|
|
@@ -216,13 +213,10 @@ $index: 0;
|
|
|
216
213
|
background: map-get($red, $get-shade);
|
|
217
214
|
color: map-get($red-contrast, $get-shade);
|
|
218
215
|
}
|
|
219
|
-
.
|
|
216
|
+
.background-pink-alpha {background: rgba(map-get($pink, $get-shade), 0.2)}
|
|
220
217
|
.pink .ripple{background: rgba(map-get($pink-contrast, $get-shade), 0.2)}
|
|
221
218
|
.background-pink{background: map-get($pink, $get-shade)}
|
|
222
219
|
.border-color-pink{border-color: map-get($pink, $get-shade)}
|
|
223
|
-
.pink[outline]:not([outline="false"]),
|
|
224
|
-
[color="pink"][outline]:not([outline="false"]),
|
|
225
|
-
[color="pink"][link]:not([link="false"]),
|
|
226
220
|
.color-pink{color: map-get($pink, $get-shade)!important}
|
|
227
221
|
.fill-pink{fill: map-get($pink, $get-shade)}
|
|
228
222
|
.stroke-pink{stroke: map-get($pink, $get-shade)}
|
|
@@ -235,13 +229,10 @@ $index: 0;
|
|
|
235
229
|
background: map-get($pink, $get-shade);
|
|
236
230
|
color: map-get($pink-contrast, $get-shade);
|
|
237
231
|
}
|
|
238
|
-
.
|
|
232
|
+
.background-purple-alpha {background: rgba(map-get($purple, $get-shade), 0.2)}
|
|
239
233
|
.purple .ripple{background: rgba(map-get($purple-contrast, $get-shade), 0.2)}
|
|
240
234
|
.background-purple{background: map-get($purple, $get-shade)}
|
|
241
235
|
.border-color-purple{border-color: map-get($purple, $get-shade)}
|
|
242
|
-
.purple[outline]:not([outline="false"]),
|
|
243
|
-
[color="purple"][outline]:not([outline="false"]),
|
|
244
|
-
[color="purple"][link]:not([link="false"]),
|
|
245
236
|
.color-purple{color: map-get($purple, $get-shade)!important}
|
|
246
237
|
.fill-purple{fill: map-get($purple, $get-shade)}
|
|
247
238
|
.stroke-purple{stroke: map-get($purple, $get-shade)}
|
|
@@ -254,13 +245,10 @@ $index: 0;
|
|
|
254
245
|
background: map-get($purple, $get-shade);
|
|
255
246
|
color: map-get($purple-contrast, $get-shade);
|
|
256
247
|
}
|
|
257
|
-
.
|
|
248
|
+
.background-deep-purple-alpha {background: rgba(map-get($deep-purple, $get-shade), 0.2)}
|
|
258
249
|
.deep-purple .ripple{background: rgba(map-get($deep-purple-contrast, $get-shade), 0.2)}
|
|
259
250
|
.background-deep-purple{background: map-get($deep-purple, $get-shade)}
|
|
260
251
|
.border-color-deep-purple{border-color: map-get($deep-purple, $get-shade)}
|
|
261
|
-
.deep-purple[outline]:not([outline="false"]),
|
|
262
|
-
[color="deep-purple"][outline]:not([outline="false"]),
|
|
263
|
-
[color="deep-purple"][link]:not([link="false"]),
|
|
264
252
|
.color-deep-purple{color: map-get($deep-purple, $get-shade)!important}
|
|
265
253
|
.fill-deep-purple{fill: map-get($deep-purple, $get-shade)}
|
|
266
254
|
.stroke-deep-purple{stroke: map-get($deep-purple, $get-shade)}
|
|
@@ -273,13 +261,10 @@ $index: 0;
|
|
|
273
261
|
background: map-get($deep-purple, $get-shade);
|
|
274
262
|
color: map-get($deep-purple-contrast, $get-shade);
|
|
275
263
|
}
|
|
276
|
-
.
|
|
264
|
+
.background-indigo-alpha {background: rgba(map-get($indigo, $get-shade), 0.2)}
|
|
277
265
|
.indigo .ripple{background: rgba(map-get($indigo-contrast, $get-shade), 0.2)}
|
|
278
266
|
.background-indigo{background: map-get($indigo, $get-shade)}
|
|
279
267
|
.border-color-indigo{border-color: map-get($indigo, $get-shade)}
|
|
280
|
-
.indigo[outline]:not([outline="false"]),
|
|
281
|
-
[color="indigo"][outline]:not([outline="false"]),
|
|
282
|
-
[color="indigo"][link]:not([link="false"]),
|
|
283
268
|
.color-indigo{color: map-get($indigo, $get-shade)!important}
|
|
284
269
|
.fill-indigo{fill: map-get($indigo, $get-shade)}
|
|
285
270
|
.stroke-indigo{stroke: map-get($indigo, $get-shade)}
|
|
@@ -292,13 +277,10 @@ $index: 0;
|
|
|
292
277
|
background: map-get($indigo, $get-shade);
|
|
293
278
|
color: map-get($indigo-contrast, $get-shade);
|
|
294
279
|
}
|
|
295
|
-
.
|
|
280
|
+
.background-blue-alpha {background: rgba(map-get($blue, $get-shade), 0.2)}
|
|
296
281
|
.blue .ripple{background: rgba(map-get($blue-contrast, $get-shade), 0.2)}
|
|
297
282
|
.background-blue{background: map-get($blue, $get-shade)}
|
|
298
283
|
.border-color-blue{border-color: map-get($blue, $get-shade)}
|
|
299
|
-
.blue[outline]:not([outline="false"]),
|
|
300
|
-
[color="blue"][outline]:not([outline="false"]),
|
|
301
|
-
[color="blue"][link]:not([link="false"]),
|
|
302
284
|
.color-blue{color: map-get($blue, $get-shade)!important}
|
|
303
285
|
.fill-blue{fill: map-get($blue, $get-shade)}
|
|
304
286
|
.stroke-blue{stroke: map-get($blue, $get-shade)}
|
|
@@ -311,13 +293,10 @@ $index: 0;
|
|
|
311
293
|
background: map-get($blue, $get-shade);
|
|
312
294
|
color: map-get($blue-contrast, $get-shade);
|
|
313
295
|
}
|
|
314
|
-
.
|
|
296
|
+
.background-light-blue-alpha {background: rgba(map-get($light-blue, $get-shade), 0.2)}
|
|
315
297
|
.light-blue .ripple{background: rgba(map-get($light-blue-contrast, $get-shade), 0.2)}
|
|
316
298
|
.background-light-blue{background: map-get($light-blue, $get-shade)}
|
|
317
299
|
.border-color-light-blue{border-color: map-get($light-blue, $get-shade)}
|
|
318
|
-
.light-blue[outline]:not([outline="false"]),
|
|
319
|
-
[color="light-blue"][outline]:not([outline="false"]),
|
|
320
|
-
[color="light-blue"][link]:not([link="false"]),
|
|
321
300
|
.color-light-blue{color: map-get($light-blue, $get-shade)!important}
|
|
322
301
|
.fill-light-blue{fill: map-get($light-blue, $get-shade)}
|
|
323
302
|
.stroke-light-blue{stroke: map-get($light-blue, $get-shade)}
|
|
@@ -330,13 +309,10 @@ $index: 0;
|
|
|
330
309
|
background: map-get($light-blue, $get-shade);
|
|
331
310
|
color: map-get($light-blue-contrast, $get-shade);
|
|
332
311
|
}
|
|
333
|
-
.
|
|
312
|
+
.background-cyan-alpha {background: rgba(map-get($cyan, $get-shade), 0.2)}
|
|
334
313
|
.cyan .ripple{background: rgba(map-get($cyan-contrast, $get-shade), 0.2)}
|
|
335
314
|
.background-cyan{background: map-get($cyan, $get-shade)}
|
|
336
315
|
.border-color-cyan{border-color: map-get($cyan, $get-shade)}
|
|
337
|
-
.cyan[outline]:not([outline="false"]),
|
|
338
|
-
[color="cyan"][outline]:not([outline="false"]),
|
|
339
|
-
[color="cyan"][link]:not([link="false"]),
|
|
340
316
|
.color-cyan{color: map-get($cyan, $get-shade)!important}
|
|
341
317
|
.fill-cyan{fill: map-get($cyan, $get-shade)}
|
|
342
318
|
.stroke-cyan{stroke: map-get($cyan, $get-shade)}
|
|
@@ -349,13 +325,10 @@ $index: 0;
|
|
|
349
325
|
background: map-get($cyan, $get-shade);
|
|
350
326
|
color: map-get($cyan-contrast, $get-shade);
|
|
351
327
|
}
|
|
352
|
-
.
|
|
328
|
+
.background-teal-alpha {background: rgba(map-get($teal, $get-shade), 0.2)}
|
|
353
329
|
.teal .ripple{background: rgba(map-get($teal-contrast, $get-shade), 0.2)}
|
|
354
330
|
.background-teal{background: map-get($teal, $get-shade)}
|
|
355
331
|
.border-color-teal{border-color: map-get($teal, $get-shade)}
|
|
356
|
-
.teal[outline]:not([outline="false"]),
|
|
357
|
-
[color="teal"][outline]:not([outline="false"]),
|
|
358
|
-
[color="teal"][link]:not([link="false"]),
|
|
359
332
|
.color-teal{color: map-get($teal, $get-shade)!important}
|
|
360
333
|
.fill-teal{fill: map-get($teal, $get-shade)}
|
|
361
334
|
.stroke-teal{stroke: map-get($teal, $get-shade)}
|
|
@@ -368,13 +341,10 @@ $index: 0;
|
|
|
368
341
|
background: map-get($teal, $get-shade);
|
|
369
342
|
color: map-get($teal-contrast, $get-shade);
|
|
370
343
|
}
|
|
371
|
-
.
|
|
344
|
+
.background-green-alpha {background: rgba(map-get($green, $get-shade), 0.2)}
|
|
372
345
|
.green .ripple{background: rgba(map-get($green-contrast, $get-shade), 0.2)}
|
|
373
346
|
.background-green{background: map-get($green, $get-shade)}
|
|
374
347
|
.border-color-green{border-color: map-get($green, $get-shade)}
|
|
375
|
-
.green[outline]:not([outline="false"]),
|
|
376
|
-
[color="green"][outline]:not([outline="false"]),
|
|
377
|
-
[color="green"][link]:not([link="false"]),
|
|
378
348
|
.color-green{color: map-get($green, $get-shade)!important}
|
|
379
349
|
.fill-green{fill: map-get($green, $get-shade)}
|
|
380
350
|
.stroke-green{stroke: map-get($green, $get-shade)}
|
|
@@ -387,13 +357,10 @@ $index: 0;
|
|
|
387
357
|
background: map-get($green, $get-shade);
|
|
388
358
|
color: map-get($green-contrast, $get-shade);
|
|
389
359
|
}
|
|
390
|
-
.
|
|
360
|
+
.background-light-green-alpha {background: rgba(map-get($light-green, $get-shade), 0.2)}
|
|
391
361
|
.light-green .ripple{background: rgba(map-get($light-green-contrast, $get-shade), 0.2)}
|
|
392
362
|
.background-light-green{background: map-get($light-green, $get-shade)}
|
|
393
363
|
.border-color-light-green{border-color: map-get($light-green, $get-shade)}
|
|
394
|
-
.light-green[outline]:not([outline="false"]),
|
|
395
|
-
[color="light-green"][outline]:not([outline="false"]),
|
|
396
|
-
[color="light-green"][link]:not([link="false"]),
|
|
397
364
|
.color-light-green{color: map-get($light-green, $get-shade)!important}
|
|
398
365
|
.fill-light-green{fill: map-get($light-green, $get-shade)}
|
|
399
366
|
.stroke-light-green{stroke: map-get($light-green, $get-shade)}
|
|
@@ -406,13 +373,10 @@ $index: 0;
|
|
|
406
373
|
background: map-get($light-green, $get-shade);
|
|
407
374
|
color: map-get($light-green-contrast, $get-shade);
|
|
408
375
|
}
|
|
409
|
-
.
|
|
376
|
+
.background-lime-alpha {background: rgba(map-get($lime, $get-shade), 0.2)}
|
|
410
377
|
.lime .ripple{background: rgba(map-get($lime-contrast, $get-shade), 0.2)}
|
|
411
378
|
.background-lime{background: map-get($lime, $get-shade)}
|
|
412
379
|
.border-color-lime{border-color: map-get($lime, $get-shade)}
|
|
413
|
-
.lime[outline]:not([outline="false"]),
|
|
414
|
-
[color="lime"][outline]:not([outline="false"]),
|
|
415
|
-
[color="lime"][link]:not([link="false"]),
|
|
416
380
|
.color-lime{color: map-get($lime, $get-shade)!important}
|
|
417
381
|
.fill-lime{fill: map-get($lime, $get-shade)}
|
|
418
382
|
.stroke-lime{stroke: map-get($lime, $get-shade)}
|
|
@@ -425,13 +389,10 @@ $index: 0;
|
|
|
425
389
|
background: map-get($lime, $get-shade);
|
|
426
390
|
color: map-get($lime-contrast, $get-shade);
|
|
427
391
|
}
|
|
428
|
-
.
|
|
392
|
+
.background-yellow-alpha {background: rgba(map-get($yellow, $get-shade), 0.2)}
|
|
429
393
|
.yellow .ripple{background: rgba(map-get($yellow-contrast, $get-shade), 0.2)}
|
|
430
394
|
.background-yellow{background: map-get($yellow, $get-shade)}
|
|
431
395
|
.border-color-yellow{border-color: map-get($yellow, $get-shade)}
|
|
432
|
-
.yellow[outline]:not([outline="false"]),
|
|
433
|
-
[color="yellow"][outline]:not([outline="false"]),
|
|
434
|
-
[color="yellow"][link]:not([link="false"]),
|
|
435
396
|
.color-yellow{color: map-get($yellow, $get-shade)!important}
|
|
436
397
|
.fill-yellow{fill: map-get($yellow, $get-shade)}
|
|
437
398
|
.stroke-yellow{stroke: map-get($yellow, $get-shade)}
|
|
@@ -444,13 +405,10 @@ $index: 0;
|
|
|
444
405
|
background: map-get($yellow, $get-shade);
|
|
445
406
|
color: map-get($yellow-contrast, $get-shade);
|
|
446
407
|
}
|
|
447
|
-
.
|
|
408
|
+
.background-amber-alpha {background: rgba(map-get($amber, $get-shade), 0.2)}
|
|
448
409
|
.amber .ripple{background: rgba(map-get($amber-contrast, $get-shade), 0.2)}
|
|
449
410
|
.background-amber{background: map-get($amber, $get-shade)}
|
|
450
411
|
.border-color-amber{border-color: map-get($amber, $get-shade)}
|
|
451
|
-
.amber[outline]:not([outline="false"]),
|
|
452
|
-
[color="amber"][outline]:not([outline="false"]),
|
|
453
|
-
[color="amber"][link]:not([link="false"]),
|
|
454
412
|
.color-amber{color: map-get($amber, $get-shade)!important}
|
|
455
413
|
.fill-amber{fill: map-get($amber, $get-shade)}
|
|
456
414
|
.stroke-amber{stroke: map-get($amber, $get-shade)}
|
|
@@ -463,13 +421,10 @@ $index: 0;
|
|
|
463
421
|
background: map-get($amber, $get-shade);
|
|
464
422
|
color: map-get($amber-contrast, $get-shade);
|
|
465
423
|
}
|
|
466
|
-
.
|
|
424
|
+
.background-orange-alpha {background: rgba(map-get($orange, $get-shade), 0.2)}
|
|
467
425
|
.orange .ripple{background: rgba(map-get($orange-contrast, $get-shade), 0.2)}
|
|
468
426
|
.background-orange{background: map-get($orange, $get-shade)}
|
|
469
427
|
.border-color-orange{border-color: map-get($orange, $get-shade)}
|
|
470
|
-
.orange[outline]:not([outline="false"]),
|
|
471
|
-
[color="orange"][outline]:not([outline="false"]),
|
|
472
|
-
[color="orange"][link]:not([link="false"]),
|
|
473
428
|
.color-orange{color: map-get($orange, $get-shade)!important}
|
|
474
429
|
.fill-orange{fill: map-get($orange, $get-shade)}
|
|
475
430
|
.stroke-orange{stroke: map-get($orange, $get-shade)}
|
|
@@ -482,13 +437,10 @@ $index: 0;
|
|
|
482
437
|
background: map-get($orange, $get-shade);
|
|
483
438
|
color: map-get($orange-contrast, $get-shade);
|
|
484
439
|
}
|
|
485
|
-
.
|
|
440
|
+
.background-deep-orange-alpha {background: rgba(map-get($deep-orange, $get-shade), 0.2)}
|
|
486
441
|
.deep-orange .ripple{background: rgba(map-get($deep-orange-contrast, $get-shade), 0.2)}
|
|
487
442
|
.background-deep-orange{background: map-get($deep-orange, $get-shade)}
|
|
488
443
|
.border-color-deep-orange{border-color: map-get($deep-orange, $get-shade)}
|
|
489
|
-
.deep-orange[outline]:not([outline="false"]),
|
|
490
|
-
[color="deep-orange"][outline]:not([outline="false"]),
|
|
491
|
-
[color="deep-orange"][link]:not([link="false"]),
|
|
492
444
|
.color-deep-orange{color: map-get($deep-orange, $get-shade)!important}
|
|
493
445
|
.fill-deep-orange{fill: map-get($deep-orange, $get-shade)}
|
|
494
446
|
.stroke-deep-orange{stroke: map-get($deep-orange, $get-shade)}
|
|
@@ -501,13 +453,10 @@ $index: 0;
|
|
|
501
453
|
background: map-get($deep-orange, $get-shade);
|
|
502
454
|
color: map-get($deep-orange-contrast, $get-shade);
|
|
503
455
|
}
|
|
504
|
-
.
|
|
456
|
+
.background-brown-alpha {background: rgba(map-get($brown, $get-shade), 0.2)}
|
|
505
457
|
.brown .ripple{background: rgba(map-get($brown-contrast, $get-shade), 0.2)}
|
|
506
458
|
.background-brown{background: map-get($brown, $get-shade)}
|
|
507
459
|
.border-color-brown{border-color: map-get($brown, $get-shade)}
|
|
508
|
-
.brown[outline]:not([outline="false"]),
|
|
509
|
-
[color="brown"][outline]:not([outline="false"]),
|
|
510
|
-
[color="brown"][link]:not([link="false"]),
|
|
511
460
|
.color-brown{color: map-get($brown, $get-shade)!important}
|
|
512
461
|
.fill-brown{fill: map-get($brown, $get-shade)}
|
|
513
462
|
.stroke-brown{stroke: map-get($brown, $get-shade)}
|
|
@@ -520,13 +469,10 @@ $index: 0;
|
|
|
520
469
|
background: map-get($brown, $get-shade);
|
|
521
470
|
color: map-get($brown-contrast, $get-shade);
|
|
522
471
|
}
|
|
523
|
-
.
|
|
472
|
+
.background-grey-alpha {background: rgba(map-get($grey, $get-shade), 0.2)}
|
|
524
473
|
.grey .ripple{background: rgba(map-get($grey-contrast, $get-shade), 0.2)}
|
|
525
474
|
.background-grey{background: map-get($grey, $get-shade)}
|
|
526
475
|
.border-color-grey{border-color: map-get($grey, $get-shade)}
|
|
527
|
-
.grey[outline]:not([outline="false"]),
|
|
528
|
-
[color="grey"][outline]:not([outline="false"]),
|
|
529
|
-
[color="grey"][link]:not([link="false"]),
|
|
530
476
|
.color-grey{color: map-get($grey, $get-shade)!important}
|
|
531
477
|
.fill-grey{fill: map-get($grey, $get-shade)}
|
|
532
478
|
.stroke-grey{stroke: map-get($grey, $get-shade)}
|
|
@@ -539,13 +485,10 @@ $index: 0;
|
|
|
539
485
|
background: map-get($grey, $get-shade);
|
|
540
486
|
color: map-get($grey-contrast, $get-shade);
|
|
541
487
|
}
|
|
542
|
-
.
|
|
488
|
+
.background-blue-grey-alpha {background: rgba(map-get($blue-grey, $get-shade), 0.2)}
|
|
543
489
|
.blue-grey .ripple{background: rgba(map-get($blue-grey-contrast, $get-shade), 0.2)}
|
|
544
490
|
.background-blue-grey{background: map-get($blue-grey, $get-shade)}
|
|
545
491
|
.border-color-blue-grey{border-color: map-get($blue-grey, $get-shade)}
|
|
546
|
-
.blue-grey[outline]:not([outline="false"]),
|
|
547
|
-
[color="blue-grey"][outline]:not([outline="false"]),
|
|
548
|
-
[color="blue-grey"][link]:not([link="false"]),
|
|
549
492
|
.color-blue-grey{color: map-get($blue-grey, $get-shade)!important}
|
|
550
493
|
.fill-blue-grey{fill: map-get($blue-grey, $get-shade)}
|
|
551
494
|
.stroke-blue-grey{stroke: map-get($blue-grey, $get-shade)}
|
|
@@ -559,13 +502,10 @@ $index: 0;
|
|
|
559
502
|
color: map-get($blue-grey-contrast, $get-shade);
|
|
560
503
|
}
|
|
561
504
|
|
|
562
|
-
.
|
|
505
|
+
.background-primary-alpha {background: rgba(map-get($primary, default), 0.2)}
|
|
563
506
|
.primary .ripple{background: rgba(map-get($primary, default-contrast), 0.2)}
|
|
564
507
|
.background-primary{background: map-get($primary, default)}
|
|
565
508
|
.border-color-primary{border-color: map-get($primary, default)}
|
|
566
|
-
.primary[outline]:not([outline="false"]),
|
|
567
|
-
[color="primary"][outline]:not([outline="false"]),
|
|
568
|
-
[color="primary"][link]:not([link="false"]),
|
|
569
509
|
.color-primary{color: map-get($primary, default)!important}
|
|
570
510
|
.fill-primary{fill: map-get($primary, default)}
|
|
571
511
|
.stroke-primary{stroke: map-get($primary, default)}
|
|
@@ -579,13 +519,10 @@ $index: 0;
|
|
|
579
519
|
color: map-get($primary, default-contrast);
|
|
580
520
|
}
|
|
581
521
|
|
|
582
|
-
.
|
|
522
|
+
.background-accent-alpha {background: rgba(map-get($accent, default), 0.2)}
|
|
583
523
|
.accent .ripple{background: rgba(map-get($accent, default-contrast), 0.2)}
|
|
584
524
|
.background-accent{background: map-get($accent, default)}
|
|
585
525
|
.border-color-accent{border-color: map-get($accent, default)}
|
|
586
|
-
.accent[outline]:not([outline="false"]),
|
|
587
|
-
[color="accent"][outline]:not([outline="false"]),
|
|
588
|
-
[color="accent"][link]:not([link="false"]),
|
|
589
526
|
.color-accent{color: map-get($accent, default)!important}
|
|
590
527
|
.fill-accent{fill: map-get($accent, default)}
|
|
591
528
|
.stroke-accent{stroke: map-get($accent, default)}
|
|
@@ -599,13 +536,10 @@ $index: 0;
|
|
|
599
536
|
color: map-get($accent, default-contrast);
|
|
600
537
|
}
|
|
601
538
|
|
|
602
|
-
.
|
|
539
|
+
.background-warn-alpha {background: rgba(map-get($warn, default), 0.2)}
|
|
603
540
|
.warn .ripple{background: rgba(map-get($warn, default-contrast), 0.2)}
|
|
604
541
|
.background-warn{background: map-get($warn, default)}
|
|
605
542
|
.border-color-warn{border-color: map-get($warn, default)}
|
|
606
|
-
.warn[outline]:not([outline="false"]),
|
|
607
|
-
[color="warn"][outline]:not([outline="false"]),
|
|
608
|
-
[color="warn"][link]:not([link="false"]),
|
|
609
543
|
.color-warn{color: map-get($warn, default)!important}
|
|
610
544
|
.fill-warn{fill: map-get($warn, default)}
|
|
611
545
|
.stroke-warn{stroke: map-get($warn, default)}
|
|
@@ -619,26 +553,21 @@ $index: 0;
|
|
|
619
553
|
color: map-get($warn, default-contrast);
|
|
620
554
|
}
|
|
621
555
|
|
|
622
|
-
.
|
|
556
|
+
.background-basic-alpha {background: rgba(map-get($foreground, base), 0.2)}
|
|
623
557
|
.basic .ripple{background: rgba(map-get($foreground, base), 0.2)}
|
|
624
558
|
.background-basic{background: map-get($background, card)}
|
|
625
559
|
.border-color-basic{border-color: map-get($foreground, base)}
|
|
626
|
-
.basic[outline]:not([outline="false"]):not([color]),
|
|
627
|
-
[color="basic"][outline]:not([outline="false"]),
|
|
628
|
-
[color="basic"][link]:not([link="false"]),
|
|
629
560
|
.color-basic{color: map-get($foreground, base)!important}
|
|
630
561
|
.fill-basic{fill: map-get($background, card)}
|
|
631
562
|
.stroke-basic{stroke: map-get($foreground, base)}
|
|
632
563
|
.color-basic-alpha{color: rgba(map-get($foreground, base),0.2)!important}
|
|
633
564
|
.basic-alpha{
|
|
634
|
-
background: rgba(map-get($
|
|
635
|
-
color: map-get($
|
|
565
|
+
background: rgba(map-get($foreground, base), 0.2);
|
|
566
|
+
color: map-get($foreground, base);
|
|
636
567
|
}
|
|
637
568
|
.basic{
|
|
638
569
|
background: map-get($background, card);
|
|
639
|
-
|
|
640
|
-
color: map-get($foreground, base);
|
|
641
|
-
}
|
|
570
|
+
color: map-get($foreground, base);
|
|
642
571
|
}
|
|
643
572
|
|
|
644
573
|
.color-unset {
|
|
@@ -189,12 +189,511 @@ a[matcha-button] {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
@mixin matcha-button-theme($theme) {
|
|
192
|
+
$is-dark: map-get($theme, is-dark);
|
|
193
|
+
$palettes: getBaseColorsPalettes();
|
|
194
|
+
// colors from base palette
|
|
195
|
+
$red: map-get($palettes, red);
|
|
196
|
+
$red-contrast: map-get($red, 'contrast');
|
|
197
|
+
$pink: map-get($palettes, pink);
|
|
198
|
+
$pink-contrast: map-get($pink, 'contrast');
|
|
199
|
+
$purple: map-get($palettes, purple);
|
|
200
|
+
$purple-contrast: map-get($purple, 'contrast');
|
|
201
|
+
$deep-purple: map-get($palettes, deep-purple);
|
|
202
|
+
$deep-purple-contrast: map-get($deep-purple, 'contrast');
|
|
203
|
+
$indigo: map-get($palettes, indigo);
|
|
204
|
+
$indigo-contrast: map-get($indigo, 'contrast');
|
|
205
|
+
$blue: map-get($palettes, blue);
|
|
206
|
+
$blue-contrast: map-get($blue, 'contrast');
|
|
207
|
+
$light-blue: map-get($palettes, light-blue);
|
|
208
|
+
$light-blue-contrast: map-get($light-blue, 'contrast');
|
|
209
|
+
$cyan: map-get($palettes, cyan);
|
|
210
|
+
$cyan-contrast: map-get($cyan, 'contrast');
|
|
211
|
+
$teal: map-get($palettes, teal);
|
|
212
|
+
$teal-contrast: map-get($teal, 'contrast');
|
|
213
|
+
$green: map-get($palettes, green);
|
|
214
|
+
$green-contrast: map-get($green, 'contrast');
|
|
215
|
+
$light-green: map-get($palettes, light-green);
|
|
216
|
+
$light-green-contrast: map-get($light-green, 'contrast');
|
|
217
|
+
$lime: map-get($palettes, lime);
|
|
218
|
+
$lime-contrast: map-get($lime, 'contrast');
|
|
219
|
+
$yellow: map-get($palettes, yellow);
|
|
220
|
+
$yellow-contrast: map-get($yellow, 'contrast');
|
|
221
|
+
$amber: map-get($palettes, amber);
|
|
222
|
+
$amber-contrast: map-get($amber, 'contrast');
|
|
223
|
+
$orange: map-get($palettes, orange);
|
|
224
|
+
$orange-contrast: map-get($orange, 'contrast');
|
|
225
|
+
$deep-orange: map-get($palettes, deep-orange);
|
|
226
|
+
$deep-orange-contrast: map-get($deep-orange, 'contrast');
|
|
227
|
+
$brown: map-get($palettes, brown);
|
|
228
|
+
$brown-contrast: map-get($brown, 'contrast');
|
|
229
|
+
$gray: map-get($palettes, gray);
|
|
230
|
+
$grey-contrast: map-get($grey, 'contrast');
|
|
231
|
+
$blue-grey: map-get($palettes, blue-grey);
|
|
232
|
+
$blue-grey-contrast: map-get($blue-grey, 'contrast');
|
|
233
|
+
|
|
234
|
+
// colors from theme
|
|
192
235
|
$primary: map-get($theme, primary);
|
|
236
|
+
$primary-contrast: map-get($primary, 'contrast');
|
|
193
237
|
$accent: map-get($theme, accent);
|
|
238
|
+
$accent-contrast: map-get($accent, 'contrast');
|
|
194
239
|
$warn: map-get($theme, warn);
|
|
240
|
+
$warn-contrast: map-get($warn, 'contrast');
|
|
241
|
+
|
|
195
242
|
$background: map-get($theme, background);
|
|
196
243
|
$foreground: map-get($theme, foreground);
|
|
197
244
|
|
|
245
|
+
$get-shade: if($is-dark, 100, 500); // Define $red-shade com base no valor de $is-dark
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
button[matcha-button],
|
|
249
|
+
a[matcha-button] {
|
|
250
|
+
&:not([color]) .ripple {
|
|
251
|
+
background: rgba(map-get($foreground, base), 0.2)
|
|
252
|
+
}
|
|
253
|
+
// red
|
|
254
|
+
&[color="red"][outline]:not([outline="false"]) .ripple {
|
|
255
|
+
background: rgba(map-get($red, $get-shade), 0.2)
|
|
256
|
+
}
|
|
257
|
+
&[color="red"][alpha]:not([alpha="false"]){
|
|
258
|
+
background: rgba(map-get($red, $get-shade), 0.2);
|
|
259
|
+
color: map-get($red, $get-shade);
|
|
260
|
+
}
|
|
261
|
+
&[color="red"][outline]:not([outline="false"]),
|
|
262
|
+
&[color="red"][link]:not([link="false"]),
|
|
263
|
+
&[color="red"][basic]:not([basic="false"]) {
|
|
264
|
+
color: map-get($red, $get-shade)!important
|
|
265
|
+
}
|
|
266
|
+
&[color="red"]{
|
|
267
|
+
background: map-get($red, $get-shade);
|
|
268
|
+
color: map-get($red-contrast, $get-shade);
|
|
269
|
+
}
|
|
270
|
+
&[color="red"] .ripple{background: rgba(map-get($red-contrast, $get-shade), 0.2)}
|
|
271
|
+
|
|
272
|
+
// pink
|
|
273
|
+
&[color="pink"][outline]:not([outline="false"]) .ripple {
|
|
274
|
+
background: rgba(map-get($pink, $get-shade), 0.2)
|
|
275
|
+
}
|
|
276
|
+
&[color="pink"][alpha]:not([alpha="false"]){
|
|
277
|
+
background: rgba(map-get($pink, $get-shade), 0.2);
|
|
278
|
+
color: map-get($pink, $get-shade);
|
|
279
|
+
}
|
|
280
|
+
&[color="pink"][outline]:not([outline="false"]),
|
|
281
|
+
&[color="pink"][link]:not([link="false"]),
|
|
282
|
+
&[color="pink"][basic]:not([basic="false"]) {
|
|
283
|
+
color: map-get($pink, $get-shade)!important
|
|
284
|
+
}
|
|
285
|
+
&[color="pink"]{
|
|
286
|
+
background: map-get($pink, $get-shade);
|
|
287
|
+
color: map-get($pink-contrast, $get-shade);
|
|
288
|
+
}
|
|
289
|
+
&[color="pink"] .ripple{background: rgba(map-get($pink-contrast, $get-shade), 0.2)}
|
|
290
|
+
|
|
291
|
+
// purple
|
|
292
|
+
&[color="purple"][outline]:not([outline="false"]) .ripple {
|
|
293
|
+
background: rgba(map-get($purple, $get-shade), 0.2)
|
|
294
|
+
}
|
|
295
|
+
&[color="purple"][alpha]:not([alpha="false"]){
|
|
296
|
+
background: rgba(map-get($purple, $get-shade), 0.2);
|
|
297
|
+
color: map-get($purple, $get-shade);
|
|
298
|
+
}
|
|
299
|
+
&[color="purple"][outline]:not([outline="false"]),
|
|
300
|
+
&[color="purple"][link]:not([link="false"]),
|
|
301
|
+
&[color="purple"][basic]:not([basic="false"]) {
|
|
302
|
+
color: map-get($purple, $get-shade)!important
|
|
303
|
+
}
|
|
304
|
+
&[color="purple"]{
|
|
305
|
+
background: map-get($purple, $get-shade);
|
|
306
|
+
color: map-get($purple-contrast, $get-shade);
|
|
307
|
+
}
|
|
308
|
+
&[color="purple"] .ripple{background: rgba(map-get($purple-contrast, $get-shade), 0.2)}
|
|
309
|
+
|
|
310
|
+
// deep-purple
|
|
311
|
+
&[color="deep-purple"][outline]:not([outline="false"]) .ripple {
|
|
312
|
+
background: rgba(map-get($deep-purple, $get-shade), 0.2)
|
|
313
|
+
}
|
|
314
|
+
&[color="deep-purple"][alpha]:not([alpha="false"]){
|
|
315
|
+
background: rgba(map-get($deep-purple, $get-shade), 0.2);
|
|
316
|
+
color: map-get($deep-purple, $get-shade);
|
|
317
|
+
}
|
|
318
|
+
&[color="deep-purple"][outline]:not([outline="false"]),
|
|
319
|
+
&[color="deep-purple"][link]:not([link="false"]),
|
|
320
|
+
&[color="deep-purple"][basic]:not([basic="false"]) {
|
|
321
|
+
color: map-get($deep-purple, $get-shade)!important
|
|
322
|
+
}
|
|
323
|
+
&[color="deep-purple"]{
|
|
324
|
+
background: map-get($deep-purple, $get-shade);
|
|
325
|
+
color: map-get($deep-purple-contrast, $get-shade);
|
|
326
|
+
}
|
|
327
|
+
&[color="deep-purple"] .ripple{background: rgba(map-get($deep-purple-contrast, $get-shade), 0.2)}
|
|
328
|
+
|
|
329
|
+
// indigo
|
|
330
|
+
&[color="indigo"][outline]:not([outline="false"]) .ripple {
|
|
331
|
+
background: rgba(map-get($indigo, $get-shade), 0.2)
|
|
332
|
+
}
|
|
333
|
+
&[color="indigo"][alpha]:not([alpha="false"]){
|
|
334
|
+
background: rgba(map-get($indigo, $get-shade), 0.2);
|
|
335
|
+
color: map-get($indigo, $get-shade);
|
|
336
|
+
}
|
|
337
|
+
&[color="indigo"][outline]:not([outline="false"]),
|
|
338
|
+
&[color="indigo"][link]:not([link="false"]),
|
|
339
|
+
&[color="indigo"][basic]:not([basic="false"]) {
|
|
340
|
+
color: map-get($indigo, $get-shade)!important
|
|
341
|
+
}
|
|
342
|
+
&[color="indigo"]{
|
|
343
|
+
background: map-get($indigo, $get-shade);
|
|
344
|
+
color: map-get($indigo-contrast, $get-shade);
|
|
345
|
+
}
|
|
346
|
+
&[color="indigo"] .ripple{background: rgba(map-get($indigo-contrast, $get-shade), 0.2)}
|
|
347
|
+
|
|
348
|
+
// blue
|
|
349
|
+
&[color="blue"][outline]:not([outline="false"]) .ripple {
|
|
350
|
+
background: rgba(map-get($blue, $get-shade), 0.2)
|
|
351
|
+
}
|
|
352
|
+
&[color="blue"][alpha]:not([alpha="false"]){
|
|
353
|
+
background: rgba(map-get($blue, $get-shade), 0.2);
|
|
354
|
+
color: map-get($blue, $get-shade);
|
|
355
|
+
}
|
|
356
|
+
&[color="blue"][outline]:not([outline="false"]),
|
|
357
|
+
&[color="blue"][link]:not([link="false"]),
|
|
358
|
+
&[color="blue"][basic]:not([basic="false"]) {
|
|
359
|
+
color: map-get($blue, $get-shade)!important
|
|
360
|
+
}
|
|
361
|
+
&[color="blue"]{
|
|
362
|
+
background: map-get($blue, $get-shade);
|
|
363
|
+
color: map-get($blue-contrast, $get-shade);
|
|
364
|
+
}
|
|
365
|
+
&[color="blue"] .ripple{background: rgba(map-get($blue-contrast, $get-shade), 0.2)}
|
|
366
|
+
|
|
367
|
+
// light-blue
|
|
368
|
+
&[color="light-blue"][outline]:not([outline="false"]) .ripple {
|
|
369
|
+
background: rgba(map-get($light-blue, $get-shade), 0.2)
|
|
370
|
+
}
|
|
371
|
+
&[color="light-blue"][alpha]:not([alpha="false"]){
|
|
372
|
+
background: rgba(map-get($light-blue, $get-shade), 0.2);
|
|
373
|
+
color: map-get($light-blue, $get-shade);
|
|
374
|
+
}
|
|
375
|
+
&[color="light-blue"][outline]:not([outline="false"]),
|
|
376
|
+
&[color="light-blue"][link]:not([link="false"]),
|
|
377
|
+
&[color="light-blue"][basic]:not([basic="false"]) {
|
|
378
|
+
color: map-get($light-blue, $get-shade)!important
|
|
379
|
+
}
|
|
380
|
+
&[color="light-blue"]{
|
|
381
|
+
background: map-get($light-blue, $get-shade);
|
|
382
|
+
color: map-get($light-blue-contrast, $get-shade);
|
|
383
|
+
}
|
|
384
|
+
&[color="light-blue"] .ripple{background: rgba(map-get($light-blue-contrast, $get-shade), 0.2)}
|
|
385
|
+
|
|
386
|
+
// cyan
|
|
387
|
+
&[color="cyan"][outline]:not([outline="false"]) .ripple {
|
|
388
|
+
background: rgba(map-get($cyan, $get-shade), 0.2)
|
|
389
|
+
}
|
|
390
|
+
&[color="cyan"][alpha]:not([alpha="false"]){
|
|
391
|
+
background: rgba(map-get($cyan, $get-shade), 0.2);
|
|
392
|
+
color: map-get($cyan, $get-shade);
|
|
393
|
+
}
|
|
394
|
+
&[color="cyan"][outline]:not([outline="false"]),
|
|
395
|
+
&[color="cyan"][link]:not([link="false"]),
|
|
396
|
+
&[color="cyan"][basic]:not([basic="false"]) {
|
|
397
|
+
color: map-get($cyan, $get-shade)!important
|
|
398
|
+
}
|
|
399
|
+
&[color="cyan"]{
|
|
400
|
+
background: map-get($cyan, $get-shade);
|
|
401
|
+
color: map-get($cyan-contrast, $get-shade);
|
|
402
|
+
}
|
|
403
|
+
&[color="cyan"] .ripple{background: rgba(map-get($cyan-contrast, $get-shade), 0.2)}
|
|
404
|
+
|
|
405
|
+
// teal
|
|
406
|
+
&[color="teal"][outline]:not([outline="false"]) .ripple {
|
|
407
|
+
background: rgba(map-get($teal, $get-shade), 0.2)
|
|
408
|
+
}
|
|
409
|
+
&[color="teal"][alpha]:not([alpha="false"]){
|
|
410
|
+
background: rgba(map-get($teal, $get-shade), 0.2);
|
|
411
|
+
color: map-get($teal, $get-shade);
|
|
412
|
+
}
|
|
413
|
+
&[color="teal"][outline]:not([outline="false"]),
|
|
414
|
+
&[color="teal"][link]:not([link="false"]),
|
|
415
|
+
&[color="teal"][basic]:not([basic="false"]) {
|
|
416
|
+
color: map-get($teal, $get-shade)!important
|
|
417
|
+
}
|
|
418
|
+
&[color="teal"]{
|
|
419
|
+
background: map-get($teal, $get-shade);
|
|
420
|
+
color: map-get($teal-contrast, $get-shade);
|
|
421
|
+
}
|
|
422
|
+
&[color="teal"] .ripple{background: rgba(map-get($teal-contrast, $get-shade), 0.2)}
|
|
423
|
+
|
|
424
|
+
// green
|
|
425
|
+
&[color="green"][outline]:not([outline="false"]) .ripple {
|
|
426
|
+
background: rgba(map-get($green, $get-shade), 0.2)
|
|
427
|
+
}
|
|
428
|
+
&[color="green"][alpha]:not([alpha="false"]){
|
|
429
|
+
background: rgba(map-get($green, $get-shade), 0.2);
|
|
430
|
+
color: map-get($green, $get-shade);
|
|
431
|
+
}
|
|
432
|
+
&[color="green"][outline]:not([outline="false"]),
|
|
433
|
+
&[color="green"][link]:not([link="false"]),
|
|
434
|
+
&[color="green"][basic]:not([basic="false"]) {
|
|
435
|
+
color: map-get($green, $get-shade)!important
|
|
436
|
+
}
|
|
437
|
+
&[color="green"]{
|
|
438
|
+
background: map-get($green, $get-shade);
|
|
439
|
+
color: map-get($green-contrast, $get-shade);
|
|
440
|
+
}
|
|
441
|
+
&[color="green"] .ripple{background: rgba(map-get($green-contrast, $get-shade), 0.2)}
|
|
442
|
+
|
|
443
|
+
// light-green
|
|
444
|
+
&[color="light-green"][outline]:not([outline="false"]) .ripple {
|
|
445
|
+
background: rgba(map-get($light-green, $get-shade), 0.2)
|
|
446
|
+
}
|
|
447
|
+
&[color="light-green"][alpha]:not([alpha="false"]){
|
|
448
|
+
background: rgba(map-get($light-green, $get-shade), 0.2);
|
|
449
|
+
color: map-get($light-green, $get-shade);
|
|
450
|
+
}
|
|
451
|
+
&[color="light-green"][outline]:not([outline="false"]),
|
|
452
|
+
&[color="light-green"][link]:not([link="false"]),
|
|
453
|
+
&[color="light-green"][basic]:not([basic="false"]) {
|
|
454
|
+
color: map-get($light-green, $get-shade)!important
|
|
455
|
+
}
|
|
456
|
+
&[color="light-green"]{
|
|
457
|
+
background: map-get($light-green, $get-shade);
|
|
458
|
+
color: map-get($light-green-contrast, $get-shade);
|
|
459
|
+
}
|
|
460
|
+
&[color="light-green"] .ripple{background: rgba(map-get($light-green-contrast, $get-shade), 0.2)}
|
|
461
|
+
|
|
462
|
+
// lime
|
|
463
|
+
&[color="lime"][outline]:not([outline="false"]) .ripple {
|
|
464
|
+
background: rgba(map-get($lime, $get-shade), 0.2)
|
|
465
|
+
}
|
|
466
|
+
&[color="lime"][alpha]:not([alpha="false"]){
|
|
467
|
+
background: rgba(map-get($lime, $get-shade), 0.2);
|
|
468
|
+
color: map-get($lime, $get-shade);
|
|
469
|
+
}
|
|
470
|
+
&[color="lime"][outline]:not([outline="false"]),
|
|
471
|
+
&[color="lime"][link]:not([link="false"]),
|
|
472
|
+
&[color="lime"][basic]:not([basic="false"]) {
|
|
473
|
+
color: map-get($lime, $get-shade)!important
|
|
474
|
+
}
|
|
475
|
+
&[color="lime"]{
|
|
476
|
+
background: map-get($lime, $get-shade);
|
|
477
|
+
color: map-get($lime-contrast, $get-shade);
|
|
478
|
+
}
|
|
479
|
+
&[color="lime"] .ripple{background: rgba(map-get($lime-contrast, $get-shade), 0.2)}
|
|
480
|
+
|
|
481
|
+
// yellow
|
|
482
|
+
&[color="yellow"][outline]:not([outline="false"]) .ripple {
|
|
483
|
+
background: rgba(map-get($yellow, $get-shade), 0.2)
|
|
484
|
+
}
|
|
485
|
+
&[color="yellow"][alpha]:not([alpha="false"]){
|
|
486
|
+
background: rgba(map-get($yellow, $get-shade), 0.2);
|
|
487
|
+
color: map-get($yellow, $get-shade);
|
|
488
|
+
}
|
|
489
|
+
&[color="yellow"][outline]:not([outline="false"]),
|
|
490
|
+
&[color="yellow"][link]:not([link="false"]),
|
|
491
|
+
&[color="yellow"][basic]:not([basic="false"]) {
|
|
492
|
+
color: map-get($yellow, $get-shade)!important
|
|
493
|
+
}
|
|
494
|
+
&[color="yellow"]{
|
|
495
|
+
background: map-get($yellow, $get-shade);
|
|
496
|
+
color: map-get($yellow-contrast, $get-shade);
|
|
497
|
+
}
|
|
498
|
+
&[color="yellow"] .ripple{background: rgba(map-get($yellow-contrast, $get-shade), 0.2)}
|
|
499
|
+
|
|
500
|
+
// amber
|
|
501
|
+
&[color="amber"][outline]:not([outline="false"]) .ripple {
|
|
502
|
+
background: rgba(map-get($amber, $get-shade), 0.2)
|
|
503
|
+
}
|
|
504
|
+
&[color="amber"][alpha]:not([alpha="false"]){
|
|
505
|
+
background: rgba(map-get($amber, $get-shade), 0.2);
|
|
506
|
+
color: map-get($amber, $get-shade);
|
|
507
|
+
}
|
|
508
|
+
&[color="amber"][outline]:not([outline="false"]),
|
|
509
|
+
&[color="amber"][link]:not([link="false"]),
|
|
510
|
+
&[color="amber"][basic]:not([basic="false"]) {
|
|
511
|
+
color: map-get($amber, $get-shade)!important
|
|
512
|
+
}
|
|
513
|
+
&[color="amber"]{
|
|
514
|
+
background: map-get($amber, $get-shade);
|
|
515
|
+
color: map-get($amber-contrast, $get-shade);
|
|
516
|
+
}
|
|
517
|
+
&[color="amber"] .ripple{background: rgba(map-get($amber-contrast, $get-shade), 0.2)}
|
|
518
|
+
|
|
519
|
+
// orange
|
|
520
|
+
&[color="orange"][outline]:not([outline="false"]) .ripple {
|
|
521
|
+
background: rgba(map-get($orange, $get-shade), 0.2)
|
|
522
|
+
}
|
|
523
|
+
&[color="orange"][alpha]:not([alpha="false"]){
|
|
524
|
+
background: rgba(map-get($orange, $get-shade), 0.2);
|
|
525
|
+
color: map-get($orange, $get-shade);
|
|
526
|
+
}
|
|
527
|
+
&[color="orange"][outline]:not([outline="false"]),
|
|
528
|
+
&[color="orange"][link]:not([link="false"]),
|
|
529
|
+
&[color="orange"][basic]:not([basic="false"]) {
|
|
530
|
+
color: map-get($orange, $get-shade)!important
|
|
531
|
+
}
|
|
532
|
+
&[color="orange"]{
|
|
533
|
+
background: map-get($orange, $get-shade);
|
|
534
|
+
color: map-get($orange-contrast, $get-shade);
|
|
535
|
+
}
|
|
536
|
+
&[color="orange"] .ripple{background: rgba(map-get($orange-contrast, $get-shade), 0.2)}
|
|
537
|
+
|
|
538
|
+
// deep-orange
|
|
539
|
+
&[color="deep-orange"][outline]:not([outline="false"]) .ripple {
|
|
540
|
+
background: rgba(map-get($deep-orange, $get-shade), 0.2)
|
|
541
|
+
}
|
|
542
|
+
&[color="deep-orange"][alpha]:not([alpha="false"]){
|
|
543
|
+
background: rgba(map-get($deep-orange, $get-shade), 0.2);
|
|
544
|
+
color: map-get($deep-orange, $get-shade);
|
|
545
|
+
}
|
|
546
|
+
&[color="deep-orange"][outline]:not([outline="false"]),
|
|
547
|
+
&[color="deep-orange"][link]:not([link="false"]),
|
|
548
|
+
&[color="deep-orange"][basic]:not([basic="false"]) {
|
|
549
|
+
color: map-get($deep-orange, $get-shade)!important
|
|
550
|
+
}
|
|
551
|
+
&[color="deep-orange"]{
|
|
552
|
+
background: map-get($deep-orange, $get-shade);
|
|
553
|
+
color: map-get($deep-orange-contrast, $get-shade);
|
|
554
|
+
}
|
|
555
|
+
&[color="deep-orange"] .ripple{background: rgba(map-get($deep-orange-contrast, $get-shade), 0.2)}
|
|
556
|
+
|
|
557
|
+
// brown
|
|
558
|
+
&[color="brown"][outline]:not([outline="false"]) .ripple {
|
|
559
|
+
background: rgba(map-get($brown, $get-shade), 0.2)
|
|
560
|
+
}
|
|
561
|
+
&[color="brown"][alpha]:not([alpha="false"]){
|
|
562
|
+
background: rgba(map-get($brown, $get-shade), 0.2);
|
|
563
|
+
color: map-get($brown, $get-shade);
|
|
564
|
+
}
|
|
565
|
+
&[color="brown"][outline]:not([outline="false"]),
|
|
566
|
+
&[color="brown"][link]:not([link="false"]),
|
|
567
|
+
&[color="brown"][basic]:not([basic="false"]) {
|
|
568
|
+
color: map-get($brown, $get-shade)!important
|
|
569
|
+
}
|
|
570
|
+
&[color="brown"]{
|
|
571
|
+
background: map-get($brown, $get-shade);
|
|
572
|
+
color: map-get($brown-contrast, $get-shade);
|
|
573
|
+
}
|
|
574
|
+
&[color="brown"] .ripple{background: rgba(map-get($brown-contrast, $get-shade), 0.2)}
|
|
575
|
+
|
|
576
|
+
// gray
|
|
577
|
+
&[color="gray"][outline]:not([outline="false"]) .ripple {
|
|
578
|
+
background: rgba(map-get($gray, $get-shade), 0.2)
|
|
579
|
+
}
|
|
580
|
+
&[color="gray"][alpha]:not([alpha="false"]){
|
|
581
|
+
background: rgba(map-get($gray, $get-shade), 0.2);
|
|
582
|
+
color: map-get($gray, $get-shade);
|
|
583
|
+
}
|
|
584
|
+
&[color="gray"][outline]:not([outline="false"]),
|
|
585
|
+
&[color="gray"][link]:not([link="false"]),
|
|
586
|
+
&[color="gray"][basic]:not([basic="false"]) {
|
|
587
|
+
color: map-get($gray, $get-shade)!important
|
|
588
|
+
}
|
|
589
|
+
&[color="gray"]{
|
|
590
|
+
background: map-get($gray, $get-shade);
|
|
591
|
+
color: map-get($grey-contrast, $get-shade);
|
|
592
|
+
}
|
|
593
|
+
&[color="gray"] .ripple{background: rgba(map-get($grey-contrast, $get-shade), 0.2)}
|
|
594
|
+
|
|
595
|
+
// blue-grey
|
|
596
|
+
&[color="blue-grey"][outline]:not([outline="false"]) .ripple {
|
|
597
|
+
background: rgba(map-get($blue-grey, $get-shade), 0.2)
|
|
598
|
+
}
|
|
599
|
+
&[color="blue-grey"][alpha]:not([alpha="false"]){
|
|
600
|
+
background: rgba(map-get($blue-grey, $get-shade), 0.2);
|
|
601
|
+
color: map-get($blue-grey, $get-shade);
|
|
602
|
+
}
|
|
603
|
+
&[color="blue-grey"][outline]:not([outline="false"]),
|
|
604
|
+
&[color="blue-grey"][link]:not([link="false"]),
|
|
605
|
+
&[color="blue-grey"][basic]:not([basic="false"]) {
|
|
606
|
+
color: map-get($blue-grey, $get-shade)!important
|
|
607
|
+
}
|
|
608
|
+
&[color="blue-grey"]{
|
|
609
|
+
background: map-get($blue-grey, $get-shade);
|
|
610
|
+
color: map-get($blue-grey-contrast, $get-shade);
|
|
611
|
+
}
|
|
612
|
+
&[color="blue-grey"] .ripple{background: rgba(map-get($blue-grey-contrast, $get-shade), 0.2)}
|
|
613
|
+
|
|
614
|
+
// primary
|
|
615
|
+
&[color="primary"][outline]:not([outline="false"]) .ripple {
|
|
616
|
+
background: rgba(map-get($primary, $get-shade), 0.2)
|
|
617
|
+
}
|
|
618
|
+
&[color="primary"][alpha]:not([alpha="false"]){
|
|
619
|
+
background: rgba(map-get($primary, $get-shade), 0.2);
|
|
620
|
+
color: map-get($primary, $get-shade);
|
|
621
|
+
}
|
|
622
|
+
&[color="primary"][outline]:not([outline="false"]),
|
|
623
|
+
&[color="primary"][link]:not([link="false"]),
|
|
624
|
+
&[color="primary"][basic]:not([basic="false"]) {
|
|
625
|
+
color: map-get($primary, $get-shade)!important
|
|
626
|
+
}
|
|
627
|
+
&[color="primary"]{
|
|
628
|
+
background: map-get($primary, $get-shade);
|
|
629
|
+
color: map-get($primary-contrast, $get-shade);
|
|
630
|
+
}
|
|
631
|
+
&[color="primary"] .ripple{background: rgba(map-get($primary-contrast, $get-shade), 0.2)}
|
|
632
|
+
|
|
633
|
+
// accent
|
|
634
|
+
&[color="accent"][outline]:not([outline="false"]) .ripple {
|
|
635
|
+
background: rgba(map-get($accent, $get-shade), 0.2)
|
|
636
|
+
}
|
|
637
|
+
&[color="accent"][alpha]:not([alpha="false"]){
|
|
638
|
+
background: rgba(map-get($accent, $get-shade), 0.2);
|
|
639
|
+
color: map-get($accent, $get-shade);
|
|
640
|
+
}
|
|
641
|
+
&[color="accent"][outline]:not([outline="false"]),
|
|
642
|
+
&[color="accent"][link]:not([link="false"]),
|
|
643
|
+
&[color="accent"][basic]:not([basic="false"]) {
|
|
644
|
+
color: map-get($accent, $get-shade)!important
|
|
645
|
+
}
|
|
646
|
+
&[color="accent"]{
|
|
647
|
+
background: map-get($accent, $get-shade);
|
|
648
|
+
color: map-get($accent-contrast, $get-shade);
|
|
649
|
+
}
|
|
650
|
+
&[color="accent"] .ripple{background: rgba(map-get($accent-contrast, $get-shade), 0.2)}
|
|
651
|
+
|
|
652
|
+
// warn
|
|
653
|
+
&[color="warn"][outline]:not([outline="false"]) .ripple {
|
|
654
|
+
background: rgba(map-get($warn, $get-shade), 0.2)
|
|
655
|
+
}
|
|
656
|
+
&[color="warn"][alpha]:not([alpha="false"]){
|
|
657
|
+
background: rgba(map-get($warn, $get-shade), 0.2);
|
|
658
|
+
color: map-get($warn, $get-shade);
|
|
659
|
+
}
|
|
660
|
+
&[color="warn"][outline]:not([outline="false"]),
|
|
661
|
+
&[color="warn"][link]:not([link="false"]),
|
|
662
|
+
&[color="warn"][basic]:not([basic="false"]) {
|
|
663
|
+
color: map-get($warn, $get-shade)!important
|
|
664
|
+
}
|
|
665
|
+
&[color="warn"]{
|
|
666
|
+
background: map-get($warn, $get-shade);
|
|
667
|
+
color: map-get($warn-contrast, $get-shade);
|
|
668
|
+
}
|
|
669
|
+
&[color="warn"] .ripple{background: rgba(map-get($warn-contrast, $get-shade), 0.2)}
|
|
670
|
+
|
|
671
|
+
//basic
|
|
672
|
+
&[color="basic"][outline]:not([outline="false"]) .ripple {
|
|
673
|
+
background: rgba(map-get($foreground, base), 0.2)
|
|
674
|
+
}
|
|
675
|
+
&[color="basic"][alpha]:not([alpha="false"]){
|
|
676
|
+
background: rgba(map-get($foreground, base), 0.2);
|
|
677
|
+
color: map-get($foreground, base);
|
|
678
|
+
}
|
|
679
|
+
&[color="basic"][outline]:not([outline="false"]),
|
|
680
|
+
&[color="basic"][link]:not([link="false"]),
|
|
681
|
+
&[color="basic"][basic]:not([basic="false"]) {
|
|
682
|
+
color: map-get($foreground, base)!important
|
|
683
|
+
}
|
|
684
|
+
&[color="basic"]{
|
|
685
|
+
background: map-get($background, card);
|
|
686
|
+
color: map-get($foreground, base);
|
|
687
|
+
}
|
|
688
|
+
&[color="basic"] .ripple{background: rgba(map-get($foreground, base), 0.2)}
|
|
689
|
+
&[color="basic"]{
|
|
690
|
+
background: map-get($background, card);
|
|
691
|
+
&:not([color]){
|
|
692
|
+
color: map-get($foreground, base);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
|
|
198
697
|
button[matcha-button],
|
|
199
698
|
a[matcha-button] {
|
|
200
699
|
border: 0px solid currentColor;
|