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