@vuecs/theme-bulma 1.0.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/LICENSE +201 -0
- package/README.md +18 -0
- package/assets/index.css +646 -0
- package/dist/config.d.ts +28 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +2604 -0
- package/dist/index.mjs.map +1 -0
- package/dist/palette-catalog.d.ts +16 -0
- package/dist/palette-catalog.d.ts.map +1 -0
- package/dist/palette.d.ts +48 -0
- package/dist/palette.d.ts.map +1 -0
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +80 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,2604 @@
|
|
|
1
|
+
import { COLOR_PALETTES, COLOR_PALETTE_SHADES, SEMANTIC_SCALES, applyColorPaletteCss, useColorPalette } from "@vuecs/design";
|
|
2
|
+
//#region src/palette-catalog.ts
|
|
3
|
+
const COLOR_PALETTE_HSL = {
|
|
4
|
+
slate: {
|
|
5
|
+
"50": {
|
|
6
|
+
h: 210,
|
|
7
|
+
s: 34.55,
|
|
8
|
+
l: 98
|
|
9
|
+
},
|
|
10
|
+
"100": {
|
|
11
|
+
h: 210,
|
|
12
|
+
s: 40.55,
|
|
13
|
+
l: 96.05
|
|
14
|
+
},
|
|
15
|
+
"200": {
|
|
16
|
+
h: 214.28,
|
|
17
|
+
s: 32.97,
|
|
18
|
+
l: 91.42
|
|
19
|
+
},
|
|
20
|
+
"300": {
|
|
21
|
+
h: 212.72,
|
|
22
|
+
s: 29.91,
|
|
23
|
+
l: 84.02
|
|
24
|
+
},
|
|
25
|
+
"400": {
|
|
26
|
+
h: 214.99,
|
|
27
|
+
s: 22.59,
|
|
28
|
+
l: 64.5
|
|
29
|
+
},
|
|
30
|
+
"500": {
|
|
31
|
+
h: 215.38,
|
|
32
|
+
s: 18.37,
|
|
33
|
+
l: 47.03
|
|
34
|
+
},
|
|
35
|
+
"600": {
|
|
36
|
+
h: 215.29,
|
|
37
|
+
s: 22.04,
|
|
38
|
+
l: 34.76
|
|
39
|
+
},
|
|
40
|
+
"700": {
|
|
41
|
+
h: 215.29,
|
|
42
|
+
s: 27.93,
|
|
43
|
+
l: 26.85
|
|
44
|
+
},
|
|
45
|
+
"800": {
|
|
46
|
+
h: 217.28,
|
|
47
|
+
s: 36.07,
|
|
48
|
+
l: 17.54
|
|
49
|
+
},
|
|
50
|
+
"900": {
|
|
51
|
+
h: 222.34,
|
|
52
|
+
s: 49.39,
|
|
53
|
+
l: 11.3
|
|
54
|
+
},
|
|
55
|
+
"950": {
|
|
56
|
+
h: 228.82,
|
|
57
|
+
s: 85.13,
|
|
58
|
+
l: 5
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
gray: {
|
|
62
|
+
"50": {
|
|
63
|
+
h: 210,
|
|
64
|
+
s: 24.19,
|
|
65
|
+
l: 98.1
|
|
66
|
+
},
|
|
67
|
+
"100": {
|
|
68
|
+
h: 220,
|
|
69
|
+
s: 14.97,
|
|
70
|
+
l: 95.9
|
|
71
|
+
},
|
|
72
|
+
"200": {
|
|
73
|
+
h: 220,
|
|
74
|
+
s: 13.57,
|
|
75
|
+
l: 91.05
|
|
76
|
+
},
|
|
77
|
+
"300": {
|
|
78
|
+
h: 216,
|
|
79
|
+
s: 13.12,
|
|
80
|
+
l: 84
|
|
81
|
+
},
|
|
82
|
+
"400": {
|
|
83
|
+
h: 217.9,
|
|
84
|
+
s: 11.92,
|
|
85
|
+
l: 64.26
|
|
86
|
+
},
|
|
87
|
+
"500": {
|
|
88
|
+
h: 220.03,
|
|
89
|
+
s: 10.26,
|
|
90
|
+
l: 46.3
|
|
91
|
+
},
|
|
92
|
+
"600": {
|
|
93
|
+
h: 214.99,
|
|
94
|
+
s: 15.66,
|
|
95
|
+
l: 34.25
|
|
96
|
+
},
|
|
97
|
+
"700": {
|
|
98
|
+
h: 216.94,
|
|
99
|
+
s: 21.1,
|
|
100
|
+
l: 26.81
|
|
101
|
+
},
|
|
102
|
+
"800": {
|
|
103
|
+
h: 214.99,
|
|
104
|
+
s: 30.99,
|
|
105
|
+
l: 16.95
|
|
106
|
+
},
|
|
107
|
+
"900": {
|
|
108
|
+
h: 221,
|
|
109
|
+
s: 41.69,
|
|
110
|
+
l: 11.07
|
|
111
|
+
},
|
|
112
|
+
"950": {
|
|
113
|
+
h: 224.05,
|
|
114
|
+
s: 72.24,
|
|
115
|
+
l: 4.17
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
zinc: {
|
|
119
|
+
"50": {
|
|
120
|
+
h: 300,
|
|
121
|
+
s: 0,
|
|
122
|
+
l: 98.03
|
|
123
|
+
},
|
|
124
|
+
"100": {
|
|
125
|
+
h: 239.99,
|
|
126
|
+
s: 3.51,
|
|
127
|
+
l: 95.79
|
|
128
|
+
},
|
|
129
|
+
"200": {
|
|
130
|
+
h: 240,
|
|
131
|
+
s: 5.86,
|
|
132
|
+
l: 90.03
|
|
133
|
+
},
|
|
134
|
+
"300": {
|
|
135
|
+
h: 240.02,
|
|
136
|
+
s: 5.38,
|
|
137
|
+
l: 83.97
|
|
138
|
+
},
|
|
139
|
+
"400": {
|
|
140
|
+
h: 240.08,
|
|
141
|
+
s: 5.71,
|
|
142
|
+
l: 64.3
|
|
143
|
+
},
|
|
144
|
+
"500": {
|
|
145
|
+
h: 240.1,
|
|
146
|
+
s: 4.41,
|
|
147
|
+
l: 46.34
|
|
148
|
+
},
|
|
149
|
+
"600": {
|
|
150
|
+
h: 240.13,
|
|
151
|
+
s: 6,
|
|
152
|
+
l: 34.16
|
|
153
|
+
},
|
|
154
|
+
"700": {
|
|
155
|
+
h: 240.08,
|
|
156
|
+
s: 5.74,
|
|
157
|
+
l: 26.15
|
|
158
|
+
},
|
|
159
|
+
"800": {
|
|
160
|
+
h: 240.05,
|
|
161
|
+
s: 4.04,
|
|
162
|
+
l: 15.93
|
|
163
|
+
},
|
|
164
|
+
"900": {
|
|
165
|
+
h: 240.02,
|
|
166
|
+
s: 6.03,
|
|
167
|
+
l: 9.98
|
|
168
|
+
},
|
|
169
|
+
"950": {
|
|
170
|
+
h: 240.1,
|
|
171
|
+
s: 11.24,
|
|
172
|
+
l: 3.98
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
neutral: {
|
|
176
|
+
"50": {
|
|
177
|
+
h: 300,
|
|
178
|
+
s: 0,
|
|
179
|
+
l: 98.03
|
|
180
|
+
},
|
|
181
|
+
"100": {
|
|
182
|
+
h: 300,
|
|
183
|
+
s: 0,
|
|
184
|
+
l: 96.06
|
|
185
|
+
},
|
|
186
|
+
"200": {
|
|
187
|
+
h: 330,
|
|
188
|
+
s: 0,
|
|
189
|
+
l: 89.82
|
|
190
|
+
},
|
|
191
|
+
"300": {
|
|
192
|
+
h: 340,
|
|
193
|
+
s: 0,
|
|
194
|
+
l: 83.14
|
|
195
|
+
},
|
|
196
|
+
"400": {
|
|
197
|
+
h: 0,
|
|
198
|
+
s: 0,
|
|
199
|
+
l: 63.02
|
|
200
|
+
},
|
|
201
|
+
"500": {
|
|
202
|
+
h: 300,
|
|
203
|
+
s: 0,
|
|
204
|
+
l: 45.15
|
|
205
|
+
},
|
|
206
|
+
"600": {
|
|
207
|
+
h: 330,
|
|
208
|
+
s: 0,
|
|
209
|
+
l: 32.2
|
|
210
|
+
},
|
|
211
|
+
"700": {
|
|
212
|
+
h: 300,
|
|
213
|
+
s: 0,
|
|
214
|
+
l: 25.05
|
|
215
|
+
},
|
|
216
|
+
"800": {
|
|
217
|
+
h: 0,
|
|
218
|
+
s: 0,
|
|
219
|
+
l: 14.94
|
|
220
|
+
},
|
|
221
|
+
"900": {
|
|
222
|
+
h: 330,
|
|
223
|
+
s: 0,
|
|
224
|
+
l: 9.05
|
|
225
|
+
},
|
|
226
|
+
"950": {
|
|
227
|
+
h: 300,
|
|
228
|
+
s: 0,
|
|
229
|
+
l: 3.94
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
stone: {
|
|
233
|
+
"50": {
|
|
234
|
+
h: 60.01,
|
|
235
|
+
s: 7.09,
|
|
236
|
+
l: 97.9
|
|
237
|
+
},
|
|
238
|
+
"100": {
|
|
239
|
+
h: 60.01,
|
|
240
|
+
s: 3.65,
|
|
241
|
+
l: 95.94
|
|
242
|
+
},
|
|
243
|
+
"200": {
|
|
244
|
+
h: 20,
|
|
245
|
+
s: 6.87,
|
|
246
|
+
l: 89.98
|
|
247
|
+
},
|
|
248
|
+
"300": {
|
|
249
|
+
h: 24.01,
|
|
250
|
+
s: 6.69,
|
|
251
|
+
l: 82.98
|
|
252
|
+
},
|
|
253
|
+
"400": {
|
|
254
|
+
h: 24.01,
|
|
255
|
+
s: 5.85,
|
|
256
|
+
l: 63.05
|
|
257
|
+
},
|
|
258
|
+
"500": {
|
|
259
|
+
h: 25.02,
|
|
260
|
+
s: 5.9,
|
|
261
|
+
l: 44.64
|
|
262
|
+
},
|
|
263
|
+
"600": {
|
|
264
|
+
h: 33.35,
|
|
265
|
+
s: 6.28,
|
|
266
|
+
l: 32.24
|
|
267
|
+
},
|
|
268
|
+
"700": {
|
|
269
|
+
h: 30.02,
|
|
270
|
+
s: 7.22,
|
|
271
|
+
l: 25.04
|
|
272
|
+
},
|
|
273
|
+
"800": {
|
|
274
|
+
h: 12,
|
|
275
|
+
s: 7.23,
|
|
276
|
+
l: 15.07
|
|
277
|
+
},
|
|
278
|
+
"900": {
|
|
279
|
+
h: 24,
|
|
280
|
+
s: 9.61,
|
|
281
|
+
l: 9.99
|
|
282
|
+
},
|
|
283
|
+
"950": {
|
|
284
|
+
h: 20.04,
|
|
285
|
+
s: 13.84,
|
|
286
|
+
l: 4.13
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
red: {
|
|
290
|
+
"50": {
|
|
291
|
+
h: 360,
|
|
292
|
+
s: 88.21,
|
|
293
|
+
l: 97.32
|
|
294
|
+
},
|
|
295
|
+
"100": {
|
|
296
|
+
h: 359.98,
|
|
297
|
+
s: 98.78,
|
|
298
|
+
l: 94.25
|
|
299
|
+
},
|
|
300
|
+
"200": {
|
|
301
|
+
h: 359.95,
|
|
302
|
+
s: 102.84,
|
|
303
|
+
l: 89.64
|
|
304
|
+
},
|
|
305
|
+
"300": {
|
|
306
|
+
h: 359.73,
|
|
307
|
+
s: 105.47,
|
|
308
|
+
l: 82.22
|
|
309
|
+
},
|
|
310
|
+
"400": {
|
|
311
|
+
h: 358.76,
|
|
312
|
+
s: 101.84,
|
|
313
|
+
l: 69.84
|
|
314
|
+
},
|
|
315
|
+
"500": {
|
|
316
|
+
h: 356.95,
|
|
317
|
+
s: 95.9,
|
|
318
|
+
l: 57.72
|
|
319
|
+
},
|
|
320
|
+
"600": {
|
|
321
|
+
h: 351.73,
|
|
322
|
+
s: 123.67,
|
|
323
|
+
l: 40.53
|
|
324
|
+
},
|
|
325
|
+
"700": {
|
|
326
|
+
h: 353.32,
|
|
327
|
+
s: 117.97,
|
|
328
|
+
l: 34.72
|
|
329
|
+
},
|
|
330
|
+
"800": {
|
|
331
|
+
h: 355.94,
|
|
332
|
+
s: 91.15,
|
|
333
|
+
l: 32.55
|
|
334
|
+
},
|
|
335
|
+
"900": {
|
|
336
|
+
h: 358.8,
|
|
337
|
+
s: 69.3,
|
|
338
|
+
l: 30.07
|
|
339
|
+
},
|
|
340
|
+
"950": {
|
|
341
|
+
h: 359.29,
|
|
342
|
+
s: 79.42,
|
|
343
|
+
l: 15.35
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
orange: {
|
|
347
|
+
"50": {
|
|
348
|
+
h: 33.33,
|
|
349
|
+
s: 102.53,
|
|
350
|
+
l: 96.51
|
|
351
|
+
},
|
|
352
|
+
"100": {
|
|
353
|
+
h: 34.29,
|
|
354
|
+
s: 101.29,
|
|
355
|
+
l: 91.68
|
|
356
|
+
},
|
|
357
|
+
"200": {
|
|
358
|
+
h: 32.18,
|
|
359
|
+
s: 100.26,
|
|
360
|
+
l: 82.86
|
|
361
|
+
},
|
|
362
|
+
"300": {
|
|
363
|
+
h: 30.98,
|
|
364
|
+
s: 103.88,
|
|
365
|
+
l: 71.25
|
|
366
|
+
},
|
|
367
|
+
"400": {
|
|
368
|
+
h: 31.43,
|
|
369
|
+
s: 102.57,
|
|
370
|
+
l: 51.32
|
|
371
|
+
},
|
|
372
|
+
"500": {
|
|
373
|
+
h: 29.2,
|
|
374
|
+
s: 138.87,
|
|
375
|
+
l: 42.64
|
|
376
|
+
},
|
|
377
|
+
"600": {
|
|
378
|
+
h: 23.81,
|
|
379
|
+
s: 138.29,
|
|
380
|
+
l: 40.32
|
|
381
|
+
},
|
|
382
|
+
"700": {
|
|
383
|
+
h: 20.51,
|
|
384
|
+
s: 127.68,
|
|
385
|
+
l: 34.78
|
|
386
|
+
},
|
|
387
|
+
"800": {
|
|
388
|
+
h: 17.27,
|
|
389
|
+
s: 101.4,
|
|
390
|
+
l: 31.01
|
|
391
|
+
},
|
|
392
|
+
"900": {
|
|
393
|
+
h: 15.99,
|
|
394
|
+
s: 83.12,
|
|
395
|
+
l: 27.04
|
|
396
|
+
},
|
|
397
|
+
"950": {
|
|
398
|
+
h: 12.88,
|
|
399
|
+
s: 84.81,
|
|
400
|
+
l: 14.42
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
amber: {
|
|
404
|
+
"50": {
|
|
405
|
+
h: 47.99,
|
|
406
|
+
s: 101.62,
|
|
407
|
+
l: 96.03
|
|
408
|
+
},
|
|
409
|
+
"100": {
|
|
410
|
+
h: 47.99,
|
|
411
|
+
s: 97.34,
|
|
412
|
+
l: 88.73
|
|
413
|
+
},
|
|
414
|
+
"200": {
|
|
415
|
+
h: 48.02,
|
|
416
|
+
s: 98.23,
|
|
417
|
+
l: 75.9
|
|
418
|
+
},
|
|
419
|
+
"300": {
|
|
420
|
+
h: 46.82,
|
|
421
|
+
s: 100.74,
|
|
422
|
+
l: 59.53
|
|
423
|
+
},
|
|
424
|
+
"400": {
|
|
425
|
+
h: 46.68,
|
|
426
|
+
s: 159.66,
|
|
427
|
+
l: 38.52
|
|
428
|
+
},
|
|
429
|
+
"500": {
|
|
430
|
+
h: 40.58,
|
|
431
|
+
s: 156.01,
|
|
432
|
+
l: 38.84
|
|
433
|
+
},
|
|
434
|
+
"600": {
|
|
435
|
+
h: 34.92,
|
|
436
|
+
s: 147.57,
|
|
437
|
+
l: 35.7
|
|
438
|
+
},
|
|
439
|
+
"700": {
|
|
440
|
+
h: 29.07,
|
|
441
|
+
s: 133.04,
|
|
442
|
+
l: 31.4
|
|
443
|
+
},
|
|
444
|
+
"800": {
|
|
445
|
+
h: 25.56,
|
|
446
|
+
s: 111,
|
|
447
|
+
l: 27.98
|
|
448
|
+
},
|
|
449
|
+
"900": {
|
|
450
|
+
h: 23.04,
|
|
451
|
+
s: 90.17,
|
|
452
|
+
l: 25.26
|
|
453
|
+
},
|
|
454
|
+
"950": {
|
|
455
|
+
h: 20.9,
|
|
456
|
+
s: 96.65,
|
|
457
|
+
l: 13.94
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
yellow: {
|
|
461
|
+
"50": {
|
|
462
|
+
h: 54.55,
|
|
463
|
+
s: 90.61,
|
|
464
|
+
l: 95.28
|
|
465
|
+
},
|
|
466
|
+
"100": {
|
|
467
|
+
h: 54.89,
|
|
468
|
+
s: 97.52,
|
|
469
|
+
l: 87.84
|
|
470
|
+
},
|
|
471
|
+
"200": {
|
|
472
|
+
h: 52.74,
|
|
473
|
+
s: 99.45,
|
|
474
|
+
l: 76.08
|
|
475
|
+
},
|
|
476
|
+
"300": {
|
|
477
|
+
h: 51.29,
|
|
478
|
+
s: 100.85,
|
|
479
|
+
l: 56.47
|
|
480
|
+
},
|
|
481
|
+
"400": {
|
|
482
|
+
h: 49.97,
|
|
483
|
+
s: 174.35,
|
|
484
|
+
l: 36.19
|
|
485
|
+
},
|
|
486
|
+
"500": {
|
|
487
|
+
h: 47.3,
|
|
488
|
+
s: 165.47,
|
|
489
|
+
l: 35.46
|
|
490
|
+
},
|
|
491
|
+
"600": {
|
|
492
|
+
h: 42.71,
|
|
493
|
+
s: 157.07,
|
|
494
|
+
l: 31.8
|
|
495
|
+
},
|
|
496
|
+
"700": {
|
|
497
|
+
h: 38.01,
|
|
498
|
+
s: 139.31,
|
|
499
|
+
l: 27.21
|
|
500
|
+
},
|
|
501
|
+
"800": {
|
|
502
|
+
h: 34.56,
|
|
503
|
+
s: 115.14,
|
|
504
|
+
l: 24.91
|
|
505
|
+
},
|
|
506
|
+
"900": {
|
|
507
|
+
h: 29.52,
|
|
508
|
+
s: 83.35,
|
|
509
|
+
l: 24.57
|
|
510
|
+
},
|
|
511
|
+
"950": {
|
|
512
|
+
h: 26.16,
|
|
513
|
+
s: 87.52,
|
|
514
|
+
l: 13.96
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
lime: {
|
|
518
|
+
"50": {
|
|
519
|
+
h: 78.26,
|
|
520
|
+
s: 92.84,
|
|
521
|
+
l: 95.14
|
|
522
|
+
},
|
|
523
|
+
"100": {
|
|
524
|
+
h: 79.56,
|
|
525
|
+
s: 89.72,
|
|
526
|
+
l: 89.11
|
|
527
|
+
},
|
|
528
|
+
"200": {
|
|
529
|
+
h: 80.7,
|
|
530
|
+
s: 89.71,
|
|
531
|
+
l: 78.91
|
|
532
|
+
},
|
|
533
|
+
"300": {
|
|
534
|
+
h: 80.92,
|
|
535
|
+
s: 87.66,
|
|
536
|
+
l: 63.65
|
|
537
|
+
},
|
|
538
|
+
"400": {
|
|
539
|
+
h: 76.48,
|
|
540
|
+
s: 152.65,
|
|
541
|
+
l: 35.69
|
|
542
|
+
},
|
|
543
|
+
"500": {
|
|
544
|
+
h: 78.99,
|
|
545
|
+
s: 169.67,
|
|
546
|
+
l: 30.03
|
|
547
|
+
},
|
|
548
|
+
"600": {
|
|
549
|
+
h: 80.66,
|
|
550
|
+
s: 166.87,
|
|
551
|
+
l: 24.26
|
|
552
|
+
},
|
|
553
|
+
"700": {
|
|
554
|
+
h: 81.59,
|
|
555
|
+
s: 140.51,
|
|
556
|
+
l: 20.44
|
|
557
|
+
},
|
|
558
|
+
"800": {
|
|
559
|
+
h: 83.18,
|
|
560
|
+
s: 101.25,
|
|
561
|
+
l: 19.28
|
|
562
|
+
},
|
|
563
|
+
"900": {
|
|
564
|
+
h: 86.52,
|
|
565
|
+
s: 71.11,
|
|
566
|
+
l: 19.12
|
|
567
|
+
},
|
|
568
|
+
"950": {
|
|
569
|
+
h: 88.95,
|
|
570
|
+
s: 88.62,
|
|
571
|
+
l: 9.61
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
green: {
|
|
575
|
+
"50": {
|
|
576
|
+
h: 138.46,
|
|
577
|
+
s: 76.51,
|
|
578
|
+
l: 96.68
|
|
579
|
+
},
|
|
580
|
+
"100": {
|
|
581
|
+
h: 140.65,
|
|
582
|
+
s: 84.38,
|
|
583
|
+
l: 92.45
|
|
584
|
+
},
|
|
585
|
+
"200": {
|
|
586
|
+
h: 141.14,
|
|
587
|
+
s: 81.07,
|
|
588
|
+
l: 84.82
|
|
589
|
+
},
|
|
590
|
+
"300": {
|
|
591
|
+
h: 142.66,
|
|
592
|
+
s: 81.25,
|
|
593
|
+
l: 71.39
|
|
594
|
+
},
|
|
595
|
+
"400": {
|
|
596
|
+
h: 150.06,
|
|
597
|
+
s: 95.56,
|
|
598
|
+
l: 44.76
|
|
599
|
+
},
|
|
600
|
+
"500": {
|
|
601
|
+
h: 151.17,
|
|
602
|
+
s: 165.46,
|
|
603
|
+
l: 29.65
|
|
604
|
+
},
|
|
605
|
+
"600": {
|
|
606
|
+
h: 149.95,
|
|
607
|
+
s: 168.41,
|
|
608
|
+
l: 24.27
|
|
609
|
+
},
|
|
610
|
+
"700": {
|
|
611
|
+
h: 150,
|
|
612
|
+
s: 143.08,
|
|
613
|
+
l: 20.98
|
|
614
|
+
},
|
|
615
|
+
"800": {
|
|
616
|
+
h: 147.72,
|
|
617
|
+
s: 97.15,
|
|
618
|
+
l: 20.36
|
|
619
|
+
},
|
|
620
|
+
"900": {
|
|
621
|
+
h: 145.73,
|
|
622
|
+
s: 73.08,
|
|
623
|
+
l: 18.99
|
|
624
|
+
},
|
|
625
|
+
"950": {
|
|
626
|
+
h: 145.39,
|
|
627
|
+
s: 87.57,
|
|
628
|
+
l: 9.65
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
emerald: {
|
|
632
|
+
"50": {
|
|
633
|
+
h: 151.78,
|
|
634
|
+
s: 80.95,
|
|
635
|
+
l: 95.82
|
|
636
|
+
},
|
|
637
|
+
"100": {
|
|
638
|
+
h: 149.32,
|
|
639
|
+
s: 81.17,
|
|
640
|
+
l: 89.84
|
|
641
|
+
},
|
|
642
|
+
"200": {
|
|
643
|
+
h: 152.54,
|
|
644
|
+
s: 77.89,
|
|
645
|
+
l: 80.02
|
|
646
|
+
},
|
|
647
|
+
"300": {
|
|
648
|
+
h: 157.3,
|
|
649
|
+
s: 76.25,
|
|
650
|
+
l: 64.25
|
|
651
|
+
},
|
|
652
|
+
"400": {
|
|
653
|
+
h: 164.79,
|
|
654
|
+
s: 160.67,
|
|
655
|
+
l: 31.94
|
|
656
|
+
},
|
|
657
|
+
"500": {
|
|
658
|
+
h: 164.33,
|
|
659
|
+
s: 183,
|
|
660
|
+
l: 26.11
|
|
661
|
+
},
|
|
662
|
+
"600": {
|
|
663
|
+
h: 164.49,
|
|
664
|
+
s: 182.24,
|
|
665
|
+
l: 21.22
|
|
666
|
+
},
|
|
667
|
+
"700": {
|
|
668
|
+
h: 165.57,
|
|
669
|
+
s: 169.47,
|
|
670
|
+
l: 17.75
|
|
671
|
+
},
|
|
672
|
+
"800": {
|
|
673
|
+
h: 165.49,
|
|
674
|
+
s: 141.85,
|
|
675
|
+
l: 15.62
|
|
676
|
+
},
|
|
677
|
+
"900": {
|
|
678
|
+
h: 165.29,
|
|
679
|
+
s: 107.53,
|
|
680
|
+
l: 14.85
|
|
681
|
+
},
|
|
682
|
+
"950": {
|
|
683
|
+
h: 166.05,
|
|
684
|
+
s: 102.4,
|
|
685
|
+
l: 8.58
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
teal: {
|
|
689
|
+
"50": {
|
|
690
|
+
h: 166.15,
|
|
691
|
+
s: 77.06,
|
|
692
|
+
l: 96.74
|
|
693
|
+
},
|
|
694
|
+
"100": {
|
|
695
|
+
h: 167.27,
|
|
696
|
+
s: 86.98,
|
|
697
|
+
l: 89.13
|
|
698
|
+
},
|
|
699
|
+
"200": {
|
|
700
|
+
h: 168.51,
|
|
701
|
+
s: 85.39,
|
|
702
|
+
l: 77.72
|
|
703
|
+
},
|
|
704
|
+
"300": {
|
|
705
|
+
h: 171.35,
|
|
706
|
+
s: 81.79,
|
|
707
|
+
l: 60.15
|
|
708
|
+
},
|
|
709
|
+
"400": {
|
|
710
|
+
h: 174.78,
|
|
711
|
+
s: 172.21,
|
|
712
|
+
l: 30.68
|
|
713
|
+
},
|
|
714
|
+
"500": {
|
|
715
|
+
h: 175.02,
|
|
716
|
+
s: 181.45,
|
|
717
|
+
l: 26.06
|
|
718
|
+
},
|
|
719
|
+
"600": {
|
|
720
|
+
h: 175.86,
|
|
721
|
+
s: 177.43,
|
|
722
|
+
l: 21.24
|
|
723
|
+
},
|
|
724
|
+
"700": {
|
|
725
|
+
h: 176.37,
|
|
726
|
+
s: 150.17,
|
|
727
|
+
l: 18.75
|
|
728
|
+
},
|
|
729
|
+
"800": {
|
|
730
|
+
h: 176.85,
|
|
731
|
+
s: 115.91,
|
|
732
|
+
l: 17.28
|
|
733
|
+
},
|
|
734
|
+
"900": {
|
|
735
|
+
h: 176.3,
|
|
736
|
+
s: 76.01,
|
|
737
|
+
l: 17.51
|
|
738
|
+
},
|
|
739
|
+
"950": {
|
|
740
|
+
h: 178.66,
|
|
741
|
+
s: 91.58,
|
|
742
|
+
l: 9.64
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
cyan: {
|
|
746
|
+
"50": {
|
|
747
|
+
h: 183.16,
|
|
748
|
+
s: 99.92,
|
|
749
|
+
l: 96.25
|
|
750
|
+
},
|
|
751
|
+
"100": {
|
|
752
|
+
h: 185.11,
|
|
753
|
+
s: 96.43,
|
|
754
|
+
l: 90.29
|
|
755
|
+
},
|
|
756
|
+
"200": {
|
|
757
|
+
h: 186.2,
|
|
758
|
+
s: 95.77,
|
|
759
|
+
l: 81.44
|
|
760
|
+
},
|
|
761
|
+
"300": {
|
|
762
|
+
h: 186.71,
|
|
763
|
+
s: 97.47,
|
|
764
|
+
l: 65.9
|
|
765
|
+
},
|
|
766
|
+
"400": {
|
|
767
|
+
h: 186.13,
|
|
768
|
+
s: 175.02,
|
|
769
|
+
l: 34.58
|
|
770
|
+
},
|
|
771
|
+
"500": {
|
|
772
|
+
h: 187.47,
|
|
773
|
+
s: 173.4,
|
|
774
|
+
l: 31.36
|
|
775
|
+
},
|
|
776
|
+
"600": {
|
|
777
|
+
h: 189.97,
|
|
778
|
+
s: 161.86,
|
|
779
|
+
l: 27.59
|
|
780
|
+
},
|
|
781
|
+
"700": {
|
|
782
|
+
h: 190.86,
|
|
783
|
+
s: 142.8,
|
|
784
|
+
l: 24.02
|
|
785
|
+
},
|
|
786
|
+
"800": {
|
|
787
|
+
h: 192.65,
|
|
788
|
+
s: 101.49,
|
|
789
|
+
l: 23.39
|
|
790
|
+
},
|
|
791
|
+
"900": {
|
|
792
|
+
h: 195.82,
|
|
793
|
+
s: 72.14,
|
|
794
|
+
l: 22.87
|
|
795
|
+
},
|
|
796
|
+
"950": {
|
|
797
|
+
h: 196.69,
|
|
798
|
+
s: 85.44,
|
|
799
|
+
l: 14.55
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
sky: {
|
|
803
|
+
"50": {
|
|
804
|
+
h: 204,
|
|
805
|
+
s: 103.69,
|
|
806
|
+
l: 97.05
|
|
807
|
+
},
|
|
808
|
+
"100": {
|
|
809
|
+
h: 203.99,
|
|
810
|
+
s: 96.54,
|
|
811
|
+
l: 93.67
|
|
812
|
+
},
|
|
813
|
+
"200": {
|
|
814
|
+
h: 200.57,
|
|
815
|
+
s: 97.87,
|
|
816
|
+
l: 85.94
|
|
817
|
+
},
|
|
818
|
+
"300": {
|
|
819
|
+
h: 199.1,
|
|
820
|
+
s: 103.12,
|
|
821
|
+
l: 73.08
|
|
822
|
+
},
|
|
823
|
+
"400": {
|
|
824
|
+
h: 194.15,
|
|
825
|
+
s: 130.08,
|
|
826
|
+
l: 43.65
|
|
827
|
+
},
|
|
828
|
+
"500": {
|
|
829
|
+
h: 195.89,
|
|
830
|
+
s: 153.89,
|
|
831
|
+
l: 37.7
|
|
832
|
+
},
|
|
833
|
+
"600": {
|
|
834
|
+
h: 198.44,
|
|
835
|
+
s: 149.2,
|
|
836
|
+
l: 32.9
|
|
837
|
+
},
|
|
838
|
+
"700": {
|
|
839
|
+
h: 199.35,
|
|
840
|
+
s: 140.28,
|
|
841
|
+
l: 27.48
|
|
842
|
+
},
|
|
843
|
+
"800": {
|
|
844
|
+
h: 199.03,
|
|
845
|
+
s: 125.92,
|
|
846
|
+
l: 23.9
|
|
847
|
+
},
|
|
848
|
+
"900": {
|
|
849
|
+
h: 200.84,
|
|
850
|
+
s: 96.98,
|
|
851
|
+
l: 22.39
|
|
852
|
+
},
|
|
853
|
+
"950": {
|
|
854
|
+
h: 203.63,
|
|
855
|
+
s: 87.23,
|
|
856
|
+
l: 15.52
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
blue: {
|
|
860
|
+
"50": {
|
|
861
|
+
h: 213.75,
|
|
862
|
+
s: 96.48,
|
|
863
|
+
l: 96.79
|
|
864
|
+
},
|
|
865
|
+
"100": {
|
|
866
|
+
h: 214.28,
|
|
867
|
+
s: 96.22,
|
|
868
|
+
l: 92.78
|
|
869
|
+
},
|
|
870
|
+
"200": {
|
|
871
|
+
h: 213.33,
|
|
872
|
+
s: 100.45,
|
|
873
|
+
l: 87.28
|
|
874
|
+
},
|
|
875
|
+
"300": {
|
|
876
|
+
h: 211.63,
|
|
877
|
+
s: 106.83,
|
|
878
|
+
l: 78.56
|
|
879
|
+
},
|
|
880
|
+
"400": {
|
|
881
|
+
h: 212.79,
|
|
882
|
+
s: 106.33,
|
|
883
|
+
l: 66.84
|
|
884
|
+
},
|
|
885
|
+
"500": {
|
|
886
|
+
h: 216.89,
|
|
887
|
+
s: 105.65,
|
|
888
|
+
l: 59.61
|
|
889
|
+
},
|
|
890
|
+
"600": {
|
|
891
|
+
h: 221.34,
|
|
892
|
+
s: 97.06,
|
|
893
|
+
l: 53.5
|
|
894
|
+
},
|
|
895
|
+
"700": {
|
|
896
|
+
h: 225.35,
|
|
897
|
+
s: 84.1,
|
|
898
|
+
l: 48.98
|
|
899
|
+
},
|
|
900
|
+
"800": {
|
|
901
|
+
h: 227.1,
|
|
902
|
+
s: 75.74,
|
|
903
|
+
l: 41.14
|
|
904
|
+
},
|
|
905
|
+
"900": {
|
|
906
|
+
h: 224.86,
|
|
907
|
+
s: 67.28,
|
|
908
|
+
l: 33.33
|
|
909
|
+
},
|
|
910
|
+
"950": {
|
|
911
|
+
h: 226.51,
|
|
912
|
+
s: 58.74,
|
|
913
|
+
l: 21.15
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
indigo: {
|
|
917
|
+
"50": {
|
|
918
|
+
h: 225.88,
|
|
919
|
+
s: 100.93,
|
|
920
|
+
l: 96.69
|
|
921
|
+
},
|
|
922
|
+
"100": {
|
|
923
|
+
h: 226.46,
|
|
924
|
+
s: 102.7,
|
|
925
|
+
l: 93.98
|
|
926
|
+
},
|
|
927
|
+
"200": {
|
|
928
|
+
h: 228.05,
|
|
929
|
+
s: 103.13,
|
|
930
|
+
l: 89.09
|
|
931
|
+
},
|
|
932
|
+
"300": {
|
|
933
|
+
h: 229.92,
|
|
934
|
+
s: 108.23,
|
|
935
|
+
l: 82.67
|
|
936
|
+
},
|
|
937
|
+
"400": {
|
|
938
|
+
h: 235.61,
|
|
939
|
+
s: 106.77,
|
|
940
|
+
l: 75.23
|
|
941
|
+
},
|
|
942
|
+
"500": {
|
|
943
|
+
h: 240.97,
|
|
944
|
+
s: 102.48,
|
|
945
|
+
l: 68.98
|
|
946
|
+
},
|
|
947
|
+
"600": {
|
|
948
|
+
h: 246.99,
|
|
949
|
+
s: 91.66,
|
|
950
|
+
l: 59.53
|
|
951
|
+
},
|
|
952
|
+
"700": {
|
|
953
|
+
h: 247.88,
|
|
954
|
+
s: 68.29,
|
|
955
|
+
l: 51.07
|
|
956
|
+
},
|
|
957
|
+
"800": {
|
|
958
|
+
h: 246.14,
|
|
959
|
+
s: 60.99,
|
|
960
|
+
l: 41.85
|
|
961
|
+
},
|
|
962
|
+
"900": {
|
|
963
|
+
h: 243.26,
|
|
964
|
+
s: 50.34,
|
|
965
|
+
l: 34.77
|
|
966
|
+
},
|
|
967
|
+
"950": {
|
|
968
|
+
h: 244.4,
|
|
969
|
+
s: 49.1,
|
|
970
|
+
l: 20.16
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
violet: {
|
|
974
|
+
"50": {
|
|
975
|
+
h: 250,
|
|
976
|
+
s: 98.58,
|
|
977
|
+
l: 97.62
|
|
978
|
+
},
|
|
979
|
+
"100": {
|
|
980
|
+
h: 251.44,
|
|
981
|
+
s: 93.48,
|
|
982
|
+
l: 95.5
|
|
983
|
+
},
|
|
984
|
+
"200": {
|
|
985
|
+
h: 250.56,
|
|
986
|
+
s: 100.93,
|
|
987
|
+
l: 91.93
|
|
988
|
+
},
|
|
989
|
+
"300": {
|
|
990
|
+
h: 252.81,
|
|
991
|
+
s: 109.64,
|
|
992
|
+
l: 85.88
|
|
993
|
+
},
|
|
994
|
+
"400": {
|
|
995
|
+
h: 256.16,
|
|
996
|
+
s: 109,
|
|
997
|
+
l: 76.89
|
|
998
|
+
},
|
|
999
|
+
"500": {
|
|
1000
|
+
h: 260.11,
|
|
1001
|
+
s: 108.45,
|
|
1002
|
+
l: 67.29
|
|
1003
|
+
},
|
|
1004
|
+
"600": {
|
|
1005
|
+
h: 265.48,
|
|
1006
|
+
s: 99.08,
|
|
1007
|
+
l: 56.49
|
|
1008
|
+
},
|
|
1009
|
+
"700": {
|
|
1010
|
+
h: 268,
|
|
1011
|
+
s: 93.3,
|
|
1012
|
+
l: 46.89
|
|
1013
|
+
},
|
|
1014
|
+
"800": {
|
|
1015
|
+
h: 266.64,
|
|
1016
|
+
s: 86.27,
|
|
1017
|
+
l: 40.44
|
|
1018
|
+
},
|
|
1019
|
+
"900": {
|
|
1020
|
+
h: 264.88,
|
|
1021
|
+
s: 74.27,
|
|
1022
|
+
l: 34.64
|
|
1023
|
+
},
|
|
1024
|
+
"950": {
|
|
1025
|
+
h: 262.22,
|
|
1026
|
+
s: 77.74,
|
|
1027
|
+
l: 22.86
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
purple: {
|
|
1031
|
+
"50": {
|
|
1032
|
+
h: 270,
|
|
1033
|
+
s: 98.85,
|
|
1034
|
+
l: 98.04
|
|
1035
|
+
},
|
|
1036
|
+
"100": {
|
|
1037
|
+
h: 268.7,
|
|
1038
|
+
s: 99.95,
|
|
1039
|
+
l: 95.45
|
|
1040
|
+
},
|
|
1041
|
+
"200": {
|
|
1042
|
+
h: 268.62,
|
|
1043
|
+
s: 105.97,
|
|
1044
|
+
l: 91.9
|
|
1045
|
+
},
|
|
1046
|
+
"300": {
|
|
1047
|
+
h: 269.4,
|
|
1048
|
+
s: 112.21,
|
|
1049
|
+
l: 85.76
|
|
1050
|
+
},
|
|
1051
|
+
"400": {
|
|
1052
|
+
h: 270.72,
|
|
1053
|
+
s: 110.6,
|
|
1054
|
+
l: 75.3
|
|
1055
|
+
},
|
|
1056
|
+
"500": {
|
|
1057
|
+
h: 272.11,
|
|
1058
|
+
s: 107.77,
|
|
1059
|
+
l: 65.15
|
|
1060
|
+
},
|
|
1061
|
+
"600": {
|
|
1062
|
+
h: 274.91,
|
|
1063
|
+
s: 96.1,
|
|
1064
|
+
l: 52.15
|
|
1065
|
+
},
|
|
1066
|
+
"700": {
|
|
1067
|
+
h: 276.41,
|
|
1068
|
+
s: 106.31,
|
|
1069
|
+
l: 41.55
|
|
1070
|
+
},
|
|
1071
|
+
"800": {
|
|
1072
|
+
h: 274.93,
|
|
1073
|
+
s: 82.4,
|
|
1074
|
+
l: 37.87
|
|
1075
|
+
},
|
|
1076
|
+
"900": {
|
|
1077
|
+
h: 274.52,
|
|
1078
|
+
s: 72.39,
|
|
1079
|
+
l: 31.62
|
|
1080
|
+
},
|
|
1081
|
+
"950": {
|
|
1082
|
+
h: 274.32,
|
|
1083
|
+
s: 94.3,
|
|
1084
|
+
l: 20.66
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
fuchsia: {
|
|
1088
|
+
"50": {
|
|
1089
|
+
h: 289.09,
|
|
1090
|
+
s: 95.95,
|
|
1091
|
+
l: 97.79
|
|
1092
|
+
},
|
|
1093
|
+
"100": {
|
|
1094
|
+
h: 286.96,
|
|
1095
|
+
s: 103.85,
|
|
1096
|
+
l: 95.53
|
|
1097
|
+
},
|
|
1098
|
+
"200": {
|
|
1099
|
+
h: 288.26,
|
|
1100
|
+
s: 100.65,
|
|
1101
|
+
l: 90.7
|
|
1102
|
+
},
|
|
1103
|
+
"300": {
|
|
1104
|
+
h: 291.08,
|
|
1105
|
+
s: 104.24,
|
|
1106
|
+
l: 83.22
|
|
1107
|
+
},
|
|
1108
|
+
"400": {
|
|
1109
|
+
h: 292.04,
|
|
1110
|
+
s: 102.91,
|
|
1111
|
+
l: 71.3
|
|
1112
|
+
},
|
|
1113
|
+
"500": {
|
|
1114
|
+
h: 292.61,
|
|
1115
|
+
s: 96.35,
|
|
1116
|
+
l: 57.51
|
|
1117
|
+
},
|
|
1118
|
+
"600": {
|
|
1119
|
+
h: 294.63,
|
|
1120
|
+
s: 129.26,
|
|
1121
|
+
l: 38.02
|
|
1122
|
+
},
|
|
1123
|
+
"700": {
|
|
1124
|
+
h: 295.49,
|
|
1125
|
+
s: 122.56,
|
|
1126
|
+
l: 32.26
|
|
1127
|
+
},
|
|
1128
|
+
"800": {
|
|
1129
|
+
h: 295.8,
|
|
1130
|
+
s: 98.24,
|
|
1131
|
+
l: 29.35
|
|
1132
|
+
},
|
|
1133
|
+
"900": {
|
|
1134
|
+
h: 296.7,
|
|
1135
|
+
s: 72.35,
|
|
1136
|
+
l: 27.25
|
|
1137
|
+
},
|
|
1138
|
+
"950": {
|
|
1139
|
+
h: 296.75,
|
|
1140
|
+
s: 99.06,
|
|
1141
|
+
l: 15.6
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
pink: {
|
|
1145
|
+
"50": {
|
|
1146
|
+
h: 327.28,
|
|
1147
|
+
s: 71.09,
|
|
1148
|
+
l: 97
|
|
1149
|
+
},
|
|
1150
|
+
"100": {
|
|
1151
|
+
h: 325.7,
|
|
1152
|
+
s: 78.63,
|
|
1153
|
+
l: 94.7
|
|
1154
|
+
},
|
|
1155
|
+
"200": {
|
|
1156
|
+
h: 325.85,
|
|
1157
|
+
s: 87.87,
|
|
1158
|
+
l: 89.84
|
|
1159
|
+
},
|
|
1160
|
+
"300": {
|
|
1161
|
+
h: 327.09,
|
|
1162
|
+
s: 96.71,
|
|
1163
|
+
l: 82.03
|
|
1164
|
+
},
|
|
1165
|
+
"400": {
|
|
1166
|
+
h: 327.47,
|
|
1167
|
+
s: 95.38,
|
|
1168
|
+
l: 68.88
|
|
1169
|
+
},
|
|
1170
|
+
"500": {
|
|
1171
|
+
h: 328.25,
|
|
1172
|
+
s: 91.82,
|
|
1173
|
+
l: 58.2
|
|
1174
|
+
},
|
|
1175
|
+
"600": {
|
|
1176
|
+
h: 326.44,
|
|
1177
|
+
s: 122.82,
|
|
1178
|
+
l: 40.45
|
|
1179
|
+
},
|
|
1180
|
+
"700": {
|
|
1181
|
+
h: 328.87,
|
|
1182
|
+
s: 127.07,
|
|
1183
|
+
l: 34.25
|
|
1184
|
+
},
|
|
1185
|
+
"800": {
|
|
1186
|
+
h: 331.18,
|
|
1187
|
+
s: 105.41,
|
|
1188
|
+
l: 31.09
|
|
1189
|
+
},
|
|
1190
|
+
"900": {
|
|
1191
|
+
h: 334.27,
|
|
1192
|
+
s: 78.49,
|
|
1193
|
+
l: 29.42
|
|
1194
|
+
},
|
|
1195
|
+
"950": {
|
|
1196
|
+
h: 335.29,
|
|
1197
|
+
s: 90.94,
|
|
1198
|
+
l: 16.65
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
rose: {
|
|
1202
|
+
"50": {
|
|
1203
|
+
h: 355.72,
|
|
1204
|
+
s: 96.53,
|
|
1205
|
+
l: 97.19
|
|
1206
|
+
},
|
|
1207
|
+
"100": {
|
|
1208
|
+
h: 355.55,
|
|
1209
|
+
s: 100.12,
|
|
1210
|
+
l: 94.67
|
|
1211
|
+
},
|
|
1212
|
+
"200": {
|
|
1213
|
+
h: 352.6,
|
|
1214
|
+
s: 100.2,
|
|
1215
|
+
l: 90.07
|
|
1216
|
+
},
|
|
1217
|
+
"300": {
|
|
1218
|
+
h: 352.25,
|
|
1219
|
+
s: 107.84,
|
|
1220
|
+
l: 82.19
|
|
1221
|
+
},
|
|
1222
|
+
"400": {
|
|
1223
|
+
h: 349.91,
|
|
1224
|
+
s: 105.4,
|
|
1225
|
+
l: 70.25
|
|
1226
|
+
},
|
|
1227
|
+
"500": {
|
|
1228
|
+
h: 345.36,
|
|
1229
|
+
s: 100.77,
|
|
1230
|
+
l: 56.4
|
|
1231
|
+
},
|
|
1232
|
+
"600": {
|
|
1233
|
+
h: 338.01,
|
|
1234
|
+
s: 136.74,
|
|
1235
|
+
l: 39.17
|
|
1236
|
+
},
|
|
1237
|
+
"700": {
|
|
1238
|
+
h: 338.15,
|
|
1239
|
+
s: 134.53,
|
|
1240
|
+
l: 33.19
|
|
1241
|
+
},
|
|
1242
|
+
"800": {
|
|
1243
|
+
h: 337.65,
|
|
1244
|
+
s: 115.53,
|
|
1245
|
+
l: 30
|
|
1246
|
+
},
|
|
1247
|
+
"900": {
|
|
1248
|
+
h: 338.93,
|
|
1249
|
+
s: 89.54,
|
|
1250
|
+
l: 28.73
|
|
1251
|
+
},
|
|
1252
|
+
"950": {
|
|
1253
|
+
h: 342.26,
|
|
1254
|
+
s: 94.35,
|
|
1255
|
+
l: 15.6
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
};
|
|
1259
|
+
//#endregion
|
|
1260
|
+
//#region src/palette.ts
|
|
1261
|
+
const SEMANTIC_SCALE_SET = new Set(SEMANTIC_SCALES);
|
|
1262
|
+
const PALETTE_NAME_SET = new Set(COLOR_PALETTES);
|
|
1263
|
+
/**
|
|
1264
|
+
* Build the CSS string that rebinds Bulma's per-variant theming onto the
|
|
1265
|
+
* chosen Tailwind palette catalog.
|
|
1266
|
+
*
|
|
1267
|
+
* Bulma 1.0 reads three groups of CSS variables for theming:
|
|
1268
|
+
* 1. Per-variant **HSL channels** (`--bulma-<scale>-h/s/l`) drive the
|
|
1269
|
+
* auto-derived hover / active / `.is-light` shades on `.button`,
|
|
1270
|
+
* `.tag`, `.notification`, etc. Setting these is what makes the
|
|
1271
|
+
* Bulma side of the bridge respond to runtime palette switches —
|
|
1272
|
+
* pure CSS can't decompose `--vc-color-primary-600` into channels,
|
|
1273
|
+
* but JS can (via the pre-decomposed catalog generated at package
|
|
1274
|
+
* build time).
|
|
1275
|
+
* 2. Direct semantic vars (`--bulma-primary`, `-info`, …) read by
|
|
1276
|
+
* `has-background-*` / `has-text-*` utilities. We re-emit each at
|
|
1277
|
+
* the chosen palette's `-500` shade so utilities stay aligned.
|
|
1278
|
+
* 3. The vuecs design tokens (`--vc-color-<scale>-{50…950}`) — emitted
|
|
1279
|
+
* so consumer-authored CSS that references them follows along, and
|
|
1280
|
+
* so any of the bridge's direct property overrides (`background-color:
|
|
1281
|
+
* var(--vc-color-primary-600)`) re-tint correctly.
|
|
1282
|
+
*
|
|
1283
|
+
* Pure function — works identically on server and client. Returns a
|
|
1284
|
+
* `:root { ... }` block; inject into `<head>` (server) or pass to
|
|
1285
|
+
* `applyColorPaletteCss()` (client).
|
|
1286
|
+
*
|
|
1287
|
+
* Defense-in-depth: filters entries to known semantic scales + Tailwind
|
|
1288
|
+
* palette names so untrusted callers (cookie payloads, hand-edited
|
|
1289
|
+
* localStorage, ad-hoc `setColorPalette({ … })` calls) can't emit
|
|
1290
|
+
* broken declarations.
|
|
1291
|
+
*/
|
|
1292
|
+
function renderColorPaletteStyles(palette) {
|
|
1293
|
+
const entries = Object.entries(palette).filter((entry) => SEMANTIC_SCALE_SET.has(entry[0]) && typeof entry[1] === "string" && PALETTE_NAME_SET.has(entry[1]));
|
|
1294
|
+
if (entries.length === 0) return "";
|
|
1295
|
+
const declarations = [];
|
|
1296
|
+
for (const [scale, paletteName] of entries) {
|
|
1297
|
+
const shades = COLOR_PALETTE_HSL[paletteName];
|
|
1298
|
+
const base = shades["500"];
|
|
1299
|
+
const bulmaScale = scale === "error" ? "danger" : scale;
|
|
1300
|
+
declarations.push(` --bulma-${bulmaScale}-h: ${base.h}deg;`, ` --bulma-${bulmaScale}-s: ${base.s}%;`, ` --bulma-${bulmaScale}-l: ${base.l}%;`);
|
|
1301
|
+
if (scale === "info") declarations.push(` --bulma-link-h: ${base.h}deg;`, ` --bulma-link-s: ${base.s}%;`, ` --bulma-link-l: ${base.l}%;`);
|
|
1302
|
+
const baseHsl = `hsl(${base.h}deg, ${base.s}%, ${base.l}%)`;
|
|
1303
|
+
declarations.push(` --bulma-${bulmaScale}: ${baseHsl};`);
|
|
1304
|
+
if (scale === "info") declarations.push(` --bulma-link: ${baseHsl};`);
|
|
1305
|
+
for (const shade of COLOR_PALETTE_SHADES) {
|
|
1306
|
+
const { h, s, l } = shades[shade];
|
|
1307
|
+
declarations.push(` --vc-color-${scale}-${shade}: hsl(${h}deg, ${s}%, ${l}%);`);
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
return `:root {\n${declarations.join("\n")}\n}\n`;
|
|
1311
|
+
}
|
|
1312
|
+
/**
|
|
1313
|
+
* Apply a Bulma palette override at runtime (client-side). Composes
|
|
1314
|
+
* `@vuecs/design`'s `applyColorPaletteCss()` with our
|
|
1315
|
+
* `renderColorPaletteStyles()` renderer.
|
|
1316
|
+
*
|
|
1317
|
+
* The optional `nonce` parameter wires CSP nonce attribution onto the
|
|
1318
|
+
* `<style id="vc-color-palette">` block. CSP-strict consumers using
|
|
1319
|
+
* `useColorPalette` from `@vuecs/design` pass nonce via
|
|
1320
|
+
* `nonce: () => useConfig('nonce').value`.
|
|
1321
|
+
*
|
|
1322
|
+
* On the server this is a no-op; use `renderColorPaletteStyles()` directly
|
|
1323
|
+
* and inject the result into the SSR response head (or rely on
|
|
1324
|
+
* `@vuecs/nuxt`'s palette server plugin, which dispatches through the
|
|
1325
|
+
* theme runtime).
|
|
1326
|
+
*/
|
|
1327
|
+
function setColorPalette(palette, doc = globalThis.document, nonce) {
|
|
1328
|
+
applyColorPaletteCss(renderColorPaletteStyles(palette), doc, nonce);
|
|
1329
|
+
}
|
|
1330
|
+
//#endregion
|
|
1331
|
+
//#region src/index.ts
|
|
1332
|
+
/**
|
|
1333
|
+
* Bulma theme for vuecs components.
|
|
1334
|
+
*
|
|
1335
|
+
* Targets Bulma 1.0+ (CSS-variable-based theming). The companion
|
|
1336
|
+
* `assets/index.css` bridges `--bulma-*` onto `--vc-color-*` so palette
|
|
1337
|
+
* switches propagate to native Bulma elements alongside vuecs ones.
|
|
1338
|
+
*
|
|
1339
|
+
* Two notable mapping decisions vs. the Bootstrap theme:
|
|
1340
|
+
* - **`ghost` / `link` variants are reversed.** Bulma's `is-ghost`
|
|
1341
|
+
* ships an underlined hyperlink-style button (matching our `link`);
|
|
1342
|
+
* Bulma's `is-text` ships a borderless transparent button
|
|
1343
|
+
* (matching our `ghost`). The mapping here looks inverted at a
|
|
1344
|
+
* glance, but it's the natural reading once you know Bulma's
|
|
1345
|
+
* vocabulary.
|
|
1346
|
+
* - **DropdownMenu / FormSelect content uses `.dropdown-content`,
|
|
1347
|
+
* not `.dropdown-menu`.** Bulma gates `.dropdown-menu` visibility
|
|
1348
|
+
* on the parent `.dropdown.is-active` wrapper. Reka renders the
|
|
1349
|
+
* content via portal — there is no parent — so we apply
|
|
1350
|
+
* `.dropdown-content` (the inner box-styled element) directly,
|
|
1351
|
+
* which is unconditionally visible.
|
|
1352
|
+
*/
|
|
1353
|
+
function bulmaTheme() {
|
|
1354
|
+
return {
|
|
1355
|
+
elements: {
|
|
1356
|
+
formGroup: { classes: {
|
|
1357
|
+
root: "field",
|
|
1358
|
+
label: "label",
|
|
1359
|
+
hint: "help",
|
|
1360
|
+
validationError: "help is-danger",
|
|
1361
|
+
validationWarning: "help is-warning"
|
|
1362
|
+
} },
|
|
1363
|
+
formInput: {
|
|
1364
|
+
classes: {
|
|
1365
|
+
root: "input",
|
|
1366
|
+
group: "field has-addons",
|
|
1367
|
+
groupAppend: "control",
|
|
1368
|
+
groupPrepend: "control"
|
|
1369
|
+
},
|
|
1370
|
+
variants: { size: {
|
|
1371
|
+
sm: { root: "is-small" },
|
|
1372
|
+
md: { root: "" },
|
|
1373
|
+
lg: { root: "is-large" }
|
|
1374
|
+
} },
|
|
1375
|
+
defaultVariants: { size: "md" }
|
|
1376
|
+
},
|
|
1377
|
+
formTextarea: {
|
|
1378
|
+
classes: { root: "textarea" },
|
|
1379
|
+
variants: { size: {
|
|
1380
|
+
sm: { root: "is-small" },
|
|
1381
|
+
md: { root: "" },
|
|
1382
|
+
lg: { root: "is-large" }
|
|
1383
|
+
} },
|
|
1384
|
+
defaultVariants: { size: "md" }
|
|
1385
|
+
},
|
|
1386
|
+
formCheckbox: {
|
|
1387
|
+
classes: {
|
|
1388
|
+
root: "has-background-white",
|
|
1389
|
+
indicator: "has-text-white",
|
|
1390
|
+
label: "",
|
|
1391
|
+
group: "is-inline-flex is-align-items-center"
|
|
1392
|
+
},
|
|
1393
|
+
variants: { size: {
|
|
1394
|
+
sm: {
|
|
1395
|
+
root: "vc-form-checkbox-sm",
|
|
1396
|
+
label: "is-size-7"
|
|
1397
|
+
},
|
|
1398
|
+
md: { root: "" },
|
|
1399
|
+
lg: {
|
|
1400
|
+
root: "vc-form-checkbox-lg",
|
|
1401
|
+
label: "is-size-5"
|
|
1402
|
+
}
|
|
1403
|
+
} },
|
|
1404
|
+
defaultVariants: { size: "md" }
|
|
1405
|
+
},
|
|
1406
|
+
formCheckboxGroup: { classes: { root: "is-flex is-flex-direction-column" } },
|
|
1407
|
+
formSwitch: {
|
|
1408
|
+
classes: {
|
|
1409
|
+
root: "",
|
|
1410
|
+
thumb: "has-background-white",
|
|
1411
|
+
label: "",
|
|
1412
|
+
group: "is-inline-flex is-align-items-center"
|
|
1413
|
+
},
|
|
1414
|
+
variants: { size: {
|
|
1415
|
+
sm: {
|
|
1416
|
+
root: "vc-form-switch-sm",
|
|
1417
|
+
label: "is-size-7"
|
|
1418
|
+
},
|
|
1419
|
+
md: { root: "" },
|
|
1420
|
+
lg: {
|
|
1421
|
+
root: "vc-form-switch-lg",
|
|
1422
|
+
label: "is-size-5"
|
|
1423
|
+
}
|
|
1424
|
+
} },
|
|
1425
|
+
defaultVariants: { size: "md" }
|
|
1426
|
+
},
|
|
1427
|
+
formRadio: {
|
|
1428
|
+
classes: {
|
|
1429
|
+
root: "has-background-white",
|
|
1430
|
+
indicator: "",
|
|
1431
|
+
label: "",
|
|
1432
|
+
group: "is-inline-flex is-align-items-center"
|
|
1433
|
+
},
|
|
1434
|
+
variants: { size: {
|
|
1435
|
+
sm: {
|
|
1436
|
+
root: "vc-form-radio-sm",
|
|
1437
|
+
label: "is-size-7"
|
|
1438
|
+
},
|
|
1439
|
+
md: { root: "" },
|
|
1440
|
+
lg: {
|
|
1441
|
+
root: "vc-form-radio-lg",
|
|
1442
|
+
label: "is-size-5"
|
|
1443
|
+
}
|
|
1444
|
+
} },
|
|
1445
|
+
defaultVariants: { size: "md" }
|
|
1446
|
+
},
|
|
1447
|
+
formRadioGroup: { classes: { root: "is-flex is-flex-direction-column" } },
|
|
1448
|
+
formSelect: {
|
|
1449
|
+
classes: {
|
|
1450
|
+
trigger: "input is-flex is-align-items-center is-justify-content-space-between",
|
|
1451
|
+
value: "is-flex-grow-1",
|
|
1452
|
+
icon: "has-text-grey",
|
|
1453
|
+
content: "dropdown-content",
|
|
1454
|
+
viewport: "p-1",
|
|
1455
|
+
item: "dropdown-item",
|
|
1456
|
+
itemIndicator: "",
|
|
1457
|
+
group: "",
|
|
1458
|
+
groupLabel: "has-text-weight-semibold is-size-7 has-text-grey",
|
|
1459
|
+
separator: "dropdown-divider"
|
|
1460
|
+
},
|
|
1461
|
+
variants: { size: {
|
|
1462
|
+
sm: { trigger: "is-small" },
|
|
1463
|
+
md: { trigger: "" },
|
|
1464
|
+
lg: { trigger: "is-large" }
|
|
1465
|
+
} },
|
|
1466
|
+
defaultVariants: { size: "md" }
|
|
1467
|
+
},
|
|
1468
|
+
formSelectSearch: { classes: {
|
|
1469
|
+
root: "is-relative",
|
|
1470
|
+
input: "input",
|
|
1471
|
+
content: "dropdown-content",
|
|
1472
|
+
item: "dropdown-item is-flex is-flex-direction-column",
|
|
1473
|
+
itemActive: "is-active",
|
|
1474
|
+
itemCurrent: "has-background-light",
|
|
1475
|
+
itemDescription: "is-size-7 has-text-grey",
|
|
1476
|
+
selected: "is-flex is-flex-wrap-wrap mt-2",
|
|
1477
|
+
selectedItem: "tag is-light is-rounded",
|
|
1478
|
+
selectedItemRemove: "has-text-weight-bold"
|
|
1479
|
+
} },
|
|
1480
|
+
formPin: { classes: {
|
|
1481
|
+
root: "is-inline-flex is-align-items-center",
|
|
1482
|
+
input: "has-background-white has-text-centered has-text-weight-semibold"
|
|
1483
|
+
} },
|
|
1484
|
+
formSlider: { classes: {
|
|
1485
|
+
root: "",
|
|
1486
|
+
track: "",
|
|
1487
|
+
range: "",
|
|
1488
|
+
thumb: ""
|
|
1489
|
+
} },
|
|
1490
|
+
formNumber: {
|
|
1491
|
+
classes: {
|
|
1492
|
+
root: "field has-addons",
|
|
1493
|
+
input: "input has-text-centered",
|
|
1494
|
+
decrement: "button",
|
|
1495
|
+
increment: "button"
|
|
1496
|
+
},
|
|
1497
|
+
variants: { size: {
|
|
1498
|
+
sm: {
|
|
1499
|
+
input: "is-small",
|
|
1500
|
+
decrement: "is-small",
|
|
1501
|
+
increment: "is-small"
|
|
1502
|
+
},
|
|
1503
|
+
md: { input: "" },
|
|
1504
|
+
lg: {
|
|
1505
|
+
input: "is-large",
|
|
1506
|
+
decrement: "is-large",
|
|
1507
|
+
increment: "is-large"
|
|
1508
|
+
}
|
|
1509
|
+
} },
|
|
1510
|
+
defaultVariants: { size: "md" }
|
|
1511
|
+
},
|
|
1512
|
+
formTags: {
|
|
1513
|
+
classes: {
|
|
1514
|
+
root: "input is-flex is-flex-wrap-wrap is-align-items-center",
|
|
1515
|
+
item: "tag is-primary is-rounded is-flex is-align-items-center",
|
|
1516
|
+
itemText: "",
|
|
1517
|
+
itemDelete: "is-inline-flex is-align-items-center is-justify-content-center has-background-transparent has-text-white p-0 ml-1",
|
|
1518
|
+
input: "is-flex-grow-1 has-background-transparent"
|
|
1519
|
+
},
|
|
1520
|
+
variants: { size: {
|
|
1521
|
+
sm: {
|
|
1522
|
+
root: "is-small",
|
|
1523
|
+
item: "is-size-7"
|
|
1524
|
+
},
|
|
1525
|
+
md: { root: "" },
|
|
1526
|
+
lg: {
|
|
1527
|
+
root: "is-large",
|
|
1528
|
+
item: "is-size-6"
|
|
1529
|
+
}
|
|
1530
|
+
} },
|
|
1531
|
+
defaultVariants: { size: "md" }
|
|
1532
|
+
},
|
|
1533
|
+
button: {
|
|
1534
|
+
classes: { root: "button is-inline-flex is-align-items-center is-justify-content-center is-gap-2" },
|
|
1535
|
+
variants: { size: {
|
|
1536
|
+
sm: { root: "is-small" },
|
|
1537
|
+
md: { root: "" },
|
|
1538
|
+
lg: { root: "is-large" }
|
|
1539
|
+
} },
|
|
1540
|
+
compoundVariants: [
|
|
1541
|
+
{
|
|
1542
|
+
variants: {
|
|
1543
|
+
variant: "solid",
|
|
1544
|
+
color: "primary"
|
|
1545
|
+
},
|
|
1546
|
+
class: { root: "is-primary" }
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
variants: {
|
|
1550
|
+
variant: "solid",
|
|
1551
|
+
color: "neutral"
|
|
1552
|
+
},
|
|
1553
|
+
class: { root: "" }
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
variants: {
|
|
1557
|
+
variant: "solid",
|
|
1558
|
+
color: "success"
|
|
1559
|
+
},
|
|
1560
|
+
class: { root: "is-success" }
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
variants: {
|
|
1564
|
+
variant: "solid",
|
|
1565
|
+
color: "warning"
|
|
1566
|
+
},
|
|
1567
|
+
class: { root: "is-warning" }
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
variants: {
|
|
1571
|
+
variant: "solid",
|
|
1572
|
+
color: "error"
|
|
1573
|
+
},
|
|
1574
|
+
class: { root: "is-danger" }
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
variants: {
|
|
1578
|
+
variant: "solid",
|
|
1579
|
+
color: "info"
|
|
1580
|
+
},
|
|
1581
|
+
class: { root: "is-info" }
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
variants: {
|
|
1585
|
+
variant: "soft",
|
|
1586
|
+
color: "primary"
|
|
1587
|
+
},
|
|
1588
|
+
class: { root: "is-primary is-light" }
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
variants: {
|
|
1592
|
+
variant: "soft",
|
|
1593
|
+
color: "neutral"
|
|
1594
|
+
},
|
|
1595
|
+
class: { root: "is-light" }
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
variants: {
|
|
1599
|
+
variant: "soft",
|
|
1600
|
+
color: "success"
|
|
1601
|
+
},
|
|
1602
|
+
class: { root: "is-success is-light" }
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
variants: {
|
|
1606
|
+
variant: "soft",
|
|
1607
|
+
color: "warning"
|
|
1608
|
+
},
|
|
1609
|
+
class: { root: "is-warning is-light" }
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
variants: {
|
|
1613
|
+
variant: "soft",
|
|
1614
|
+
color: "error"
|
|
1615
|
+
},
|
|
1616
|
+
class: { root: "is-danger is-light" }
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
variants: {
|
|
1620
|
+
variant: "soft",
|
|
1621
|
+
color: "info"
|
|
1622
|
+
},
|
|
1623
|
+
class: { root: "is-info is-light" }
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
variants: {
|
|
1627
|
+
variant: "outline",
|
|
1628
|
+
color: "primary"
|
|
1629
|
+
},
|
|
1630
|
+
class: { root: "is-primary is-outlined" }
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
variants: {
|
|
1634
|
+
variant: "outline",
|
|
1635
|
+
color: "neutral"
|
|
1636
|
+
},
|
|
1637
|
+
class: { root: "is-outlined" }
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
variants: {
|
|
1641
|
+
variant: "outline",
|
|
1642
|
+
color: "success"
|
|
1643
|
+
},
|
|
1644
|
+
class: { root: "is-success is-outlined" }
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
variants: {
|
|
1648
|
+
variant: "outline",
|
|
1649
|
+
color: "warning"
|
|
1650
|
+
},
|
|
1651
|
+
class: { root: "is-warning is-outlined" }
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
variants: {
|
|
1655
|
+
variant: "outline",
|
|
1656
|
+
color: "error"
|
|
1657
|
+
},
|
|
1658
|
+
class: { root: "is-danger is-outlined" }
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
variants: {
|
|
1662
|
+
variant: "outline",
|
|
1663
|
+
color: "info"
|
|
1664
|
+
},
|
|
1665
|
+
class: { root: "is-info is-outlined" }
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
variants: {
|
|
1669
|
+
variant: "ghost",
|
|
1670
|
+
color: "primary"
|
|
1671
|
+
},
|
|
1672
|
+
class: { root: "is-text has-text-primary" }
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
variants: {
|
|
1676
|
+
variant: "ghost",
|
|
1677
|
+
color: "neutral"
|
|
1678
|
+
},
|
|
1679
|
+
class: { root: "is-text" }
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
variants: {
|
|
1683
|
+
variant: "ghost",
|
|
1684
|
+
color: "success"
|
|
1685
|
+
},
|
|
1686
|
+
class: { root: "is-text has-text-success" }
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
variants: {
|
|
1690
|
+
variant: "ghost",
|
|
1691
|
+
color: "warning"
|
|
1692
|
+
},
|
|
1693
|
+
class: { root: "is-text has-text-warning" }
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
variants: {
|
|
1697
|
+
variant: "ghost",
|
|
1698
|
+
color: "error"
|
|
1699
|
+
},
|
|
1700
|
+
class: { root: "is-text has-text-danger" }
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
variants: {
|
|
1704
|
+
variant: "ghost",
|
|
1705
|
+
color: "info"
|
|
1706
|
+
},
|
|
1707
|
+
class: { root: "is-text has-text-info" }
|
|
1708
|
+
},
|
|
1709
|
+
{
|
|
1710
|
+
variants: {
|
|
1711
|
+
variant: "link",
|
|
1712
|
+
color: "primary"
|
|
1713
|
+
},
|
|
1714
|
+
class: { root: "is-ghost has-text-primary" }
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
variants: {
|
|
1718
|
+
variant: "link",
|
|
1719
|
+
color: "neutral"
|
|
1720
|
+
},
|
|
1721
|
+
class: { root: "is-ghost" }
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
variants: {
|
|
1725
|
+
variant: "link",
|
|
1726
|
+
color: "success"
|
|
1727
|
+
},
|
|
1728
|
+
class: { root: "is-ghost has-text-success" }
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
variants: {
|
|
1732
|
+
variant: "link",
|
|
1733
|
+
color: "warning"
|
|
1734
|
+
},
|
|
1735
|
+
class: { root: "is-ghost has-text-warning" }
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
variants: {
|
|
1739
|
+
variant: "link",
|
|
1740
|
+
color: "error"
|
|
1741
|
+
},
|
|
1742
|
+
class: { root: "is-ghost has-text-danger" }
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
variants: {
|
|
1746
|
+
variant: "link",
|
|
1747
|
+
color: "info"
|
|
1748
|
+
},
|
|
1749
|
+
class: { root: "is-ghost has-text-info" }
|
|
1750
|
+
}
|
|
1751
|
+
],
|
|
1752
|
+
defaultVariants: {
|
|
1753
|
+
variant: "solid",
|
|
1754
|
+
color: "primary",
|
|
1755
|
+
size: "md"
|
|
1756
|
+
}
|
|
1757
|
+
},
|
|
1758
|
+
list: {
|
|
1759
|
+
classes: {
|
|
1760
|
+
root: "is-flex is-flex-direction-column is-relative",
|
|
1761
|
+
header: "is-flex is-align-items-center",
|
|
1762
|
+
footer: "is-flex is-align-items-center"
|
|
1763
|
+
},
|
|
1764
|
+
variants: { density: {
|
|
1765
|
+
compact: { root: "" },
|
|
1766
|
+
normal: { root: "" },
|
|
1767
|
+
spacious: { root: "" }
|
|
1768
|
+
} },
|
|
1769
|
+
defaultVariants: { density: "normal" }
|
|
1770
|
+
},
|
|
1771
|
+
listBody: { classes: { root: "m-0 p-0" } },
|
|
1772
|
+
listItem: {
|
|
1773
|
+
classes: {
|
|
1774
|
+
root: "is-flex is-flex-direction-row is-align-items-center",
|
|
1775
|
+
text: "is-inline-flex is-flex-direction-column is-flex-grow-1",
|
|
1776
|
+
actions: "is-inline-flex is-align-items-center"
|
|
1777
|
+
},
|
|
1778
|
+
variants: {
|
|
1779
|
+
density: {
|
|
1780
|
+
compact: { root: "py-0" },
|
|
1781
|
+
normal: { root: "py-1" },
|
|
1782
|
+
spacious: { root: "py-3" }
|
|
1783
|
+
},
|
|
1784
|
+
disabled: { true: { root: "has-text-grey-light" } },
|
|
1785
|
+
active: { true: { root: "has-background-primary-light has-text-primary" } },
|
|
1786
|
+
selected: { true: { root: "has-background-grey-lighter" } }
|
|
1787
|
+
},
|
|
1788
|
+
defaultVariants: { density: "normal" }
|
|
1789
|
+
},
|
|
1790
|
+
listLoading: {
|
|
1791
|
+
classes: { root: "py-2 has-text-centered has-text-grey is-size-7" },
|
|
1792
|
+
variants: { overlay: { true: { root: "is-overlay is-flex is-align-items-center is-justify-content-center has-background-white-bis" } } }
|
|
1793
|
+
},
|
|
1794
|
+
listEmpty: { classes: { root: "notification is-warning is-light is-size-7 p-2" } },
|
|
1795
|
+
navigation: {
|
|
1796
|
+
classes: {
|
|
1797
|
+
group: "menu-list",
|
|
1798
|
+
link: ""
|
|
1799
|
+
},
|
|
1800
|
+
variants: { size: {
|
|
1801
|
+
sm: { link: "is-size-7" },
|
|
1802
|
+
md: { link: "" },
|
|
1803
|
+
lg: { link: "is-size-6" }
|
|
1804
|
+
} },
|
|
1805
|
+
defaultVariants: { size: "md" }
|
|
1806
|
+
},
|
|
1807
|
+
separator: { classes: { root: "m-0" } },
|
|
1808
|
+
tag: {
|
|
1809
|
+
classes: {
|
|
1810
|
+
root: "tag is-primary is-rounded is-flex is-align-items-center",
|
|
1811
|
+
icon: "is-inline-flex is-align-items-center",
|
|
1812
|
+
remove: "is-inline-flex is-align-items-center is-justify-content-center has-background-transparent has-text-white p-0"
|
|
1813
|
+
},
|
|
1814
|
+
variants: { size: {
|
|
1815
|
+
sm: { root: "" },
|
|
1816
|
+
md: { root: "is-medium" },
|
|
1817
|
+
lg: { root: "is-large" }
|
|
1818
|
+
} },
|
|
1819
|
+
defaultVariants: { size: "md" }
|
|
1820
|
+
},
|
|
1821
|
+
tags: {
|
|
1822
|
+
classes: {
|
|
1823
|
+
root: "tags",
|
|
1824
|
+
item: ""
|
|
1825
|
+
},
|
|
1826
|
+
variants: { size: {
|
|
1827
|
+
sm: { root: "" },
|
|
1828
|
+
md: { root: "are-medium" },
|
|
1829
|
+
lg: { root: "are-large" }
|
|
1830
|
+
} },
|
|
1831
|
+
defaultVariants: { size: "md" }
|
|
1832
|
+
},
|
|
1833
|
+
avatar: {
|
|
1834
|
+
classes: {
|
|
1835
|
+
root: "is-inline-flex is-align-items-center is-justify-content-center has-background-light has-text-grey-dark",
|
|
1836
|
+
image: "is-flex-grow-1",
|
|
1837
|
+
fallback: "is-inline-flex is-align-items-center is-justify-content-center has-text-weight-medium is-size-7"
|
|
1838
|
+
},
|
|
1839
|
+
variants: { size: {
|
|
1840
|
+
sm: { root: "vc-avatar-sm" },
|
|
1841
|
+
md: { root: "" },
|
|
1842
|
+
lg: { root: "vc-avatar-lg" }
|
|
1843
|
+
} },
|
|
1844
|
+
defaultVariants: { size: "md" }
|
|
1845
|
+
},
|
|
1846
|
+
aspectRatio: { classes: { root: "is-block" } },
|
|
1847
|
+
gravatar: { classes: { root: "is-inline-block" } },
|
|
1848
|
+
card: {
|
|
1849
|
+
classes: { root: "box" },
|
|
1850
|
+
variants: {
|
|
1851
|
+
variant: {
|
|
1852
|
+
outline: { root: "has-shadow-none vc-card-outline" },
|
|
1853
|
+
soft: { root: "vc-card-soft has-shadow-none" },
|
|
1854
|
+
elevated: { root: "" }
|
|
1855
|
+
},
|
|
1856
|
+
interactive: { true: { root: "vc-card-interactive" } }
|
|
1857
|
+
},
|
|
1858
|
+
defaultVariants: { variant: "outline" }
|
|
1859
|
+
},
|
|
1860
|
+
cardHeader: {
|
|
1861
|
+
variants: { padding: {
|
|
1862
|
+
compact: { root: "py-2 px-3" },
|
|
1863
|
+
normal: { root: "py-3 px-4" },
|
|
1864
|
+
spacious: { root: "py-4 px-5" }
|
|
1865
|
+
} },
|
|
1866
|
+
defaultVariants: { padding: "normal" }
|
|
1867
|
+
},
|
|
1868
|
+
cardTitle: { classes: { root: "title is-5 mb-0" } },
|
|
1869
|
+
cardDescription: { classes: { root: "subtitle is-6 has-text-grey mb-0" } },
|
|
1870
|
+
cardBody: {
|
|
1871
|
+
variants: { padding: {
|
|
1872
|
+
compact: { root: "py-3 px-3" },
|
|
1873
|
+
normal: { root: "py-4 px-4" },
|
|
1874
|
+
spacious: { root: "py-5 px-5" }
|
|
1875
|
+
} },
|
|
1876
|
+
defaultVariants: { padding: "normal" }
|
|
1877
|
+
},
|
|
1878
|
+
cardFooter: {
|
|
1879
|
+
classes: { root: "vc-card-footer is-flex is-justify-content-flex-end" },
|
|
1880
|
+
variants: { padding: {
|
|
1881
|
+
compact: { root: "py-2 px-3" },
|
|
1882
|
+
normal: { root: "py-3 px-4" },
|
|
1883
|
+
spacious: { root: "py-4 px-5" }
|
|
1884
|
+
} },
|
|
1885
|
+
defaultVariants: { padding: "normal" }
|
|
1886
|
+
},
|
|
1887
|
+
collapse: { classes: { root: "" } },
|
|
1888
|
+
collapseTrigger: {
|
|
1889
|
+
classes: {
|
|
1890
|
+
root: "is-inline-flex is-align-items-center button is-text px-0",
|
|
1891
|
+
chevron: "is-size-7"
|
|
1892
|
+
},
|
|
1893
|
+
variants: { chevron: {
|
|
1894
|
+
auto: { chevron: "is-inline-flex" },
|
|
1895
|
+
none: { chevron: "is-hidden" }
|
|
1896
|
+
} },
|
|
1897
|
+
defaultVariants: { chevron: "auto" }
|
|
1898
|
+
},
|
|
1899
|
+
collapseContent: { classes: { root: "vc-collapse-anim" } },
|
|
1900
|
+
alert: {
|
|
1901
|
+
classes: {
|
|
1902
|
+
root: "notification is-flex is-align-items-flex-start mb-0 is-relative",
|
|
1903
|
+
icon: "is-flex is-flex-shrink-0 is-align-items-center is-justify-content-center mr-3",
|
|
1904
|
+
content: "is-flex-grow-1 is-flex is-flex-direction-column",
|
|
1905
|
+
closeIcon: "delete is-small",
|
|
1906
|
+
close: "button is-small is-text"
|
|
1907
|
+
},
|
|
1908
|
+
variants: { size: {
|
|
1909
|
+
sm: { root: "is-size-7" },
|
|
1910
|
+
md: { root: "" },
|
|
1911
|
+
lg: { root: "is-size-5" }
|
|
1912
|
+
} },
|
|
1913
|
+
compoundVariants: [
|
|
1914
|
+
{
|
|
1915
|
+
variants: {
|
|
1916
|
+
variant: "solid",
|
|
1917
|
+
color: "primary"
|
|
1918
|
+
},
|
|
1919
|
+
class: { root: "is-primary" }
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
variants: {
|
|
1923
|
+
variant: "solid",
|
|
1924
|
+
color: "neutral"
|
|
1925
|
+
},
|
|
1926
|
+
class: { root: "is-dark" }
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
variants: {
|
|
1930
|
+
variant: "solid",
|
|
1931
|
+
color: "success"
|
|
1932
|
+
},
|
|
1933
|
+
class: { root: "is-success" }
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
variants: {
|
|
1937
|
+
variant: "solid",
|
|
1938
|
+
color: "warning"
|
|
1939
|
+
},
|
|
1940
|
+
class: { root: "is-warning" }
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
variants: {
|
|
1944
|
+
variant: "solid",
|
|
1945
|
+
color: "error"
|
|
1946
|
+
},
|
|
1947
|
+
class: { root: "is-danger" }
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
variants: {
|
|
1951
|
+
variant: "solid",
|
|
1952
|
+
color: "info"
|
|
1953
|
+
},
|
|
1954
|
+
class: { root: "is-info" }
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
variants: {
|
|
1958
|
+
variant: "soft",
|
|
1959
|
+
color: "primary"
|
|
1960
|
+
},
|
|
1961
|
+
class: { root: "is-primary is-light" }
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
variants: {
|
|
1965
|
+
variant: "soft",
|
|
1966
|
+
color: "neutral"
|
|
1967
|
+
},
|
|
1968
|
+
class: { root: "is-light" }
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
variants: {
|
|
1972
|
+
variant: "soft",
|
|
1973
|
+
color: "success"
|
|
1974
|
+
},
|
|
1975
|
+
class: { root: "is-success is-light" }
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
variants: {
|
|
1979
|
+
variant: "soft",
|
|
1980
|
+
color: "warning"
|
|
1981
|
+
},
|
|
1982
|
+
class: { root: "is-warning is-light" }
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
variants: {
|
|
1986
|
+
variant: "soft",
|
|
1987
|
+
color: "error"
|
|
1988
|
+
},
|
|
1989
|
+
class: { root: "is-danger is-light" }
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
variants: {
|
|
1993
|
+
variant: "soft",
|
|
1994
|
+
color: "info"
|
|
1995
|
+
},
|
|
1996
|
+
class: { root: "is-info is-light" }
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
variants: {
|
|
2000
|
+
variant: "outline",
|
|
2001
|
+
color: "primary"
|
|
2002
|
+
},
|
|
2003
|
+
class: { root: "vc-toast-outline-primary" }
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
variants: {
|
|
2007
|
+
variant: "outline",
|
|
2008
|
+
color: "neutral"
|
|
2009
|
+
},
|
|
2010
|
+
class: { root: "vc-toast-outline-neutral" }
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
variants: {
|
|
2014
|
+
variant: "outline",
|
|
2015
|
+
color: "success"
|
|
2016
|
+
},
|
|
2017
|
+
class: { root: "vc-toast-outline-success" }
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
variants: {
|
|
2021
|
+
variant: "outline",
|
|
2022
|
+
color: "warning"
|
|
2023
|
+
},
|
|
2024
|
+
class: { root: "vc-toast-outline-warning" }
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
variants: {
|
|
2028
|
+
variant: "outline",
|
|
2029
|
+
color: "error"
|
|
2030
|
+
},
|
|
2031
|
+
class: { root: "vc-toast-outline-error" }
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
variants: {
|
|
2035
|
+
variant: "outline",
|
|
2036
|
+
color: "info"
|
|
2037
|
+
},
|
|
2038
|
+
class: { root: "vc-toast-outline-info" }
|
|
2039
|
+
}
|
|
2040
|
+
],
|
|
2041
|
+
defaultVariants: {
|
|
2042
|
+
variant: "soft",
|
|
2043
|
+
color: "neutral",
|
|
2044
|
+
size: "md"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
alertTitle: { classes: { root: "has-text-weight-semibold mb-1" } },
|
|
2048
|
+
alertDescription: { classes: { root: "mb-0" } },
|
|
2049
|
+
badge: {
|
|
2050
|
+
classes: { root: "tag is-rounded vc-badge" },
|
|
2051
|
+
variants: { size: {
|
|
2052
|
+
sm: { root: "" },
|
|
2053
|
+
md: { root: "is-medium" },
|
|
2054
|
+
lg: { root: "is-large" }
|
|
2055
|
+
} },
|
|
2056
|
+
compoundVariants: [
|
|
2057
|
+
{
|
|
2058
|
+
variants: {
|
|
2059
|
+
variant: "solid",
|
|
2060
|
+
color: "primary"
|
|
2061
|
+
},
|
|
2062
|
+
class: { root: "is-primary" }
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
variants: {
|
|
2066
|
+
variant: "solid",
|
|
2067
|
+
color: "neutral"
|
|
2068
|
+
},
|
|
2069
|
+
class: { root: "is-dark" }
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
variants: {
|
|
2073
|
+
variant: "solid",
|
|
2074
|
+
color: "success"
|
|
2075
|
+
},
|
|
2076
|
+
class: { root: "is-success" }
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
variants: {
|
|
2080
|
+
variant: "solid",
|
|
2081
|
+
color: "warning"
|
|
2082
|
+
},
|
|
2083
|
+
class: { root: "is-warning" }
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
variants: {
|
|
2087
|
+
variant: "solid",
|
|
2088
|
+
color: "error"
|
|
2089
|
+
},
|
|
2090
|
+
class: { root: "is-danger" }
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
variants: {
|
|
2094
|
+
variant: "solid",
|
|
2095
|
+
color: "info"
|
|
2096
|
+
},
|
|
2097
|
+
class: { root: "is-info" }
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
variants: {
|
|
2101
|
+
variant: "soft",
|
|
2102
|
+
color: "primary"
|
|
2103
|
+
},
|
|
2104
|
+
class: { root: "is-primary is-light" }
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
variants: {
|
|
2108
|
+
variant: "soft",
|
|
2109
|
+
color: "neutral"
|
|
2110
|
+
},
|
|
2111
|
+
class: { root: "is-light" }
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
variants: {
|
|
2115
|
+
variant: "soft",
|
|
2116
|
+
color: "success"
|
|
2117
|
+
},
|
|
2118
|
+
class: { root: "is-success is-light" }
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
variants: {
|
|
2122
|
+
variant: "soft",
|
|
2123
|
+
color: "warning"
|
|
2124
|
+
},
|
|
2125
|
+
class: { root: "is-warning is-light" }
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
variants: {
|
|
2129
|
+
variant: "soft",
|
|
2130
|
+
color: "error"
|
|
2131
|
+
},
|
|
2132
|
+
class: { root: "is-danger is-light" }
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
variants: {
|
|
2136
|
+
variant: "soft",
|
|
2137
|
+
color: "info"
|
|
2138
|
+
},
|
|
2139
|
+
class: { root: "is-info is-light" }
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
variants: {
|
|
2143
|
+
variant: "outline",
|
|
2144
|
+
color: "primary"
|
|
2145
|
+
},
|
|
2146
|
+
class: { root: "vc-badge-outline vc-badge-outline-primary" }
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
variants: {
|
|
2150
|
+
variant: "outline",
|
|
2151
|
+
color: "neutral"
|
|
2152
|
+
},
|
|
2153
|
+
class: { root: "vc-badge-outline vc-badge-outline-neutral" }
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
variants: {
|
|
2157
|
+
variant: "outline",
|
|
2158
|
+
color: "success"
|
|
2159
|
+
},
|
|
2160
|
+
class: { root: "vc-badge-outline vc-badge-outline-success" }
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
variants: {
|
|
2164
|
+
variant: "outline",
|
|
2165
|
+
color: "warning"
|
|
2166
|
+
},
|
|
2167
|
+
class: { root: "vc-badge-outline vc-badge-outline-warning" }
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
variants: {
|
|
2171
|
+
variant: "outline",
|
|
2172
|
+
color: "error"
|
|
2173
|
+
},
|
|
2174
|
+
class: { root: "vc-badge-outline vc-badge-outline-error" }
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
variants: {
|
|
2178
|
+
variant: "outline",
|
|
2179
|
+
color: "info"
|
|
2180
|
+
},
|
|
2181
|
+
class: { root: "vc-badge-outline vc-badge-outline-info" }
|
|
2182
|
+
}
|
|
2183
|
+
],
|
|
2184
|
+
defaultVariants: {
|
|
2185
|
+
variant: "soft",
|
|
2186
|
+
color: "neutral",
|
|
2187
|
+
size: "md"
|
|
2188
|
+
}
|
|
2189
|
+
},
|
|
2190
|
+
table: {
|
|
2191
|
+
classes: { root: "table is-fullwidth" },
|
|
2192
|
+
variants: {
|
|
2193
|
+
density: {
|
|
2194
|
+
compact: { root: "is-narrow" },
|
|
2195
|
+
normal: { root: "" },
|
|
2196
|
+
spacious: { root: "" }
|
|
2197
|
+
},
|
|
2198
|
+
striped: { true: { root: "is-striped" } },
|
|
2199
|
+
bordered: { true: { root: "is-bordered" } },
|
|
2200
|
+
hover: { true: { root: "is-hoverable" } },
|
|
2201
|
+
stickyHeader: { true: { root: "vc-table-sticky-header" } }
|
|
2202
|
+
},
|
|
2203
|
+
defaultVariants: { density: "normal" }
|
|
2204
|
+
},
|
|
2205
|
+
tableHeader: { classes: { root: "is-uppercase has-text-grey is-size-7" } },
|
|
2206
|
+
tableBody: { classes: { root: "" } },
|
|
2207
|
+
tableFooter: { classes: { root: "has-text-weight-medium" } },
|
|
2208
|
+
tableRow: { variants: {
|
|
2209
|
+
disabled: { true: { root: "vc-table-row-disabled" } },
|
|
2210
|
+
selected: { true: { root: "is-selected" } },
|
|
2211
|
+
focused: { true: { root: "vc-table-row-focused" } },
|
|
2212
|
+
rowVariant: {
|
|
2213
|
+
success: { root: "has-background-success-light" },
|
|
2214
|
+
warning: { root: "has-background-warning-light" },
|
|
2215
|
+
error: { root: "has-background-danger-light" },
|
|
2216
|
+
info: { root: "has-background-info-light" },
|
|
2217
|
+
neutral: { root: "has-background-light" },
|
|
2218
|
+
primary: { root: "has-background-primary-light" }
|
|
2219
|
+
}
|
|
2220
|
+
} },
|
|
2221
|
+
tableCell: { variants: {
|
|
2222
|
+
align: {
|
|
2223
|
+
left: { root: "has-text-left" },
|
|
2224
|
+
center: { root: "has-text-centered" },
|
|
2225
|
+
right: { root: "has-text-right" }
|
|
2226
|
+
},
|
|
2227
|
+
stickyColumn: { true: { root: "vc-table-sticky-column" } },
|
|
2228
|
+
cellVariant: {
|
|
2229
|
+
success: { root: "has-text-success" },
|
|
2230
|
+
warning: { root: "has-text-warning" },
|
|
2231
|
+
error: { root: "has-text-danger" },
|
|
2232
|
+
info: { root: "has-text-info" },
|
|
2233
|
+
neutral: { root: "has-text-grey" },
|
|
2234
|
+
primary: { root: "has-text-primary" }
|
|
2235
|
+
}
|
|
2236
|
+
} },
|
|
2237
|
+
tableHeadCell: {
|
|
2238
|
+
classes: { sortIcon: "ml-1 is-size-7" },
|
|
2239
|
+
variants: {
|
|
2240
|
+
align: {
|
|
2241
|
+
left: { root: "has-text-left" },
|
|
2242
|
+
center: { root: "has-text-centered" },
|
|
2243
|
+
right: { root: "has-text-right" }
|
|
2244
|
+
},
|
|
2245
|
+
stickyColumn: { true: { root: "vc-table-sticky-column" } },
|
|
2246
|
+
sorted: {
|
|
2247
|
+
asc: { root: "vc-table-sort-asc" },
|
|
2248
|
+
desc: { root: "vc-table-sort-desc" },
|
|
2249
|
+
none: { root: "" }
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
tableEmpty: {
|
|
2254
|
+
classes: { root: "" },
|
|
2255
|
+
variants: { filtered: {
|
|
2256
|
+
true: { root: "has-text-centered has-text-grey is-italic py-5" },
|
|
2257
|
+
false: { root: "has-text-centered has-text-grey py-5" }
|
|
2258
|
+
} }
|
|
2259
|
+
},
|
|
2260
|
+
tableLoading: { classes: {
|
|
2261
|
+
root: "has-text-centered has-text-grey py-5",
|
|
2262
|
+
overlay: "vc-table-loading-overlay-bulma"
|
|
2263
|
+
} },
|
|
2264
|
+
tableSortIndicators: { classes: {
|
|
2265
|
+
root: "vc-table-sort-indicators-bulma",
|
|
2266
|
+
label: "has-text-weight-semibold has-text-grey mr-1",
|
|
2267
|
+
empty: "is-italic has-text-grey",
|
|
2268
|
+
chip: "tag is-medium is-rounded is-light vc-table-sort-indicators-chip-bulma",
|
|
2269
|
+
chipToggle: "button is-small is-rounded vc-table-sort-indicators-chip-toggle-bulma",
|
|
2270
|
+
chipPosition: "has-text-weight-bold has-text-grey is-size-7",
|
|
2271
|
+
chipLabel: "",
|
|
2272
|
+
chipArrow: "has-text-weight-bold has-text-primary",
|
|
2273
|
+
chipRemove: "button is-small is-rounded vc-table-sort-indicators-chip-remove-bulma",
|
|
2274
|
+
addWrapper: "select is-small is-rounded",
|
|
2275
|
+
add: "",
|
|
2276
|
+
clear: "button is-small is-text ml-auto"
|
|
2277
|
+
} },
|
|
2278
|
+
pagination: {
|
|
2279
|
+
classes: {
|
|
2280
|
+
root: "pagination-list is-flex is-justify-content-center",
|
|
2281
|
+
item: "",
|
|
2282
|
+
link: "pagination-link",
|
|
2283
|
+
linkActive: "is-current",
|
|
2284
|
+
ellipsis: "pagination-ellipsis"
|
|
2285
|
+
},
|
|
2286
|
+
variants: {
|
|
2287
|
+
variant: {
|
|
2288
|
+
outline: { link: "" },
|
|
2289
|
+
soft: { link: "is-light" },
|
|
2290
|
+
ghost: { link: "is-text" }
|
|
2291
|
+
},
|
|
2292
|
+
size: {
|
|
2293
|
+
sm: { root: "is-small" },
|
|
2294
|
+
md: { root: "" },
|
|
2295
|
+
lg: { root: "is-large" }
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
defaultVariants: {
|
|
2299
|
+
variant: "outline",
|
|
2300
|
+
size: "md"
|
|
2301
|
+
}
|
|
2302
|
+
},
|
|
2303
|
+
modal: {
|
|
2304
|
+
classes: {
|
|
2305
|
+
overlay: "modal-background vc-overlay-fade-anim",
|
|
2306
|
+
content: "modal-content has-background-white p-5 vc-overlay-anim",
|
|
2307
|
+
header: "is-flex is-flex-direction-column",
|
|
2308
|
+
title: "title is-5",
|
|
2309
|
+
description: "subtitle is-size-7 has-text-grey",
|
|
2310
|
+
body: "is-flex is-flex-direction-column",
|
|
2311
|
+
footer: "is-flex is-align-items-center is-justify-content-flex-end",
|
|
2312
|
+
trigger: "",
|
|
2313
|
+
close: "",
|
|
2314
|
+
closeIcon: "delete is-medium",
|
|
2315
|
+
back: "button is-small is-ghost"
|
|
2316
|
+
},
|
|
2317
|
+
variants: { size: {
|
|
2318
|
+
sm: { content: "modal-sm" },
|
|
2319
|
+
md: { content: "" },
|
|
2320
|
+
lg: { content: "modal-lg" },
|
|
2321
|
+
xl: { content: "modal-xl" }
|
|
2322
|
+
} },
|
|
2323
|
+
defaultVariants: { size: "md" }
|
|
2324
|
+
},
|
|
2325
|
+
popover: {
|
|
2326
|
+
classes: {
|
|
2327
|
+
trigger: "",
|
|
2328
|
+
content: "box vc-overlay-anim",
|
|
2329
|
+
arrow: "",
|
|
2330
|
+
close: "",
|
|
2331
|
+
closeIcon: "delete"
|
|
2332
|
+
},
|
|
2333
|
+
variants: { size: {
|
|
2334
|
+
sm: { content: "is-size-7 p-2" },
|
|
2335
|
+
md: { content: "" },
|
|
2336
|
+
lg: { content: "is-size-6 p-5" }
|
|
2337
|
+
} },
|
|
2338
|
+
defaultVariants: { size: "md" }
|
|
2339
|
+
},
|
|
2340
|
+
hoverCard: {
|
|
2341
|
+
classes: {
|
|
2342
|
+
trigger: "",
|
|
2343
|
+
content: "box vc-overlay-anim",
|
|
2344
|
+
arrow: ""
|
|
2345
|
+
},
|
|
2346
|
+
variants: { size: {
|
|
2347
|
+
sm: { content: "is-size-7 p-2" },
|
|
2348
|
+
md: { content: "" },
|
|
2349
|
+
lg: { content: "is-size-6 p-5" }
|
|
2350
|
+
} },
|
|
2351
|
+
defaultVariants: { size: "md" }
|
|
2352
|
+
},
|
|
2353
|
+
toastViewport: {
|
|
2354
|
+
classes: { root: "is-flex is-flex-direction-column m-0 p-4 vc-toast-viewport-fixed" },
|
|
2355
|
+
variants: { position: {
|
|
2356
|
+
"top-left": { root: "vc-toast-viewport-top-left" },
|
|
2357
|
+
"top-right": { root: "vc-toast-viewport-top-right" },
|
|
2358
|
+
"top-center": { root: "vc-toast-viewport-top-center" },
|
|
2359
|
+
"bottom-left": { root: "vc-toast-viewport-bottom-left is-flex-direction-column-reverse" },
|
|
2360
|
+
"bottom-right": { root: "vc-toast-viewport-bottom-right is-flex-direction-column-reverse" },
|
|
2361
|
+
"bottom-center": { root: "vc-toast-viewport-bottom-center is-flex-direction-column-reverse" }
|
|
2362
|
+
} },
|
|
2363
|
+
defaultVariants: { position: "top-right" }
|
|
2364
|
+
},
|
|
2365
|
+
toast: {
|
|
2366
|
+
classes: {
|
|
2367
|
+
root: "notification is-flex is-align-items-flex-start vc-toast-anim",
|
|
2368
|
+
body: "is-flex-grow-1",
|
|
2369
|
+
close: "button is-small is-text",
|
|
2370
|
+
closeIcon: "delete is-small"
|
|
2371
|
+
},
|
|
2372
|
+
compoundVariants: [
|
|
2373
|
+
{
|
|
2374
|
+
variants: {
|
|
2375
|
+
variant: "solid",
|
|
2376
|
+
color: "primary"
|
|
2377
|
+
},
|
|
2378
|
+
class: { root: "is-primary" }
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
variants: {
|
|
2382
|
+
variant: "solid",
|
|
2383
|
+
color: "neutral"
|
|
2384
|
+
},
|
|
2385
|
+
class: { root: "is-dark" }
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
variants: {
|
|
2389
|
+
variant: "solid",
|
|
2390
|
+
color: "success"
|
|
2391
|
+
},
|
|
2392
|
+
class: { root: "is-success" }
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
variants: {
|
|
2396
|
+
variant: "solid",
|
|
2397
|
+
color: "warning"
|
|
2398
|
+
},
|
|
2399
|
+
class: { root: "is-warning" }
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
variants: {
|
|
2403
|
+
variant: "solid",
|
|
2404
|
+
color: "error"
|
|
2405
|
+
},
|
|
2406
|
+
class: { root: "is-danger" }
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
variants: {
|
|
2410
|
+
variant: "solid",
|
|
2411
|
+
color: "info"
|
|
2412
|
+
},
|
|
2413
|
+
class: { root: "is-info" }
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
variants: {
|
|
2417
|
+
variant: "soft",
|
|
2418
|
+
color: "primary"
|
|
2419
|
+
},
|
|
2420
|
+
class: { root: "is-primary is-light" }
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
variants: {
|
|
2424
|
+
variant: "soft",
|
|
2425
|
+
color: "neutral"
|
|
2426
|
+
},
|
|
2427
|
+
class: { root: "is-light" }
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
variants: {
|
|
2431
|
+
variant: "soft",
|
|
2432
|
+
color: "success"
|
|
2433
|
+
},
|
|
2434
|
+
class: { root: "is-success is-light" }
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
variants: {
|
|
2438
|
+
variant: "soft",
|
|
2439
|
+
color: "warning"
|
|
2440
|
+
},
|
|
2441
|
+
class: { root: "is-warning is-light" }
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
variants: {
|
|
2445
|
+
variant: "soft",
|
|
2446
|
+
color: "error"
|
|
2447
|
+
},
|
|
2448
|
+
class: { root: "is-danger is-light" }
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
variants: {
|
|
2452
|
+
variant: "soft",
|
|
2453
|
+
color: "info"
|
|
2454
|
+
},
|
|
2455
|
+
class: { root: "is-info is-light" }
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
variants: {
|
|
2459
|
+
variant: "outline",
|
|
2460
|
+
color: "primary"
|
|
2461
|
+
},
|
|
2462
|
+
class: { root: "vc-toast-outline-primary" }
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
variants: {
|
|
2466
|
+
variant: "outline",
|
|
2467
|
+
color: "neutral"
|
|
2468
|
+
},
|
|
2469
|
+
class: { root: "vc-toast-outline-neutral" }
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
variants: {
|
|
2473
|
+
variant: "outline",
|
|
2474
|
+
color: "success"
|
|
2475
|
+
},
|
|
2476
|
+
class: { root: "vc-toast-outline-success" }
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
variants: {
|
|
2480
|
+
variant: "outline",
|
|
2481
|
+
color: "warning"
|
|
2482
|
+
},
|
|
2483
|
+
class: { root: "vc-toast-outline-warning" }
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
variants: {
|
|
2487
|
+
variant: "outline",
|
|
2488
|
+
color: "error"
|
|
2489
|
+
},
|
|
2490
|
+
class: { root: "vc-toast-outline-error" }
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
variants: {
|
|
2494
|
+
variant: "outline",
|
|
2495
|
+
color: "info"
|
|
2496
|
+
},
|
|
2497
|
+
class: { root: "vc-toast-outline-info" }
|
|
2498
|
+
}
|
|
2499
|
+
],
|
|
2500
|
+
defaultVariants: {
|
|
2501
|
+
variant: "soft",
|
|
2502
|
+
color: "neutral"
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2505
|
+
toastTitle: { classes: { root: "has-text-weight-semibold mb-1" } },
|
|
2506
|
+
toastDescription: { classes: { root: "is-size-7" } },
|
|
2507
|
+
toastAction: { classes: { root: "button is-small is-outlined" } },
|
|
2508
|
+
tooltip: {
|
|
2509
|
+
classes: {
|
|
2510
|
+
trigger: "",
|
|
2511
|
+
content: "has-background-dark has-text-light vc-tooltip-anim",
|
|
2512
|
+
arrow: ""
|
|
2513
|
+
},
|
|
2514
|
+
variants: { size: {
|
|
2515
|
+
sm: { content: "is-size-7 px-2 py-1" },
|
|
2516
|
+
md: { content: "px-3 py-1" },
|
|
2517
|
+
lg: { content: "is-size-6 px-3 py-2" }
|
|
2518
|
+
} },
|
|
2519
|
+
defaultVariants: { size: "md" }
|
|
2520
|
+
},
|
|
2521
|
+
dropdownMenu: {
|
|
2522
|
+
classes: {
|
|
2523
|
+
trigger: "",
|
|
2524
|
+
content: "dropdown-content vc-overlay-anim",
|
|
2525
|
+
item: "dropdown-item",
|
|
2526
|
+
checkboxItem: "dropdown-item",
|
|
2527
|
+
radioItem: "dropdown-item",
|
|
2528
|
+
radioGroup: "",
|
|
2529
|
+
itemIndicator: "",
|
|
2530
|
+
label: "dropdown-item has-text-weight-semibold has-text-grey",
|
|
2531
|
+
separator: "dropdown-divider",
|
|
2532
|
+
group: "",
|
|
2533
|
+
subTrigger: "dropdown-item is-flex is-justify-content-space-between",
|
|
2534
|
+
subContent: "dropdown-content vc-overlay-anim",
|
|
2535
|
+
arrow: ""
|
|
2536
|
+
},
|
|
2537
|
+
variants: { size: {
|
|
2538
|
+
sm: { content: "is-size-7" },
|
|
2539
|
+
md: { content: "" },
|
|
2540
|
+
lg: { content: "is-size-6" }
|
|
2541
|
+
} },
|
|
2542
|
+
defaultVariants: { size: "md" }
|
|
2543
|
+
},
|
|
2544
|
+
contextMenu: {
|
|
2545
|
+
classes: {
|
|
2546
|
+
trigger: "",
|
|
2547
|
+
content: "dropdown-content vc-overlay-anim",
|
|
2548
|
+
item: "dropdown-item",
|
|
2549
|
+
checkboxItem: "dropdown-item",
|
|
2550
|
+
radioItem: "dropdown-item",
|
|
2551
|
+
radioGroup: "",
|
|
2552
|
+
itemIndicator: "",
|
|
2553
|
+
label: "dropdown-item has-text-weight-semibold has-text-grey",
|
|
2554
|
+
separator: "dropdown-divider",
|
|
2555
|
+
group: "",
|
|
2556
|
+
subTrigger: "dropdown-item is-flex is-justify-content-space-between",
|
|
2557
|
+
subContent: "dropdown-content vc-overlay-anim"
|
|
2558
|
+
},
|
|
2559
|
+
variants: { size: {
|
|
2560
|
+
sm: { content: "is-size-7" },
|
|
2561
|
+
md: { content: "" },
|
|
2562
|
+
lg: { content: "is-size-6" }
|
|
2563
|
+
} },
|
|
2564
|
+
defaultVariants: { size: "md" }
|
|
2565
|
+
},
|
|
2566
|
+
stepper: {
|
|
2567
|
+
classes: {
|
|
2568
|
+
root: "",
|
|
2569
|
+
item: "",
|
|
2570
|
+
trigger: "button is-text",
|
|
2571
|
+
indicator: "has-background-light has-text-grey has-text-weight-semibold",
|
|
2572
|
+
title: "has-text-weight-medium",
|
|
2573
|
+
description: "has-text-grey",
|
|
2574
|
+
separator: "has-background-grey-lighter"
|
|
2575
|
+
},
|
|
2576
|
+
variants: { size: {
|
|
2577
|
+
sm: {
|
|
2578
|
+
indicator: "vc-stepper-indicator-sm",
|
|
2579
|
+
title: "is-size-7",
|
|
2580
|
+
description: "is-size-7"
|
|
2581
|
+
},
|
|
2582
|
+
md: { indicator: "" },
|
|
2583
|
+
lg: {
|
|
2584
|
+
indicator: "vc-stepper-indicator-lg",
|
|
2585
|
+
title: "is-size-5",
|
|
2586
|
+
description: "is-size-6"
|
|
2587
|
+
}
|
|
2588
|
+
} },
|
|
2589
|
+
defaultVariants: { size: "md" }
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
colorMode: { handle(doc, mode) {
|
|
2593
|
+
doc.documentElement.setAttribute("data-theme", mode);
|
|
2594
|
+
} },
|
|
2595
|
+
palette: {
|
|
2596
|
+
handle: renderColorPaletteStyles,
|
|
2597
|
+
names: COLOR_PALETTES
|
|
2598
|
+
}
|
|
2599
|
+
};
|
|
2600
|
+
}
|
|
2601
|
+
//#endregion
|
|
2602
|
+
export { bulmaTheme as default, renderColorPaletteStyles, setColorPalette, useColorPalette };
|
|
2603
|
+
|
|
2604
|
+
//# sourceMappingURL=index.mjs.map
|