@wavv/ui 2.2.7 → 2.3.0-alpha.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/build/components/Checkbox.d.ts +5 -2
- package/build/components/Checkbox.js +14 -9
- package/build/components/Form.d.ts +8 -4
- package/build/components/FormControl.d.ts +2 -0
- package/build/components/FormControl.js +4 -4
- package/build/components/Inputs/TextArea.d.ts +2 -2
- package/build/components/Inputs/TextArea.js +2 -2
- package/build/components/Inputs/helpers/InputContainerStyles.js +7 -7
- package/build/components/ListHelpers/ListItemStyles.js +4 -6
- package/build/components/Menu.js +4 -6
- package/build/components/Modal.d.ts +2 -5
- package/build/components/Modal.js +12 -26
- package/build/components/OptionHelpers/Item.js +4 -6
- package/build/components/Radio.js +1 -0
- package/build/components/Table/contentStyles.js +3 -6
- package/build/components/Toggle.d.ts +16 -6
- package/build/components/Toggle.js +68 -51
- package/build/components/helpers/getFlexPosition.d.ts +3 -0
- package/build/components/helpers/getFlexPosition.js +6 -0
- package/build/tailwind/theme.css +117 -0
- package/build/theme/index.d.ts +5 -2
- package/build/theme/index.js +23 -2
- package/build/theme/mono/colors.d.ts +224 -0
- package/build/theme/mono/colors.js +85 -0
- package/build/theme/mono/dark/dark.d.ts +3 -0
- package/build/theme/mono/dark/dark.js +562 -0
- package/build/theme/mono/dark/darkScale.d.ts +22 -0
- package/build/theme/mono/dark/darkScale.js +36 -0
- package/build/theme/mono/light/light.d.ts +3 -0
- package/build/theme/mono/light/light.js +561 -0
- package/build/theme/mono/light/lightScale.d.ts +22 -0
- package/build/theme/mono/light/lightScale.js +35 -0
- package/package.json +19 -19
|
@@ -0,0 +1,562 @@
|
|
|
1
|
+
import common, { button as index_js_button } from "../../common/index.js";
|
|
2
|
+
import colors from "../colors.js";
|
|
3
|
+
import darkScale from "./darkScale.js";
|
|
4
|
+
const white = '#FFFFFF';
|
|
5
|
+
const accent = colors.brandDark;
|
|
6
|
+
const dark = {
|
|
7
|
+
...common,
|
|
8
|
+
...darkScale,
|
|
9
|
+
name: 'dark',
|
|
10
|
+
button: {
|
|
11
|
+
...index_js_button,
|
|
12
|
+
primary: {
|
|
13
|
+
color: {
|
|
14
|
+
default: darkScale.scale10,
|
|
15
|
+
hover: darkScale.scale10,
|
|
16
|
+
active: darkScale.scale10
|
|
17
|
+
},
|
|
18
|
+
outlineColor: {
|
|
19
|
+
default: darkScale.scale10,
|
|
20
|
+
hover: darkScale.scale10,
|
|
21
|
+
active: darkScale.scale10
|
|
22
|
+
},
|
|
23
|
+
background: {
|
|
24
|
+
default: colors.brand,
|
|
25
|
+
hover: colors.brandShade1,
|
|
26
|
+
active: colors.brandShade2
|
|
27
|
+
},
|
|
28
|
+
outlineBackground: {
|
|
29
|
+
default: colors.brandTint0,
|
|
30
|
+
hover: colors.brandTint1,
|
|
31
|
+
active: colors.brandTint2
|
|
32
|
+
},
|
|
33
|
+
border: {
|
|
34
|
+
default: colors.brand,
|
|
35
|
+
hover: colors.brandShade1,
|
|
36
|
+
active: colors.brandShade2
|
|
37
|
+
},
|
|
38
|
+
divider: darkScale.scale2
|
|
39
|
+
},
|
|
40
|
+
secondary: {
|
|
41
|
+
color: {
|
|
42
|
+
default: darkScale.scale10,
|
|
43
|
+
hover: darkScale.scale10,
|
|
44
|
+
active: darkScale.scale10
|
|
45
|
+
},
|
|
46
|
+
outlineColor: {
|
|
47
|
+
default: darkScale.scale10,
|
|
48
|
+
hover: darkScale.scale10,
|
|
49
|
+
active: darkScale.scale10
|
|
50
|
+
},
|
|
51
|
+
background: {
|
|
52
|
+
default: darkScale.scale1,
|
|
53
|
+
hover: darkScale.scale2,
|
|
54
|
+
active: darkScale.scale3
|
|
55
|
+
},
|
|
56
|
+
outlineBackground: {
|
|
57
|
+
default: darkScale.scale1,
|
|
58
|
+
hover: darkScale.scale2,
|
|
59
|
+
active: darkScale.scale3
|
|
60
|
+
},
|
|
61
|
+
border: {
|
|
62
|
+
default: darkScale.scale2,
|
|
63
|
+
hover: darkScale.scale2,
|
|
64
|
+
active: darkScale.scale2
|
|
65
|
+
},
|
|
66
|
+
divider: darkScale.scale2
|
|
67
|
+
},
|
|
68
|
+
positive: {
|
|
69
|
+
color: {
|
|
70
|
+
default: darkScale.scale10,
|
|
71
|
+
hover: darkScale.scale10,
|
|
72
|
+
active: darkScale.scale10
|
|
73
|
+
},
|
|
74
|
+
outlineColor: {
|
|
75
|
+
default: darkScale.scale10,
|
|
76
|
+
hover: darkScale.scale10,
|
|
77
|
+
active: darkScale.scale10
|
|
78
|
+
},
|
|
79
|
+
background: {
|
|
80
|
+
default: colors.success,
|
|
81
|
+
hover: colors.successShade1,
|
|
82
|
+
active: colors.successShade2
|
|
83
|
+
},
|
|
84
|
+
outlineBackground: {
|
|
85
|
+
default: colors.successTint0,
|
|
86
|
+
hover: colors.successTint1,
|
|
87
|
+
active: colors.successTint2
|
|
88
|
+
},
|
|
89
|
+
border: {
|
|
90
|
+
default: colors.success,
|
|
91
|
+
hover: colors.successShade1,
|
|
92
|
+
active: colors.successShade2
|
|
93
|
+
},
|
|
94
|
+
divider: darkScale.scale2
|
|
95
|
+
},
|
|
96
|
+
negative: {
|
|
97
|
+
color: {
|
|
98
|
+
default: darkScale.scale10,
|
|
99
|
+
hover: darkScale.scale10,
|
|
100
|
+
active: darkScale.scale10
|
|
101
|
+
},
|
|
102
|
+
outlineColor: {
|
|
103
|
+
default: darkScale.scale10,
|
|
104
|
+
hover: darkScale.scale10,
|
|
105
|
+
active: darkScale.scale10
|
|
106
|
+
},
|
|
107
|
+
background: {
|
|
108
|
+
default: colors.error,
|
|
109
|
+
hover: colors.errorShade1,
|
|
110
|
+
active: colors.errorShade2
|
|
111
|
+
},
|
|
112
|
+
outlineBackground: {
|
|
113
|
+
default: colors.errorTint0,
|
|
114
|
+
hover: colors.errorTint1,
|
|
115
|
+
active: colors.errorTint2
|
|
116
|
+
},
|
|
117
|
+
border: {
|
|
118
|
+
default: colors.error,
|
|
119
|
+
hover: colors.errorShade1,
|
|
120
|
+
active: colors.errorShade2
|
|
121
|
+
},
|
|
122
|
+
divider: darkScale.scale2
|
|
123
|
+
},
|
|
124
|
+
caution: {
|
|
125
|
+
color: {
|
|
126
|
+
default: darkScale.scale10,
|
|
127
|
+
hover: darkScale.scale10,
|
|
128
|
+
active: darkScale.scale10
|
|
129
|
+
},
|
|
130
|
+
outlineColor: {
|
|
131
|
+
default: darkScale.scale10,
|
|
132
|
+
hover: darkScale.scale10,
|
|
133
|
+
active: darkScale.scale10
|
|
134
|
+
},
|
|
135
|
+
background: {
|
|
136
|
+
default: colors.warning,
|
|
137
|
+
hover: colors.warningShade1,
|
|
138
|
+
active: colors.warningShade2
|
|
139
|
+
},
|
|
140
|
+
outlineBackground: {
|
|
141
|
+
default: colors.warningTint0,
|
|
142
|
+
hover: colors.warningTint1,
|
|
143
|
+
active: colors.warningTint2
|
|
144
|
+
},
|
|
145
|
+
border: {
|
|
146
|
+
default: colors.warning,
|
|
147
|
+
hover: colors.warningShade1,
|
|
148
|
+
active: colors.warningShade2
|
|
149
|
+
},
|
|
150
|
+
divider: darkScale.scale2
|
|
151
|
+
},
|
|
152
|
+
subtle: {
|
|
153
|
+
color: {
|
|
154
|
+
default: colors.brand,
|
|
155
|
+
hover: colors.brand,
|
|
156
|
+
active: colors.brand
|
|
157
|
+
},
|
|
158
|
+
outlineColor: {
|
|
159
|
+
default: colors.brand,
|
|
160
|
+
hover: colors.brand,
|
|
161
|
+
active: colors.brand
|
|
162
|
+
},
|
|
163
|
+
secondaryColor: {
|
|
164
|
+
default: darkScale.scale10,
|
|
165
|
+
hover: darkScale.scale10,
|
|
166
|
+
active: darkScale.scale10
|
|
167
|
+
},
|
|
168
|
+
positiveColor: {
|
|
169
|
+
default: colors.success,
|
|
170
|
+
hover: colors.success,
|
|
171
|
+
active: colors.success
|
|
172
|
+
},
|
|
173
|
+
negativeColor: {
|
|
174
|
+
default: colors.error,
|
|
175
|
+
hover: colors.error,
|
|
176
|
+
active: colors.error
|
|
177
|
+
},
|
|
178
|
+
cautionColor: {
|
|
179
|
+
default: colors.warning,
|
|
180
|
+
hover: colors.warning,
|
|
181
|
+
active: colors.warning
|
|
182
|
+
},
|
|
183
|
+
background: {
|
|
184
|
+
default: 'transparent',
|
|
185
|
+
hover: darkScale.scale1,
|
|
186
|
+
active: darkScale.scale2
|
|
187
|
+
},
|
|
188
|
+
outlineBackground: {
|
|
189
|
+
default: 'transparent',
|
|
190
|
+
hover: darkScale.scale1,
|
|
191
|
+
active: darkScale.scale2
|
|
192
|
+
},
|
|
193
|
+
border: {
|
|
194
|
+
default: 'transparent',
|
|
195
|
+
hover: darkScale.scale2,
|
|
196
|
+
active: darkScale.scale2
|
|
197
|
+
},
|
|
198
|
+
divider: darkScale.scale2
|
|
199
|
+
},
|
|
200
|
+
link: {
|
|
201
|
+
color: {
|
|
202
|
+
default: colors.brandShade2,
|
|
203
|
+
hover: colors.brandShade1,
|
|
204
|
+
active: colors.brand
|
|
205
|
+
},
|
|
206
|
+
outlineColor: {
|
|
207
|
+
default: colors.brandShade2,
|
|
208
|
+
hover: colors.brandShade1,
|
|
209
|
+
active: colors.brand
|
|
210
|
+
},
|
|
211
|
+
secondaryColor: {
|
|
212
|
+
default: darkScale.scale8,
|
|
213
|
+
hover: darkScale.scale9,
|
|
214
|
+
active: darkScale.scale10
|
|
215
|
+
},
|
|
216
|
+
positiveColor: {
|
|
217
|
+
default: colors.successShade2,
|
|
218
|
+
hover: colors.successShade1,
|
|
219
|
+
active: colors.success
|
|
220
|
+
},
|
|
221
|
+
negativeColor: {
|
|
222
|
+
default: colors.errorShade2,
|
|
223
|
+
hover: colors.errorShade1,
|
|
224
|
+
active: colors.error
|
|
225
|
+
},
|
|
226
|
+
cautionColor: {
|
|
227
|
+
default: colors.warningShade2,
|
|
228
|
+
hover: colors.warningShade1,
|
|
229
|
+
active: colors.warning
|
|
230
|
+
},
|
|
231
|
+
background: {
|
|
232
|
+
default: 'transparent',
|
|
233
|
+
hover: 'transparent',
|
|
234
|
+
active: 'transparent'
|
|
235
|
+
},
|
|
236
|
+
outlineBackground: {
|
|
237
|
+
default: 'transparent',
|
|
238
|
+
hover: 'transparent',
|
|
239
|
+
active: 'transparent'
|
|
240
|
+
},
|
|
241
|
+
border: {
|
|
242
|
+
default: 'transparent',
|
|
243
|
+
hover: 'transparent',
|
|
244
|
+
active: 'transparent'
|
|
245
|
+
},
|
|
246
|
+
divider: 'transparent'
|
|
247
|
+
},
|
|
248
|
+
disabled: {
|
|
249
|
+
color: {
|
|
250
|
+
default: darkScale.scale4,
|
|
251
|
+
hover: darkScale.scale4,
|
|
252
|
+
active: darkScale.scale4
|
|
253
|
+
},
|
|
254
|
+
outlineColor: {
|
|
255
|
+
default: darkScale.scale4,
|
|
256
|
+
hover: darkScale.scale4,
|
|
257
|
+
active: darkScale.scale4
|
|
258
|
+
},
|
|
259
|
+
background: {
|
|
260
|
+
default: darkScale.scale1,
|
|
261
|
+
hover: darkScale.scale1,
|
|
262
|
+
active: darkScale.scale1
|
|
263
|
+
},
|
|
264
|
+
outlineBackground: {
|
|
265
|
+
default: darkScale.scale0,
|
|
266
|
+
hover: darkScale.scale0,
|
|
267
|
+
active: darkScale.scale0
|
|
268
|
+
},
|
|
269
|
+
border: {
|
|
270
|
+
default: darkScale.scale1,
|
|
271
|
+
hover: darkScale.scale1,
|
|
272
|
+
active: darkScale.scale1
|
|
273
|
+
},
|
|
274
|
+
divider: darkScale.scale1
|
|
275
|
+
},
|
|
276
|
+
color: {
|
|
277
|
+
default: white
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
toggleButton: {
|
|
281
|
+
...index_js_button,
|
|
282
|
+
primary: {
|
|
283
|
+
color: {
|
|
284
|
+
default: darkScale.scale10,
|
|
285
|
+
hover: darkScale.scale10,
|
|
286
|
+
active: darkScale.scale10
|
|
287
|
+
},
|
|
288
|
+
background: {
|
|
289
|
+
default: colors.brandTint0,
|
|
290
|
+
hover: colors.brandTint2,
|
|
291
|
+
active: colors.brandTint4
|
|
292
|
+
},
|
|
293
|
+
border: {
|
|
294
|
+
default: colors.brand,
|
|
295
|
+
hover: colors.brand,
|
|
296
|
+
active: colors.brand
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
secondary: {
|
|
300
|
+
color: {
|
|
301
|
+
default: darkScale.scale10,
|
|
302
|
+
hover: darkScale.scale10,
|
|
303
|
+
active: darkScale.scale10
|
|
304
|
+
},
|
|
305
|
+
background: {
|
|
306
|
+
default: darkScale.scale0,
|
|
307
|
+
hover: darkScale.scale1,
|
|
308
|
+
active: darkScale.scale3
|
|
309
|
+
},
|
|
310
|
+
border: {
|
|
311
|
+
default: darkScale.background5,
|
|
312
|
+
hover: darkScale.background5,
|
|
313
|
+
active: darkScale.background5
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
negative: {
|
|
317
|
+
color: {
|
|
318
|
+
default: darkScale.scale10,
|
|
319
|
+
hover: darkScale.scale10,
|
|
320
|
+
active: darkScale.scale10
|
|
321
|
+
},
|
|
322
|
+
background: {
|
|
323
|
+
default: colors.errorTint0,
|
|
324
|
+
hover: colors.errorTint2,
|
|
325
|
+
active: colors.errorTint4
|
|
326
|
+
},
|
|
327
|
+
border: {
|
|
328
|
+
default: colors.error,
|
|
329
|
+
hover: colors.error,
|
|
330
|
+
active: colors.error
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
positive: {
|
|
334
|
+
color: {
|
|
335
|
+
default: darkScale.scale10,
|
|
336
|
+
hover: darkScale.scale10,
|
|
337
|
+
active: darkScale.scale10
|
|
338
|
+
},
|
|
339
|
+
background: {
|
|
340
|
+
default: colors.successTint0,
|
|
341
|
+
hover: colors.successTint2,
|
|
342
|
+
active: colors.successTint4
|
|
343
|
+
},
|
|
344
|
+
border: {
|
|
345
|
+
default: colors.success,
|
|
346
|
+
hover: colors.success,
|
|
347
|
+
active: colors.success
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
caution: {
|
|
351
|
+
color: {
|
|
352
|
+
default: darkScale.scale10,
|
|
353
|
+
hover: darkScale.scale10,
|
|
354
|
+
active: darkScale.scale10
|
|
355
|
+
},
|
|
356
|
+
background: {
|
|
357
|
+
default: colors.warningTint0,
|
|
358
|
+
hover: colors.warningTint2,
|
|
359
|
+
active: colors.warningTint4
|
|
360
|
+
},
|
|
361
|
+
border: {
|
|
362
|
+
default: colors.warning,
|
|
363
|
+
hover: colors.warning,
|
|
364
|
+
active: colors.warning
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
disabled: {
|
|
368
|
+
color: {
|
|
369
|
+
default: darkScale.scale4,
|
|
370
|
+
hover: darkScale.scale4,
|
|
371
|
+
active: darkScale.scale4
|
|
372
|
+
},
|
|
373
|
+
background: {
|
|
374
|
+
default: darkScale.scale0,
|
|
375
|
+
hover: darkScale.scale0,
|
|
376
|
+
active: darkScale.scale0
|
|
377
|
+
},
|
|
378
|
+
border: {
|
|
379
|
+
default: darkScale.scale1,
|
|
380
|
+
hover: darkScale.scale1,
|
|
381
|
+
active: darkScale.scale1
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
calendar: {
|
|
386
|
+
background: {
|
|
387
|
+
container: colors.brandBackground3,
|
|
388
|
+
hover: darkScale.scale1,
|
|
389
|
+
active: colors.brand,
|
|
390
|
+
activeHover: colors.brandShade1,
|
|
391
|
+
activeRange: colors.brandTint4
|
|
392
|
+
},
|
|
393
|
+
color: {
|
|
394
|
+
disabled: darkScale.scale4,
|
|
395
|
+
default: darkScale.scale10,
|
|
396
|
+
active: darkScale.scale10,
|
|
397
|
+
current: accent,
|
|
398
|
+
outside: darkScale.scale6,
|
|
399
|
+
weekday: darkScale.scale4,
|
|
400
|
+
monthYear: darkScale.scale8,
|
|
401
|
+
iconDefault: darkScale.scale6,
|
|
402
|
+
iconDisabled: darkScale.scale2,
|
|
403
|
+
iconHover: darkScale.scale10
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
defaultBorder: `1px solid ${darkScale.scale1}`,
|
|
407
|
+
formControl: {
|
|
408
|
+
color: {
|
|
409
|
+
default: darkScale.scale8,
|
|
410
|
+
hover: darkScale.scale10,
|
|
411
|
+
active: colors.brand,
|
|
412
|
+
activeHover: colors.brandShade1,
|
|
413
|
+
disabled: darkScale.scale4
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
input: {
|
|
417
|
+
borderRadius: 4,
|
|
418
|
+
background: {
|
|
419
|
+
default: darkScale.scale0,
|
|
420
|
+
hover: darkScale.scale1,
|
|
421
|
+
focused: darkScale.scale1,
|
|
422
|
+
disabled: darkScale.scale0,
|
|
423
|
+
invalid: colors.errorTint2,
|
|
424
|
+
invalidHover: colors.errorTint1
|
|
425
|
+
},
|
|
426
|
+
color: {
|
|
427
|
+
default: darkScale.scale10,
|
|
428
|
+
disabled: darkScale.scale4,
|
|
429
|
+
placeholder: darkScale.scale6,
|
|
430
|
+
description: darkScale.scale6,
|
|
431
|
+
descriptionError: colors.error
|
|
432
|
+
},
|
|
433
|
+
borderColor: {
|
|
434
|
+
default: darkScale.scale6,
|
|
435
|
+
hover: darkScale.scale8,
|
|
436
|
+
focused: accent,
|
|
437
|
+
disabled: darkScale.scale4,
|
|
438
|
+
error: colors.error
|
|
439
|
+
},
|
|
440
|
+
labelColor: {
|
|
441
|
+
default: darkScale.scale8,
|
|
442
|
+
hover: darkScale.scale8,
|
|
443
|
+
filled: darkScale.scale6,
|
|
444
|
+
focused: accent,
|
|
445
|
+
disabled: darkScale.scale4
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
menu: {
|
|
449
|
+
background: darkScale.background1
|
|
450
|
+
},
|
|
451
|
+
menuItem: {
|
|
452
|
+
borderColor: colors.brand,
|
|
453
|
+
background: {
|
|
454
|
+
active: darkScale.scale0,
|
|
455
|
+
hover: darkScale.scale1,
|
|
456
|
+
inactive: 'transparent'
|
|
457
|
+
},
|
|
458
|
+
color: {
|
|
459
|
+
active: darkScale.scale10,
|
|
460
|
+
hover: darkScale.scale10,
|
|
461
|
+
inactive: darkScale.scale6
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
modal: {
|
|
465
|
+
background: colors.brandBackground3,
|
|
466
|
+
color: {
|
|
467
|
+
header: darkScale.scale10,
|
|
468
|
+
body: darkScale.scale6
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
options: {
|
|
472
|
+
background: colors.brandBackground2,
|
|
473
|
+
backdropFilter: void 0
|
|
474
|
+
},
|
|
475
|
+
optionItem: {
|
|
476
|
+
background: {
|
|
477
|
+
hover: darkScale.scale0,
|
|
478
|
+
active: darkScale.scale1,
|
|
479
|
+
inactive: 'transparent'
|
|
480
|
+
},
|
|
481
|
+
color: {
|
|
482
|
+
active: darkScale.scale10,
|
|
483
|
+
inactive: darkScale.scale10,
|
|
484
|
+
accent
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
table: {
|
|
488
|
+
color: {
|
|
489
|
+
header: darkScale.scale6,
|
|
490
|
+
body: darkScale.scale10
|
|
491
|
+
},
|
|
492
|
+
backgroundLevel: {
|
|
493
|
+
0: darkScale.background0,
|
|
494
|
+
1: darkScale.background1,
|
|
495
|
+
2: darkScale.background2,
|
|
496
|
+
3: darkScale.background3,
|
|
497
|
+
4: darkScale.background4,
|
|
498
|
+
5: darkScale.background5
|
|
499
|
+
},
|
|
500
|
+
borderColor: darkScale.scale1
|
|
501
|
+
},
|
|
502
|
+
tag: {
|
|
503
|
+
default: {
|
|
504
|
+
background: darkScale.scale1,
|
|
505
|
+
backgroundHover: darkScale.scale2,
|
|
506
|
+
backgroundDisabled: darkScale.scale0
|
|
507
|
+
},
|
|
508
|
+
error: {
|
|
509
|
+
background: colors.errorTint2,
|
|
510
|
+
backgroundHover: colors.error,
|
|
511
|
+
backgroundDisabled: colors.errorTint1
|
|
512
|
+
},
|
|
513
|
+
success: {
|
|
514
|
+
background: colors.successTint2,
|
|
515
|
+
backgroundHover: colors.success,
|
|
516
|
+
backgroundDisabled: colors.successTint1
|
|
517
|
+
},
|
|
518
|
+
warning: {
|
|
519
|
+
background: colors.warningTint2,
|
|
520
|
+
backgroundHover: colors.warning,
|
|
521
|
+
backgroundDisabled: colors.warningTint1
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
toast: {
|
|
525
|
+
color: darkScale.scale10,
|
|
526
|
+
background: {
|
|
527
|
+
default: '#0D2433',
|
|
528
|
+
info: '#002A51',
|
|
529
|
+
success: '#003A2D',
|
|
530
|
+
warning: '#333220',
|
|
531
|
+
error: '#332635'
|
|
532
|
+
},
|
|
533
|
+
border: {
|
|
534
|
+
default: darkScale.scale8,
|
|
535
|
+
info: colors.brand,
|
|
536
|
+
success: colors.success,
|
|
537
|
+
warning: colors.warning,
|
|
538
|
+
error: colors.error
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
toggle: {
|
|
542
|
+
slider: colors.brandBackground0
|
|
543
|
+
},
|
|
544
|
+
tooltip: {
|
|
545
|
+
background: colors.brandBackground4,
|
|
546
|
+
color: {
|
|
547
|
+
default: darkScale.scale10,
|
|
548
|
+
subtext: darkScale.scale6
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
editor: {
|
|
552
|
+
highlight: {
|
|
553
|
+
yellow: colors.alertShade2,
|
|
554
|
+
blue: colors.brandShade2,
|
|
555
|
+
red: colors.errorShade2,
|
|
556
|
+
green: colors.successShade2,
|
|
557
|
+
orange: colors.warningShade2
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
};
|
|
561
|
+
const dark_dark = dark;
|
|
562
|
+
export { dark_dark as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const darkScale: {
|
|
2
|
+
scale0: string;
|
|
3
|
+
scale1: string;
|
|
4
|
+
scale2: string;
|
|
5
|
+
scale3: string;
|
|
6
|
+
scale4: string;
|
|
7
|
+
scale5: string;
|
|
8
|
+
scale6: string;
|
|
9
|
+
scale7: string;
|
|
10
|
+
scale8: string;
|
|
11
|
+
scale9: string;
|
|
12
|
+
scale10: string;
|
|
13
|
+
accent: string;
|
|
14
|
+
accentShade: string;
|
|
15
|
+
background0: string;
|
|
16
|
+
background1: string;
|
|
17
|
+
background2: string;
|
|
18
|
+
background3: string;
|
|
19
|
+
background4: string;
|
|
20
|
+
background5: string;
|
|
21
|
+
};
|
|
22
|
+
export default darkScale;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import colors from "../colors.js";
|
|
2
|
+
const scale0 = colors.contrast0;
|
|
3
|
+
const scale1 = colors.contrast1;
|
|
4
|
+
const scale2 = colors.contrast2;
|
|
5
|
+
const scale3 = colors.contrast3;
|
|
6
|
+
const scale4 = colors.contrast4;
|
|
7
|
+
const scale5 = colors.contrast5;
|
|
8
|
+
const scale6 = colors.contrast6;
|
|
9
|
+
const scale7 = colors.contrast7;
|
|
10
|
+
const scale8 = colors.contrast8;
|
|
11
|
+
const scale9 = colors.contrast9;
|
|
12
|
+
const scale10 = colors.contrast10;
|
|
13
|
+
const accent = colors.brandDark;
|
|
14
|
+
const darkScale = {
|
|
15
|
+
scale0,
|
|
16
|
+
scale1,
|
|
17
|
+
scale2,
|
|
18
|
+
scale3,
|
|
19
|
+
scale4,
|
|
20
|
+
scale5,
|
|
21
|
+
scale6,
|
|
22
|
+
scale7,
|
|
23
|
+
scale8,
|
|
24
|
+
scale9,
|
|
25
|
+
scale10,
|
|
26
|
+
accent,
|
|
27
|
+
accentShade: colors.brandDarkShade1,
|
|
28
|
+
background0: colors.brandBackground0,
|
|
29
|
+
background1: colors.brandBackground1,
|
|
30
|
+
background2: colors.brandBackground2,
|
|
31
|
+
background3: colors.brandBackground3,
|
|
32
|
+
background4: colors.brandBackground4,
|
|
33
|
+
background5: colors.brandBackground5
|
|
34
|
+
};
|
|
35
|
+
const dark_darkScale = darkScale;
|
|
36
|
+
export { dark_darkScale as default };
|