@rovula/ui 0.1.6 → 0.1.7

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.
Files changed (56) hide show
  1. package/dist/cjs/bundle.css +361 -355
  2. package/dist/cjs/bundle.js +171 -171
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/utils/colors.d.ts +267 -267
  5. package/dist/components/Switch/Switch.styles.js +1 -1
  6. package/dist/esm/bundle.css +361 -355
  7. package/dist/esm/bundle.js +1 -1
  8. package/dist/esm/bundle.js.map +1 -1
  9. package/dist/esm/types/utils/colors.d.ts +267 -267
  10. package/dist/index.d.ts +267 -267
  11. package/dist/src/theme/global.css +2396 -2540
  12. package/dist/utils/colors.js +267 -267
  13. package/package.json +1 -1
  14. package/src/components/Button/Buttons.stories.tsx +15 -7
  15. package/src/components/Switch/Switch.styles.ts +1 -1
  16. package/src/theme/THEME_MAPPING.md +36 -37
  17. package/src/theme/global.css +7 -3
  18. package/src/theme/presets/colors.js +26 -28
  19. package/src/theme/themes/skyller/baseline.css +0 -4
  20. package/src/theme/themes/variable-mapping.css +1064 -0
  21. package/src/theme/themes/variable.css +248 -230
  22. package/src/theme/themes/xspector/baseline.css +0 -4
  23. package/src/theme/themes/xspector/components/dropdown-menu.css +4 -4
  24. package/src/theme/tokens/baseline.css +0 -3
  25. package/src/theme/tokens/color.css +34 -63
  26. package/src/theme/tokens/components/action-button.css +6 -6
  27. package/src/theme/tokens/components/button.css +189 -189
  28. package/src/theme/tokens/components/dropdown-menu.css +2 -2
  29. package/src/theme/tokens/components/footer.css +1 -1
  30. package/src/theme/tokens/components/switch.css +10 -10
  31. package/src/theme/tokens/typography.css +28 -28
  32. package/src/theme/tokens_old/baseline.css +13 -0
  33. package/src/theme/tokens_old/color.css +78 -0
  34. package/src/theme/tokens_old/components/action-button.css +127 -0
  35. package/src/theme/tokens_old/components/button.css +512 -0
  36. package/src/theme/tokens_old/components/dropdown-menu.css +27 -0
  37. package/src/theme/tokens_old/components/footer.css +9 -0
  38. package/src/theme/tokens_old/components/loading.css +11 -0
  39. package/src/theme/tokens_old/components/navbar.css +9 -0
  40. package/src/theme/tokens_old/components/progress-bar.css +8 -0
  41. package/src/theme/tokens_old/components/switch.css +29 -0
  42. package/src/theme/tokens_old/typography.css +199 -0
  43. package/src/theme/tokens_old/variables.css +28 -0
  44. package/src/theme/utils.js +16 -16
  45. package/src/utils/colors.ts +275 -278
  46. package/src/theme/themes/skyller/color.css +0 -79
  47. package/src/theme/themes/skyller/palette.css +0 -143
  48. package/src/theme/themes/skyller/state.css +0 -94
  49. package/src/theme/themes/skyller/transparent.css +0 -94
  50. package/src/theme/themes/xspector/color.css +0 -83
  51. package/src/theme/themes/xspector/palette.css +0 -142
  52. package/src/theme/themes/xspector/state.css +0 -94
  53. package/src/theme/themes/xspector/transparent.css +0 -93
  54. /package/src/theme/{tokens → tokens_old}/palette.css +0 -0
  55. /package/src/theme/{tokens → tokens_old}/state.css +0 -0
  56. /package/src/theme/{tokens → tokens_old}/transparent.css +0 -0
@@ -0,0 +1,512 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Button Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[theme]-[mode]-[state]-[property] */
6
+ /* States: [default, hover, active, disabled] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ /* ------------------------------------------------------------------ */
10
+ /* Solid Mode Tokens - Primary Theme */
11
+ /* ------------------------------------------------------------------ */
12
+
13
+ /* Default State */
14
+ --button-primary-solid-default-bg: var(--state-color-primary-default);
15
+ --button-primary-solid-default-border: var(--state-color-primary-default);
16
+ --button-primary-solid-default-text: var(--state-color-primary-text-solid);
17
+
18
+ /* Hover State */
19
+ --button-primary-solid-hover-bg: var(--state-color-primary-hover);
20
+ --button-primary-solid-hover-border: var(--state-color-primary-hover);
21
+ --button-primary-solid-hover-text: var(--state-color-primary-text-solid);
22
+
23
+ /* Active State */
24
+ --button-primary-solid-active-bg: var(--state-color-primary-pressed);
25
+ --button-primary-solid-active-border: var(--state-color-primary-pressed);
26
+ --button-primary-solid-active-text: var(--state-color-primary-text-solid);
27
+
28
+ /* Disabled State */
29
+ --button-primary-solid-disabled-bg: var(--state-color-disable-solid);
30
+ --button-primary-solid-disabled-border: var(--state-color-disable-solid);
31
+ --button-primary-solid-disabled-text: var(--state-color-disable-outline);
32
+
33
+ /* ------------------------------------------------------------------ */
34
+ /* Outline Mode Tokens - Primary Theme */
35
+ /* ------------------------------------------------------------------ */
36
+
37
+ /* Default State */
38
+ --button-primary-outline-default-bg: transparent;
39
+ --button-primary-outline-default-border: var(--state-color-primary-stroke);
40
+ --button-primary-outline-default-text: var(--state-color-primary-text-outline);
41
+
42
+ /* Hover State */
43
+ --button-primary-outline-hover-bg: var(--state-color-primary-hover-bg);
44
+ --button-primary-outline-hover-border: var(--state-color-primary-hover);
45
+ --button-primary-outline-hover-text: var(--state-color-primary-text-hover);
46
+
47
+ /* Active State */
48
+ --button-primary-outline-active-bg: var(--state-color-primary-hover-bg);
49
+ --button-primary-outline-active-border: var(--state-color-primary-pressed);
50
+ --button-primary-outline-active-text: var(--state-color-primary-text-pressed);
51
+
52
+ /* Disabled State */
53
+ --button-primary-outline-disabled-bg: transparent;
54
+ --button-primary-outline-disabled-border: var(--state-color-disable-outline);
55
+ --button-primary-outline-disabled-text: var(--state-color-disable-outline);
56
+
57
+ /* ------------------------------------------------------------------ */
58
+ /* Flat Mode Tokens - Primary Theme */
59
+ /* ------------------------------------------------------------------ */
60
+
61
+ /* Default State */
62
+ --button-primary-flat-default-bg: transparent;
63
+ --button-primary-flat-default-border: transparent;
64
+ --button-primary-flat-default-text: var(--state-color-primary-text-outline);
65
+
66
+ /* Hover State */
67
+ --button-primary-flat-hover-bg: var(--state-color-primary-hover-bg);
68
+ --button-primary-flat-hover-border: transparent;
69
+ --button-primary-flat-hover-text: var(--state-color-primary-text-hover);
70
+
71
+ /* Active State */
72
+ --button-primary-flat-active-bg: transparent;
73
+ --button-primary-flat-active-border: transparent;
74
+ --button-primary-flat-active-text: var(--state-color-primary-text-pressed);
75
+
76
+ /* Disabled State */
77
+ --button-primary-flat-disabled-bg: transparent;
78
+ --button-primary-flat-disabled-border: transparent;
79
+ --button-primary-flat-disabled-text: var(--state-color-disable-outline);
80
+
81
+ /* ------------------------------------------------------------------ */
82
+ /* Solid Mode Tokens - Secondary Theme */
83
+ /* ------------------------------------------------------------------ */
84
+
85
+ /* Default State */
86
+ --button-secondary-solid-default-bg: var(--state-color-secondary-default);
87
+ --button-secondary-solid-default-border: var(--state-color-secondary-default);
88
+ --button-secondary-solid-default-text: var(--state-color-secondary-text-solid);
89
+
90
+ /* Hover State */
91
+ --button-secondary-solid-hover-bg: var(--state-color-secondary-hover);
92
+ --button-secondary-solid-hover-border: var(--state-color-secondary-hover);
93
+ --button-secondary-solid-hover-text: var(--state-color-secondary-text-solid);
94
+
95
+ /* Active State */
96
+ --button-secondary-solid-active-bg: var(--state-color-secondary-pressed);
97
+ --button-secondary-solid-active-border: var(--state-color-secondary-pressed);
98
+ --button-secondary-solid-active-text: var(--state-color-secondary-text-solid);
99
+
100
+ /* Disabled State */
101
+ --button-secondary-solid-disabled-bg: var(--state-color-disable-solid);
102
+ --button-secondary-solid-disabled-border: var(--state-color-disable-solid);
103
+ --button-secondary-solid-disabled-text: var(--state-color-disable-outline);
104
+
105
+ /* ------------------------------------------------------------------ */
106
+ /* Outline Mode Tokens - secondary Theme */
107
+ /* ------------------------------------------------------------------ */
108
+
109
+ /* Default State */
110
+ --button-secondary-outline-default-bg: transparent;
111
+ --button-secondary-outline-default-border: var(--state-color-secondary-stroke);
112
+ --button-secondary-outline-default-text: var(--state-color-secondary-text-outline);
113
+
114
+ /* Hover State */
115
+ --button-secondary-outline-hover-bg: var(--state-color-secondary-hover-bg);
116
+ --button-secondary-outline-hover-border: var(--state-color-secondary-hover);
117
+ --button-secondary-outline-hover-text: var(--state-color-secondary-text-hover);
118
+
119
+ /* Active State */
120
+ --button-secondary-outline-active-bg: var(--state-color-secondary-hover-bg);
121
+ --button-secondary-outline-active-border: var(--state-color-secondary-pressed);
122
+ --button-secondary-outline-active-text: var(--state-color-secondary-text-pressed);
123
+
124
+ /* Disabled State */
125
+ --button-secondary-outline-disabled-bg: transparent;
126
+ --button-secondary-outline-disabled-border: var(--state-color-disable-outline);
127
+ --button-secondary-outline-disabled-text: var(--state-color-disable-outline);
128
+
129
+ /* ------------------------------------------------------------------ */
130
+ /* Flat Mode Tokens - Secondary Theme */
131
+ /* ------------------------------------------------------------------ */
132
+
133
+ /* Default State */
134
+ --button-secondary-flat-default-bg: transparent;
135
+ --button-secondary-flat-default-border: transparent;
136
+ --button-secondary-flat-default-text: var(--state-color-secondary-text-outline);
137
+
138
+ /* Hover State */
139
+ --button-secondary-flat-hover-bg: var(--state-color-secondary-hover-bg);
140
+ --button-secondary-flat-hover-border: transparent;
141
+ --button-secondary-flat-hover-text: var(--state-color-secondary-text-hover);
142
+
143
+ /* Active State */
144
+ --button-secondary-flat-active-bg: transparent;
145
+ --button-secondary-flat-active-border: transparent;
146
+ --button-secondary-flat-active-text: var(--state-color-secondary-text-pressed);
147
+
148
+ /* Disabled State */
149
+ --button-secondary-flat-disabled-bg: transparent;
150
+ --button-secondary-flat-disabled-border: transparent;
151
+ --button-secondary-flat-disabled-text: var(--state-color-disable-outline);
152
+
153
+ /* ------------------------------------------------------------------ */
154
+ /* Solid Mode Tokens - Tertiary Theme */
155
+ /* ------------------------------------------------------------------ */
156
+
157
+ /* Default State */
158
+ --button-tertiary-solid-default-bg: var(--state-color-tertiary-default);
159
+ --button-tertiary-solid-default-border: var(--state-color-tertiary-default);
160
+ --button-tertiary-solid-default-text: var(--state-color-tertiary-text-solid);
161
+
162
+ /* Hover State */
163
+ --button-tertiary-solid-hover-bg: var(--state-color-tertiary-hover);
164
+ --button-tertiary-solid-hover-border: var(--state-color-tertiary-hover);
165
+ --button-tertiary-solid-hover-text: var(--state-color-tertiary-text-solid);
166
+
167
+ /* Active State */
168
+ --button-tertiary-solid-active-bg: var(--state-color-tertiary-pressed);
169
+ --button-tertiary-solid-active-border: var(--state-color-tertiary-pressed);
170
+ --button-tertiary-solid-active-text: var(--state-color-tertiary-text-solid);
171
+
172
+ /* Disabled State */
173
+ --button-tertiary-solid-disabled-bg: var(--state-color-disable-solid);
174
+ --button-tertiary-solid-disabled-border: var(--state-color-disable-solid);
175
+ --button-tertiary-solid-disabled-text: var(--state-color-disable-outline);
176
+
177
+ /* ------------------------------------------------------------------ */
178
+ /* Outline Mode Tokens - Tertiary Theme */
179
+ /* ------------------------------------------------------------------ */
180
+
181
+ /* Default State */
182
+ --button-tertiary-outline-default-bg: transparent;
183
+ --button-tertiary-outline-default-border: var(--state-color-tertiary-stroke);
184
+ --button-tertiary-outline-default-text: var(--state-color-tertiary-text-outline);
185
+
186
+ /* Hover State */
187
+ --button-tertiary-outline-hover-bg: var(--state-color-tertiary-hover-bg);
188
+ --button-tertiary-outline-hover-border: var(--state-color-tertiary-hover);
189
+ --button-tertiary-outline-hover-text: var(--state-color-tertiary-text-hover);
190
+
191
+ /* Active State */
192
+ --button-tertiary-outline-active-bg: var(--state-color-tertiary-hover-bg);
193
+ --button-tertiary-outline-active-border: var(--state-color-tertiary-pressed);
194
+ --button-tertiary-outline-active-text: var(--state-color-tertiary-text-pressed);
195
+
196
+ /* Disabled State */
197
+ --button-tertiary-outline-disabled-bg: transparent;
198
+ --button-tertiary-outline-disabled-border: var(--state-color-disable-outline);
199
+ --button-tertiary-outline-disabled-text: var(--state-color-disable-outline);
200
+
201
+ /* ------------------------------------------------------------------ */
202
+ /* Flat Mode Tokens - Tertiary Theme */
203
+ /* ------------------------------------------------------------------ */
204
+
205
+ /* Default State */
206
+ --button-tertiary-flat-default-bg: transparent;
207
+ --button-tertiary-flat-default-border: transparent;
208
+ --button-tertiary-flat-default-text: var(--state-color-tertiary-text-outline);
209
+
210
+ /* Hover State */
211
+ --button-tertiary-flat-hover-bg: var(--state-color-tertiary-hover-bg);
212
+ --button-tertiary-flat-hover-border: transparent;
213
+ --button-tertiary-flat-hover-text: var(--state-color-tertiary-text-hover);
214
+
215
+ /* Active State */
216
+ --button-tertiary-flat-active-bg: transparent;
217
+ --button-tertiary-flat-active-border: transparent;
218
+ --button-tertiary-flat-active-text: var(--state-color-tertiary-text-pressed);
219
+
220
+ /* Disabled State */
221
+ --button-tertiary-flat-disabled-bg: transparent;
222
+ --button-tertiary-flat-disabled-border: transparent;
223
+ --button-tertiary-flat-disabled-text: var(--state-color-disable-outline);
224
+
225
+ /* ------------------------------------------------------------------ */
226
+ /* Solid Mode Tokens - Info Theme */
227
+ /* ------------------------------------------------------------------ */
228
+
229
+ /* Default State */
230
+ --button-info-solid-default-bg: var(--state-color-info-default);
231
+ --button-info-solid-default-border: var(--state-color-info-default);
232
+ --button-info-solid-default-text: var(--state-color-info-text-solid);
233
+
234
+ /* Hover State */
235
+ --button-info-solid-hover-bg: var(--state-color-info-hover);
236
+ --button-info-solid-hover-border: var(--state-color-info-hover);
237
+ --button-info-solid-hover-text: var(--state-color-info-text-solid);
238
+
239
+ /* Active State */
240
+ --button-info-solid-active-bg: var(--state-color-info-pressed);
241
+ --button-info-solid-active-border: var(--state-color-info-pressed);
242
+ --button-info-solid-active-text: var(--state-color-info-text-solid);
243
+
244
+ /* Disabled State */
245
+ --button-info-solid-disabled-bg: var(--state-color-disable-solid);
246
+ --button-info-solid-disabled-border: var(--state-color-disable-solid);
247
+ --button-info-solid-disabled-text: var(--state-color-disable-outline);
248
+
249
+ /* ------------------------------------------------------------------ */
250
+ /* Outline Mode Tokens - Info Theme */
251
+ /* ------------------------------------------------------------------ */
252
+
253
+ /* Default State */
254
+ --button-info-outline-default-bg: transparent;
255
+ --button-info-outline-default-border: var(--state-color-info-stroke);
256
+ --button-info-outline-default-text: var(--state-color-info-text-outline);
257
+
258
+ /* Hover State */
259
+ --button-info-outline-hover-bg: var(--state-color-info-hover-bg);
260
+ --button-info-outline-hover-border: var(--state-color-info-hover);
261
+ --button-info-outline-hover-text: var(--state-color-info-text-hover);
262
+
263
+ /* Active State */
264
+ --button-info-outline-active-bg: var(--state-color-info-hover-bg);
265
+ --button-info-outline-active-border: var(--state-color-info-pressed);
266
+ --button-info-outline-active-text: var(--state-color-info-text-pressed);
267
+
268
+ /* Disabled State */
269
+ --button-info-outline-disabled-bg: transparent;
270
+ --button-info-outline-disabled-border: var(--state-color-disable-outline);
271
+ --button-info-outline-disabled-text: var(--state-color-disable-outline);
272
+
273
+ /* ------------------------------------------------------------------ */
274
+ /* Flat Mode Tokens - Info Theme */
275
+ /* ------------------------------------------------------------------ */
276
+
277
+ /* Default State */
278
+ --button-info-flat-default-bg: transparent;
279
+ --button-info-flat-default-border: transparent;
280
+ --button-info-flat-default-text: var(--state-color-info-text-outline);
281
+
282
+ /* Hover State */
283
+ --button-info-flat-hover-bg: var(--state-color-info-hover-bg);
284
+ --button-info-flat-hover-border: transparent;
285
+ --button-info-flat-hover-text: var(--state-color-info-text-hover);
286
+
287
+ /* Active State */
288
+ --button-info-flat-active-bg: transparent;
289
+ --button-info-flat-active-border: transparent;
290
+ --button-info-flat-active-text: var(--state-color-info-text-pressed);
291
+
292
+ /* Disabled State */
293
+ --button-info-flat-disabled-bg: transparent;
294
+ --button-info-flat-disabled-border: transparent;
295
+ --button-info-flat-disabled-text: var(--state-color-disable-outline);
296
+
297
+ /* ------------------------------------------------------------------ */
298
+ /* Solid Mode Tokens - Success Theme */
299
+ /* ------------------------------------------------------------------ */
300
+
301
+ /* Default State */
302
+ --button-success-solid-default-bg: var(--state-color-success-default);
303
+ --button-success-solid-default-border: var(--state-color-success-default);
304
+ --button-success-solid-default-text: var(--state-color-success-text-solid);
305
+
306
+ /* Hover State */
307
+ --button-success-solid-hover-bg: var(--state-color-success-hover);
308
+ --button-success-solid-hover-border: var(--state-color-success-hover);
309
+ --button-success-solid-hover-text: var(--state-color-success-text-solid);
310
+
311
+ /* Active State */
312
+ --button-success-solid-active-bg: var(--state-color-success-pressed);
313
+ --button-success-solid-active-border: var(--state-color-success-pressed);
314
+ --button-success-solid-active-text: var(--state-color-success-text-solid);
315
+
316
+ /* Disabled State */
317
+ --button-success-solid-disabled-bg: var(--state-color-disable-solid);
318
+ --button-success-solid-disabled-border: var(--state-color-disable-solid);
319
+ --button-success-solid-disabled-text: var(--state-color-disable-outline);
320
+
321
+ /* ------------------------------------------------------------------ */
322
+ /* Outline Mode Tokens - Success Theme */
323
+ /* ------------------------------------------------------------------ */
324
+
325
+ /* Default State */
326
+ --button-success-outline-default-bg: transparent;
327
+ --button-success-outline-default-border: var(--state-color-success-stroke);
328
+ --button-success-outline-default-text: var(--state-color-success-text-outline);
329
+
330
+ /* Hover State */
331
+ --button-success-outline-hover-bg: var(--state-color-success-hover-bg);
332
+ --button-success-outline-hover-border: var(--state-color-success-hover);
333
+ --button-success-outline-hover-text: var(--state-color-success-text-hover);
334
+
335
+ /* Active State */
336
+ --button-success-outline-active-bg: var(--state-color-success-hover-bg);
337
+ --button-success-outline-active-border: var(--state-color-success-pressed);
338
+ --button-success-outline-active-text: var(--state-color-success-text-pressed);
339
+
340
+ /* Disabled State */
341
+ --button-success-outline-disabled-bg: transparent;
342
+ --button-success-outline-disabled-border: var(--state-color-disable-outline);
343
+ --button-success-outline-disabled-text: var(--state-color-disable-outline);
344
+
345
+ /* ------------------------------------------------------------------ */
346
+ /* Flat Mode Tokens - Success Theme */
347
+ /* ------------------------------------------------------------------ */
348
+
349
+ /* Default State */
350
+ --button-success-flat-default-bg: transparent;
351
+ --button-success-flat-default-border: transparent;
352
+ --button-success-flat-default-text: var(--state-color-success-text-outline);
353
+
354
+ /* Hover State */
355
+ --button-success-flat-hover-bg: var(--state-color-success-hover-bg);
356
+ --button-success-flat-hover-border: transparent;
357
+ --button-success-flat-hover-text: var(--state-color-success-text-hover);
358
+
359
+ /* Active State */
360
+ --button-success-flat-active-bg: transparent;
361
+ --button-success-flat-active-border: transparent;
362
+ --button-success-flat-active-text: var(--state-color-success-text-pressed);
363
+
364
+ /* Disabled State */
365
+ --button-success-flat-disabled-bg: transparent;
366
+ --button-success-flat-disabled-border: transparent;
367
+ --button-success-flat-disabled-text: var(--state-color-disable-outline);
368
+
369
+ /* ------------------------------------------------------------------ */
370
+ /* Solid Mode Tokens - Warning Theme */
371
+ /* ------------------------------------------------------------------ */
372
+
373
+ /* Default State */
374
+ --button-warning-solid-default-bg: var(--state-color-warning-default);
375
+ --button-warning-solid-default-border: var(--state-color-warning-default);
376
+ --button-warning-solid-default-text: var(--state-color-warning-text-solid);
377
+
378
+ /* Hover State */
379
+ --button-warning-solid-hover-bg: var(--state-color-warning-hover);
380
+ --button-warning-solid-hover-border: var(--state-color-warning-hover);
381
+ --button-warning-solid-hover-text: var(--state-color-warning-text-solid);
382
+
383
+ /* Active State */
384
+ --button-warning-solid-active-bg: var(--state-color-warning-pressed);
385
+ --button-warning-solid-active-border: var(--state-color-warning-pressed);
386
+ --button-warning-solid-active-text: var(--state-color-warning-text-solid);
387
+
388
+ /* Disabled State */
389
+ --button-warning-solid-disabled-bg: var(--state-color-disable-solid);
390
+ --button-warning-solid-disabled-border: var(--state-color-disable-solid);
391
+ --button-warning-solid-disabled-text: var(--state-color-disable-outline);
392
+
393
+ /* ------------------------------------------------------------------ */
394
+ /* Outline Mode Tokens - Warning Theme */
395
+ /* ------------------------------------------------------------------ */
396
+
397
+ /* Default State */
398
+ --button-warning-outline-default-bg: transparent;
399
+ --button-warning-outline-default-border: var(--state-color-warning-stroke);
400
+ --button-warning-outline-default-text: var(--state-color-warning-text-outline);
401
+
402
+ /* Hover State */
403
+ --button-warning-outline-hover-bg: var(--state-color-warning-hover-bg);
404
+ --button-warning-outline-hover-border: var(--state-color-warning-hover);
405
+ --button-warning-outline-hover-text: var(--state-color-warning-text-hover);
406
+
407
+ /* Active State */
408
+ --button-warning-outline-active-bg: var(--state-color-warning-hover-bg);
409
+ --button-warning-outline-active-border: var(--state-color-warning-pressed);
410
+ --button-warning-outline-active-text: var(--state-color-warning-text-pressed);
411
+
412
+ /* Disabled State */
413
+ --button-warning-outline-disabled-bg: transparent;
414
+ --button-warning-outline-disabled-border: var(--state-color-disable-outline);
415
+ --button-warning-outline-disabled-text: var(--state-color-disable-outline);
416
+
417
+ /* ------------------------------------------------------------------ */
418
+ /* Flat Mode Tokens - Warning Theme */
419
+ /* ------------------------------------------------------------------ */
420
+
421
+ /* Default State */
422
+ --button-warning-flat-default-bg: transparent;
423
+ --button-warning-flat-default-border: transparent;
424
+ --button-warning-flat-default-text: var(--state-color-warning-text-outline);
425
+
426
+ /* Hover State */
427
+ --button-warning-flat-hover-bg: var(--state-color-warning-hover-bg);
428
+ --button-warning-flat-hover-border: transparent;
429
+ --button-warning-flat-hover-text: var(--state-color-warning-text-hover);
430
+
431
+ /* Active State */
432
+ --button-warning-flat-active-bg: transparent;
433
+ --button-warning-flat-active-border: transparent;
434
+ --button-warning-flat-active-text: var(--state-color-warning-text-pressed);
435
+
436
+ /* Disabled State */
437
+ --button-warning-flat-disabled-bg: transparent;
438
+ --button-warning-flat-disabled-border: transparent;
439
+ --button-warning-flat-disabled-text: var(--state-color-disable-outline);
440
+
441
+ /* ------------------------------------------------------------------ */
442
+ /* Solid Mode Tokens - Error Theme */
443
+ /* ------------------------------------------------------------------ */
444
+
445
+ /* Default State */
446
+ --button-error-solid-default-bg: var(--state-color-error-default);
447
+ --button-error-solid-default-border: var(--state-color-error-default);
448
+ --button-error-solid-default-text: var(--state-color-error-text-solid);
449
+
450
+ /* Hover State */
451
+ --button-error-solid-hover-bg: var(--state-color-error-hover);
452
+ --button-error-solid-hover-border: var(--state-color-error-hover);
453
+ --button-error-solid-hover-text: var(--state-color-error-text-solid);
454
+
455
+ /* Active State */
456
+ --button-error-solid-active-bg: var(--state-color-error-pressed);
457
+ --button-error-solid-active-border: var(--state-color-error-pressed);
458
+ --button-error-solid-active-text: var(--state-color-error-text-solid);
459
+
460
+ /* Disabled State */
461
+ --button-error-solid-disabled-bg: var(--state-color-disable-solid);
462
+ --button-error-solid-disabled-border: var(--state-color-disable-solid);
463
+ --button-error-solid-disabled-text: var(--state-color-disable-outline);
464
+
465
+ /* ------------------------------------------------------------------ */
466
+ /* Outline Mode Tokens - Error Theme */
467
+ /* ------------------------------------------------------------------ */
468
+
469
+ /* Default State */
470
+ --button-error-outline-default-bg: transparent;
471
+ --button-error-outline-default-border: var(--state-color-error-stroke);
472
+ --button-error-outline-default-text: var(--state-color-error-text-outline);
473
+
474
+ /* Hover State */
475
+ --button-error-outline-hover-bg: var(--state-color-error-hover-bg);
476
+ --button-error-outline-hover-border: var(--state-color-error-hover);
477
+ --button-error-outline-hover-text: var(--state-color-error-text-hover);
478
+
479
+ /* Active State */
480
+ --button-error-outline-active-bg: var(--state-color-error-hover-bg);
481
+ --button-error-outline-active-border: var(--state-color-error-pressed);
482
+ --button-error-outline-active-text: var(--state-color-error-text-pressed);
483
+
484
+ /* Disabled State */
485
+ --button-error-outline-disabled-bg: transparent;
486
+ --button-error-outline-disabled-border: var(--state-color-disable-outline);
487
+ --button-error-outline-disabled-text: var(--state-color-disable-outline);
488
+
489
+ /* ------------------------------------------------------------------ */
490
+ /* Flat Mode Tokens - Error Theme */
491
+ /* ------------------------------------------------------------------ */
492
+
493
+ /* Default State */
494
+ --button-error-flat-default-bg: transparent;
495
+ --button-error-flat-default-border: transparent;
496
+ --button-error-flat-default-text: var(--state-color-error-text-outline);
497
+
498
+ /* Hover State */
499
+ --button-error-flat-hover-bg: var(--state-color-error-hover-bg);
500
+ --button-error-flat-hover-border: transparent;
501
+ --button-error-flat-hover-text: var(--state-color-error-text-hover);
502
+
503
+ /* Active State */
504
+ --button-error-flat-active-bg: transparent;
505
+ --button-error-flat-active-border: transparent;
506
+ --button-error-flat-active-text: var(--state-color-error-text-pressed);
507
+
508
+ /* Disabled State */
509
+ --button-error-flat-disabled-bg: transparent;
510
+ --button-error-flat-disabled-border: transparent;
511
+ --button-error-flat-disabled-text: var(--state-color-disable-outline);
512
+ }
@@ -0,0 +1,27 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* DropdownMenu Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[state]-[property] */
6
+ /* Element: [default, hover, selected, disabled] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ --dropdown-menu-seperator-bg: var(--base-color-workspace-stroke);
10
+ --dropdown-menu-shadow: 0px 2px 24px 0px rgba(145, 158, 171, 0.24);
11
+
12
+ /* Default State */
13
+ --dropdown-menu-default-bg: transparent;
14
+ --dropdown-menu-default-text: inherit;
15
+
16
+ /* Hover State */
17
+ --dropdown-menu-hover-bg: var(--state-color-primary-hover-bg);
18
+ --dropdown-menu-hover-text: inherit;
19
+
20
+ /* Selected State */
21
+ --dropdown-menu-selected-bg: transparent;
22
+ --dropdown-menu-selected-text: inherit;
23
+
24
+ /* Disabled State */
25
+ --dropdown-menu-disabled-bg: transparent;
26
+ --dropdown-menu-disabled-text: var(--state-color-disable-outline);
27
+ }
@@ -0,0 +1,9 @@
1
+ :root {
2
+ /* Footer */
3
+ --footer-height: 58px;
4
+ --footer-height-simple: 48px;
5
+ --footer-bg-color: var(--state-color-primary-default);
6
+ --footer-text-color: var(--primary-foreground);
7
+ --footer-border-color: var(--primary-foreground);
8
+ --footer-gap: 16px;
9
+ }
@@ -0,0 +1,11 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Loading Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[element]-[property] */
6
+ /* Element: [progress, track] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ --loading-process-color: var(--secondary);
10
+ --loading-track-color: #9E9E9E7A;
11
+ }
@@ -0,0 +1,9 @@
1
+ :root {
2
+ /* Navbar */
3
+ --navbar-height: 58px;
4
+ --navbar-bg-color: var(--primary-default);
5
+ --navbar-text-color: var(--primary-foreground);
6
+ --navbar-border-color: var(--primary-foreground);
7
+ --navbar-gap: 16px;
8
+ --navbar-shadow-scrolled: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
9
+ }
@@ -0,0 +1,8 @@
1
+ :root {
2
+ /* Navbar */
3
+ --navbar-height: 58px;
4
+ --navbar-bg-color: var(--primary-default);
5
+ --navbar-text-color: var(--primary-foreground);
6
+ --navbar-border-color: var(--primary-foreground);
7
+ --navbar-gap: 16px;
8
+ }
@@ -0,0 +1,29 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Switch Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[element]-[state]-[property] */
6
+ /* Element: [progress, track] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ /* Default State */
10
+ --switch-default-color: rgb(from var(--grey-grey-100, #9e9e9e) r g b / 0.32);
11
+ --switch-thumb-default-color: var(--grey-grey-100, #9e9e9e);
12
+ --switch-thumb-filter: drop-shadow(0 2px 8px rgba(145, 158, 171, 0.24));
13
+
14
+ /* Hover State */
15
+ --switch-hover-color: rgb(from var(--grey-grey-80, #b1b1b1) r g b / 0.48);
16
+ --switch-thumb-hover-color: var(--grey-grey-80, #b1b1b1);
17
+
18
+ /* Active State */
19
+ --switch-active-color: rgb(from var(--state-color-primary-active) r g b / 0.32);
20
+ --switch-thumb-active-color: var(--state-color-primary-active, #ddcd00);
21
+
22
+ /* Active Hover State */
23
+ --switch-active-hover-color: rgb(from var(--state-color-primary-text-hover) r g b / 0.48);
24
+ --switch-thumb-active-hover-color: var(--state-color-primary-text-hover);
25
+
26
+ /* Disabled State */
27
+ --switch-disabled-color: rgb(from var(--state-color-disable-solid) r g b / 0.32);
28
+ --switch-thumb-disabled-color: var(--state-color-disable-solid, #454f5b);
29
+ }