matcha-theme 19.31.0 → 19.35.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 +344 -375
- package/abstracts/_functions.scss +567 -0
- package/abstracts/_typography.scss +2 -0
- package/components/matcha-buttons.scss +220 -268
- package/components/matcha-checkbox.scss +391 -0
- package/components/matcha-form-field.scss +10 -1
- package/components/matcha-ripple.scss +7 -0
- package/main.scss +4 -0
- package/package.json +1 -1
package/abstracts/_colors.scss
CHANGED
|
@@ -133,13 +133,31 @@ $index: 0;
|
|
|
133
133
|
// -------------------------------------------------------------------------------------------------------------------
|
|
134
134
|
// @ Dynamic color classes generator
|
|
135
135
|
// -------------------------------------------------------------------------------------------------------------------
|
|
136
|
-
|
|
137
136
|
@mixin colors-classes-dynamic($theme) {
|
|
137
|
+
$background: map-get($theme, background);
|
|
138
|
+
$foreground: map-get($theme, foreground);
|
|
139
|
+
|
|
138
140
|
$is-dark: map-get($theme, is-dark);
|
|
139
|
-
$
|
|
141
|
+
$get-shade: if($is-dark, 100, 500); // Define $red-shade com base no valor de $is-dark
|
|
142
|
+
|
|
143
|
+
// colors from theme
|
|
144
|
+
$primary: map-get($theme, primary);
|
|
145
|
+
$primary-contrast: map-get($primary, 'contrast');
|
|
146
|
+
$accent: map-get($theme, accent);
|
|
147
|
+
$accent-contrast: map-get($accent, 'contrast');
|
|
148
|
+
$warn: map-get($theme, warn);
|
|
149
|
+
$warn-contrast: map-get($warn, 'contrast');
|
|
150
|
+
|
|
140
151
|
// colors from base palette
|
|
141
|
-
$
|
|
142
|
-
|
|
152
|
+
$palettes: getBaseColorsPalettes();
|
|
153
|
+
|
|
154
|
+
$red-palette: map-get($palettes, red);
|
|
155
|
+
$red-contrast-palette: map-get($red-palette, 'contrast');
|
|
156
|
+
$red-color: map-get($red-palette, $get-shade);
|
|
157
|
+
$red-color-alpha: rgba($red-color, 0.2);
|
|
158
|
+
$red-contrast: map-get($red-contrast-palette, $get-shade);
|
|
159
|
+
$red-contrast-alpha: rgba($red-contrast, 0.2);
|
|
160
|
+
|
|
143
161
|
$pink: map-get($palettes, pink);
|
|
144
162
|
$pink-contrast: map-get($pink, 'contrast');
|
|
145
163
|
$purple: map-get($palettes, purple);
|
|
@@ -177,16 +195,7 @@ $index: 0;
|
|
|
177
195
|
$blue-grey: map-get($palettes, blue-grey);
|
|
178
196
|
$blue-grey-contrast: map-get($blue-grey, 'contrast');
|
|
179
197
|
|
|
180
|
-
|
|
181
|
-
$primary: map-get($theme, primary);
|
|
182
|
-
$primary-contrast: map-get($primary, 'contrast');
|
|
183
|
-
$accent: map-get($theme, accent);
|
|
184
|
-
$accent-contrast: map-get($accent, 'contrast');
|
|
185
|
-
$warn: map-get($theme, warn);
|
|
186
|
-
$warn-contrast: map-get($warn, 'contrast');
|
|
187
|
-
|
|
188
|
-
$background: map-get($theme, background);
|
|
189
|
-
$foreground: map-get($theme, foreground);
|
|
198
|
+
@include colors-classes-static($theme);
|
|
190
199
|
|
|
191
200
|
.color-unset{
|
|
192
201
|
color: map-get($foreground, text );
|
|
@@ -195,385 +204,386 @@ $index: 0;
|
|
|
195
204
|
}
|
|
196
205
|
}
|
|
197
206
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
.background-red
|
|
201
|
-
.red
|
|
202
|
-
.
|
|
203
|
-
.
|
|
204
|
-
.
|
|
205
|
-
.
|
|
206
|
-
.stroke-red{stroke: map-get($red, $get-shade)}
|
|
207
|
-
.color-red-alpha{color: rgba(map-get($red, $get-shade),0.2)!important}
|
|
207
|
+
.background-red-alpha {background: getRedAlpha($theme)}
|
|
208
|
+
.red .ripple{background: getRedAlpha($theme)}
|
|
209
|
+
.background-red{background: getRed($theme)}
|
|
210
|
+
.border-color-red{border-color: getRed($theme)}
|
|
211
|
+
.color-red{color: getRed($theme)!important}
|
|
212
|
+
.fill-red{fill: getRed($theme)}
|
|
213
|
+
.stroke-red{stroke: getRed($theme)}
|
|
214
|
+
.color-red-alpha{color: getRedAlpha($theme)!important}
|
|
208
215
|
.red-alpha{
|
|
209
|
-
background:
|
|
210
|
-
color:
|
|
216
|
+
background: getRedAlpha($theme);
|
|
217
|
+
color: getRedContrast($theme);
|
|
211
218
|
}
|
|
212
219
|
.red{
|
|
213
|
-
background:
|
|
214
|
-
color:
|
|
215
|
-
}
|
|
216
|
-
.background-pink-alpha {background:
|
|
217
|
-
.pink .ripple{background:
|
|
218
|
-
.background-pink{background:
|
|
219
|
-
.border-color-pink{border-color:
|
|
220
|
-
.color-pink{color:
|
|
221
|
-
.fill-pink{fill:
|
|
222
|
-
.stroke-pink{stroke:
|
|
223
|
-
.color-pink-alpha{color:
|
|
220
|
+
background: getRed($theme);
|
|
221
|
+
color: getRedContrast($theme);
|
|
222
|
+
}
|
|
223
|
+
.background-pink-alpha {background: getPinkAlpha($theme)}
|
|
224
|
+
.pink .ripple{background: getPinkAlpha($theme)}
|
|
225
|
+
.background-pink{background: getPink($theme)}
|
|
226
|
+
.border-color-pink{border-color: getPink($theme)}
|
|
227
|
+
.color-pink{color: getPink($theme)!important}
|
|
228
|
+
.fill-pink{fill: getPink($theme)}
|
|
229
|
+
.stroke-pink{stroke: getPink($theme)}
|
|
230
|
+
.color-pink-alpha{color: getPinkAlpha($theme)!important}
|
|
224
231
|
.pink-alpha{
|
|
225
|
-
background:
|
|
226
|
-
color:
|
|
232
|
+
background: getPinkAlpha($theme);
|
|
233
|
+
color: getPinkContrast($theme);
|
|
227
234
|
}
|
|
228
235
|
.pink{
|
|
229
|
-
background:
|
|
230
|
-
color:
|
|
231
|
-
}
|
|
232
|
-
.background-purple-alpha {background:
|
|
233
|
-
.purple .ripple{background:
|
|
234
|
-
.background-purple{background:
|
|
235
|
-
.border-color-purple{border-color:
|
|
236
|
-
.color-purple{color:
|
|
237
|
-
.fill-purple{fill:
|
|
238
|
-
.stroke-purple{stroke:
|
|
239
|
-
.color-purple-alpha{color:
|
|
236
|
+
background: getPink($theme);
|
|
237
|
+
color: getPinkContrast($theme);
|
|
238
|
+
}
|
|
239
|
+
.background-purple-alpha {background: getPurpleAlpha($theme)}
|
|
240
|
+
.purple .ripple{background: getPurpleAlpha($theme)}
|
|
241
|
+
.background-purple{background: getPurple($theme)}
|
|
242
|
+
.border-color-purple{border-color: getPurple($theme)}
|
|
243
|
+
.color-purple{color: getPurple($theme)!important}
|
|
244
|
+
.fill-purple{fill: getPurple($theme)}
|
|
245
|
+
.stroke-purple{stroke: getPurple($theme)}
|
|
246
|
+
.color-purple-alpha{color: getPurpleAlpha($theme)!important}
|
|
240
247
|
.purple-alpha{
|
|
241
|
-
background:
|
|
242
|
-
color:
|
|
248
|
+
background: getPurpleAlpha($theme);
|
|
249
|
+
color: getPurpleContrast($theme);
|
|
243
250
|
}
|
|
244
251
|
.purple{
|
|
245
|
-
background:
|
|
246
|
-
color:
|
|
247
|
-
}
|
|
248
|
-
.background-deep-purple-alpha {background:
|
|
249
|
-
.deep-purple .ripple{background:
|
|
250
|
-
.background-deep-purple{background:
|
|
251
|
-
.border-color-deep-purple{border-color:
|
|
252
|
-
.color-deep-purple{color:
|
|
253
|
-
.fill-deep-purple{fill:
|
|
254
|
-
.stroke-deep-purple{stroke:
|
|
255
|
-
.color-deep-purple-alpha{color:
|
|
252
|
+
background: getPurple($theme);
|
|
253
|
+
color: getPurpleContrast($theme);
|
|
254
|
+
}
|
|
255
|
+
.background-deep-purple-alpha {background: getDeepPurpleAlpha($theme)}
|
|
256
|
+
.deep-purple .ripple{background: getDeepPurpleAlpha($theme)}
|
|
257
|
+
.background-deep-purple{background: getDeepPurple($theme)}
|
|
258
|
+
.border-color-deep-purple{border-color: getDeepPurple($theme)}
|
|
259
|
+
.color-deep-purple{color: getDeepPurple($theme)!important}
|
|
260
|
+
.fill-deep-purple{fill: getDeepPurple($theme)}
|
|
261
|
+
.stroke-deep-purple{stroke: getDeepPurple($theme)}
|
|
262
|
+
.color-deep-purple-alpha{color: getDeepPurpleAlpha($theme)!important}
|
|
256
263
|
.deep-purple-alpha{
|
|
257
|
-
background:
|
|
258
|
-
color:
|
|
264
|
+
background: getDeepPurpleAlpha($theme);
|
|
265
|
+
color: getDeepPurpleContrast($theme);
|
|
259
266
|
}
|
|
260
267
|
.deep-purple{
|
|
261
|
-
background:
|
|
262
|
-
color:
|
|
263
|
-
}
|
|
264
|
-
.background-indigo-alpha {background:
|
|
265
|
-
.indigo .ripple{background:
|
|
266
|
-
.background-indigo{background:
|
|
267
|
-
.border-color-indigo{border-color:
|
|
268
|
-
.color-indigo{color:
|
|
269
|
-
.fill-indigo{fill:
|
|
270
|
-
.stroke-indigo{stroke:
|
|
271
|
-
.color-indigo-alpha{color:
|
|
268
|
+
background: getDeepPurple($theme);
|
|
269
|
+
color: getDeepPurpleContrast($theme);
|
|
270
|
+
}
|
|
271
|
+
.background-indigo-alpha {background: getIndigoAlpha($theme)}
|
|
272
|
+
.indigo .ripple{background: getIndigoAlpha($theme)}
|
|
273
|
+
.background-indigo{background: getIndigo($theme)}
|
|
274
|
+
.border-color-indigo{border-color: getIndigo($theme)}
|
|
275
|
+
.color-indigo{color: getIndigo($theme)!important}
|
|
276
|
+
.fill-indigo{fill: getIndigo($theme)}
|
|
277
|
+
.stroke-indigo{stroke: getIndigo($theme)}
|
|
278
|
+
.color-indigo-alpha{color: getIndigoAlpha($theme)!important}
|
|
272
279
|
.indigo-alpha{
|
|
273
|
-
background:
|
|
274
|
-
color:
|
|
280
|
+
background: getIndigoAlpha($theme);
|
|
281
|
+
color: getIndigoContrast($theme);
|
|
275
282
|
}
|
|
276
283
|
.indigo{
|
|
277
|
-
background:
|
|
278
|
-
color:
|
|
279
|
-
}
|
|
280
|
-
.background-blue-alpha {background:
|
|
281
|
-
.blue .ripple{background:
|
|
282
|
-
.background-blue{background:
|
|
283
|
-
.border-color-blue{border-color:
|
|
284
|
-
.color-blue{color:
|
|
285
|
-
.fill-blue{fill:
|
|
286
|
-
.stroke-blue{stroke:
|
|
287
|
-
.color-blue-alpha{color:
|
|
284
|
+
background: getIndigo($theme);
|
|
285
|
+
color: getIndigoContrast($theme);
|
|
286
|
+
}
|
|
287
|
+
.background-blue-alpha {background: getBlueAlpha($theme)}
|
|
288
|
+
.blue .ripple{background: getBlueAlpha($theme)}
|
|
289
|
+
.background-blue{background: getBlue($theme)}
|
|
290
|
+
.border-color-blue{border-color: getBlue($theme)}
|
|
291
|
+
.color-blue{color: getBlue($theme)!important}
|
|
292
|
+
.fill-blue{fill: getBlue($theme)}
|
|
293
|
+
.stroke-blue{stroke: getBlue($theme)}
|
|
294
|
+
.color-blue-alpha{color: getBlueAlpha($theme)!important}
|
|
288
295
|
.blue-alpha{
|
|
289
|
-
background:
|
|
290
|
-
color:
|
|
296
|
+
background: getBlueAlpha($theme);
|
|
297
|
+
color: getBlueContrast($theme);
|
|
291
298
|
}
|
|
292
299
|
.blue{
|
|
293
|
-
background:
|
|
294
|
-
color:
|
|
295
|
-
}
|
|
296
|
-
.background-light-blue-alpha {background:
|
|
297
|
-
.light-blue .ripple{background:
|
|
298
|
-
.background-light-blue{background:
|
|
299
|
-
.border-color-light-blue{border-color:
|
|
300
|
-
.color-light-blue{color:
|
|
301
|
-
.fill-light-blue{fill:
|
|
302
|
-
.stroke-light-blue{stroke:
|
|
303
|
-
.color-light-blue-alpha{color:
|
|
300
|
+
background: getBlue($theme);
|
|
301
|
+
color: getBlueContrast($theme);
|
|
302
|
+
}
|
|
303
|
+
.background-light-blue-alpha {background: getLightBlueAlpha($theme)}
|
|
304
|
+
.light-blue .ripple{background: getLightBlueAlpha($theme)}
|
|
305
|
+
.background-light-blue{background: getLightBlue($theme)}
|
|
306
|
+
.border-color-light-blue{border-color: getLightBlue($theme)}
|
|
307
|
+
.color-light-blue{color: getLightBlue($theme)!important}
|
|
308
|
+
.fill-light-blue{fill: getLightBlue($theme)}
|
|
309
|
+
.stroke-light-blue{stroke: getLightBlue($theme)}
|
|
310
|
+
.color-light-blue-alpha{color: getLightBlueAlpha($theme)!important}
|
|
304
311
|
.light-blue-alpha{
|
|
305
|
-
background:
|
|
306
|
-
color:
|
|
312
|
+
background: getLightBlueAlpha($theme);
|
|
313
|
+
color: getLightBlueContrast($theme);
|
|
307
314
|
}
|
|
308
315
|
.light-blue{
|
|
309
|
-
background:
|
|
310
|
-
color:
|
|
311
|
-
}
|
|
312
|
-
.background-cyan-alpha {background:
|
|
313
|
-
.cyan .ripple{background:
|
|
314
|
-
.background-cyan{background:
|
|
315
|
-
.border-color-cyan{border-color:
|
|
316
|
-
.color-cyan{color:
|
|
317
|
-
.fill-cyan{fill:
|
|
318
|
-
.stroke-cyan{stroke:
|
|
319
|
-
.color-cyan-alpha{color:
|
|
316
|
+
background: getLightBlue($theme);
|
|
317
|
+
color: getLightBlueContrast($theme);
|
|
318
|
+
}
|
|
319
|
+
.background-cyan-alpha {background: getCyanAlpha($theme)}
|
|
320
|
+
.cyan .ripple{background: getCyanAlpha($theme)}
|
|
321
|
+
.background-cyan{background: getCyan($theme)}
|
|
322
|
+
.border-color-cyan{border-color: getCyan($theme)}
|
|
323
|
+
.color-cyan{color: getCyan($theme)!important}
|
|
324
|
+
.fill-cyan{fill: getCyan($theme)}
|
|
325
|
+
.stroke-cyan{stroke: getCyan($theme)}
|
|
326
|
+
.color-cyan-alpha{color: getCyanAlpha($theme)!important}
|
|
320
327
|
.cyan-alpha{
|
|
321
|
-
background:
|
|
322
|
-
color:
|
|
328
|
+
background: getCyanAlpha($theme);
|
|
329
|
+
color: getCyanContrast($theme);
|
|
323
330
|
}
|
|
324
331
|
.cyan{
|
|
325
|
-
background:
|
|
326
|
-
color:
|
|
327
|
-
}
|
|
328
|
-
.background-teal-alpha {background:
|
|
329
|
-
.teal .ripple{background:
|
|
330
|
-
.background-teal{background:
|
|
331
|
-
.border-color-teal{border-color:
|
|
332
|
-
.color-teal{color:
|
|
333
|
-
.fill-teal{fill:
|
|
334
|
-
.stroke-teal{stroke:
|
|
335
|
-
.color-teal-alpha{color:
|
|
332
|
+
background: getCyan($theme);
|
|
333
|
+
color: getCyanContrast($theme);
|
|
334
|
+
}
|
|
335
|
+
.background-teal-alpha {background: getTealAlpha($theme)}
|
|
336
|
+
.teal .ripple{background: getTealAlpha($theme)}
|
|
337
|
+
.background-teal{background: getTeal($theme)}
|
|
338
|
+
.border-color-teal{border-color: getTeal($theme)}
|
|
339
|
+
.color-teal{color: getTeal($theme)!important}
|
|
340
|
+
.fill-teal{fill: getTeal($theme)}
|
|
341
|
+
.stroke-teal{stroke: getTeal($theme)}
|
|
342
|
+
.color-teal-alpha{color: getTealAlpha($theme)!important}
|
|
336
343
|
.teal-alpha{
|
|
337
|
-
background:
|
|
338
|
-
color:
|
|
344
|
+
background: getTealAlpha($theme);
|
|
345
|
+
color: getTealContrast($theme);
|
|
339
346
|
}
|
|
340
347
|
.teal{
|
|
341
|
-
background:
|
|
342
|
-
color:
|
|
343
|
-
}
|
|
344
|
-
.background-green-alpha {background:
|
|
345
|
-
.green .ripple{background:
|
|
346
|
-
.background-green{background:
|
|
347
|
-
.border-color-green{border-color:
|
|
348
|
-
.color-green{color:
|
|
349
|
-
.fill-green{fill:
|
|
350
|
-
.stroke-green{stroke:
|
|
351
|
-
.color-green-alpha{color:
|
|
348
|
+
background: getTeal($theme);
|
|
349
|
+
color: getTealContrast($theme);
|
|
350
|
+
}
|
|
351
|
+
.background-green-alpha {background: getGreenAlpha($theme)}
|
|
352
|
+
.green .ripple{background: getGreenAlpha($theme)}
|
|
353
|
+
.background-green{background: getGreen($theme)}
|
|
354
|
+
.border-color-green{border-color: getGreen($theme)}
|
|
355
|
+
.color-green{color: getGreen($theme)!important}
|
|
356
|
+
.fill-green{fill: getGreen($theme)}
|
|
357
|
+
.stroke-green{stroke: getGreen($theme)}
|
|
358
|
+
.color-green-alpha{color: getGreenAlpha($theme)!important}
|
|
352
359
|
.green-alpha{
|
|
353
|
-
background:
|
|
354
|
-
color:
|
|
360
|
+
background: getGreenAlpha($theme);
|
|
361
|
+
color: getGreenContrast($theme);
|
|
355
362
|
}
|
|
356
363
|
.green{
|
|
357
|
-
background:
|
|
358
|
-
color:
|
|
359
|
-
}
|
|
360
|
-
.background-light-green-alpha {background:
|
|
361
|
-
.light-green .ripple{background:
|
|
362
|
-
.background-light-green{background:
|
|
363
|
-
.border-color-light-green{border-color:
|
|
364
|
-
.color-light-green{color:
|
|
365
|
-
.fill-light-green{fill:
|
|
366
|
-
.stroke-light-green{stroke:
|
|
367
|
-
.color-light-green-alpha{color:
|
|
364
|
+
background: getGreen($theme);
|
|
365
|
+
color: getGreenContrast($theme);
|
|
366
|
+
}
|
|
367
|
+
.background-light-green-alpha {background: getLightGreenAlpha($theme)}
|
|
368
|
+
.light-green .ripple{background: getLightGreenAlpha($theme)}
|
|
369
|
+
.background-light-green{background: getLightGreen($theme)}
|
|
370
|
+
.border-color-light-green{border-color: getLightGreen($theme)}
|
|
371
|
+
.color-light-green{color: getLightGreen($theme)!important}
|
|
372
|
+
.fill-light-green{fill: getLightGreen($theme)}
|
|
373
|
+
.stroke-light-green{stroke: getLightGreen($theme)}
|
|
374
|
+
.color-light-green-alpha{color: getLightGreenAlpha($theme)!important}
|
|
368
375
|
.light-green-alpha{
|
|
369
|
-
background:
|
|
370
|
-
color:
|
|
376
|
+
background: getLightGreenAlpha($theme);
|
|
377
|
+
color: getLightGreenContrast($theme);
|
|
371
378
|
}
|
|
372
379
|
.light-green{
|
|
373
|
-
background:
|
|
374
|
-
color:
|
|
375
|
-
}
|
|
376
|
-
.background-lime-alpha {background:
|
|
377
|
-
.lime .ripple{background:
|
|
378
|
-
.background-lime{background:
|
|
379
|
-
.border-color-lime{border-color:
|
|
380
|
-
.color-lime{color:
|
|
381
|
-
.fill-lime{fill:
|
|
382
|
-
.stroke-lime{stroke:
|
|
383
|
-
.color-lime-alpha{color:
|
|
380
|
+
background: getLightGreen($theme);
|
|
381
|
+
color: getLightGreenContrast($theme);
|
|
382
|
+
}
|
|
383
|
+
.background-lime-alpha {background: getLimeAlpha($theme)}
|
|
384
|
+
.lime .ripple{background: getLimeAlpha($theme)}
|
|
385
|
+
.background-lime{background: getLime($theme)}
|
|
386
|
+
.border-color-lime{border-color: getLime($theme)}
|
|
387
|
+
.color-lime{color: getLime($theme)!important}
|
|
388
|
+
.fill-lime{fill: getLime($theme)}
|
|
389
|
+
.stroke-lime{stroke: getLime($theme)}
|
|
390
|
+
.color-lime-alpha{color: getLimeAlpha($theme)!important}
|
|
384
391
|
.lime-alpha{
|
|
385
|
-
background:
|
|
386
|
-
color:
|
|
392
|
+
background: getLimeAlpha($theme);
|
|
393
|
+
color: getLimeContrast($theme);
|
|
387
394
|
}
|
|
388
395
|
.lime{
|
|
389
|
-
background:
|
|
390
|
-
color:
|
|
391
|
-
}
|
|
392
|
-
.background-yellow-alpha {background:
|
|
393
|
-
.yellow .ripple{background:
|
|
394
|
-
.background-yellow{background:
|
|
395
|
-
.border-color-yellow{border-color:
|
|
396
|
-
.color-yellow{color:
|
|
397
|
-
.fill-yellow{fill:
|
|
398
|
-
.stroke-yellow{stroke:
|
|
399
|
-
.color-yellow-alpha{color:
|
|
396
|
+
background: getLime($theme);
|
|
397
|
+
color: getLimeContrast($theme);
|
|
398
|
+
}
|
|
399
|
+
.background-yellow-alpha {background: getYellowAlpha($theme)}
|
|
400
|
+
.yellow .ripple{background: getYellowAlpha($theme)}
|
|
401
|
+
.background-yellow{background: getYellow($theme)}
|
|
402
|
+
.border-color-yellow{border-color: getYellow($theme)}
|
|
403
|
+
.color-yellow{color: getYellow($theme)!important}
|
|
404
|
+
.fill-yellow{fill: getYellow($theme)}
|
|
405
|
+
.stroke-yellow{stroke: getYellow($theme)}
|
|
406
|
+
.color-yellow-alpha{color: getYellowAlpha($theme)!important}
|
|
400
407
|
.yellow-alpha{
|
|
401
|
-
background:
|
|
402
|
-
color:
|
|
408
|
+
background: getYellowAlpha($theme);
|
|
409
|
+
color: getYellowContrast($theme);
|
|
403
410
|
}
|
|
404
411
|
.yellow{
|
|
405
|
-
background:
|
|
406
|
-
color:
|
|
407
|
-
}
|
|
408
|
-
.background-amber-alpha {background:
|
|
409
|
-
.amber .ripple{background:
|
|
410
|
-
.background-amber{background:
|
|
411
|
-
.border-color-amber{border-color:
|
|
412
|
-
.color-amber{color:
|
|
413
|
-
.fill-amber{fill:
|
|
414
|
-
.stroke-amber{stroke:
|
|
415
|
-
.color-amber-alpha{color:
|
|
412
|
+
background: getYellow($theme);
|
|
413
|
+
color: getYellowContrast($theme);
|
|
414
|
+
}
|
|
415
|
+
.background-amber-alpha {background: getAmberAlpha($theme)}
|
|
416
|
+
.amber .ripple{background: getAmberAlpha($theme)}
|
|
417
|
+
.background-amber{background: getAmber($theme)}
|
|
418
|
+
.border-color-amber{border-color: getAmber($theme)}
|
|
419
|
+
.color-amber{color: getAmber($theme)!important}
|
|
420
|
+
.fill-amber{fill: getAmber($theme)}
|
|
421
|
+
.stroke-amber{stroke: getAmber($theme)}
|
|
422
|
+
.color-amber-alpha{color: getAmberAlpha($theme)!important}
|
|
416
423
|
.amber-alpha{
|
|
417
|
-
background:
|
|
418
|
-
color:
|
|
424
|
+
background: getAmberAlpha($theme);
|
|
425
|
+
color: getAmberContrast($theme);
|
|
419
426
|
}
|
|
420
427
|
.amber{
|
|
421
|
-
background:
|
|
422
|
-
color:
|
|
423
|
-
}
|
|
424
|
-
.background-orange-alpha {background:
|
|
425
|
-
.orange .ripple{background:
|
|
426
|
-
.background-orange{background:
|
|
427
|
-
.border-color-orange{border-color:
|
|
428
|
-
.color-orange{color:
|
|
429
|
-
.fill-orange{fill:
|
|
430
|
-
.stroke-orange{stroke:
|
|
431
|
-
.color-orange-alpha{color:
|
|
428
|
+
background: getAmber($theme);
|
|
429
|
+
color: getAmberContrast($theme);
|
|
430
|
+
}
|
|
431
|
+
.background-orange-alpha {background: getOrangeAlpha($theme)}
|
|
432
|
+
.orange .ripple{background: getOrangeAlpha($theme)}
|
|
433
|
+
.background-orange{background: getOrange($theme)}
|
|
434
|
+
.border-color-orange{border-color: getOrange($theme)}
|
|
435
|
+
.color-orange{color: getOrange($theme)!important}
|
|
436
|
+
.fill-orange{fill: getOrange($theme)}
|
|
437
|
+
.stroke-orange{stroke: getOrange($theme)}
|
|
438
|
+
.color-orange-alpha{color: getOrangeAlpha($theme)!important}
|
|
432
439
|
.orange-alpha{
|
|
433
|
-
background:
|
|
434
|
-
color:
|
|
440
|
+
background: getOrangeAlpha($theme);
|
|
441
|
+
color: getOrangeContrast($theme);
|
|
435
442
|
}
|
|
436
443
|
.orange{
|
|
437
|
-
background:
|
|
438
|
-
color:
|
|
439
|
-
}
|
|
440
|
-
.background-deep-orange-alpha {background:
|
|
441
|
-
.deep-orange .ripple{background:
|
|
442
|
-
.background-deep-orange{background:
|
|
443
|
-
.border-color-deep-orange{border-color:
|
|
444
|
-
.color-deep-orange{color:
|
|
445
|
-
.fill-deep-orange{fill:
|
|
446
|
-
.stroke-deep-orange{stroke:
|
|
447
|
-
.color-deep-orange-alpha{color:
|
|
444
|
+
background: getOrange($theme);
|
|
445
|
+
color: getOrangeContrast($theme);
|
|
446
|
+
}
|
|
447
|
+
.background-deep-orange-alpha {background: getDeepOrangeAlpha($theme)}
|
|
448
|
+
.deep-orange .ripple{background: getDeepOrangeAlpha($theme)}
|
|
449
|
+
.background-deep-orange{background: getDeepOrange($theme)}
|
|
450
|
+
.border-color-deep-orange{border-color: getDeepOrange($theme)}
|
|
451
|
+
.color-deep-orange{color: getDeepOrange($theme)!important}
|
|
452
|
+
.fill-deep-orange{fill: getDeepOrange($theme)}
|
|
453
|
+
.stroke-deep-orange{stroke: getDeepOrange($theme)}
|
|
454
|
+
.color-deep-orange-alpha{color: getDeepOrangeAlpha($theme)!important}
|
|
448
455
|
.deep-orange-alpha{
|
|
449
|
-
background:
|
|
450
|
-
color:
|
|
456
|
+
background: getDeepOrangeAlpha($theme);
|
|
457
|
+
color: getDeepOrangeContrast($theme);
|
|
451
458
|
}
|
|
452
459
|
.deep-orange{
|
|
453
|
-
background:
|
|
454
|
-
color:
|
|
455
|
-
}
|
|
456
|
-
.background-brown-alpha {background:
|
|
457
|
-
.brown .ripple{background:
|
|
458
|
-
.background-brown{background:
|
|
459
|
-
.border-color-brown{border-color:
|
|
460
|
-
.color-brown{color:
|
|
461
|
-
.fill-brown{fill:
|
|
462
|
-
.stroke-brown{stroke:
|
|
463
|
-
.color-brown-alpha{color:
|
|
460
|
+
background: getDeepOrange($theme);
|
|
461
|
+
color: getDeepOrangeContrast($theme);
|
|
462
|
+
}
|
|
463
|
+
.background-brown-alpha {background: getBrownAlpha($theme)}
|
|
464
|
+
.brown .ripple{background: getBrownAlpha($theme)}
|
|
465
|
+
.background-brown{background: getBrown($theme)}
|
|
466
|
+
.border-color-brown{border-color: getBrown($theme)}
|
|
467
|
+
.color-brown{color: getBrown($theme)!important}
|
|
468
|
+
.fill-brown{fill: getBrown($theme)}
|
|
469
|
+
.stroke-brown{stroke: getBrown($theme)}
|
|
470
|
+
.color-brown-alpha{color: getBrownAlpha($theme)!important}
|
|
464
471
|
.brown-alpha{
|
|
465
|
-
background:
|
|
466
|
-
color:
|
|
472
|
+
background: getBrownAlpha($theme);
|
|
473
|
+
color: getBrownContrast($theme);
|
|
467
474
|
}
|
|
468
475
|
.brown{
|
|
469
|
-
background:
|
|
470
|
-
color:
|
|
471
|
-
}
|
|
472
|
-
.background-grey-alpha {background:
|
|
473
|
-
.grey .ripple{background:
|
|
474
|
-
.background-grey{background:
|
|
475
|
-
.border-color-grey{border-color:
|
|
476
|
-
.color-grey{color:
|
|
477
|
-
.fill-grey{fill:
|
|
478
|
-
.stroke-grey{stroke:
|
|
479
|
-
.color-grey-alpha{color:
|
|
476
|
+
background: getBrown($theme);
|
|
477
|
+
color: getBrownContrast($theme);
|
|
478
|
+
}
|
|
479
|
+
.background-grey-alpha {background: getGreyAlpha($theme)}
|
|
480
|
+
.grey .ripple{background: getGreyAlpha($theme)}
|
|
481
|
+
.background-grey{background: getGrey($theme)}
|
|
482
|
+
.border-color-grey{border-color: getGrey($theme)}
|
|
483
|
+
.color-grey{color: getGrey($theme)!important}
|
|
484
|
+
.fill-grey{fill: getGrey($theme)}
|
|
485
|
+
.stroke-grey{stroke: getGrey($theme)}
|
|
486
|
+
.color-grey-alpha{color: getGreyAlpha($theme)!important}
|
|
480
487
|
.grey-alpha{
|
|
481
|
-
background:
|
|
482
|
-
color:
|
|
488
|
+
background: getGreyAlpha($theme);
|
|
489
|
+
color: getGreyContrast($theme);
|
|
483
490
|
}
|
|
484
491
|
.grey{
|
|
485
|
-
background:
|
|
486
|
-
color:
|
|
487
|
-
}
|
|
488
|
-
.background-blue-grey-alpha {background:
|
|
489
|
-
.blue-grey .ripple{background:
|
|
490
|
-
.background-blue-grey{background:
|
|
491
|
-
.border-color-blue-grey{border-color:
|
|
492
|
-
.color-blue-grey{color:
|
|
493
|
-
.fill-blue-grey{fill:
|
|
494
|
-
.stroke-blue-grey{stroke:
|
|
495
|
-
.color-blue-grey-alpha{color:
|
|
492
|
+
background: getGrey($theme);
|
|
493
|
+
color: getGreyContrast($theme);
|
|
494
|
+
}
|
|
495
|
+
.background-blue-grey-alpha {background: getBlueGreyAlpha($theme)}
|
|
496
|
+
.blue-grey .ripple{background: getBlueGreyAlpha($theme)}
|
|
497
|
+
.background-blue-grey{background: getBlueGrey($theme)}
|
|
498
|
+
.border-color-blue-grey{border-color: getBlueGrey($theme)}
|
|
499
|
+
.color-blue-grey{color: getBlueGrey($theme)!important}
|
|
500
|
+
.fill-blue-grey{fill: getBlueGrey($theme)}
|
|
501
|
+
.stroke-blue-grey{stroke: getBlueGrey($theme)}
|
|
502
|
+
.color-blue-grey-alpha{color: getBlueGreyAlpha($theme)!important}
|
|
496
503
|
.blue-grey-alpha{
|
|
497
|
-
background:
|
|
498
|
-
color:
|
|
504
|
+
background: getBlueGreyAlpha($theme);
|
|
505
|
+
color: getBlueGreyContrast($theme);
|
|
499
506
|
}
|
|
500
507
|
.blue-grey{
|
|
501
|
-
background:
|
|
502
|
-
color:
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.background-primary-alpha {background:
|
|
506
|
-
.primary .ripple{background:
|
|
507
|
-
.background-primary{background:
|
|
508
|
-
.border-color-primary{border-color:
|
|
509
|
-
.color-primary{color:
|
|
510
|
-
.fill-primary{fill:
|
|
511
|
-
.stroke-primary{stroke:
|
|
512
|
-
.color-primary-alpha{color:
|
|
508
|
+
background: getBlueGrey($theme);
|
|
509
|
+
color: getBlueGreyContrast($theme);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.background-primary-alpha {background: getPrimaryAlpha($theme)}
|
|
513
|
+
.primary .ripple{background: getPrimaryContrastAlpha($theme)}
|
|
514
|
+
.background-primary{background: getPrimary($theme)}
|
|
515
|
+
.border-color-primary{border-color: getPrimary($theme)}
|
|
516
|
+
.color-primary{color: getPrimary($theme)!important}
|
|
517
|
+
.fill-primary{fill: getPrimary($theme)}
|
|
518
|
+
.stroke-primary{stroke: getPrimary($theme)}
|
|
519
|
+
.color-primary-alpha{color: getPrimaryAlpha($theme)!important}
|
|
513
520
|
.primary-alpha{
|
|
514
|
-
background:
|
|
515
|
-
color:
|
|
521
|
+
background: getPrimaryAlpha($theme);
|
|
522
|
+
color: getPrimaryContrast($theme);
|
|
516
523
|
}
|
|
517
524
|
.primary{
|
|
518
|
-
background:
|
|
519
|
-
color:
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
.background-accent-alpha {background:
|
|
523
|
-
.accent .ripple{background:
|
|
524
|
-
.background-accent{background:
|
|
525
|
-
.border-color-accent{border-color:
|
|
526
|
-
.color-accent{color:
|
|
527
|
-
.fill-accent{fill:
|
|
528
|
-
.stroke-accent{stroke:
|
|
529
|
-
.color-accent-alpha{color:
|
|
525
|
+
background: getPrimary($theme);
|
|
526
|
+
color: getPrimaryContrast($theme);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.background-accent-alpha {background: getAccentAlpha($theme)}
|
|
530
|
+
.accent .ripple{background: getAccentContrastAlpha($theme)}
|
|
531
|
+
.background-accent{background: getAccent($theme)}
|
|
532
|
+
.border-color-accent{border-color: getAccent($theme)}
|
|
533
|
+
.color-accent{color: getAccent($theme)!important}
|
|
534
|
+
.fill-accent{fill: getAccent($theme)}
|
|
535
|
+
.stroke-accent{stroke: getAccent($theme)}
|
|
536
|
+
.color-accent-alpha{color: getAccentAlpha($theme)!important}
|
|
530
537
|
.accent-alpha{
|
|
531
|
-
background:
|
|
532
|
-
color:
|
|
538
|
+
background: getAccentAlpha($theme);
|
|
539
|
+
color: getAccentContrast($theme);
|
|
533
540
|
}
|
|
534
541
|
.accent{
|
|
535
|
-
background:
|
|
536
|
-
color:
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
.background-warn-alpha {background:
|
|
540
|
-
.warn .ripple{background:
|
|
541
|
-
.background-warn{background:
|
|
542
|
-
.border-color-warn{border-color:
|
|
543
|
-
.color-warn{color:
|
|
544
|
-
.fill-warn{fill:
|
|
545
|
-
.stroke-warn{stroke:
|
|
546
|
-
.color-warn-alpha{color:
|
|
542
|
+
background: getAccent($theme);
|
|
543
|
+
color: getAccentContrast($theme);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.background-warn-alpha {background: getWarnAlpha($theme)}
|
|
547
|
+
.warn .ripple{background: getWarnContrastAlpha($theme)}
|
|
548
|
+
.background-warn{background: getWarn($theme)}
|
|
549
|
+
.border-color-warn{border-color: getWarn($theme)}
|
|
550
|
+
.color-warn{color: getWarn($theme)!important}
|
|
551
|
+
.fill-warn{fill: getWarn($theme)}
|
|
552
|
+
.stroke-warn{stroke: getWarn($theme)}
|
|
553
|
+
.color-warn-alpha{color: getWarnAlpha($theme)!important}
|
|
547
554
|
.warn-alpha{
|
|
548
|
-
background:
|
|
549
|
-
color:
|
|
555
|
+
background: getWarnAlpha($theme);
|
|
556
|
+
color: getWarnContrast($theme);
|
|
550
557
|
}
|
|
551
558
|
.warn{
|
|
552
|
-
background:
|
|
553
|
-
color:
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
.background-basic-alpha {background:
|
|
557
|
-
.basic .ripple{background:
|
|
558
|
-
.background-basic{background:
|
|
559
|
-
.border-color-basic{border-color:
|
|
560
|
-
.color-basic{color:
|
|
561
|
-
.fill-basic{fill:
|
|
562
|
-
.stroke-basic{stroke:
|
|
563
|
-
.color-basic-alpha{color:
|
|
559
|
+
background: getWarn($theme);
|
|
560
|
+
color: getWarnContrast($theme);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.background-basic-alpha {background: getForegroundAlpha($theme)}
|
|
564
|
+
.basic .ripple{background: getForegroundAlpha($theme)}
|
|
565
|
+
.background-basic{background: getSurface($theme)}
|
|
566
|
+
.border-color-basic{border-color:getForeground($theme)}
|
|
567
|
+
.color-basic{color: getForeground($theme)!important}
|
|
568
|
+
.fill-basic{fill: getSurface($theme)}
|
|
569
|
+
.stroke-basic{stroke: getForeground($theme)}
|
|
570
|
+
.color-basic-alpha{color: getForegroundAlpha($theme)!important}
|
|
564
571
|
.basic-alpha{
|
|
565
|
-
background:
|
|
566
|
-
color:
|
|
572
|
+
background: getForegroundAlpha($theme);
|
|
573
|
+
color: getForeground($theme);
|
|
567
574
|
}
|
|
568
575
|
.basic{
|
|
569
|
-
background:
|
|
570
|
-
color:
|
|
576
|
+
background: getSurface($theme);
|
|
577
|
+
color: getForeground($theme);
|
|
571
578
|
}
|
|
572
579
|
|
|
573
580
|
.color-unset {
|
|
574
581
|
color: unset;
|
|
575
582
|
}
|
|
576
583
|
|
|
584
|
+
.background-transparent {
|
|
585
|
+
background: transparent;
|
|
586
|
+
}
|
|
577
587
|
|
|
578
588
|
$attributes: (
|
|
579
589
|
color: $foreground,
|
|
@@ -583,106 +593,65 @@ $index: 0;
|
|
|
583
593
|
stroke: $background
|
|
584
594
|
);
|
|
585
595
|
|
|
586
|
-
.base-surface {
|
|
587
|
-
background: map-get($background, card);
|
|
588
|
-
color: map-get($foreground, text);
|
|
589
|
-
&-alpha {
|
|
590
|
-
background: rgba(map-get($background, card), 0.5) !important;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
.base-fg {
|
|
594
|
-
background: map-get($foreground, text);
|
|
595
|
-
color: map-get($foreground, text-inverse);
|
|
596
|
-
&-alpha {
|
|
597
|
-
background: rgba(map-get($foreground, text), 0.2) !important;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
.base-bg {
|
|
601
|
-
background: map-get($background, background);
|
|
602
|
-
color: map-get($foreground, text);
|
|
603
|
-
&-alpha {
|
|
604
|
-
background: map-get($background, background-alpha) !important;
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.background-transparent {
|
|
609
|
-
background: transparent;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
596
|
@each $attribute, $colorLevel in $attributes {
|
|
613
597
|
@if ($attribute != "color") {
|
|
614
598
|
.#{$attribute}-bg {
|
|
615
|
-
#{$attribute}:
|
|
599
|
+
#{$attribute}: getBackground($theme) !important;
|
|
616
600
|
}
|
|
617
601
|
.#{$attribute}-bg-alpha {
|
|
618
|
-
#{$attribute}:
|
|
602
|
+
#{$attribute}: getBackgroundAlpha($theme) !important;
|
|
619
603
|
}
|
|
620
604
|
.#{$attribute}-bg-inverse {
|
|
621
|
-
#{$attribute}:
|
|
605
|
+
#{$attribute}: getBackgroundInverse($theme) !important;
|
|
622
606
|
}
|
|
623
607
|
.#{$attribute}-bg-alpha-inverse {
|
|
624
|
-
#{$attribute}:
|
|
608
|
+
#{$attribute}: getBackgroundAlphaInverse($theme) !important;
|
|
625
609
|
}
|
|
626
610
|
.#{$attribute}-surface-inverse {
|
|
627
|
-
#{$attribute}:
|
|
611
|
+
#{$attribute}: getSurfaceInverse($theme) !important;
|
|
628
612
|
}
|
|
629
613
|
.#{$attribute}-surface-alpha-inverse {
|
|
630
|
-
#{$attribute}:
|
|
614
|
+
#{$attribute}: getSurfaceAlphaInverse($theme) !important;
|
|
631
615
|
}
|
|
632
616
|
}
|
|
633
|
-
|
|
634
|
-
#{$attribute}: map-get($background, error) !important;
|
|
635
|
-
}
|
|
636
|
-
.#{$attribute}-info {
|
|
637
|
-
#{$attribute}: map-get($background, info) !important;
|
|
638
|
-
}
|
|
639
|
-
.#{$attribute}-success {
|
|
640
|
-
#{$attribute}: map-get($background, success) !important;
|
|
641
|
-
}
|
|
642
|
-
.#{$attribute}-warning {
|
|
643
|
-
#{$attribute}: map-get($background, warning) !important;
|
|
644
|
-
}
|
|
617
|
+
|
|
645
618
|
.#{$attribute}-fg,
|
|
646
619
|
.#{$attribute}-base,
|
|
647
620
|
.#{$attribute}-text {
|
|
648
|
-
#{$attribute}:
|
|
621
|
+
#{$attribute}: getForeground($theme) !important;
|
|
649
622
|
}
|
|
650
623
|
|
|
651
624
|
.#{$attribute}-fg-inverse,
|
|
652
625
|
.#{$attribute}-base-inverse,
|
|
653
626
|
.#{$attribute}-text-inverse {
|
|
654
|
-
#{$attribute}:
|
|
627
|
+
#{$attribute}: getForegroundInverse($theme) !important;
|
|
655
628
|
}
|
|
656
629
|
|
|
657
630
|
.#{$attribute}-surface {
|
|
658
|
-
#{$attribute}:
|
|
631
|
+
#{$attribute}: getSurface($theme) !important;
|
|
659
632
|
}
|
|
660
633
|
|
|
661
634
|
.#{$attribute}-surface-alpha {
|
|
662
|
-
#{$attribute}:
|
|
635
|
+
#{$attribute}: getSurfaceAlpha($theme) !important;
|
|
663
636
|
}
|
|
664
637
|
|
|
665
638
|
.#{$attribute}-placeholder {
|
|
666
|
-
#{$attribute}:
|
|
639
|
+
#{$attribute}: getGrey($theme) !important;
|
|
667
640
|
&-alpha {
|
|
668
|
-
background: rgba(
|
|
641
|
+
background: rgba(getGrey($theme), 0.2) !important;
|
|
669
642
|
}
|
|
670
643
|
}
|
|
671
644
|
|
|
672
645
|
.#{$attribute}-label {
|
|
673
|
-
#{$attribute}:
|
|
646
|
+
#{$attribute}: getBlueGrey($theme) !important;
|
|
674
647
|
}
|
|
675
648
|
|
|
676
649
|
.#{$attribute}-disabled {
|
|
677
|
-
#{$attribute}:
|
|
650
|
+
#{$attribute}: getDisabled($theme) !important;
|
|
678
651
|
}
|
|
679
652
|
|
|
680
653
|
.#{$attribute}-disabled-icon {
|
|
681
|
-
#{$attribute}:
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
.#{$attribute}-selected {
|
|
685
|
-
#{$attribute}: map-get($background, selected-button) !important;
|
|
654
|
+
#{$attribute}: getDisabledContrast($theme) !important;
|
|
686
655
|
}
|
|
687
656
|
}
|
|
688
657
|
}
|