@rovula/ui 0.0.46 → 0.0.48

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 (67) hide show
  1. package/dist/cjs/bundle.css +49 -28
  2. package/dist/cjs/bundle.js +3 -3
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/Switch/Switch.stories.d.ts +1 -6
  5. package/dist/cjs/types/components/Table/Table.d.ts +1 -0
  6. package/dist/cjs/types/components/Table/Table.stories.d.ts +2 -0
  7. package/dist/cjs/types/components/Tree/Tree.d.ts +45 -0
  8. package/dist/cjs/types/components/Tree/Tree.stories.d.ts +5 -0
  9. package/dist/components/Switch/Switch.js +15 -1
  10. package/dist/components/Switch/Switch.stories.js +2 -7
  11. package/dist/components/Table/Table.js +2 -2
  12. package/dist/components/Tree/Tree.js +138 -0
  13. package/dist/components/Tree/Tree.stories.js +53 -0
  14. package/dist/esm/bundle.css +49 -28
  15. package/dist/esm/bundle.js +2 -2
  16. package/dist/esm/bundle.js.map +1 -1
  17. package/dist/esm/types/components/Switch/Switch.stories.d.ts +1 -6
  18. package/dist/esm/types/components/Table/Table.d.ts +1 -0
  19. package/dist/esm/types/components/Table/Table.stories.d.ts +2 -0
  20. package/dist/esm/types/components/Tree/Tree.d.ts +45 -0
  21. package/dist/esm/types/components/Tree/Tree.stories.d.ts +5 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/src/theme/global.css +1264 -37
  24. package/dist/theme/global.css +1 -0
  25. package/dist/theme/themes/SKL/baseline.css +12 -0
  26. package/dist/theme/themes/SKL/color.css +78 -0
  27. package/dist/theme/themes/SKL/components/action-button.css +127 -0
  28. package/dist/theme/themes/SKL/components/button.css +512 -0
  29. package/dist/theme/themes/SKL/components/dropdown-menu.css +27 -0
  30. package/dist/theme/themes/SKL/components/loading.css +11 -0
  31. package/dist/theme/themes/SKL/components/navbar.css +8 -0
  32. package/dist/theme/themes/SKL/components/progress-bar.css +8 -0
  33. package/dist/theme/themes/SKL/components/switch.css +30 -0
  34. package/dist/theme/themes/SKL/palette.css +145 -0
  35. package/dist/theme/themes/SKL/state.css +86 -0
  36. package/dist/theme/themes/SKL/transparent.css +68 -0
  37. package/dist/theme/themes/SKL/typography.css +199 -0
  38. package/dist/theme/themes/SKL/variables.css +28 -0
  39. package/dist/theme/themes/xspector/baseline.css +1 -0
  40. package/dist/theme/themes/xspector/components/switch.css +30 -0
  41. package/dist/theme/tokens/baseline.css +2 -1
  42. package/dist/theme/tokens/components/switch.css +30 -0
  43. package/package.json +1 -1
  44. package/src/components/Switch/Switch.stories.tsx +2 -7
  45. package/src/components/Switch/Switch.tsx +37 -9
  46. package/src/components/Table/Table.tsx +7 -2
  47. package/src/components/Tree/Tree.stories.tsx +66 -0
  48. package/src/components/Tree/Tree.tsx +331 -0
  49. package/src/theme/global.css +1 -0
  50. package/src/theme/themes/SKL/baseline.css +12 -0
  51. package/src/theme/themes/SKL/color.css +78 -0
  52. package/src/theme/themes/SKL/components/action-button.css +127 -0
  53. package/src/theme/themes/SKL/components/button.css +512 -0
  54. package/src/theme/themes/SKL/components/dropdown-menu.css +27 -0
  55. package/src/theme/themes/SKL/components/loading.css +11 -0
  56. package/src/theme/themes/SKL/components/navbar.css +8 -0
  57. package/src/theme/themes/SKL/components/progress-bar.css +8 -0
  58. package/src/theme/themes/SKL/components/switch.css +30 -0
  59. package/src/theme/themes/SKL/palette.css +145 -0
  60. package/src/theme/themes/SKL/state.css +86 -0
  61. package/src/theme/themes/SKL/transparent.css +68 -0
  62. package/src/theme/themes/SKL/typography.css +199 -0
  63. package/src/theme/themes/SKL/variables.css +28 -0
  64. package/src/theme/themes/xspector/baseline.css +1 -0
  65. package/src/theme/themes/xspector/components/switch.css +30 -0
  66. package/src/theme/tokens/baseline.css +2 -1
  67. package/src/theme/tokens/components/switch.css +30 -0
@@ -0,0 +1,127 @@
1
+ :root[data-theme="SKL"] {
2
+ /* --------------------------------------------------------------------------------- */
3
+ /* Action Button Component Tokens */
4
+ /* --------------------------------------------------------------------------------- */
5
+ /* Naming Convention: --[component]-[mode]-[state]-[property] */
6
+ /* Mone: [solid, outline, icon] */
7
+ /* States: [default, hover, pressed, active, active-pressed active-hover disabled] */
8
+ /* --------------------------------------------------------------------------------- */
9
+
10
+ /* ------------------------------------------------------------------ */
11
+ /* Solid Mode Tokens */
12
+ /* ------------------------------------------------------------------ */
13
+
14
+ /* Default State */
15
+ --action-button-solid-default-bg: var(--function-default-solid);
16
+ --action-button-solid-default-border: var(--function-default-solid);
17
+ --action-button-solid-default-text: var(--function-default-icon);
18
+
19
+ /* Hover State */
20
+ --action-button-solid-hover-bg: var(--function-default-hover);
21
+ --action-button-solid-hover-border: var(--function-default-hover);
22
+ --action-button-solid-hover-text: var(--function-default-icon);
23
+
24
+ /* Pressed State */
25
+ --action-button-solid-pressed-bg: var(--function-default-solid);
26
+ --action-button-solid-pressed-border: var(--function-default-solid);
27
+ --action-button-solid-pressed-text: var(--function-default-icon);
28
+
29
+ /* Active State */
30
+ --action-button-solid-active-bg: var(--function-active-solid);
31
+ --action-button-solid-active-border: var(--function-active-solid);
32
+ --action-button-solid-active-text: var(--function-active-icon);
33
+
34
+ /* Active Hover State */
35
+ --action-button-solid-active-hover-bg: var(--function-active-hover);
36
+ --action-button-solid-active-hover-border: var(--function-active-hover);
37
+ --action-button-solid-active-hover-text: var(--function-active-icon);
38
+
39
+ /* Active Pressed State */
40
+ --action-button-solid-active-pressed-bg: var(--function-active-solid);
41
+ --action-button-solid-active-pressed-border: var(--function-active-solid);
42
+ --action-button-solid-active-pressed-text: var(--function-active-icon);
43
+
44
+ /* Disabled State */
45
+ --action-button-solid-disabled-bg: var(--state-color-disable-solid);
46
+ --action-button-solid-disabled-border: var(--state-color-disable-solid);
47
+ --action-button-solid-disabled-text: var(--state-color-disable-outline);
48
+
49
+
50
+ /* ------------------------------------------------------------------ */
51
+ /* Outline Mode Tokens */
52
+ /* ------------------------------------------------------------------ */
53
+
54
+ /* Default State */
55
+ --action-button-outline-default-bg: transparent;
56
+ --action-button-outline-default-border: var(--function-default-stroke);
57
+ --action-button-outline-default-text: var(--function-default-outline-icon);
58
+
59
+ /* Hover State */
60
+ --action-button-outline-hover-bg: var(--function-default-hover-bg);
61
+ --action-button-outline-hover-border: var(--function-default-hover);
62
+ --action-button-outline-hover-text: var(--function-default-hover);
63
+
64
+ /* Pressed State */
65
+ --action-button-outline-pressed-bg: var(--function-default-hover-bg);
66
+ --action-button-outline-pressed-border: var(--function-default-stroke);
67
+ --action-button-outline-pressed-text: var(--function-default-outline-icon);
68
+
69
+ /* Active State */
70
+ --action-button-outline-active-bg: transparent;
71
+ --action-button-outline-active-border: var(--function-active-stroke);
72
+ --action-button-outline-active-text: var(--function-active-solid);
73
+
74
+ /* Active Hover State */
75
+ --action-button-outline-active-hover-bg: var(--function-active-hover-bg);;
76
+ --action-button-outline-active-hover-border: var(--function-active-hover);
77
+ --action-button-outline-active-hover-text: var(--function-active-hover);
78
+
79
+ /* Active Pressed State */
80
+ --action-button-outline-active-pressed-bg: var(--function-active-hover-bg);;
81
+ --action-button-outline-active-pressed-border: var(--function-active-stroke);
82
+ --action-button-outline-active-pressed-text: var(--function-active-solid);
83
+
84
+ /* Disabled State */
85
+ --action-button-outline-disabled-bg: transparent;
86
+ --action-button-outline-disabled-border: var(--state-color-disable-outline);
87
+ --action-button-outline-disabled-text: var(--state-color-disable-outline);
88
+
89
+ /* ------------------------------------------------------------------ */
90
+ /* Icon Mode Tokens */
91
+ /* ------------------------------------------------------------------ */
92
+
93
+ /* Default State */
94
+ --action-button-icon-default-bg: transparent;
95
+ --action-button-icon-default-border: transparent;
96
+ --action-button-icon-default-text: var(--function-default-outline-icon);
97
+
98
+ /* Hover State */
99
+ --action-button-icon-hover-bg: var(--function-default-hover-bg);
100
+ --action-button-icon-hover-border: transparent;
101
+ --action-button-icon-hover-text: var(--function-default-hover);
102
+
103
+ /* Pressed State */
104
+ --action-button-icon-pressed-bg: transparent;
105
+ --action-button-icon-pressed-border: transparent;
106
+ --action-button-icon-pressed-text: var(--function-default-outline-icon);
107
+
108
+ /* Active State */
109
+ --action-button-icon-active-bg: transparent;
110
+ --action-button-icon-active-border: transparent;
111
+ --action-button-icon-active-text: var(--function-active-solid);
112
+
113
+ /* Active Hover State */
114
+ --action-button-icon-active-hover-bg: var(--function-active-hover-bg);
115
+ --action-button-icon-active-hover-border: transparent;
116
+ --action-button-icon-active-hover-text: var(--function-active-hover);
117
+
118
+ /* Active Pressed State */
119
+ --action-button-icon-active-pressed-bg: transparent;
120
+ --action-button-icon-active-pressed-border: transparent;
121
+ --action-button-icon-active-pressed-text: var(--function-active-solid);
122
+
123
+ /* Disabled State */
124
+ --action-button-icon-disabled-bg: transparent;
125
+ --action-button-icon-disabled-border: transparent;
126
+ --action-button-icon-disabled-text: var(--state-color-disable-outline);
127
+ }
@@ -0,0 +1,512 @@
1
+ :root[data-theme="SKL"] {
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[data-theme="SKL"] {
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,11 @@
1
+ :root[data-theme="SKL"] {
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
+ }