lutra 0.0.20 → 0.1.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.
Files changed (223) hide show
  1. package/README.md +4 -24
  2. package/dist/components/AspectRatio.svelte +26 -0
  3. package/dist/components/AspectRatio.svelte.d.ts +8 -0
  4. package/dist/components/Dialog.svelte +78 -0
  5. package/dist/components/Dialog.svelte.d.ts +14 -0
  6. package/dist/components/Layout.svelte +32 -0
  7. package/dist/components/Layout.svelte.d.ts +11 -0
  8. package/dist/components/PageContent.svelte +108 -0
  9. package/dist/components/PageContent.svelte.d.ts +38 -0
  10. package/dist/components/Theme.svelte +87 -0
  11. package/dist/components/Theme.svelte.d.ts +17 -0
  12. package/dist/{display → components}/Tooltip.svelte +37 -11
  13. package/dist/components/Tooltip.svelte.d.ts +12 -0
  14. package/dist/config.d.ts +30 -0
  15. package/dist/config.js +18 -0
  16. package/dist/css/0-layers.css +1 -0
  17. package/dist/css/1-props.css +775 -0
  18. package/dist/css/2-base.css +209 -0
  19. package/dist/css/3-typo.css +65 -0
  20. package/dist/css/4-layout.css +5 -0
  21. package/dist/css/5-media.css +21 -0
  22. package/dist/css/lutra.css +6 -0
  23. package/dist/index.d.ts +5 -1
  24. package/dist/index.js +5 -2
  25. package/dist/types.d.ts +39 -0
  26. package/dist/types.js +25 -0
  27. package/package.json +29 -75
  28. package/dist/data/Stat.svelte +0 -89
  29. package/dist/data/Stat.svelte.d.ts +0 -39
  30. package/dist/data/index.d.ts +0 -1
  31. package/dist/data/index.js +0 -1
  32. package/dist/display/Avatar.svelte +0 -61
  33. package/dist/display/Avatar.svelte.d.ts +0 -23
  34. package/dist/display/Badge.svelte +0 -93
  35. package/dist/display/Badge.svelte.d.ts +0 -34
  36. package/dist/display/Callout.svelte +0 -109
  37. package/dist/display/Callout.svelte.d.ts +0 -36
  38. package/dist/display/Close.svelte +0 -58
  39. package/dist/display/Close.svelte.d.ts +0 -21
  40. package/dist/display/Code.svelte +0 -195
  41. package/dist/display/Code.svelte.d.ts +0 -31
  42. package/dist/display/ContextTip.svelte +0 -26
  43. package/dist/display/ContextTip.svelte.d.ts +0 -22
  44. package/dist/display/Details.svelte +0 -49
  45. package/dist/display/Details.svelte.d.ts +0 -32
  46. package/dist/display/Hero.svelte +0 -50
  47. package/dist/display/Hero.svelte.d.ts +0 -30
  48. package/dist/display/Icon.svelte +0 -40
  49. package/dist/display/Icon.svelte.d.ts +0 -24
  50. package/dist/display/IconButton.svelte +0 -84
  51. package/dist/display/IconButton.svelte.d.ts +0 -30
  52. package/dist/display/Image.svelte +0 -91
  53. package/dist/display/Image.svelte.d.ts +0 -37
  54. package/dist/display/Indicator.svelte +0 -352
  55. package/dist/display/Indicator.svelte.d.ts +0 -24
  56. package/dist/display/Inset.svelte +0 -18
  57. package/dist/display/Inset.svelte.d.ts +0 -22
  58. package/dist/display/Notification.svelte +0 -104
  59. package/dist/display/Notification.svelte.d.ts +0 -42
  60. package/dist/display/Popup.svelte +0 -111
  61. package/dist/display/Popup.svelte.d.ts +0 -30
  62. package/dist/display/Table.svelte +0 -24
  63. package/dist/display/Table.svelte.d.ts +0 -34
  64. package/dist/display/Tag.svelte +0 -90
  65. package/dist/display/Tag.svelte.d.ts +0 -35
  66. package/dist/display/Tooltip.svelte.d.ts +0 -28
  67. package/dist/display/index.d.ts +0 -14
  68. package/dist/display/index.js +0 -14
  69. package/dist/display/notifications.svelte.d.ts +0 -21
  70. package/dist/display/notifications.svelte.js +0 -31
  71. package/dist/form/Button.svelte +0 -34
  72. package/dist/form/Button.svelte.d.ts +0 -36
  73. package/dist/form/FieldActions.svelte +0 -46
  74. package/dist/form/FieldActions.svelte.d.ts +0 -24
  75. package/dist/form/FieldContainer.svelte +0 -37
  76. package/dist/form/FieldContainer.svelte.d.ts +0 -24
  77. package/dist/form/FieldContent.svelte +0 -134
  78. package/dist/form/FieldContent.svelte.d.ts +0 -59
  79. package/dist/form/FieldError.svelte +0 -14
  80. package/dist/form/FieldError.svelte.d.ts +0 -21
  81. package/dist/form/FieldSection.svelte +0 -86
  82. package/dist/form/FieldSection.svelte.d.ts +0 -34
  83. package/dist/form/Fieldset.svelte +0 -68
  84. package/dist/form/Fieldset.svelte.d.ts +0 -42
  85. package/dist/form/Form.svelte +0 -98
  86. package/dist/form/Form.svelte.d.ts +0 -33
  87. package/dist/form/Input.svelte +0 -287
  88. package/dist/form/Input.svelte.d.ts +0 -142
  89. package/dist/form/InputLength.svelte +0 -32
  90. package/dist/form/InputLength.svelte.d.ts +0 -21
  91. package/dist/form/Label.svelte +0 -27
  92. package/dist/form/Label.svelte.d.ts +0 -31
  93. package/dist/form/Select.svelte +0 -88
  94. package/dist/form/Select.svelte.d.ts +0 -97
  95. package/dist/form/client.svelte.d.ts +0 -45
  96. package/dist/form/client.svelte.js +0 -90
  97. package/dist/form/form.d.ts +0 -52
  98. package/dist/form/form.js +0 -326
  99. package/dist/form/index.d.ts +0 -15
  100. package/dist/form/index.js +0 -15
  101. package/dist/form/types.d.ts +0 -52
  102. package/dist/form/types.js +0 -1
  103. package/dist/grid/Column.svelte +0 -11
  104. package/dist/grid/Column.svelte.d.ts +0 -22
  105. package/dist/grid/Grid.svelte +0 -19
  106. package/dist/grid/Grid.svelte.d.ts +0 -24
  107. package/dist/grid/Row.svelte +0 -44
  108. package/dist/grid/Row.svelte.d.ts +0 -24
  109. package/dist/icons/Alert.svelte +0 -3
  110. package/dist/icons/Alert.svelte.d.ts +0 -23
  111. package/dist/icons/Copy.svelte +0 -3
  112. package/dist/icons/Copy.svelte.d.ts +0 -23
  113. package/dist/icons/Done.svelte +0 -3
  114. package/dist/icons/Done.svelte.d.ts +0 -23
  115. package/dist/icons/Error.svelte +0 -3
  116. package/dist/icons/Error.svelte.d.ts +0 -23
  117. package/dist/icons/Help.svelte +0 -3
  118. package/dist/icons/Help.svelte.d.ts +0 -23
  119. package/dist/icons/Hide.svelte +0 -3
  120. package/dist/icons/Hide.svelte.d.ts +0 -23
  121. package/dist/icons/Info.svelte +0 -3
  122. package/dist/icons/Info.svelte.d.ts +0 -23
  123. package/dist/icons/Link.svelte +0 -3
  124. package/dist/icons/Link.svelte.d.ts +0 -23
  125. package/dist/icons/MenuBurger.svelte +0 -3
  126. package/dist/icons/MenuBurger.svelte.d.ts +0 -23
  127. package/dist/icons/MenuDots.svelte +0 -3
  128. package/dist/icons/MenuDots.svelte.d.ts +0 -23
  129. package/dist/icons/Show.svelte +0 -3
  130. package/dist/icons/Show.svelte.d.ts +0 -23
  131. package/dist/icons/Success.svelte +0 -3
  132. package/dist/icons/Success.svelte.d.ts +0 -23
  133. package/dist/icons/Warning.svelte +0 -3
  134. package/dist/icons/Warning.svelte.d.ts +0 -23
  135. package/dist/icons/index.d.ts +0 -11
  136. package/dist/icons/index.js +0 -11
  137. package/dist/layout/Layout.svelte +0 -45
  138. package/dist/layout/Layout.svelte.d.ts +0 -25
  139. package/dist/layout/LayoutFooter.svelte +0 -21
  140. package/dist/layout/LayoutFooter.svelte.d.ts +0 -19
  141. package/dist/layout/LayoutGrid.svelte +0 -51
  142. package/dist/layout/LayoutGrid.svelte.d.ts +0 -38
  143. package/dist/layout/LayoutHeader.svelte +0 -94
  144. package/dist/layout/LayoutHeader.svelte.d.ts +0 -39
  145. package/dist/layout/LayoutSideMenu.svelte +0 -54
  146. package/dist/layout/LayoutSideMenu.svelte.d.ts +0 -25
  147. package/dist/layout/LayoutTypes.d.ts +0 -15
  148. package/dist/layout/LayoutTypes.js +0 -9
  149. package/dist/layout/Overlay.svelte +0 -20
  150. package/dist/layout/Overlay.svelte.d.ts +0 -35
  151. package/dist/layout/OverlayContainer.svelte +0 -28
  152. package/dist/layout/OverlayContainer.svelte.d.ts +0 -16
  153. package/dist/layout/OverlayLayer.svelte +0 -145
  154. package/dist/layout/OverlayLayer.svelte.d.ts +0 -22
  155. package/dist/layout/PageContent.svelte +0 -97
  156. package/dist/layout/PageContent.svelte.d.ts +0 -28
  157. package/dist/layout/Theme.svelte +0 -228
  158. package/dist/layout/Theme.svelte.d.ts +0 -24
  159. package/dist/layout/UIContent.svelte +0 -15
  160. package/dist/layout/UIContent.svelte.d.ts +0 -22
  161. package/dist/layout/index.d.ts +0 -7
  162. package/dist/layout/index.js +0 -7
  163. package/dist/layout/overlays.svelte.d.ts +0 -34
  164. package/dist/layout/overlays.svelte.js +0 -44
  165. package/dist/nav/Breadcrumb.svelte +0 -82
  166. package/dist/nav/Breadcrumb.svelte.d.ts +0 -33
  167. package/dist/nav/Menu.svelte +0 -177
  168. package/dist/nav/Menu.svelte.d.ts +0 -33
  169. package/dist/nav/MenuItem.svelte +0 -140
  170. package/dist/nav/MenuItem.svelte.d.ts +0 -26
  171. package/dist/nav/MenuTypes.d.ts +0 -58
  172. package/dist/nav/MenuTypes.js +0 -1
  173. package/dist/nav/NavMenu.svelte +0 -183
  174. package/dist/nav/NavMenu.svelte.d.ts +0 -20
  175. package/dist/nav/TabbedContent.svelte +0 -43
  176. package/dist/nav/TabbedContent.svelte.d.ts +0 -24
  177. package/dist/nav/Tabs.svelte +0 -118
  178. package/dist/nav/Tabs.svelte.d.ts +0 -26
  179. package/dist/nav/index.d.ts +0 -6
  180. package/dist/nav/index.js +0 -5
  181. package/dist/style.css +0 -853
  182. package/dist/typo/Clamp.svelte +0 -25
  183. package/dist/typo/Clamp.svelte.d.ts +0 -28
  184. package/dist/typo/H.svelte +0 -52
  185. package/dist/typo/H.svelte.d.ts +0 -32
  186. package/dist/typo/H1.svelte +0 -14
  187. package/dist/typo/H1.svelte.d.ts +0 -30
  188. package/dist/typo/H2.svelte +0 -14
  189. package/dist/typo/H2.svelte.d.ts +0 -30
  190. package/dist/typo/H3.svelte +0 -14
  191. package/dist/typo/H3.svelte.d.ts +0 -30
  192. package/dist/typo/H4.svelte +0 -14
  193. package/dist/typo/H4.svelte.d.ts +0 -30
  194. package/dist/typo/H5.svelte +0 -14
  195. package/dist/typo/H5.svelte.d.ts +0 -30
  196. package/dist/typo/H6.svelte +0 -14
  197. package/dist/typo/H6.svelte.d.ts +0 -30
  198. package/dist/typo/P.svelte +0 -34
  199. package/dist/typo/P.svelte.d.ts +0 -30
  200. package/dist/typo/index.d.ts +0 -9
  201. package/dist/typo/index.js +0 -9
  202. package/dist/utils/StringOrComponentOrSnippet.svelte +0 -14
  203. package/dist/utils/StringOrComponentOrSnippet.svelte.d.ts +0 -24
  204. package/dist/utils/attr.d.ts +0 -5
  205. package/dist/utils/attr.js +0 -21
  206. package/dist/utils/color.d.ts +0 -51
  207. package/dist/utils/color.js +0 -97
  208. package/dist/utils/defaults.d.ts +0 -4
  209. package/dist/utils/defaults.js +0 -1
  210. package/dist/utils/dom.d.ts +0 -15
  211. package/dist/utils/dom.js +0 -74
  212. package/dist/utils/hooks.server.d.ts +0 -2
  213. package/dist/utils/hooks.server.js +0 -16
  214. package/dist/utils/id.d.ts +0 -1
  215. package/dist/utils/id.js +0 -3
  216. package/dist/utils/index.d.ts +0 -8
  217. package/dist/utils/index.js +0 -5
  218. package/dist/utils/isSnippet.d.ts +0 -5
  219. package/dist/utils/isSnippet.js +0 -6
  220. package/dist/utils/keyboard.svelte.d.ts +0 -22
  221. package/dist/utils/keyboard.svelte.js +0 -161
  222. /package/dist/{utils → util}/transitions.d.ts +0 -0
  223. /package/dist/{utils → util}/transitions.js +0 -0
@@ -0,0 +1,775 @@
1
+ /**
2
+ * Form fields
3
+ */
4
+
5
+ @property --field-radius {
6
+ syntax: "<length-percentage>";
7
+ inherits: true;
8
+ initial-value: 6px;
9
+ }
10
+
11
+ @property --field-padding {
12
+ syntax: "<length>";
13
+ inherits: true;
14
+ initial-value: 8px;
15
+ }
16
+
17
+ @property --field-border-size {
18
+ syntax: "<length>";
19
+ inherits: true;
20
+ initial-value: 1px;
21
+ }
22
+
23
+ @property --field-border-style {
24
+ syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset";
25
+ inherits: true;
26
+ initial-value: solid;
27
+ }
28
+
29
+ @property --field-border-color {
30
+ syntax: "<color>";
31
+ inherits: true;
32
+ initial-value: #ccc;
33
+ }
34
+
35
+ @property --field-border-color-error {
36
+ syntax: "<color>";
37
+ inherits: true;
38
+ initial-value: #dc3545;
39
+ }
40
+
41
+ @property --field-border-color-success {
42
+ syntax: "<color>";
43
+ inherits: true;
44
+ initial-value: #28a745;
45
+ }
46
+
47
+ @property --field-border-color-warning {
48
+ syntax: "<color>";
49
+ inherits: true;
50
+ initial-value: #ffc107;
51
+ }
52
+
53
+ @property --field-text-color {
54
+ syntax: "<color>";
55
+ inherits: true;
56
+ initial-value: black;
57
+ }
58
+
59
+ @property --field-placeholder-color {
60
+ syntax: "<color>";
61
+ inherits: true;
62
+ initial-value: #ddd;
63
+ }
64
+
65
+ @property --field-bg-color {
66
+ syntax: "<color>";
67
+ inherits: true;
68
+ initial-value: transparent;
69
+ }
70
+
71
+ /**
72
+ * Borders
73
+ */
74
+
75
+ @property --border-radius {
76
+ syntax: "<length>";
77
+ inherits: true;
78
+ initial-value: 8px;
79
+ }
80
+
81
+ @property --border-size {
82
+ syntax: "<length>";
83
+ inherits: true;
84
+ initial-value: 1px;
85
+ }
86
+
87
+ @property --border-style {
88
+ syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset";
89
+ inherits: true;
90
+ initial-value: solid;
91
+ }
92
+
93
+ @property --border-color {
94
+ syntax: "<color>";
95
+ inherits: true;
96
+ initial-value: #ccc;
97
+ }
98
+
99
+ /**
100
+ * Icons
101
+ */
102
+
103
+ @property --icon-size {
104
+ syntax: "<length>";
105
+ inherits: true;
106
+ initial-value: 24px;
107
+ }
108
+
109
+ /**
110
+ * Focus
111
+ */
112
+ @property --focus-size {
113
+ syntax: "<length>";
114
+ inherits: true;
115
+ initial-value: 2px;
116
+ }
117
+
118
+ @property --focus-color {
119
+ syntax: "<color>";
120
+ inherits: true;
121
+ initial-value: oklch(0.5 0.2 280);
122
+ }
123
+
124
+ /**
125
+ * Spaces (margins and padding)
126
+ */
127
+ @property --space-base {
128
+ syntax: "<length>";
129
+ inherits: true;
130
+ initial-value: 16px;
131
+ }
132
+
133
+ @property --space-ratio {
134
+ syntax: "<number>";
135
+ inherits: true;
136
+ initial-value: 1.2;
137
+ }
138
+
139
+ /**
140
+ * Typography
141
+ */
142
+
143
+ @property --font-size-base {
144
+ syntax: "<length-percentage>";
145
+ inherits: true;
146
+ initial-value: 16px;
147
+ }
148
+
149
+ @property --font-size-ratio {
150
+ syntax: "<number>";
151
+ inherits: true;
152
+ initial-value: 1.2;
153
+ }
154
+
155
+ @property --font-family {
156
+ syntax: "<string>#";
157
+ inherits: true;
158
+ initial-value: "Helvetica", "sans-serif";
159
+ }
160
+
161
+ @property --font-family-mono {
162
+ syntax: "<string>#";
163
+ inherits: true;
164
+ initial-value: "monospace";
165
+ }
166
+
167
+ @property --font-weight-regular {
168
+ syntax: "<number>";
169
+ inherits: true;
170
+ initial-value: 400;
171
+ }
172
+
173
+ @property --font-weight-medium {
174
+ syntax: "<number>";
175
+ inherits: true;
176
+ initial-value: 500;
177
+ }
178
+
179
+ @property --font-weight-semibold {
180
+ syntax: "<number>";
181
+ inherits: true;
182
+ initial-value: 600;
183
+ }
184
+
185
+ @property --font-weight-bold {
186
+ syntax: "<number>";
187
+ inherits: true;
188
+ initial-value: 700;
189
+ }
190
+
191
+ @property --line-height {
192
+ syntax: "<length-percentage> | <number>";
193
+ inherits: true;
194
+ initial-value: 1.5;
195
+ }
196
+
197
+ @property --text-color {
198
+ syntax: "<color>";
199
+ inherits: true;
200
+ initial-value: #333;
201
+ }
202
+
203
+ @property --text-color-subtle {
204
+ syntax: "<color>";
205
+ inherits: true;
206
+ initial-value: #666;
207
+ }
208
+
209
+ @property --text-color-subtler {
210
+ syntax: "<color>";
211
+ inherits: true;
212
+ initial-value: #ccc;
213
+ }
214
+
215
+ @property --text-color-subtlest {
216
+ syntax: "<color>";
217
+ inherits: true;
218
+ initial-value: #ddd;
219
+ }
220
+
221
+ @property --text-color-heading {
222
+ syntax: "<color>";
223
+ inherits: true;
224
+ initial-value: black;
225
+ }
226
+
227
+ @property --text-color-link {
228
+ syntax: "<color>";
229
+ inherits: true;
230
+ initial-value: #007bff;
231
+ }
232
+
233
+ @property --text-color-link-hover {
234
+ syntax: "<color>";
235
+ inherits: true;
236
+ initial-value: #0056b3;
237
+ }
238
+
239
+ @property --text-color-link-active {
240
+ syntax: "<color>";
241
+ inherits: true;
242
+ initial-value: #0056b3;
243
+ }
244
+
245
+ @property --text-color-link-visited {
246
+ syntax: "<color>";
247
+ inherits: true;
248
+ initial-value: #0056b3;
249
+ }
250
+
251
+ @property --text-link-decoration {
252
+ syntax: "<string>";
253
+ inherits: true;
254
+ initial-value: none;
255
+ }
256
+
257
+ @property --text-link-decoration-hover {
258
+ syntax: "<string>";
259
+ inherits: true;
260
+ initial-value: underline;
261
+ }
262
+
263
+ /**
264
+ * Preformatted text
265
+ */
266
+
267
+ @property --code-text-color {
268
+ syntax: "<color>";
269
+ inherits: true;
270
+ initial-value: #000;
271
+ }
272
+
273
+ @property --code-bg-color {
274
+ syntax: "<color>";
275
+ inherits: true;
276
+ initial-value: #f8f9fa;
277
+ }
278
+
279
+ @property --code-border-color {
280
+ syntax: "<color>";
281
+ inherits: true;
282
+ initial-value: #ccc;
283
+ }
284
+
285
+ @property --code-border-size {
286
+ syntax: "<length>";
287
+ inherits: true;
288
+ initial-value: 1px;
289
+ }
290
+
291
+ /**
292
+ * Buttons
293
+ */
294
+
295
+ @property --button-radius {
296
+ syntax: "<length>";
297
+ inherits: true;
298
+ initial-value: 8px;
299
+ }
300
+
301
+ @property --button-padding {
302
+ syntax: "<length>";
303
+ inherits: true;
304
+ initial-value: 16px;
305
+ }
306
+
307
+ @property --button-text-color {
308
+ syntax: "<color>";
309
+ inherits: true;
310
+ initial-value: white;
311
+ }
312
+
313
+ @property --button-bg-color {
314
+ syntax: "<color>";
315
+ inherits: true;
316
+ initial-value: #007bff;
317
+ }
318
+
319
+ @property --button-border-size {
320
+ syntax: "<length>";
321
+ inherits: true;
322
+ initial-value: 1px;
323
+ }
324
+
325
+ @property --button-border-style {
326
+ syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset";
327
+ inherits: true;
328
+ initial-value: solid;
329
+ }
330
+
331
+ @property --button-border-color {
332
+ syntax: "<color>";
333
+ inherits: true;
334
+ initial-value: #007bff;
335
+ }
336
+
337
+ @property --button-hover-text-color {
338
+ syntax: "<color>";
339
+ inherits: true;
340
+ initial-value: white;
341
+ }
342
+
343
+ @property --button-hover-bg-color {
344
+ syntax: "<color>";
345
+ inherits: true;
346
+ initial-value: #0056b3;
347
+ }
348
+
349
+ @property --button-hover-border-color {
350
+ syntax: "<color>";
351
+ inherits: true;
352
+ initial-value: #0056b3;
353
+ }
354
+
355
+ /* Active */
356
+
357
+ @property --button-active-text-color {
358
+ syntax: "<color>";
359
+ inherits: true;
360
+ initial-value: white;
361
+ }
362
+
363
+ @property --button-active-bg-color {
364
+ syntax: "<color>";
365
+ inherits: true;
366
+ initial-value: #0056b3;
367
+ }
368
+
369
+ @property --button-active-border-color {
370
+ syntax: "<color>";
371
+ inherits: true;
372
+ initial-value: #0056b3;
373
+ }
374
+
375
+ /* Secondary */
376
+
377
+ @property --button-secondary-text-color {
378
+ syntax: "<color>";
379
+ inherits: true;
380
+ initial-value: #007bff;
381
+ }
382
+
383
+ @property --button-secondary-bg-color {
384
+ syntax: "<color>";
385
+ inherits: true;
386
+ initial-value: #f8f9fa;
387
+ }
388
+
389
+ @property --button-secondary-border-color {
390
+ syntax: "<color>";
391
+ inherits: true;
392
+ initial-value: #f8f9fa;
393
+ }
394
+
395
+ @property --button-secondary-hover-text-color {
396
+ syntax: "<color>";
397
+ inherits: true;
398
+ initial-value: #007bff;
399
+ }
400
+
401
+ @property --button-secondary-hover-bg-color {
402
+ syntax: "<color>";
403
+ inherits: true;
404
+ initial-value: #e9ecef;
405
+ }
406
+
407
+ @property --button-secondary-active-text-color {
408
+ syntax: "<color>";
409
+ inherits: true;
410
+ initial-value: #007bff;
411
+ }
412
+
413
+ @property --button-secondary-active-bg-color {
414
+ syntax: "<color>";
415
+ inherits: true;
416
+ initial-value: #e9ecef;
417
+ }
418
+
419
+ /* Warning button */
420
+
421
+ @property --button-warning-text-color {
422
+ syntax: "<color>";
423
+ inherits: true;
424
+ initial-value: #FFC107;
425
+ }
426
+
427
+ @property --button-warning-bg-color {
428
+ syntax: "<color>";
429
+ inherits: true;
430
+ initial-value: #FFF3CD;
431
+ }
432
+
433
+ @property --button-warning-border-color {
434
+ syntax: "<color>";
435
+ inherits: true;
436
+ initial-value: #FFC107;
437
+ }
438
+
439
+ @property --button-warning-hover-text-color {
440
+ syntax: "<color>";
441
+ inherits: true;
442
+ initial-value: #FFC107;
443
+ }
444
+
445
+ @property --button-warning-hover-bg-color {
446
+ syntax: "<color>";
447
+ inherits: true;
448
+ initial-value: #FFC107;
449
+ }
450
+
451
+ @property --button-warning-hover-border-color {
452
+ syntax: "<color>";
453
+ inherits: true;
454
+ initial-value: #FFC107;
455
+ }
456
+
457
+ @property --button-warning-active-text-color {
458
+ syntax: "<color>";
459
+ inherits: true;
460
+ initial-value: #212529;
461
+ }
462
+
463
+ @property --button-warning-active-bg-color {
464
+ syntax: "<color>";
465
+ inherits: true;
466
+ initial-value: #E0A800;
467
+ }
468
+
469
+ @property --button-warning-active-border-color {
470
+ syntax: "<color>";
471
+ inherits: true;
472
+ initial-value: #D39E00;
473
+ }
474
+
475
+ /* Danger/Error button */
476
+
477
+ @property --button-danger-text-color {
478
+ syntax: "<color>";
479
+ inherits: true;
480
+ initial-value: white;
481
+ }
482
+
483
+ @property --button-danger-bg-color {
484
+ syntax: "<color>";
485
+ inherits: true;
486
+ initial-value: var(--state-error-color);
487
+ }
488
+
489
+ @property --button-danger-border-color {
490
+ syntax: "<color>";
491
+ inherits: true;
492
+ initial-value: var(--state-error-color);
493
+ }
494
+
495
+ @property --button-danger-hover-text-color {
496
+ syntax: "<color>";
497
+ inherits: true;
498
+ initial-value: white;
499
+ }
500
+
501
+ @property --button-danger-hover-bg-color {
502
+ syntax: "<color>";
503
+ inherits: true;
504
+ initial-value: #C82333;
505
+ }
506
+
507
+ @property --button-danger-hover-border-color {
508
+ syntax: "<color>";
509
+ inherits: true;
510
+ initial-value: #BD2130;
511
+ }
512
+
513
+ @property --button-danger-active-text-color {
514
+ syntax: "<color>";
515
+ inherits: true;
516
+ initial-value: white;
517
+ }
518
+
519
+ @property --button-danger-active-bg-color {
520
+ syntax: "<color>";
521
+ inherits: true;
522
+ initial-value: #BD2130;
523
+ }
524
+
525
+ @property --button-danger-active-border-color {
526
+ syntax: "<color>";
527
+ inherits: true;
528
+ initial-value: #B21F2D;
529
+ }
530
+
531
+ /* Tertiary/Ghost button */
532
+
533
+ @property --button-tertiary-text-color {
534
+ syntax: "<color>";
535
+ inherits: true;
536
+ initial-value: var(--text-color-link);
537
+ }
538
+
539
+ @property --button-tertiary-bg-color {
540
+ syntax: "<color>";
541
+ inherits: true;
542
+ initial-value: transparent;
543
+ }
544
+
545
+ @property --button-tertiary-border-color {
546
+ syntax: "<color>";
547
+ inherits: true;
548
+ initial-value: transparent;
549
+ }
550
+
551
+ @property --button-tertiary-hover-text-color {
552
+ syntax: "<color>";
553
+ inherits: true;
554
+ initial-value: var(--text-color-link-hover);
555
+ }
556
+
557
+ @property --button-tertiary-hover-bg-color {
558
+ syntax: "<color>";
559
+ inherits: true;
560
+ initial-value: rgba(0, 0, 0, 0.05);
561
+ }
562
+
563
+ @property --button-tertiary-hover-border-color {
564
+ syntax: "<color>";
565
+ inherits: true;
566
+ initial-value: transparent;
567
+ }
568
+
569
+ @property --button-tertiary-active-text-color {
570
+ syntax: "<color>";
571
+ inherits: true;
572
+ initial-value: var(--text-color-link-active);
573
+ }
574
+
575
+ @property --button-tertiary-active-bg-color {
576
+ syntax: "<color>";
577
+ inherits: true;
578
+ initial-value: rgba(0, 0, 0, 0.1);
579
+ }
580
+
581
+ @property --button-tertiary-active-border-color {
582
+ syntax: "<color>";
583
+ inherits: true;
584
+ initial-value: transparent;
585
+ }
586
+
587
+ /**
588
+ * Overlays
589
+ */
590
+
591
+ @property --overlay-bg-color {
592
+ syntax: "<color>";
593
+ inherits: true;
594
+ initial-value: #000;
595
+ }
596
+
597
+ @property --overlay-backdrop-filter {
598
+ syntax: "<filter-function>";
599
+ inherits: true;
600
+ initial-value: blur(10px);
601
+ }
602
+
603
+ @property --overlay-control-color {
604
+ syntax: "<color>";
605
+ inherits: true;
606
+ initial-value: #fff;
607
+ }
608
+
609
+ /**
610
+ * Transitions
611
+ */
612
+
613
+ @property --transition-speed-base {
614
+ syntax: "<time>";
615
+ inherits: true;
616
+ initial-value: 0.3s;
617
+ }
618
+
619
+ @property --transition-speed-fast {
620
+ syntax: "<time>";
621
+ inherits: true;
622
+ initial-value: 0.1s;
623
+ }
624
+
625
+ @property --transition-speed-slow {
626
+ syntax: "<time>";
627
+ inherits: true;
628
+ initial-value: 0.5s;
629
+ }
630
+
631
+ /**
632
+ * States
633
+ */
634
+
635
+ @property --state-warn-color {
636
+ syntax: "<color>";
637
+ inherits: true;
638
+ initial-value: #FFC107; /* Vibrant Yellow */
639
+ }
640
+
641
+ @property --state-warn-bg {
642
+ syntax: "<color>";
643
+ inherits: true;
644
+ initial-value: #FFF3CD; /* Light Yellow */
645
+ }
646
+
647
+ @property --state-warn-border {
648
+ syntax: "<color>";
649
+ inherits: true;
650
+ initial-value: #FFEEBA; /* Darker Yellow */
651
+ }
652
+
653
+ @property --state-warn-text {
654
+ syntax: "<color>";
655
+ inherits: true;
656
+ initial-value: #856404; /* Dark Yellow/Brown text */
657
+ }
658
+
659
+ @property --state-info-color {
660
+ syntax: "<color>";
661
+ inherits: true;
662
+ initial-value: #007BFF; /* Bright Blue */
663
+ }
664
+
665
+ @property --state-info-bg {
666
+ syntax: "<color>";
667
+ inherits: true;
668
+ initial-value: #E0F2FE; /* Light Blue */
669
+ }
670
+
671
+ @property --state-info-border {
672
+ syntax: "<color>";
673
+ inherits: true;
674
+ initial-value: #7DD3FC; /* Medium Blue */
675
+ }
676
+
677
+ @property --state-info-text {
678
+ syntax: "<color>";
679
+ inherits: true;
680
+ initial-value: #0C4A6E; /* Dark Blue */
681
+ }
682
+
683
+ @property --state-success-color {
684
+ syntax: "<color>";
685
+ inherits: true;
686
+ initial-value: #28A745; /* Green */
687
+ }
688
+
689
+ @property --state-success-bg {
690
+ syntax: "<color>";
691
+ inherits: true;
692
+ initial-value: #DCFCE7; /* Light Green */
693
+ }
694
+
695
+ @property --state-success-border {
696
+ syntax: "<color>";
697
+ inherits: true;
698
+ initial-value: #86EFAC; /* Medium Green */
699
+ }
700
+
701
+ @property --state-success-text {
702
+ syntax: "<color>";
703
+ inherits: true;
704
+ initial-value: #166534; /* Dark Green */
705
+ }
706
+
707
+ @property --state-error-color {
708
+ syntax: "<color>";
709
+ inherits: true;
710
+ initial-value: #DC3545; /* Red */
711
+ }
712
+
713
+ @property --state-error-bg {
714
+ syntax: "<color>";
715
+ inherits: true;
716
+ initial-value: #FEE2E2; /* Light Red */
717
+ }
718
+
719
+ @property --state-error-border {
720
+ syntax: "<color>";
721
+ inherits: true;
722
+ initial-value: #FCA5A5; /* Medium Red */
723
+ }
724
+
725
+ @property --state-error-text {
726
+ syntax: "<color>";
727
+ inherits: true;
728
+ initial-value: #991B1B; /* Dark Red */
729
+ }
730
+
731
+ @property --state-processing-color {
732
+ syntax: "<color>";
733
+ inherits: true;
734
+ initial-value: #6F42C1; /* Purple */
735
+ }
736
+
737
+ @property --state-processing-bg {
738
+ syntax: "<color>";
739
+ inherits: true;
740
+ initial-value: #EDE9FE; /* Light Purple */
741
+ }
742
+
743
+ @property --state-processing-border {
744
+ syntax: "<color>";
745
+ inherits: true;
746
+ initial-value: #C4B5FD; /* Medium Purple */
747
+ }
748
+
749
+ @property --state-processing-text {
750
+ syntax: "<color>";
751
+ inherits: true;
752
+ initial-value: #5B21B6; /* Dark Purple */
753
+ }
754
+
755
+ /**
756
+ * Shadows
757
+ */
758
+
759
+ @property --shadow-color {
760
+ syntax: "<color>";
761
+ inherits: true;
762
+ initial-value: #000;
763
+ }
764
+
765
+ @property --shadow-opacity {
766
+ syntax: "<number>";
767
+ inherits: true;
768
+ initial-value: 0.1;
769
+ }
770
+
771
+ @property --shadow-blur {
772
+ syntax: "<length>";
773
+ inherits: true;
774
+ initial-value: 10px;
775
+ }