@dynamic-framework/ui-react 1.23.0 → 1.24.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/dist/css/dynamic-ui-non-root.css +558 -73
- package/dist/css/dynamic-ui-non-root.min.css +2 -2
- package/dist/css/dynamic-ui-root.css +48 -26
- package/dist/css/dynamic-ui-root.min.css +2 -2
- package/dist/css/dynamic-ui.css +605 -98
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/style/abstracts/_mixins.scss +4 -4
- package/src/style/abstracts/_utilities.scss +9 -4
- package/src/style/abstracts/variables/_colors.scss +63 -15
- package/src/style/helpers/_color-bg.scss +4 -2
- package/src/style/root/_root.scss +10 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sideEffects": [
|
|
4
4
|
"*.css"
|
|
5
5
|
],
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.24.0",
|
|
7
7
|
"description": "React Dynamic Framework",
|
|
8
8
|
"license": "https://github.com/dynamic-framework/dynamic-ui/blob/master/libraries/dynamic-ui-react/LICENSE.md",
|
|
9
9
|
"repository": {
|
|
@@ -156,5 +156,5 @@
|
|
|
156
156
|
"optional": true
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
-
"gitHead": "
|
|
159
|
+
"gitHead": "9152b65367486ebe3ac167e46cc6b48d0aeed336"
|
|
160
160
|
}
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
$hover-color: var(--#{$prefix}#{$color-name}-600),
|
|
6
6
|
$focus-color: var(--#{$prefix}#{$color-name}-500),
|
|
7
7
|
$active-color: var(--#{$prefix}#{$color-name}-700),
|
|
8
|
-
$default-text-color: color-contrast-var(map-get($theme-colors-
|
|
9
|
-
$hover-text-color: color-contrast-var(map-get($theme-colors-
|
|
10
|
-
$focus-text-color: color-contrast-var(map-get($theme-colors-
|
|
11
|
-
$active-text-color: color-contrast-var(map-get($theme-colors-
|
|
8
|
+
$default-text-color: color-contrast-var(map-get($theme-colors-palettes, #{$color-name}-500)),
|
|
9
|
+
$hover-text-color: color-contrast-var(map-get($theme-colors-palettes, #{$color-name}-600)),
|
|
10
|
+
$focus-text-color: color-contrast-var(map-get($theme-colors-palettes, #{$color-name}-600)),
|
|
11
|
+
$active-text-color: color-contrast-var(map-get($theme-colors-palettes, #{$color-name}-700)),
|
|
12
12
|
$disabled-opacity: .65
|
|
13
13
|
) {
|
|
14
14
|
--#{$prefix}btn-#{$color-name}-color: #{$default-text-color};
|
|
@@ -20,7 +20,7 @@ $utilities: map-merge(
|
|
|
20
20
|
(
|
|
21
21
|
values: map-merge(
|
|
22
22
|
map-get(map-get($utilities, "color"), "values"),
|
|
23
|
-
map-loop(map-merge-multiple($theme-colors-
|
|
23
|
+
map-loop(map-merge-multiple($theme-colors-palettes, $palette-grays), rgba-css-var, "$key", "text"),
|
|
24
24
|
)
|
|
25
25
|
)
|
|
26
26
|
),
|
|
@@ -29,7 +29,12 @@ $utilities: map-merge(
|
|
|
29
29
|
(
|
|
30
30
|
values: map-merge(
|
|
31
31
|
map-get(map-get($utilities, "background-color"), "values"),
|
|
32
|
-
map-loop(
|
|
32
|
+
map-loop(
|
|
33
|
+
map-merge-multiple($theme-colors-palettes, $palette-grays, $bg-surface-colors, $bg-soft-colors),
|
|
34
|
+
rgba-css-var,
|
|
35
|
+
"$key",
|
|
36
|
+
"bg"
|
|
37
|
+
)
|
|
33
38
|
)
|
|
34
39
|
)
|
|
35
40
|
),
|
|
@@ -40,7 +45,7 @@ $utilities: map-merge(
|
|
|
40
45
|
null: var(--#{$prefix}box-shadow),
|
|
41
46
|
sm: var(--#{$prefix}box-shadow-sm),
|
|
42
47
|
lg: var(--#{$prefix}box-shadow-lg),
|
|
43
|
-
none: none
|
|
48
|
+
none: none
|
|
44
49
|
)
|
|
45
50
|
)
|
|
46
51
|
),
|
|
@@ -50,7 +55,7 @@ $utilities: map-merge(
|
|
|
50
55
|
values: map-merge(
|
|
51
56
|
map-get(map-get($utilities, "text-opacity"), "values"),
|
|
52
57
|
(
|
|
53
|
-
40: .4
|
|
58
|
+
40: .4
|
|
54
59
|
)
|
|
55
60
|
)
|
|
56
61
|
)
|
|
@@ -2,22 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
// scss-docs-start gray-color-variables
|
|
4
4
|
$white: #fff !default;
|
|
5
|
-
$gray-
|
|
6
|
-
$gray-
|
|
7
|
-
$gray-
|
|
8
|
-
$gray-
|
|
9
|
-
$gray-
|
|
5
|
+
$gray-25: #fbfbfc !default;
|
|
6
|
+
$gray-50: #f7f8f8 !default;
|
|
7
|
+
$gray-100: #eff0f2 !default;
|
|
8
|
+
$gray-200: #dee1e5 !default;
|
|
9
|
+
$gray-300: #ced3d7 !default;
|
|
10
|
+
$gray-400: #bdc4ca !default;
|
|
10
11
|
$gray-500: #adb5bd !default;
|
|
11
|
-
$gray-600: #
|
|
12
|
-
$gray-700: #
|
|
13
|
-
$gray-800: #
|
|
14
|
-
$gray-900: #
|
|
12
|
+
$gray-600: #8a9197 !default;
|
|
13
|
+
$gray-700: #686d71 !default;
|
|
14
|
+
$gray-800: #45484c !default;
|
|
15
|
+
$gray-900: #232426 !default;
|
|
15
16
|
$black: #000 !default;
|
|
16
17
|
// scss-docs-end gray-color-variables
|
|
17
18
|
|
|
18
19
|
// fusv-disable
|
|
19
20
|
// scss-docs-start gray-colors-map
|
|
20
21
|
$grays: (
|
|
22
|
+
"25": $gray-25,
|
|
21
23
|
"50": $gray-50,
|
|
22
24
|
"100": $gray-100,
|
|
23
25
|
"200": $gray-200,
|
|
@@ -73,6 +75,7 @@ $color-contrast-dark: $gray-700 !default;
|
|
|
73
75
|
$color-contrast-light: $white !default;
|
|
74
76
|
|
|
75
77
|
// fusv-disable
|
|
78
|
+
$blue-25: tint-color($blue, 95%) !default;
|
|
76
79
|
$blue-50: tint-color($blue, 90%) !default;
|
|
77
80
|
$blue-100: tint-color($blue, 80%) !default;
|
|
78
81
|
$blue-200: tint-color($blue, 60%) !default;
|
|
@@ -84,6 +87,7 @@ $blue-700: shade-color($blue, 40%) !default;
|
|
|
84
87
|
$blue-800: shade-color($blue, 60%) !default;
|
|
85
88
|
$blue-900: shade-color($blue, 80%) !default;
|
|
86
89
|
|
|
90
|
+
$indigo-25: tint-color($indigo, 95%) !default;
|
|
87
91
|
$indigo-50: tint-color($indigo, 90%) !default;
|
|
88
92
|
$indigo-100: tint-color($indigo, 80%) !default;
|
|
89
93
|
$indigo-200: tint-color($indigo, 60%) !default;
|
|
@@ -95,6 +99,7 @@ $indigo-700: shade-color($indigo, 40%) !default;
|
|
|
95
99
|
$indigo-800: shade-color($indigo, 60%) !default;
|
|
96
100
|
$indigo-900: shade-color($indigo, 80%) !default;
|
|
97
101
|
|
|
102
|
+
$purple-25: tint-color($purple, 95%) !default;
|
|
98
103
|
$purple-50: tint-color($purple, 90%) !default;
|
|
99
104
|
$purple-100: tint-color($purple, 80%) !default;
|
|
100
105
|
$purple-200: tint-color($purple, 60%) !default;
|
|
@@ -106,6 +111,7 @@ $purple-700: shade-color($purple, 40%) !default;
|
|
|
106
111
|
$purple-800: shade-color($purple, 60%) !default;
|
|
107
112
|
$purple-900: shade-color($purple, 80%) !default;
|
|
108
113
|
|
|
114
|
+
$pink-25: tint-color($pink, 95%) !default;
|
|
109
115
|
$pink-50: tint-color($pink, 90%) !default;
|
|
110
116
|
$pink-100: tint-color($pink, 80%) !default;
|
|
111
117
|
$pink-200: tint-color($pink, 60%) !default;
|
|
@@ -117,6 +123,7 @@ $pink-700: shade-color($pink, 40%) !default;
|
|
|
117
123
|
$pink-800: shade-color($pink, 60%) !default;
|
|
118
124
|
$pink-900: shade-color($pink, 80%) !default;
|
|
119
125
|
|
|
126
|
+
$red-25: tint-color($red, 95%) !default;
|
|
120
127
|
$red-50: tint-color($red, 90%) !default;
|
|
121
128
|
$red-100: tint-color($red, 80%) !default;
|
|
122
129
|
$red-200: tint-color($red, 60%) !default;
|
|
@@ -128,6 +135,7 @@ $red-700: shade-color($red, 40%) !default;
|
|
|
128
135
|
$red-800: shade-color($red, 60%) !default;
|
|
129
136
|
$red-900: shade-color($red, 80%) !default;
|
|
130
137
|
|
|
138
|
+
$orange-25: tint-color($orange, 95%) !default;
|
|
131
139
|
$orange-50: tint-color($orange, 90%) !default;
|
|
132
140
|
$orange-100: tint-color($orange, 80%) !default;
|
|
133
141
|
$orange-200: tint-color($orange, 60%) !default;
|
|
@@ -139,6 +147,7 @@ $orange-700: shade-color($orange, 40%) !default;
|
|
|
139
147
|
$orange-800: shade-color($orange, 60%) !default;
|
|
140
148
|
$orange-900: shade-color($orange, 80%) !default;
|
|
141
149
|
|
|
150
|
+
$yellow-25: tint-color($yellow, 95%) !default;
|
|
142
151
|
$yellow-50: tint-color($yellow, 90%) !default;
|
|
143
152
|
$yellow-100: tint-color($yellow, 80%) !default;
|
|
144
153
|
$yellow-200: tint-color($yellow, 60%) !default;
|
|
@@ -150,6 +159,7 @@ $yellow-700: shade-color($yellow, 40%) !default;
|
|
|
150
159
|
$yellow-800: shade-color($yellow, 60%) !default;
|
|
151
160
|
$yellow-900: shade-color($yellow, 80%) !default;
|
|
152
161
|
|
|
162
|
+
$green-25: tint-color($green, 95%) !default;
|
|
153
163
|
$green-50: tint-color($green, 90%) !default;
|
|
154
164
|
$green-100: tint-color($green, 80%) !default;
|
|
155
165
|
$green-200: tint-color($green, 60%) !default;
|
|
@@ -161,6 +171,7 @@ $green-700: shade-color($green, 40%) !default;
|
|
|
161
171
|
$green-800: shade-color($green, 60%) !default;
|
|
162
172
|
$green-900: shade-color($green, 80%) !default;
|
|
163
173
|
|
|
174
|
+
$teal-25: tint-color($teal, 95%) !default;
|
|
164
175
|
$teal-50: tint-color($teal, 90%) !default;
|
|
165
176
|
$teal-100: tint-color($teal, 80%) !default;
|
|
166
177
|
$teal-200: tint-color($teal, 60%) !default;
|
|
@@ -172,6 +183,7 @@ $teal-700: shade-color($teal, 40%) !default;
|
|
|
172
183
|
$teal-800: shade-color($teal, 60%) !default;
|
|
173
184
|
$teal-900: shade-color($teal, 80%) !default;
|
|
174
185
|
|
|
186
|
+
$cyan-25: tint-color($cyan, 95%) !default;
|
|
175
187
|
$cyan-50: tint-color($cyan, 90%) !default;
|
|
176
188
|
$cyan-100: tint-color($cyan, 80%) !default;
|
|
177
189
|
$cyan-200: tint-color($cyan, 60%) !default;
|
|
@@ -184,6 +196,7 @@ $cyan-800: shade-color($cyan, 60%) !default;
|
|
|
184
196
|
$cyan-900: shade-color($cyan, 80%) !default;
|
|
185
197
|
|
|
186
198
|
$blues: (
|
|
199
|
+
"blue-25": $blue-25,
|
|
187
200
|
"blue-50": $blue-50,
|
|
188
201
|
"blue-100": $blue-100,
|
|
189
202
|
"blue-200": $blue-200,
|
|
@@ -197,6 +210,7 @@ $blues: (
|
|
|
197
210
|
) !default;
|
|
198
211
|
|
|
199
212
|
$indigos: (
|
|
213
|
+
"indigo-25": $indigo-25,
|
|
200
214
|
"indigo-50": $indigo-50,
|
|
201
215
|
"indigo-100": $indigo-100,
|
|
202
216
|
"indigo-200": $indigo-200,
|
|
@@ -210,6 +224,7 @@ $indigos: (
|
|
|
210
224
|
) !default;
|
|
211
225
|
|
|
212
226
|
$purples: (
|
|
227
|
+
"purple-25": $purple-25,
|
|
213
228
|
"purple-50": $purple-50,
|
|
214
229
|
"purple-100": $purple-100,
|
|
215
230
|
"purple-200": $purple-200,
|
|
@@ -223,6 +238,7 @@ $purples: (
|
|
|
223
238
|
) !default;
|
|
224
239
|
|
|
225
240
|
$pinks: (
|
|
241
|
+
"pink-25": $pink-25,
|
|
226
242
|
"pink-50": $pink-50,
|
|
227
243
|
"pink-100": $pink-100,
|
|
228
244
|
"pink-200": $pink-200,
|
|
@@ -236,6 +252,7 @@ $pinks: (
|
|
|
236
252
|
) !default;
|
|
237
253
|
|
|
238
254
|
$reds: (
|
|
255
|
+
"red-25": $red-25,
|
|
239
256
|
"red-50": $red-50,
|
|
240
257
|
"red-100": $red-100,
|
|
241
258
|
"red-200": $red-200,
|
|
@@ -249,6 +266,7 @@ $reds: (
|
|
|
249
266
|
) !default;
|
|
250
267
|
|
|
251
268
|
$oranges: (
|
|
269
|
+
"orange-25": $orange-25,
|
|
252
270
|
"orange-50": $orange-50,
|
|
253
271
|
"orange-100": $orange-100,
|
|
254
272
|
"orange-200": $orange-200,
|
|
@@ -262,6 +280,7 @@ $oranges: (
|
|
|
262
280
|
) !default;
|
|
263
281
|
|
|
264
282
|
$yellows: (
|
|
283
|
+
"yellow-25": $yellow-25,
|
|
265
284
|
"yellow-50": $yellow-50,
|
|
266
285
|
"yellow-100": $yellow-100,
|
|
267
286
|
"yellow-200": $yellow-200,
|
|
@@ -275,6 +294,7 @@ $yellows: (
|
|
|
275
294
|
) !default;
|
|
276
295
|
|
|
277
296
|
$greens: (
|
|
297
|
+
"green-25": $green-25,
|
|
278
298
|
"green-50": $green-50,
|
|
279
299
|
"green-100": $green-100,
|
|
280
300
|
"green-200": $green-200,
|
|
@@ -288,6 +308,7 @@ $greens: (
|
|
|
288
308
|
) !default;
|
|
289
309
|
|
|
290
310
|
$teals: (
|
|
311
|
+
"teal-25": $teal-25,
|
|
291
312
|
"teal-50": $teal-50,
|
|
292
313
|
"teal-100": $teal-100,
|
|
293
314
|
"teal-200": $teal-200,
|
|
@@ -301,6 +322,7 @@ $teals: (
|
|
|
301
322
|
) !default;
|
|
302
323
|
|
|
303
324
|
$cyans: (
|
|
325
|
+
"cyan-25": $cyan-25,
|
|
304
326
|
"cyan-50": $cyan-50,
|
|
305
327
|
"cyan-100": $cyan-100,
|
|
306
328
|
"cyan-200": $cyan-200,
|
|
@@ -393,6 +415,7 @@ $light-border-subtle: var(--#{$prefix}gray-100) !default;
|
|
|
393
415
|
$dark-border-subtle: var(--#{$prefix}gray-400) !default;
|
|
394
416
|
// scss-docs-end theme-border-subtle-variables
|
|
395
417
|
|
|
418
|
+
$primary-25: $pink-25 !default;
|
|
396
419
|
$primary-50: $pink-50 !default;
|
|
397
420
|
$primary-100: $pink-100 !default;
|
|
398
421
|
$primary-200: $pink-200 !default;
|
|
@@ -404,6 +427,7 @@ $primary-700: $pink-700 !default;
|
|
|
404
427
|
$primary-800: $pink-800 !default;
|
|
405
428
|
$primary-900: $pink-900 !default;
|
|
406
429
|
|
|
430
|
+
$secondary-25: $purple-25 !default;
|
|
407
431
|
$secondary-50: $purple-50 !default;
|
|
408
432
|
$secondary-100: $purple-100 !default;
|
|
409
433
|
$secondary-200: $purple-200 !default;
|
|
@@ -415,6 +439,7 @@ $secondary-700: $purple-700 !default;
|
|
|
415
439
|
$secondary-800: $purple-800 !default;
|
|
416
440
|
$secondary-900: $purple-900 !default;
|
|
417
441
|
|
|
442
|
+
$success-25: $green-25 !default;
|
|
418
443
|
$success-50: $green-50 !default;
|
|
419
444
|
$success-100: $green-100 !default;
|
|
420
445
|
$success-200: $green-200 !default;
|
|
@@ -426,6 +451,7 @@ $success-700: $green-700 !default;
|
|
|
426
451
|
$success-800: $green-800 !default;
|
|
427
452
|
$success-900: $green-900 !default;
|
|
428
453
|
|
|
454
|
+
$info-25: $blue-25 !default;
|
|
429
455
|
$info-50: $blue-50 !default;
|
|
430
456
|
$info-100: $blue-100 !default;
|
|
431
457
|
$info-200: $blue-200 !default;
|
|
@@ -437,6 +463,7 @@ $info-700: $blue-700 !default;
|
|
|
437
463
|
$info-800: $blue-800 !default;
|
|
438
464
|
$info-900: $blue-900 !default;
|
|
439
465
|
|
|
466
|
+
$warning-25: $yellow-25 !default;
|
|
440
467
|
$warning-50: $yellow-50 !default;
|
|
441
468
|
$warning-100: $yellow-100 !default;
|
|
442
469
|
$warning-200: $yellow-200 !default;
|
|
@@ -448,6 +475,7 @@ $warning-700: $yellow-700 !default;
|
|
|
448
475
|
$warning-800: $yellow-800 !default;
|
|
449
476
|
$warning-900: $yellow-900 !default;
|
|
450
477
|
|
|
478
|
+
$danger-25: $red-25 !default;
|
|
451
479
|
$danger-50: $red-50 !default;
|
|
452
480
|
$danger-100: $red-100 !default;
|
|
453
481
|
$danger-200: $red-200 !default;
|
|
@@ -460,7 +488,6 @@ $danger-800: $red-800 !default;
|
|
|
460
488
|
$danger-900: $red-900 !default;
|
|
461
489
|
|
|
462
490
|
// custom
|
|
463
|
-
// TODO: check this.
|
|
464
491
|
$bg-surface-gray: $gray-50 !default;
|
|
465
492
|
$bg-surface-primary: $primary-50 !default;
|
|
466
493
|
$bg-surface-secondary: $secondary-50 !default;
|
|
@@ -470,9 +497,6 @@ $bg-surface-warning: $warning-50 !default;
|
|
|
470
497
|
$bg-surface-danger: $danger-50 !default;
|
|
471
498
|
|
|
472
499
|
$bg-surface-colors: (
|
|
473
|
-
"gray-soft": $bg-surface-gray, // DEPRECATED
|
|
474
|
-
"primary-soft": $bg-surface-primary, // DEPRECATED
|
|
475
|
-
"secondary-soft": $bg-surface-secondary, // DEPRECATED
|
|
476
500
|
"surface-gray": $bg-surface-gray,
|
|
477
501
|
"surface-primary": $bg-surface-primary,
|
|
478
502
|
"surface-secondary": $bg-surface-secondary,
|
|
@@ -481,9 +505,28 @@ $bg-surface-colors: (
|
|
|
481
505
|
"surface-warning": $bg-surface-warning,
|
|
482
506
|
"surface-danger": $bg-surface-danger,
|
|
483
507
|
) !default;
|
|
508
|
+
|
|
509
|
+
$bg-gray-soft: $gray-25 !default;
|
|
510
|
+
$bg-primary-soft: $primary-25 !default;
|
|
511
|
+
$bg-secondary-soft: $secondary-25 !default;
|
|
512
|
+
$bg-success-soft: $success-25 !default;
|
|
513
|
+
$bg-info-soft: $info-25 !default;
|
|
514
|
+
$bg-warning-soft: $warning-25 !default;
|
|
515
|
+
$bg-danger-soft: $danger-25 !default;
|
|
516
|
+
|
|
517
|
+
$bg-soft-colors: (
|
|
518
|
+
"gray-soft": $bg-gray-soft,
|
|
519
|
+
"primary-soft": $bg-primary-soft,
|
|
520
|
+
"secondary-soft": $bg-secondary-soft,
|
|
521
|
+
"success-soft": $bg-success-soft,
|
|
522
|
+
"info-soft": $bg-info-soft,
|
|
523
|
+
"warning-soft": $bg-warning-soft,
|
|
524
|
+
"danger-soft": $bg-danger-soft,
|
|
525
|
+
) !default;
|
|
484
526
|
// end custom
|
|
485
527
|
|
|
486
|
-
$theme-colors-
|
|
528
|
+
$theme-colors-palettes: (
|
|
529
|
+
"primary-25": $primary-25,
|
|
487
530
|
"primary-50": $primary-50,
|
|
488
531
|
"primary-100": $primary-100,
|
|
489
532
|
"primary-200": $primary-200,
|
|
@@ -494,6 +537,7 @@ $theme-colors-palletes: (
|
|
|
494
537
|
"primary-700": $primary-700,
|
|
495
538
|
"primary-800": $primary-800,
|
|
496
539
|
"primary-900": $primary-900,
|
|
540
|
+
"secondary-25": $secondary-25,
|
|
497
541
|
"secondary-50": $secondary-50,
|
|
498
542
|
"secondary-100": $secondary-100,
|
|
499
543
|
"secondary-200": $secondary-200,
|
|
@@ -504,6 +548,7 @@ $theme-colors-palletes: (
|
|
|
504
548
|
"secondary-700": $secondary-700,
|
|
505
549
|
"secondary-800": $secondary-800,
|
|
506
550
|
"secondary-900": $secondary-900,
|
|
551
|
+
"success-25": $success-25,
|
|
507
552
|
"success-50": $success-50,
|
|
508
553
|
"success-100": $success-100,
|
|
509
554
|
"success-200": $success-200,
|
|
@@ -514,6 +559,7 @@ $theme-colors-palletes: (
|
|
|
514
559
|
"success-700": $success-700,
|
|
515
560
|
"success-800": $success-800,
|
|
516
561
|
"success-900": $success-900,
|
|
562
|
+
"info-25": $info-25,
|
|
517
563
|
"info-50": $info-50,
|
|
518
564
|
"info-100": $info-100,
|
|
519
565
|
"info-200": $info-200,
|
|
@@ -524,6 +570,7 @@ $theme-colors-palletes: (
|
|
|
524
570
|
"info-700": $info-700,
|
|
525
571
|
"info-800": $info-800,
|
|
526
572
|
"info-900": $info-900,
|
|
573
|
+
"warning-25": $warning-25,
|
|
527
574
|
"warning-50": $warning-50,
|
|
528
575
|
"warning-100": $warning-100,
|
|
529
576
|
"warning-200": $warning-200,
|
|
@@ -534,6 +581,7 @@ $theme-colors-palletes: (
|
|
|
534
581
|
"warning-700": $warning-700,
|
|
535
582
|
"warning-800": $warning-800,
|
|
536
583
|
"warning-900": $warning-900,
|
|
584
|
+
"danger-25": $danger-25,
|
|
537
585
|
"danger-50": $danger-50,
|
|
538
586
|
"danger-100": $danger-100,
|
|
539
587
|
"danger-200": $danger-200,
|
|
@@ -552,7 +600,7 @@ $all-colors: map-merge-multiple(
|
|
|
552
600
|
$colors,
|
|
553
601
|
$theme-colors,
|
|
554
602
|
$palette-grays,
|
|
555
|
-
$theme-colors-
|
|
603
|
+
$theme-colors-palettes,
|
|
556
604
|
(
|
|
557
605
|
"black": $black,
|
|
558
606
|
"white": $white,
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
// All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251
|
|
2
|
-
@each $color, $value in $theme-colors {
|
|
2
|
+
@each $color, $value in map-merge-multiple($theme-colors-palettes, $theme-colors, $palette-grays, ("gray": map-get($colors, "gray"))) {
|
|
3
3
|
.text-bg-#{$color} {
|
|
4
4
|
color: color-contrast-var($value) if($enable-important-utilities, !important, null);
|
|
5
5
|
background-color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
6
6
|
}
|
|
7
|
+
}
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
@each $color, $value in $theme-colors {
|
|
10
|
+
.text-#{$color}-bg-color {
|
|
9
11
|
color: RGBA(var(--#{$prefix}#{$color}-rgb), var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
|
|
10
12
|
|
|
11
13
|
@if $color == "light" {
|
|
@@ -22,7 +22,11 @@
|
|
|
22
22
|
--#{$prefix}#{$color}-rgb: #{to-rgb($value)};
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
@each $color, $value in $
|
|
25
|
+
@each $color, $value in $bg-soft-colors {
|
|
26
|
+
--#{$prefix}#{$color}-rgb: #{to-rgb($value)};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@each $color, $value in $theme-colors-palettes {
|
|
26
30
|
@if str-index($color, "-500") {
|
|
27
31
|
$base-color-name: str-slice($color, 1, str-index($color, "-500") - 1);
|
|
28
32
|
--#{$prefix}#{$color}-rgb: var(--#{$prefix}#{$base-color-name}-rgb);
|
|
@@ -45,6 +49,10 @@
|
|
|
45
49
|
@each $color, $value in $bg-surface-colors {
|
|
46
50
|
--#{$prefix}#{$color}: rgb(var(--#{$prefix}#{$color}-rgb));
|
|
47
51
|
}
|
|
52
|
+
|
|
53
|
+
@each $color, $value in $bg-soft-colors {
|
|
54
|
+
--#{$prefix}#{$color}: rgb(var(--#{$prefix}#{$color}-rgb));
|
|
55
|
+
}
|
|
48
56
|
// end custom
|
|
49
57
|
|
|
50
58
|
@each $color, $value in $theme-colors {
|
|
@@ -61,7 +69,7 @@
|
|
|
61
69
|
// end custom
|
|
62
70
|
|
|
63
71
|
// custom
|
|
64
|
-
@each $color, $value in $theme-colors-
|
|
72
|
+
@each $color, $value in $theme-colors-palettes {
|
|
65
73
|
--#{$prefix}#{$color}: rgb(var(--#{$prefix}#{$color}-rgb));
|
|
66
74
|
}
|
|
67
75
|
// end custom
|