@stackoverflow/stacks 1.10.3 → 2.0.0-rc.1
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/README.md +15 -0
- package/dist/css/stacks.css +7428 -4429
- package/dist/css/stacks.min.css +1 -1
- package/dist/js/stacks.js +110 -265
- package/dist/js/stacks.min.js +1 -1
- package/lib/atomic/__snapshots__/color-new.less.test.ts.snap +3015 -0
- package/lib/atomic/__snapshots__/color.less.test.ts.snap +2886 -0
- package/lib/atomic/border.less +0 -258
- package/lib/atomic/color.less +26 -200
- package/lib/atomic/color.less.test.ts +12 -0
- package/lib/atomic/misc.less +7 -6
- package/lib/atomic/typography.less +0 -7
- package/lib/atomic/v1/__snapshots__/border.less.test.ts.snap +552 -0
- package/lib/atomic/v1/__snapshots__/color.less.test.ts.snap +6756 -0
- package/lib/atomic/v1/__snapshots__/typography.less.test.ts.snap +22 -0
- package/lib/atomic/v1/border.less +210 -0
- package/lib/atomic/v1/border.less.test.ts +14 -0
- package/lib/atomic/v1/color.less +183 -0
- package/lib/atomic/v1/color.less.test.ts +14 -0
- package/lib/atomic/v1/typography.less +8 -0
- package/lib/atomic/v1/typography.less.test.ts +14 -0
- package/lib/components/activity-indicator/activity-indicator.a11y.test.ts +1 -10
- package/lib/components/activity-indicator/activity-indicator.less +4 -4
- package/lib/components/anchor/anchor.a11y.test.ts +0 -12
- package/lib/components/anchor/anchor.less +4 -4
- package/lib/components/anchor/anchor.visual.test.ts +1 -1
- package/lib/components/avatar/avatar.less +2 -2
- package/lib/components/award-bling/award-bling.less +3 -3
- package/lib/components/badge/badge.a11y.test.ts +2 -51
- package/lib/components/badge/badge.less +40 -40
- package/lib/components/banner/banner.a11y.test.ts +0 -14
- package/lib/components/block-link/block-link.a11y.test.ts +0 -14
- package/lib/components/block-link/block-link.less +8 -8
- package/lib/components/breadcrumbs/breadcrumbs.a11y.test.ts +0 -2
- package/lib/components/breadcrumbs/breadcrumbs.less +1 -1
- package/lib/components/button/button.a11y.test.ts +0 -134
- package/lib/components/button/button.less +40 -40
- package/lib/components/button/button.visual.test.ts +1 -1
- package/lib/components/card/card.a11y.test.ts +0 -6
- package/lib/components/check-control/check-control.a11y.test.ts +0 -13
- package/lib/components/check-control/check-control.visual.test.ts +1 -1
- package/lib/components/checkbox_radio/checkbox_radio.less +5 -5
- package/lib/components/checkbox_radio/checkbox_radio.visual.test.ts +1 -1
- package/lib/components/code-block/code-block.less +3 -3
- package/lib/components/description/description.a11y.test.ts +0 -5
- package/lib/components/description/description.visual.test.ts +1 -1
- package/lib/components/input-fill/input-fill.less +2 -2
- package/lib/components/input-icon/input-icon.less +2 -2
- package/lib/components/input-message/input-message.less +8 -8
- package/lib/components/input_textarea/input_textarea.less +6 -6
- package/lib/components/label/label.less +11 -11
- package/lib/components/link/link.a11y.test.ts +0 -21
- package/lib/components/link/link.less +8 -8
- package/lib/components/link-preview/link-preview.less +9 -9
- package/lib/components/menu/menu.less +3 -3
- package/lib/components/modal/modal.less +5 -4
- package/lib/components/navigation/navigation.less +11 -11
- package/lib/components/notice/notice.less +48 -48
- package/lib/components/pagination/pagination.less +3 -3
- package/lib/components/popover/popover.less +2 -2
- package/lib/components/popover/tooltip.test.ts +1 -1
- package/lib/components/post-summary/post-summary.less +40 -40
- package/lib/components/progress-bar/progress-bar.less +15 -15
- package/lib/components/prose/prose.less +15 -15
- package/lib/components/select/select.less +5 -5
- package/lib/components/sidebar-widget/sidebar-widget.less +12 -12
- package/lib/components/table/table.less +7 -7
- package/lib/components/tag/tag.less +25 -25
- package/lib/components/toggle-switch/toggle-switch.a11y.test.ts +0 -7
- package/lib/components/toggle-switch/toggle-switch.less +4 -4
- package/lib/components/topbar/topbar.less +34 -34
- package/lib/components/uploader/uploader.less +15 -15
- package/lib/components/user-card/user-card.less +7 -7
- package/lib/exports/__snapshots__/color-mixins.less.test.ts.snap +539 -0
- package/lib/exports/__snapshots__/color.less.test.ts.snap +762 -0
- package/lib/exports/color-mixins.less +280 -0
- package/lib/exports/color-mixins.less.test.ts +150 -0
- package/lib/exports/color-sets.less +620 -0
- package/lib/exports/color.less +57 -0
- package/lib/exports/color.less.test.ts +12 -0
- package/lib/exports/exports.less +2 -1
- package/lib/exports/mixins.less +17 -5
- package/lib/exports/theme.less +85 -0
- package/lib/exports/v1/__snapshots__/constants-colors.less.test.ts.snap +902 -0
- package/lib/exports/v1/constants-colors.less +893 -0
- package/lib/exports/v1/constants-colors.less.test.ts +12 -0
- package/lib/stacks-static.less +5 -0
- package/lib/test/less-test-utils.ts +28 -0
- package/package.json +13 -7
- package/lib/exports/constants-colors.less +0 -1100
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
+
|
|
3
|
+
exports[`color-mixins > colors > .create-aliased-utility-classes 1`] = `
|
|
4
|
+
"/* .create-aliased-utility-classes() */
|
|
5
|
+
/* .create-aliased-utility-classes(dark) */
|
|
6
|
+
body .fc-light,
|
|
7
|
+
body .h\\\\:fc-light:hover,
|
|
8
|
+
body .f\\\\:fc-light:focus,
|
|
9
|
+
body .f\\\\:fc-light:focus-within {
|
|
10
|
+
color: var(--fc-light) !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body .fc-medium,
|
|
14
|
+
body .h\\\\:fc-medium:hover,
|
|
15
|
+
body .f\\\\:fc-medium:focus,
|
|
16
|
+
body .f\\\\:fc-medium:focus-within {
|
|
17
|
+
color: var(--fc-medium) !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body .fc-dark,
|
|
21
|
+
body .h\\\\:fc-dark:hover,
|
|
22
|
+
body .f\\\\:fc-dark:focus,
|
|
23
|
+
body .f\\\\:fc-dark:focus-within {
|
|
24
|
+
color: var(--fc-dark) !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
body .fc-error,
|
|
28
|
+
body .h\\\\:fc-error:hover,
|
|
29
|
+
body .f\\\\:fc-error:focus,
|
|
30
|
+
body .f\\\\:fc-error:focus-within {
|
|
31
|
+
color: var(--fc-error) !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
body .fc-danger,
|
|
35
|
+
body .h\\\\:fc-danger:hover,
|
|
36
|
+
body .f\\\\:fc-danger:focus,
|
|
37
|
+
body .f\\\\:fc-danger:focus-within {
|
|
38
|
+
color: var(--fc-danger) !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
body .fc-success,
|
|
42
|
+
body .h\\\\:fc-success:hover,
|
|
43
|
+
body .f\\\\:fc-success:focus,
|
|
44
|
+
body .f\\\\:fc-success:focus-within {
|
|
45
|
+
color: var(--fc-success) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
body .fc-warning,
|
|
49
|
+
body .h\\\\:fc-warning:hover,
|
|
50
|
+
body .f\\\\:fc-warning:focus,
|
|
51
|
+
body .f\\\\:fc-warning:focus-within {
|
|
52
|
+
color: var(--fc-warning) !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
body .bg-error,
|
|
56
|
+
body .h\\\\:bg-error:hover,
|
|
57
|
+
body .f\\\\:bg-error:focus,
|
|
58
|
+
body .f\\\\:bg-error:focus-within {
|
|
59
|
+
background-color: var(--bg-error) !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
body .bg-danger,
|
|
63
|
+
body .h\\\\:bg-danger:hover,
|
|
64
|
+
body .f\\\\:bg-danger:focus,
|
|
65
|
+
body .f\\\\:bg-danger:focus-within {
|
|
66
|
+
background-color: var(--bg-danger) !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
body .bg-success,
|
|
70
|
+
body .h\\\\:bg-success:hover,
|
|
71
|
+
body .f\\\\:bg-success:focus,
|
|
72
|
+
body .f\\\\:bg-success:focus-within {
|
|
73
|
+
background-color: var(--bg-success) !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
body .bg-warning,
|
|
77
|
+
body .h\\\\:bg-warning:hover,
|
|
78
|
+
body .f\\\\:bg-warning:focus,
|
|
79
|
+
body .f\\\\:bg-warning:focus-within {
|
|
80
|
+
background-color: var(--bg-warning) !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
body .bc-error,
|
|
84
|
+
body .h\\\\:bc-error:hover,
|
|
85
|
+
body .f\\\\:bc-error:focus,
|
|
86
|
+
body .f\\\\:bc-error:focus-within {
|
|
87
|
+
border-color: var(--bc-error) !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
body .bc-danger,
|
|
91
|
+
body .h\\\\:bc-danger:hover,
|
|
92
|
+
body .f\\\\:bc-danger:focus,
|
|
93
|
+
body .f\\\\:bc-danger:focus-within {
|
|
94
|
+
border-color: var(--bc-danger) !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
body .bc-success,
|
|
98
|
+
body .h\\\\:bc-success:hover,
|
|
99
|
+
body .f\\\\:bc-success:focus,
|
|
100
|
+
body .f\\\\:bc-success:focus-within {
|
|
101
|
+
border-color: var(--bc-success) !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
body .bc-warning,
|
|
105
|
+
body .h\\\\:bc-warning:hover,
|
|
106
|
+
body .f\\\\:bc-warning:focus,
|
|
107
|
+
body .f\\\\:bc-warning:focus-within {
|
|
108
|
+
border-color: var(--bc-warning) !important;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
body.theme-dark .d\\\\:fc-light {
|
|
112
|
+
color: var(--fc-light) !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
body.theme-dark .d\\\\:fc-medium {
|
|
116
|
+
color: var(--fc-medium) !important;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
body.theme-dark .d\\\\:fc-dark {
|
|
120
|
+
color: var(--fc-dark) !important;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
body.theme-dark .d\\\\:fc-error {
|
|
124
|
+
color: var(--fc-error) !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
body.theme-dark .d\\\\:fc-danger {
|
|
128
|
+
color: var(--fc-danger) !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
body.theme-dark .d\\\\:fc-success {
|
|
132
|
+
color: var(--fc-success) !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
body.theme-dark .d\\\\:fc-warning {
|
|
136
|
+
color: var(--fc-warning) !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
body.theme-dark .d\\\\:bg-error {
|
|
140
|
+
background-color: var(--bg-error) !important;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
body.theme-dark .d\\\\:bg-danger {
|
|
144
|
+
background-color: var(--bg-danger) !important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
body.theme-dark .d\\\\:bg-success {
|
|
148
|
+
background-color: var(--bg-success) !important;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
body.theme-dark .d\\\\:bg-warning {
|
|
152
|
+
background-color: var(--bg-warning) !important;
|
|
153
|
+
}
|
|
154
|
+
"
|
|
155
|
+
`;
|
|
156
|
+
|
|
157
|
+
exports[`color-mixins > colors > create-color-classes 1`] = `
|
|
158
|
+
"/* .create-color-classes(red-500, var(--red-500)) */
|
|
159
|
+
/* .create-color-classes(blue-400, var(--blue-400), dark, color) */
|
|
160
|
+
/* .create-color-classes(green-300, var(--green-300), light, background-color) */
|
|
161
|
+
body .bg-red-500,
|
|
162
|
+
body .h\\\\:bg-red-500:hover,
|
|
163
|
+
body .f\\\\:bg-red-500:focus,
|
|
164
|
+
body .f\\\\:bg-red-500:focus-within {
|
|
165
|
+
background-color: var(--red-500);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
body .bc-red-500,
|
|
169
|
+
body .h\\\\:bc-red-500:hover,
|
|
170
|
+
body .f\\\\:bc-red-500:focus,
|
|
171
|
+
body .f\\\\:bc-red-500:focus-within {
|
|
172
|
+
border-color: var(--red-500);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
body .fc-red-500,
|
|
176
|
+
body .h\\\\:fc-red-500:hover,
|
|
177
|
+
body .f\\\\:fc-red-500:focus,
|
|
178
|
+
body .f\\\\:fc-red-500:focus-within {
|
|
179
|
+
color: var(--red-500);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
body .d\\\\:fc-blue-500 {
|
|
183
|
+
color: var(--blue-500);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
body .bg-green-300,
|
|
187
|
+
body .h\\\\:bg-green-300:hover,
|
|
188
|
+
body .f\\\\:bg-green-300:focus,
|
|
189
|
+
body .f\\\\:bg-green-300:focus-within {
|
|
190
|
+
background-color: var(--green-300);
|
|
191
|
+
}
|
|
192
|
+
"
|
|
193
|
+
`;
|
|
194
|
+
|
|
195
|
+
exports[`color-mixins > colors > create-colors 1`] = `
|
|
196
|
+
"/*
|
|
197
|
+
.set-test-emerald() {
|
|
198
|
+
default: hsl(150, 60%, 55%);
|
|
199
|
+
}
|
|
200
|
+
.set-test-ruby() {
|
|
201
|
+
100: hsl(350, 70%, 97%);
|
|
202
|
+
600: hsl(350, 70%, 29%);
|
|
203
|
+
}
|
|
204
|
+
.sets-test() {
|
|
205
|
+
emerald: .set-test-emerald();
|
|
206
|
+
ruby: .set-test-ruby();
|
|
207
|
+
}
|
|
208
|
+
*/
|
|
209
|
+
/* .create-colors(.sets-test(), variables) */
|
|
210
|
+
body {
|
|
211
|
+
--emerald: hsl(150, 60%, 55%);
|
|
212
|
+
--ruby-100: hsl(350, 70%, 97%);
|
|
213
|
+
--ruby-600: hsl(350, 70%, 29%);
|
|
214
|
+
}
|
|
215
|
+
/* .create-colors(.sets-test(), classes) */
|
|
216
|
+
body .bg-emerald,
|
|
217
|
+
body .h\\\\:bg-emerald:hover,
|
|
218
|
+
body .f\\\\:bg-emerald:focus,
|
|
219
|
+
body .f\\\\:bg-emerald:focus-within {
|
|
220
|
+
background-color: var(--emerald) !important;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
body .bc-emerald,
|
|
224
|
+
body .h\\\\:bc-emerald:hover,
|
|
225
|
+
body .f\\\\:bc-emerald:focus,
|
|
226
|
+
body .f\\\\:bc-emerald:focus-within {
|
|
227
|
+
border-color: var(--emerald) !important;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
body .fc-emerald,
|
|
231
|
+
body .h\\\\:fc-emerald:hover,
|
|
232
|
+
body .f\\\\:fc-emerald:focus,
|
|
233
|
+
body .f\\\\:fc-emerald:focus-within {
|
|
234
|
+
color: var(--emerald) !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
body .bg-ruby-100,
|
|
238
|
+
body .h\\\\:bg-ruby-100:hover,
|
|
239
|
+
body .f\\\\:bg-ruby-100:focus,
|
|
240
|
+
body .f\\\\:bg-ruby-100:focus-within {
|
|
241
|
+
background-color: var(--ruby-100) !important;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
body .bc-ruby-100,
|
|
245
|
+
body .h\\\\:bc-ruby-100:hover,
|
|
246
|
+
body .f\\\\:bc-ruby-100:focus,
|
|
247
|
+
body .f\\\\:bc-ruby-100:focus-within {
|
|
248
|
+
border-color: var(--ruby-100) !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
body .fc-ruby-100,
|
|
252
|
+
body .h\\\\:fc-ruby-100:hover,
|
|
253
|
+
body .f\\\\:fc-ruby-100:focus,
|
|
254
|
+
body .f\\\\:fc-ruby-100:focus-within {
|
|
255
|
+
color: var(--ruby-100) !important;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
body .bg-ruby-600,
|
|
259
|
+
body .h\\\\:bg-ruby-600:hover,
|
|
260
|
+
body .f\\\\:bg-ruby-600:focus,
|
|
261
|
+
body .f\\\\:bg-ruby-600:focus-within {
|
|
262
|
+
background-color: var(--ruby-600) !important;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
body .bc-ruby-600,
|
|
266
|
+
body .h\\\\:bc-ruby-600:hover,
|
|
267
|
+
body .f\\\\:bc-ruby-600:focus,
|
|
268
|
+
body .f\\\\:bc-ruby-600:focus-within {
|
|
269
|
+
border-color: var(--ruby-600) !important;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
body .fc-ruby-600,
|
|
273
|
+
body .h\\\\:fc-ruby-600:hover,
|
|
274
|
+
body .f\\\\:fc-ruby-600:focus,
|
|
275
|
+
body .f\\\\:fc-ruby-600:focus-within {
|
|
276
|
+
color: var(--ruby-600) !important;
|
|
277
|
+
}
|
|
278
|
+
"
|
|
279
|
+
`;
|
|
280
|
+
|
|
281
|
+
exports[`color-mixins > colors > generate-colors > light 1`] = `
|
|
282
|
+
"/* .generate-colors(light) */
|
|
283
|
+
body,
|
|
284
|
+
body.themed,
|
|
285
|
+
body .themed {
|
|
286
|
+
--white: hsl(0, 0%, 100%);
|
|
287
|
+
--black-050: hsl(0, 0%, 100%);
|
|
288
|
+
--black-100: hsl(210, 8%, 98%);
|
|
289
|
+
--black-150: hsl(210, 8%, 95%);
|
|
290
|
+
--black-200: hsl(210, 8%, 90%);
|
|
291
|
+
--black-225: hsl(210, 8%, 85%);
|
|
292
|
+
--black-250: hsl(210, 8%, 80%);
|
|
293
|
+
--black-300: hsl(213, 9%, 75%);
|
|
294
|
+
--black-350: hsl(212, 8%, 68%);
|
|
295
|
+
--black-400: hsl(210, 8%, 45%);
|
|
296
|
+
--black-500: hsl(210, 8%, 25%);
|
|
297
|
+
--black-600: hsl(210, 8%, 5%);
|
|
298
|
+
--black: hsl(0, 8%, 5%);
|
|
299
|
+
--orange-100: hsl(23, 85%, 97%);
|
|
300
|
+
--orange-200: hsl(27, 85%, 87%);
|
|
301
|
+
--orange-300: hsl(27, 85%, 72%);
|
|
302
|
+
--orange-400: hsl(27, 90%, 55%);
|
|
303
|
+
--orange-500: hsl(27, 88%, 43%);
|
|
304
|
+
--orange-600: hsl(27, 80%, 29%);
|
|
305
|
+
--blue-100: hsl(210, 80%, 96%);
|
|
306
|
+
--blue-200: hsl(210, 80%, 91%);
|
|
307
|
+
--blue-300: hsl(210, 78%, 76%);
|
|
308
|
+
--blue-400: hsl(210, 70%, 48%);
|
|
309
|
+
--blue-500: hsl(210, 75%, 36%);
|
|
310
|
+
--blue-600: hsl(210, 80%, 23%);
|
|
311
|
+
--green-100: hsl(148, 35%, 95%);
|
|
312
|
+
--green-200: hsl(148, 35%, 88%);
|
|
313
|
+
--green-300: hsl(148, 35%, 69%);
|
|
314
|
+
--green-400: hsl(148, 70%, 31%);
|
|
315
|
+
--green-500: hsl(148, 75%, 22%);
|
|
316
|
+
--green-600: hsl(148, 75%, 15%);
|
|
317
|
+
--red-100: hsl(0, 78%, 96%);
|
|
318
|
+
--red-200: hsl(0, 70%, 93%);
|
|
319
|
+
--red-300: hsl(0, 65%, 76%);
|
|
320
|
+
--red-400: hsl(0, 60%, 49%);
|
|
321
|
+
--red-500: hsl(0, 65%, 37%);
|
|
322
|
+
--red-600: hsl(0, 65%, 24%);
|
|
323
|
+
--yellow-100: hsl(43, 80%, 96%);
|
|
324
|
+
--yellow-200: hsl(43, 80%, 88%);
|
|
325
|
+
--yellow-300: hsl(43, 85%, 72%);
|
|
326
|
+
--yellow-400: hsl(43, 85%, 50%);
|
|
327
|
+
--yellow-500: hsl(43, 85%, 33%);
|
|
328
|
+
--yellow-600: hsl(43, 84%, 18%);
|
|
329
|
+
--gold-100: hsl(46, 100%, 91%);
|
|
330
|
+
--gold-200: hsl(46, 100%, 74%);
|
|
331
|
+
--gold-300: hsl(45, 100%, 42%);
|
|
332
|
+
--gold-400: hsl(46, 92%, 26%);
|
|
333
|
+
--silver-100: hsl(0, 0%, 95%);
|
|
334
|
+
--silver-200: hsl(0, 0%, 84%);
|
|
335
|
+
--silver-300: hsl(210, 5%, 68%);
|
|
336
|
+
--silver-400: hsl(210, 2%, 40%);
|
|
337
|
+
--bronze-100: hsl(28, 40%, 92%);
|
|
338
|
+
--bronze-200: hsl(30, 47%, 83%);
|
|
339
|
+
--bronze-300: hsl(28, 43%, 65%);
|
|
340
|
+
--bronze-400: hsl(28, 43%, 39%);
|
|
341
|
+
--bc-lightest: var(--black-100);
|
|
342
|
+
--bc-lighter: var(--black-150);
|
|
343
|
+
--bc-light: var(--black-200);
|
|
344
|
+
--bc-medium: var(--black-225);
|
|
345
|
+
--bc-dark: var(--black-250);
|
|
346
|
+
--bc-darker: var(--black-300);
|
|
347
|
+
--bs-sm: 0 1px 2px hsla(0, 0%, 0%, 0.05), 0 1px 4px hsla(0, 0%, 0%, 0.05), 0 2px 8px hsla(0, 0%, 0%, 0.05);
|
|
348
|
+
--bs-md: 0 1px 3px hsla(0, 0%, 0%, 0.06), 0 2px 6px hsla(0, 0%, 0%, 0.06), 0 3px 8px hsla(0, 0%, 0%, 0.09);
|
|
349
|
+
--bs-lg: 0 1px 4px hsla(0, 0%, 0%, 0.09), 0 3px 8px hsla(0, 0%, 0%, 0.09), 0 4px 13px hsla(0, 0%, 0%, 0.13);
|
|
350
|
+
--bs-xl: 0 10px 24px hsla(0, 0%, 0%, 0.05), 0 20px 48px hsla(0, 0%, 0%, 0.05), 0 1px 4px hsla(0, 0%, 0%, 0.1);
|
|
351
|
+
--focus-ring: var(--theme-secondary-custom-focus-ring, hsla(206, 100%, 40%, 0.15));
|
|
352
|
+
--focus-ring-success: hsla(140, 40%, 75%, 0.4);
|
|
353
|
+
--focus-ring-warning: hsla(47, 79%, 58%, 0.4);
|
|
354
|
+
--focus-ring-error: hsla(358, 62%, 47%, 0.15);
|
|
355
|
+
--focus-ring-muted: hsla(210, 8%, 15%, 0.1);
|
|
356
|
+
--highlight-addition: var(--green-500);
|
|
357
|
+
--highlight-attribute: hsl(206, 98.5%, 29%);
|
|
358
|
+
--highlight-bg: var(--black-100);
|
|
359
|
+
--highlight-color: var(--black-600);
|
|
360
|
+
--highlight-comment: hsl(210, 8%, 43.5%);
|
|
361
|
+
--highlight-deletion: var(--red-500);
|
|
362
|
+
--highlight-keyword: hsl(206, 98.5%, 29%);
|
|
363
|
+
--highlight-literal: hsl(27, 99%, 36%);
|
|
364
|
+
--highlight-namespace: hsl(27, 99%, 36%);
|
|
365
|
+
--highlight-punctuation: var(--black-500);
|
|
366
|
+
--highlight-symbol: hsl(306, 43%, 35%);
|
|
367
|
+
--highlight-variable: hsl(80, 80.5%, 26.5%);
|
|
368
|
+
--scrollbar: hsla(0, 0%, 0%, 0.2);
|
|
369
|
+
--theme-primary: var(--theme-primary-custom, var(--orange-400));
|
|
370
|
+
--theme-primary-100: var(--theme-primary-custom-100, var(--orange-100));
|
|
371
|
+
--theme-primary-200: var(--theme-primary-custom-200, var(--orange-200));
|
|
372
|
+
--theme-primary-300: var(--theme-primary-custom-300, var(--orange-300));
|
|
373
|
+
--theme-primary-400: var(--theme-primary-custom-400, var(--orange-400));
|
|
374
|
+
--theme-primary-500: var(--theme-primary-custom-500, var(--orange-500));
|
|
375
|
+
--theme-primary-600: var(--theme-primary-custom-600, var(--orange-600));
|
|
376
|
+
--theme-secondary: var(--theme-secondary-custom, var(--blue-400));
|
|
377
|
+
--theme-secondary-100: var(--theme-secondary-custom-100, var(--blue-100));
|
|
378
|
+
--theme-secondary-200: var(--theme-secondary-custom-200, var(--blue-200));
|
|
379
|
+
--theme-secondary-300: var(--theme-secondary-custom-300, var(--blue-300));
|
|
380
|
+
--theme-secondary-400: var(--theme-secondary-custom-400, var(--blue-400));
|
|
381
|
+
--theme-secondary-500: var(--theme-secondary-custom-500, var(--blue-500));
|
|
382
|
+
--theme-secondary-600: var(--theme-secondary-custom-600, var(--blue-600));
|
|
383
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-base-primary-color-l) + 50 * 1%), 95%));
|
|
384
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-base-primary-color-l) + 35 * 1%), 90%));
|
|
385
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(35%, calc(var(--theme-base-primary-color-l) + 15 * 1%), 75%));
|
|
386
|
+
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(20%, calc(var(--theme-base-primary-color-l) + 0 * 1%), 60%));
|
|
387
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(13%, calc(var(--theme-base-primary-color-l) + -14 * 1%), 50%));
|
|
388
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-primary-color-l) + -26 * 1%), 40%));
|
|
389
|
+
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
390
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-base-secondary-color-l) + 50 * 1%), 95%));
|
|
391
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-base-secondary-color-l) + 35 * 1%), 90%));
|
|
392
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(35%, calc(var(--theme-base-secondary-color-l) + 15 * 1%), 75%));
|
|
393
|
+
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(20%, calc(var(--theme-base-secondary-color-l) + 0 * 1%), 60%));
|
|
394
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(13%, calc(var(--theme-base-secondary-color-l) + -14 * 1%), 50%));
|
|
395
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-secondary-color-l) + -26 * 1%), 40%));
|
|
396
|
+
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
397
|
+
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
398
|
+
}
|
|
399
|
+
"
|
|
400
|
+
`;
|
|
401
|
+
|
|
402
|
+
exports[`color-mixins > theming > create-custom-theme-hsl-rgb-variables 1`] = `
|
|
403
|
+
"create-custom-theme-hsl-rgb-variables(#ff1100, primary, base) {
|
|
404
|
+
--theme-base-primary-color-h: 4;
|
|
405
|
+
--theme-base-primary-color-s: 100%;
|
|
406
|
+
--theme-base-primary-color-l: 50%;
|
|
407
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-base-primary-color-l) + 50 * 1%), 95%));
|
|
408
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-base-primary-color-l) + 35 * 1%), 90%));
|
|
409
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(35%, calc(var(--theme-base-primary-color-l) + 15 * 1%), 75%));
|
|
410
|
+
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(20%, calc(var(--theme-base-primary-color-l) + 0 * 1%), 60%));
|
|
411
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(13%, calc(var(--theme-base-primary-color-l) + -14 * 1%), 50%));
|
|
412
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-primary-color-l) + -26 * 1%), 40%));
|
|
413
|
+
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
create-custom-theme-hsl-rgb-variables(#29ff53, secondary, base) {
|
|
417
|
+
--theme-base-secondary-color-h: 131.77570093;
|
|
418
|
+
--theme-base-secondary-color-s: 100%;
|
|
419
|
+
--theme-base-secondary-color-l: 58.03921569%;
|
|
420
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-base-secondary-color-l) + 50 * 1%), 95%));
|
|
421
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-base-secondary-color-l) + 35 * 1%), 90%));
|
|
422
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(35%, calc(var(--theme-base-secondary-color-l) + 15 * 1%), 75%));
|
|
423
|
+
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(20%, calc(var(--theme-base-secondary-color-l) + 0 * 1%), 60%));
|
|
424
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(13%, calc(var(--theme-base-secondary-color-l) + -14 * 1%), 50%));
|
|
425
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-secondary-color-l) + -26 * 1%), 40%));
|
|
426
|
+
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
427
|
+
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
create-custom-theme-hsl-rgb-variables(#1c091d, primary, dark) {
|
|
431
|
+
--theme-dark-primary-color-h: 297;
|
|
432
|
+
--theme-dark-primary-color-s: 52.63157895%;
|
|
433
|
+
--theme-dark-primary-color-l: 7.45098039%;
|
|
434
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + -12 * 1%), clamp(15%, calc(var(--theme-dark-primary-color-l) + -60 * 1%), 30%));
|
|
435
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + -10 * 1%), clamp(25%, calc(var(--theme-dark-primary-color-l) + -45 * 1%), 45%));
|
|
436
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + -7 * 1%), clamp(35%, calc(var(--theme-dark-primary-color-l) + -33 * 1%), 70%));
|
|
437
|
+
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-dark-primary-color-l) + 0 * 1%), 85%));
|
|
438
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-dark-primary-color-l) + 10 * 1%), 90%));
|
|
439
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + 0 * 1%), clamp(85%, calc(var(--theme-dark-primary-color-l) + 20 * 1%), 95%));
|
|
440
|
+
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
create-custom-theme-hsl-rgb-variables(#49281f, secondary, dark) {
|
|
444
|
+
--theme-dark-secondary-color-h: 12.85714286;
|
|
445
|
+
--theme-dark-secondary-color-s: 40.38461538%;
|
|
446
|
+
--theme-dark-secondary-color-l: 20.39215686%;
|
|
447
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + -12 * 1%), clamp(15%, calc(var(--theme-dark-secondary-color-l) + -60 * 1%), 30%));
|
|
448
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + -10 * 1%), clamp(25%, calc(var(--theme-dark-secondary-color-l) + -45 * 1%), 45%));
|
|
449
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + -7 * 1%), clamp(35%, calc(var(--theme-dark-secondary-color-l) + -33 * 1%), 70%));
|
|
450
|
+
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-dark-secondary-color-l) + 0 * 1%), 85%));
|
|
451
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-dark-secondary-color-l) + 10 * 1%), 90%));
|
|
452
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + 0 * 1%), clamp(85%, calc(var(--theme-dark-secondary-color-l) + 20 * 1%), 95%));
|
|
453
|
+
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
454
|
+
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
455
|
+
}
|
|
456
|
+
"
|
|
457
|
+
`;
|
|
458
|
+
|
|
459
|
+
exports[`color-mixins > theming > create-custom-theme-variables 1`] = `
|
|
460
|
+
"create-custom-theme-variables(primary, base) {
|
|
461
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-base-primary-color-l) + 50 * 1%), 95%));
|
|
462
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-base-primary-color-l) + 35 * 1%), 90%));
|
|
463
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(35%, calc(var(--theme-base-primary-color-l) + 15 * 1%), 75%));
|
|
464
|
+
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(20%, calc(var(--theme-base-primary-color-l) + 0 * 1%), 60%));
|
|
465
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(13%, calc(var(--theme-base-primary-color-l) + -14 * 1%), 50%));
|
|
466
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), calc(var(--theme-base-primary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-primary-color-l) + -26 * 1%), 40%));
|
|
467
|
+
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
create-custom-theme-variables(primary, dark) {
|
|
471
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + -12 * 1%), clamp(15%, calc(var(--theme-dark-primary-color-l) + -60 * 1%), 30%));
|
|
472
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + -10 * 1%), clamp(25%, calc(var(--theme-dark-primary-color-l) + -45 * 1%), 45%));
|
|
473
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + -7 * 1%), clamp(35%, calc(var(--theme-dark-primary-color-l) + -33 * 1%), 70%));
|
|
474
|
+
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-dark-primary-color-l) + 0 * 1%), 85%));
|
|
475
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-dark-primary-color-l) + 10 * 1%), 90%));
|
|
476
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + 0 * 1%), clamp(85%, calc(var(--theme-dark-primary-color-l) + 20 * 1%), 95%));
|
|
477
|
+
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
create-custom-theme-variables(secondary, base) {
|
|
481
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-base-secondary-color-l) + 50 * 1%), 95%));
|
|
482
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-base-secondary-color-l) + 35 * 1%), 90%));
|
|
483
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(35%, calc(var(--theme-base-secondary-color-l) + 15 * 1%), 75%));
|
|
484
|
+
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(20%, calc(var(--theme-base-secondary-color-l) + 0 * 1%), 60%));
|
|
485
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(13%, calc(var(--theme-base-secondary-color-l) + -14 * 1%), 50%));
|
|
486
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-secondary-color-l) + -26 * 1%), 40%));
|
|
487
|
+
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
488
|
+
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
create-custom-theme-variables(secondary, base) {
|
|
492
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(70%, calc(var(--theme-base-secondary-color-l) + 50 * 1%), 95%));
|
|
493
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(55%, calc(var(--theme-base-secondary-color-l) + 35 * 1%), 90%));
|
|
494
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(35%, calc(var(--theme-base-secondary-color-l) + 15 * 1%), 75%));
|
|
495
|
+
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(20%, calc(var(--theme-base-secondary-color-l) + 0 * 1%), 60%));
|
|
496
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(13%, calc(var(--theme-base-secondary-color-l) + -14 * 1%), 50%));
|
|
497
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-secondary-color-l) + -26 * 1%), 40%));
|
|
498
|
+
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
499
|
+
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
500
|
+
}
|
|
501
|
+
"
|
|
502
|
+
`;
|
|
503
|
+
|
|
504
|
+
exports[`color-mixins > theming > create-theme-variables 1`] = `
|
|
505
|
+
"body {
|
|
506
|
+
--theme-primary: var(--theme-primary-custom, var(--orange-400));
|
|
507
|
+
--theme-primary-100: var(--theme-primary-custom-100, var(--orange-100));
|
|
508
|
+
--theme-primary-200: var(--theme-primary-custom-200, var(--orange-200));
|
|
509
|
+
--theme-primary-300: var(--theme-primary-custom-300, var(--orange-300));
|
|
510
|
+
--theme-primary-400: var(--theme-primary-custom-400, var(--orange-400));
|
|
511
|
+
--theme-primary-500: var(--theme-primary-custom-500, var(--orange-500));
|
|
512
|
+
--theme-primary-600: var(--theme-primary-custom-600, var(--orange-600));
|
|
513
|
+
--theme-secondary: var(--theme-secondary-custom, var(--blue-400));
|
|
514
|
+
--theme-secondary-100: var(--theme-secondary-custom-100, var(--blue-100));
|
|
515
|
+
--theme-secondary-200: var(--theme-secondary-custom-200, var(--blue-200));
|
|
516
|
+
--theme-secondary-300: var(--theme-secondary-custom-300, var(--blue-300));
|
|
517
|
+
--theme-secondary-400: var(--theme-secondary-custom-400, var(--blue-400));
|
|
518
|
+
--theme-secondary-500: var(--theme-secondary-custom-500, var(--blue-500));
|
|
519
|
+
--theme-secondary-600: var(--theme-secondary-custom-600, var(--blue-600));
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
body.theme-highcontrast {
|
|
523
|
+
--theme-primary: var(--orange-400);
|
|
524
|
+
--theme-primary-100: var(--orange-100);
|
|
525
|
+
--theme-primary-200: var(--orange-200);
|
|
526
|
+
--theme-primary-300: var(--orange-300);
|
|
527
|
+
--theme-primary-400: var(--orange-400);
|
|
528
|
+
--theme-primary-500: var(--orange-500);
|
|
529
|
+
--theme-primary-600: var(--orange-600);
|
|
530
|
+
--theme-secondary: var(--blue-400);
|
|
531
|
+
--theme-secondary-100: var(--blue-100);
|
|
532
|
+
--theme-secondary-200: var(--blue-200);
|
|
533
|
+
--theme-secondary-300: var(--blue-300);
|
|
534
|
+
--theme-secondary-400: var(--blue-400);
|
|
535
|
+
--theme-secondary-500: var(--blue-500);
|
|
536
|
+
--theme-secondary-600: var(--blue-600);
|
|
537
|
+
}
|
|
538
|
+
"
|
|
539
|
+
`;
|