@marianmeres/stuic 3.5.2 → 3.6.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 (64) hide show
  1. package/dist/components/Button/index.css +32 -92
  2. package/dist/components/Input/FieldAssets.svelte +1 -1
  3. package/dist/components/Input/FieldKeyValues.svelte +9 -9
  4. package/dist/components/Input/Fieldset.svelte +1 -1
  5. package/dist/components/Notifications/index.css +2 -2
  6. package/dist/components/ThemePreview/ThemePreview.svelte +10 -19
  7. package/dist/components/ThemePreview/index.css +14 -23
  8. package/dist/icons/index.d.ts +1 -0
  9. package/dist/icons/index.js +1 -0
  10. package/dist/themes/blue-orange.js +11 -47
  11. package/dist/themes/css/blue-orange.css +26 -26
  12. package/dist/themes/css/cyan-red.css +26 -26
  13. package/dist/themes/css/cyan-slate.css +26 -26
  14. package/dist/themes/css/emerald-amber-forest.css +30 -30
  15. package/dist/themes/css/emerald-pink.css +26 -26
  16. package/dist/themes/css/fuchsia-emerald.css +26 -26
  17. package/dist/themes/css/gray.css +27 -27
  18. package/dist/themes/css/indigo-amber.css +26 -26
  19. package/dist/themes/css/lime-fuchsia-neon.css +32 -32
  20. package/dist/themes/css/orange-pink-sunset.css +26 -26
  21. package/dist/themes/css/pink-emerald.css +26 -26
  22. package/dist/themes/css/pink-teal.css +26 -26
  23. package/dist/themes/css/purple-yellow.css +26 -26
  24. package/dist/themes/css/rainbow.css +26 -26
  25. package/dist/themes/css/red-blue.css +26 -26
  26. package/dist/themes/css/red-cyan.css +26 -26
  27. package/dist/themes/css/red-sky.css +26 -26
  28. package/dist/themes/css/rose-teal.css +26 -26
  29. package/dist/themes/css/sky-amber.css +26 -26
  30. package/dist/themes/css/slate-cyan.css +26 -26
  31. package/dist/themes/css/slate-teal-ocean.css +26 -26
  32. package/dist/themes/css/stone-orange-earth.css +33 -33
  33. package/dist/themes/css/stone.css +27 -27
  34. package/dist/themes/css/teal-rose.css +26 -26
  35. package/dist/themes/css/violet-lime.css +26 -26
  36. package/dist/themes/css/violet-rose-dusk.css +26 -26
  37. package/dist/themes/cyan-red.js +11 -47
  38. package/dist/themes/cyan-slate.js +11 -47
  39. package/dist/themes/emerald-amber-forest.js +13 -49
  40. package/dist/themes/emerald-pink.js +11 -47
  41. package/dist/themes/fuchsia-emerald.js +11 -47
  42. package/dist/themes/gray.js +11 -47
  43. package/dist/themes/indigo-amber.js +11 -47
  44. package/dist/themes/lime-fuchsia-neon.js +13 -49
  45. package/dist/themes/orange-pink-sunset.js +11 -47
  46. package/dist/themes/pink-emerald.js +11 -47
  47. package/dist/themes/pink-teal.js +11 -47
  48. package/dist/themes/purple-yellow.js +11 -47
  49. package/dist/themes/rainbow.js +11 -47
  50. package/dist/themes/red-blue.js +11 -47
  51. package/dist/themes/red-cyan.js +11 -47
  52. package/dist/themes/red-sky.js +11 -47
  53. package/dist/themes/rose-teal.js +11 -47
  54. package/dist/themes/sky-amber.js +11 -47
  55. package/dist/themes/slate-cyan.js +11 -47
  56. package/dist/themes/slate-teal-ocean.js +11 -47
  57. package/dist/themes/stone-orange-earth.js +13 -49
  58. package/dist/themes/stone.js +11 -47
  59. package/dist/themes/teal-rose.js +11 -47
  60. package/dist/themes/violet-lime.js +11 -47
  61. package/dist/themes/violet-rose-dusk.js +11 -47
  62. package/dist/utils/design-tokens.d.ts +1 -3
  63. package/dist/utils/design-tokens.js +57 -12
  64. package/package.json +1 -1
@@ -148,14 +148,14 @@
148
148
  Each intent sets the color palette via internal CSS vars.
149
149
  ============================================================================ */
150
150
 
151
- /* Default (no intent): neutral gray (no blue undertone) */
151
+ /* Default (no intent): uses role tokens for theme-aware neutral styling */
152
152
  .stuic-button:not([data-intent]) {
153
- --_color: var(--color-neutral-200);
154
- --_color-hover: var(--color-neutral-300);
155
- --_color-active: var(--color-neutral-400);
156
- --_fg: var(--color-neutral-800);
157
- --_fg-hover: var(--color-neutral-800);
158
- --_fg-active: var(--color-neutral-800);
153
+ --_color: var(--stuic-color-muted);
154
+ --_color-hover: var(--stuic-color-muted-hover);
155
+ --_color-active: var(--stuic-color-muted-active);
156
+ --_fg: var(--stuic-color-foreground);
157
+ --_fg-hover: var(--stuic-color-foreground-hover);
158
+ --_fg-active: var(--stuic-color-foreground-active);
159
159
  }
160
160
 
161
161
  .stuic-button[data-intent="primary"] {
@@ -294,103 +294,43 @@
294
294
  /* Default solid: add visible border */
295
295
  .stuic-button:not([data-intent])[data-variant="solid"],
296
296
  .stuic-button:not([data-intent]):not([data-variant]) {
297
- --_border: var(--color-neutral-400);
298
- --_border-hover: var(--color-neutral-500);
299
- --_border-active: var(--color-neutral-500);
297
+ --_border: var(--stuic-color-border-hover);
298
+ --_border-hover: var(--stuic-color-border-active);
299
+ --_border-active: var(--stuic-color-border-active);
300
300
  }
301
301
 
302
302
  .stuic-button:not([data-intent])[data-variant="outline"] {
303
- --_text: var(--color-neutral-800);
304
- --_text-hover: var(--color-neutral-900);
305
- --_text-active: var(--color-neutral-900);
306
- --_border: var(--color-neutral-400);
307
- --_border-hover: var(--color-neutral-400);
308
- --_border-active: var(--color-neutral-500);
309
- --_bg-hover: var(--color-neutral-100);
310
- --_bg-active: var(--color-neutral-200);
303
+ --_text: var(--stuic-color-foreground);
304
+ --_text-hover: var(--stuic-color-foreground-hover);
305
+ --_text-active: var(--stuic-color-foreground-active);
306
+ --_border: var(--stuic-color-border-hover);
307
+ --_border-hover: var(--stuic-color-border-hover);
308
+ --_border-active: var(--stuic-color-border-active);
309
+ --_bg-hover: var(--stuic-color-muted-hover);
310
+ --_bg-active: var(--stuic-color-muted-active);
311
311
  }
312
312
 
313
313
  .stuic-button:not([data-intent])[data-variant="ghost"] {
314
- --_text: var(--color-neutral-800);
315
- --_text-hover: var(--color-neutral-900);
316
- --_text-active: var(--color-neutral-900);
317
- --_bg-hover: var(--color-neutral-100);
318
- --_bg-active: var(--color-neutral-200);
314
+ --_text: var(--stuic-color-foreground);
315
+ --_text-hover: var(--stuic-color-foreground-hover);
316
+ --_text-active: var(--stuic-color-foreground-active);
317
+ --_bg-hover: var(--stuic-color-muted-hover);
318
+ --_bg-active: var(--stuic-color-muted-active);
319
319
  }
320
320
 
321
321
  .stuic-button:not([data-intent])[data-variant="soft"] {
322
- --_text: var(--color-neutral-800);
323
- --_text-hover: var(--color-neutral-900);
324
- --_text-active: var(--color-neutral-900);
325
- --_bg: var(--color-neutral-100);
326
- --_bg-hover: var(--color-neutral-200);
327
- --_bg-active: var(--color-neutral-300);
322
+ --_text: var(--stuic-color-foreground);
323
+ --_text-hover: var(--stuic-color-foreground-hover);
324
+ --_text-active: var(--stuic-color-foreground-active);
325
+ --_bg: var(--stuic-color-muted);
326
+ --_bg-hover: var(--stuic-color-muted-hover);
327
+ --_bg-active: var(--stuic-color-muted-active);
328
328
  }
329
329
 
330
330
  .stuic-button:not([data-intent])[data-variant="link"] {
331
- --_text: var(--color-neutral-700);
332
- --_text-hover: var(--color-neutral-900);
333
- --_text-active: var(--color-neutral-900);
334
- }
335
-
336
- /* ============================================================================
337
- DEFAULT INTENT DARK MODE OVERRIDES
338
- ============================================================================ */
339
-
340
- /* Default (no intent) in dark mode: lighter neutral colors */
341
- .dark .stuic-button:not([data-intent]) {
342
- --_color: var(--color-neutral-700);
343
- --_color-hover: var(--color-neutral-600);
344
- --_color-active: var(--color-neutral-500);
345
- --_fg: var(--color-neutral-100);
346
- --_fg-hover: var(--color-neutral-100);
347
- --_fg-active: var(--color-neutral-100);
348
- }
349
-
350
- /* Default solid in dark mode */
351
- .dark .stuic-button:not([data-intent])[data-variant="solid"],
352
- .dark .stuic-button:not([data-intent]):not([data-variant]) {
353
- --_border: var(--color-neutral-500);
354
- --_border-hover: var(--color-neutral-400);
355
- --_border-active: var(--color-neutral-400);
356
- }
357
-
358
- /* Default outline in dark mode */
359
- .dark .stuic-button:not([data-intent])[data-variant="outline"] {
360
- --_text: var(--color-neutral-200);
361
- --_text-hover: var(--color-neutral-100);
362
- --_text-active: var(--color-neutral-100);
363
- --_border: var(--color-neutral-500);
364
- --_border-hover: var(--color-neutral-400);
365
- --_border-active: var(--color-neutral-400);
366
- --_bg-hover: var(--color-neutral-800);
367
- --_bg-active: var(--color-neutral-700);
368
- }
369
-
370
- /* Default ghost in dark mode */
371
- .dark .stuic-button:not([data-intent])[data-variant="ghost"] {
372
- --_text: var(--color-neutral-200);
373
- --_text-hover: var(--color-neutral-100);
374
- --_text-active: var(--color-neutral-100);
375
- --_bg-hover: var(--color-neutral-800);
376
- --_bg-active: var(--color-neutral-700);
377
- }
378
-
379
- /* Default soft in dark mode */
380
- .dark .stuic-button:not([data-intent])[data-variant="soft"] {
381
- --_text: var(--color-neutral-200);
382
- --_text-hover: var(--color-neutral-100);
383
- --_text-active: var(--color-neutral-100);
384
- --_bg: var(--color-neutral-800);
385
- --_bg-hover: var(--color-neutral-700);
386
- --_bg-active: var(--color-neutral-600);
387
- }
388
-
389
- /* Default link in dark mode */
390
- .dark .stuic-button:not([data-intent])[data-variant="link"] {
391
- --_text: var(--color-neutral-300);
392
- --_text-hover: var(--color-neutral-100);
393
- --_text-active: var(--color-neutral-100);
331
+ --_text: var(--stuic-color-muted-foreground);
332
+ --_text-hover: var(--stuic-color-foreground-hover);
333
+ --_text-active: var(--stuic-color-foreground-active);
394
334
  }
395
335
 
396
336
  /* ============================================================================
@@ -408,7 +408,7 @@
408
408
  class={twMerge("w-full stuic-field-assets mb-8", classWrap)}
409
409
  use:highlightDragover={() => ({
410
410
  enabled: typeof processAssets === "function",
411
- classes: ["outline-dashed outline-2 outline-neutral-300"],
411
+ classes: ["outline-dashed outline-2 outline-[var(--stuic-color-border)]"],
412
412
  })}
413
413
  use:fileDropzone={() => ({
414
414
  enabled: typeof processAssets === "function",
@@ -274,16 +274,16 @@
274
274
  const BTN_CLS = [
275
275
  "p-1 rounded",
276
276
  "opacity-50 hover:opacity-100",
277
- "hover:bg-neutral-200 dark:hover:bg-neutral-600",
278
- "focus-visible:outline-neutral-400",
277
+ "hover:bg-[var(--stuic-color-muted)]",
278
+ "focus-visible:outline-[var(--stuic-color-border-hover)]",
279
279
  "disabled:opacity-25 disabled:cursor-not-allowed disabled:hover:bg-transparent",
280
280
  ].join(" ");
281
281
 
282
282
  const INPUT_CLS = [
283
- "rounded bg-neutral-50 dark:bg-neutral-800",
283
+ "rounded bg-[var(--stuic-color-input)]",
284
284
  "focus:outline-none focus:ring-0",
285
- "border border-neutral-300 dark:border-neutral-600",
286
- "focus:border-neutral-400 focus:dark:border-neutral-500",
285
+ "border border-[var(--stuic-color-border)]",
286
+ "focus:border-[var(--stuic-color-border-hover)]",
287
287
  "focus-visible:outline-none focus-visible:ring-0",
288
288
  // "py-1.5 px-2.5",
289
289
  ].join(" ");
@@ -322,7 +322,7 @@
322
322
  <div
323
323
  class={twMerge(
324
324
  "flex gap-2 items-start py-2",
325
- idx > 0 && "border-t border-neutral-200 dark:border-neutral-600",
325
+ idx > 0 && "border-t border-[var(--stuic-color-border)]",
326
326
  classEntry
327
327
  )}
328
328
  >
@@ -384,7 +384,7 @@
384
384
  <div
385
385
  class={twMerge(
386
386
  "p-2",
387
- entries.length > 0 && "border-t border-neutral-200 dark:border-neutral-600"
387
+ entries.length > 0 && "border-t border-[var(--stuic-color-border)]"
388
388
  )}
389
389
  >
390
390
  <button
@@ -392,8 +392,8 @@
392
392
  onclick={addEntry}
393
393
  class={twMerge(
394
394
  "flex items-center gap-1 text-sm opacity-75 hover:opacity-100",
395
- "bg-neutral-200 dark:bg-neutral-600",
396
- "p-1.5 pr-2 rounded hover:bg-neutral-300 dark:hover:bg-neutral-500"
395
+ "bg-[var(--stuic-color-muted)]",
396
+ "p-1.5 pr-2 rounded hover:bg-[var(--stuic-color-muted-hover)]"
397
397
  )}
398
398
  {disabled}
399
399
  >
@@ -20,7 +20,7 @@
20
20
  <fieldset
21
21
  class={twMerge(
22
22
  "stuic-fieldset",
23
- "border border-neutral-300 p-4 pt-3 rounded-md my-8",
23
+ "border border-[var(--stuic-color-border)] p-4 pt-3 rounded-md my-8",
24
24
  classProp
25
25
  )}
26
26
  >
@@ -31,8 +31,8 @@
31
31
  --stuic-notification-badge-padding-x: calc(var(--spacing) * 2);
32
32
  --stuic-notification-badge-padding-y: calc(var(--spacing) * 1);
33
33
  --stuic-notification-badge-radius: 9999px;
34
- --stuic-notification-badge-bg: var(--color-neutral-950);
35
- --stuic-notification-badge-text: var(--color-neutral-50);
34
+ --stuic-notification-badge-bg: var(--stuic-color-foreground);
35
+ --stuic-notification-badge-text: var(--stuic-color-background);
36
36
 
37
37
  /* Progress bar */
38
38
  /* --stuic-notification-progress-opacity: 0.1; */
@@ -185,25 +185,16 @@
185
185
  <h2 class="section-label">Role Colors</h2>
186
186
  {/if}
187
187
 
188
- <div class="role-colors-grid">
189
- <div class="color-swatch background">
190
- <span class="swatch-label">background</span>
191
- <span class="foreground-text">foreground text</span>
192
- </div>
193
-
194
- <div class="color-swatch surface">
195
- <span class="swatch-label">surface</span>
196
- <span class="surface-foreground-text">surface-foreground</span>
197
- </div>
198
-
199
- <div class="color-swatch surface-1">
200
- <span class="swatch-label">surface-1</span>
201
- <span class="surface-1-foreground-text">surface-1-foreground</span>
202
- </div>
203
-
204
- <div class="color-swatch muted-bg">
205
- <span class="swatch-label">muted</span>
206
- <span class="muted-foreground-text">muted-foreground</span>
188
+ <div class="role-color-nested background">
189
+ <span class="role-color-label foreground-text">background / foreground</span>
190
+ <div class="role-color-nested muted-bg">
191
+ <span class="role-color-label muted-foreground-text">muted / muted-foreground</span>
192
+ <div class="role-color-nested surface">
193
+ <span class="role-color-label surface-foreground-text">surface / surface-foreground</span>
194
+ <div class="role-color-nested surface-1">
195
+ <span class="role-color-label surface-1-foreground-text">surface-1 / surface-1-foreground</span>
196
+ </div>
197
+ </div>
207
198
  </div>
208
199
  </div>
209
200
  </section>
@@ -25,10 +25,10 @@
25
25
  --stuic-theme-preview-transition: 150ms;
26
26
 
27
27
  /* Section-specific tokens that consume theme colors */
28
- --stuic-theme-preview-header-bg: var(--stuic-color-surface-1);
29
- --stuic-theme-preview-header-text: var(--stuic-color-surface-1-foreground);
30
- --stuic-theme-preview-sidebar-bg: var(--stuic-color-surface-1);
31
- --stuic-theme-preview-sidebar-text: var(--stuic-color-surface-1-foreground);
28
+ --stuic-theme-preview-header-bg: var(--stuic-color-surface);
29
+ --stuic-theme-preview-header-text: var(--stuic-color-surface-foreground);
30
+ --stuic-theme-preview-sidebar-bg: var(--stuic-color-surface);
31
+ --stuic-theme-preview-sidebar-text: var(--stuic-color-surface-foreground);
32
32
  --stuic-theme-preview-sidebar-width: 200px;
33
33
  --stuic-theme-preview-main-bg: var(--stuic-color-background);
34
34
  --stuic-theme-preview-main-text: var(--stuic-color-foreground);
@@ -103,7 +103,6 @@
103
103
  background: var(--stuic-theme-preview-sidebar-bg);
104
104
  color: var(--stuic-theme-preview-sidebar-text);
105
105
  padding: 1rem;
106
- border-right: 1px solid var(--stuic-color-border);
107
106
  display: flex;
108
107
  flex-direction: column;
109
108
  justify-content: space-between;
@@ -213,41 +212,33 @@
213
212
  Demonstrates: background/surface/muted with their paired foregrounds
214
213
  ============================================================================ */
215
214
 
216
- .stuic-theme-preview .role-colors-grid {
217
- display: grid;
218
- grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
219
- gap: 1rem;
220
- }
221
-
222
- .stuic-theme-preview .color-swatch {
215
+ .stuic-theme-preview .role-color-nested {
223
216
  padding: 1rem;
224
217
  border-radius: var(--stuic-theme-preview-radius);
225
- /* border: 1px solid var(--stuic-color-border); */
226
- display: flex;
227
- flex-direction: column;
228
- gap: 0.5rem;
229
218
  }
230
219
 
231
- .stuic-theme-preview .color-swatch .swatch-label {
220
+ .stuic-theme-preview .role-color-label {
221
+ display: block;
232
222
  font-size: 0.75rem;
233
223
  font-weight: 600;
234
- opacity: 0.7;
224
+ margin-bottom: 0.75rem;
235
225
  }
236
226
 
237
- /* Each swatch uses its role color as background */
238
- .stuic-theme-preview .color-swatch.background {
227
+ /* Each nested level uses its role color as background */
228
+ .stuic-theme-preview .role-color-nested.background {
239
229
  background: var(--stuic-color-background);
230
+ border: 1px solid var(--stuic-color-border);
240
231
  }
241
232
 
242
- .stuic-theme-preview .color-swatch.surface {
233
+ .stuic-theme-preview .role-color-nested.surface {
243
234
  background: var(--stuic-color-surface);
244
235
  }
245
236
 
246
- .stuic-theme-preview .color-swatch.surface-1 {
237
+ .stuic-theme-preview .role-color-nested.surface-1 {
247
238
  background: var(--stuic-color-surface-1);
248
239
  }
249
240
 
250
- .stuic-theme-preview .color-swatch.muted-bg {
241
+ .stuic-theme-preview .role-color-nested.muted-bg {
251
242
  background: var(--stuic-color-muted);
252
243
  }
253
244
 
@@ -31,6 +31,7 @@ export { iconLucideChevronLeft as iconChevronLeft } from "@marianmeres/icons-fns
31
31
  export { iconLucideChevronRight as iconChevronRight } from "@marianmeres/icons-fns/lucide/iconLucideChevronRight.js";
32
32
  export { iconLucideChevronUp as iconChevronUp } from "@marianmeres/icons-fns/lucide/iconLucideChevronUp.js";
33
33
  export { iconLucideCircle as iconCircle } from "@marianmeres/icons-fns/lucide/iconLucideCircle.js";
34
+ export { iconLucideCircleCheckBig as iconCircleCheckBig } from "@marianmeres/icons-fns/lucide/iconLucideCircleCheckBig.js";
34
35
  export { iconLucideDot as iconDot } from "@marianmeres/icons-fns/lucide/iconLucideDot.js";
35
36
  export { iconLucideEllipsisVertical as iconEllipsisVertical } from "@marianmeres/icons-fns/lucide/iconLucideEllipsisVertical.js";
36
37
  export { iconLucideLanguages as iconLanguages } from "@marianmeres/icons-fns/lucide/iconLucideLanguages.js";
@@ -35,6 +35,7 @@ export { iconLucideChevronLeft as iconChevronLeft } from "@marianmeres/icons-fns
35
35
  export { iconLucideChevronRight as iconChevronRight } from "@marianmeres/icons-fns/lucide/iconLucideChevronRight.js";
36
36
  export { iconLucideChevronUp as iconChevronUp } from "@marianmeres/icons-fns/lucide/iconLucideChevronUp.js";
37
37
  export { iconLucideCircle as iconCircle } from "@marianmeres/icons-fns/lucide/iconLucideCircle.js";
38
+ export { iconLucideCircleCheckBig as iconCircleCheckBig } from "@marianmeres/icons-fns/lucide/iconLucideCircleCheckBig.js";
38
39
  export { iconLucideDot as iconDot } from "@marianmeres/icons-fns/lucide/iconLucideDot.js";
39
40
  export { iconLucideEllipsisVertical as iconEllipsisVertical } from "@marianmeres/icons-fns/lucide/iconLucideEllipsisVertical.js";
40
41
  export { iconLucideLanguages as iconLanguages } from "@marianmeres/icons-fns/lucide/iconLucideLanguages.js";
@@ -4,32 +4,22 @@ const light = {
4
4
  primary: {
5
5
  DEFAULT: "var(--color-blue-600)",
6
6
  foreground: "var(--color-white)",
7
- hover: "var(--color-blue-700)",
8
- active: "var(--color-blue-800)",
9
7
  },
10
8
  accent: {
11
9
  DEFAULT: "var(--color-orange-500)",
12
10
  foreground: "var(--color-white)",
13
- hover: "var(--color-orange-600)",
14
- active: "var(--color-orange-700)",
15
11
  },
16
12
  destructive: {
17
13
  DEFAULT: "var(--color-rose-600)",
18
14
  foreground: "var(--color-white)",
19
- hover: "var(--color-rose-700)",
20
- active: "var(--color-rose-800)",
21
15
  },
22
16
  warning: {
23
17
  DEFAULT: "var(--color-orange-500)",
24
18
  foreground: "var(--color-white)",
25
- hover: "var(--color-orange-600)",
26
- active: "var(--color-orange-700)",
27
19
  },
28
20
  success: {
29
21
  DEFAULT: "var(--color-teal-600)",
30
22
  foreground: "var(--color-white)",
31
- hover: "var(--color-teal-700)",
32
- active: "var(--color-teal-800)",
33
23
  },
34
24
  },
35
25
  role: {
@@ -38,31 +28,23 @@ const light = {
38
28
  DEFAULT: "var(--color-white)",
39
29
  foreground: "var(--color-stone-900)",
40
30
  },
31
+ muted: {
32
+ DEFAULT: "var(--color-stone-100)",
33
+ foreground: "var(--color-stone-500)",
34
+ },
41
35
  surface: {
42
36
  DEFAULT: "var(--color-stone-200)",
43
37
  foreground: "var(--color-stone-900)",
44
- hover: "var(--color-stone-300)",
45
- active: "var(--color-stone-400)",
46
38
  },
47
39
  "surface-1": {
48
40
  DEFAULT: "var(--color-stone-300)",
49
41
  foreground: "var(--color-stone-900)",
50
- hover: "var(--color-stone-400)",
51
- active: "var(--color-stone-500)",
52
- },
53
- muted: {
54
- DEFAULT: "var(--color-stone-100)",
55
- foreground: "var(--color-stone-500)",
56
- hover: "var(--color-stone-200)",
57
- active: "var(--color-stone-300)",
58
42
  },
59
43
  },
60
44
  single: {
61
45
  foreground: "var(--color-stone-900)",
62
46
  border: {
63
47
  DEFAULT: "var(--color-stone-300)",
64
- hover: "var(--color-stone-400)",
65
- active: "var(--color-stone-500)",
66
48
  },
67
49
  input: {
68
50
  DEFAULT: "var(--color-white)",
@@ -79,32 +61,22 @@ const dark = {
79
61
  primary: {
80
62
  DEFAULT: "var(--color-blue-500)",
81
63
  foreground: "var(--color-white)",
82
- hover: "var(--color-blue-400)",
83
- active: "var(--color-blue-300)",
84
64
  },
85
65
  accent: {
86
66
  DEFAULT: "var(--color-orange-400)",
87
67
  foreground: "var(--color-white)",
88
- hover: "var(--color-orange-300)",
89
- active: "var(--color-orange-200)",
90
68
  },
91
69
  destructive: {
92
70
  DEFAULT: "var(--color-rose-500)",
93
71
  foreground: "var(--color-white)",
94
- hover: "var(--color-rose-400)",
95
- active: "var(--color-rose-300)",
96
72
  },
97
73
  warning: {
98
74
  DEFAULT: "var(--color-orange-400)",
99
75
  foreground: "var(--color-white)",
100
- hover: "var(--color-orange-300)",
101
- active: "var(--color-orange-200)",
102
76
  },
103
77
  success: {
104
78
  DEFAULT: "var(--color-teal-500)",
105
79
  foreground: "var(--color-white)",
106
- hover: "var(--color-teal-400)",
107
- active: "var(--color-teal-300)",
108
80
  },
109
81
  },
110
82
  role: {
@@ -113,31 +85,23 @@ const dark = {
113
85
  DEFAULT: "var(--color-stone-900)",
114
86
  foreground: "var(--color-stone-50)",
115
87
  },
116
- surface: {
88
+ muted: {
117
89
  DEFAULT: "var(--color-stone-800)",
118
- foreground: "var(--color-stone-100)",
119
- hover: "var(--color-stone-700)",
120
- active: "var(--color-stone-600)",
90
+ foreground: "var(--color-stone-400)",
121
91
  },
122
- "surface-1": {
92
+ surface: {
123
93
  DEFAULT: "var(--color-stone-700)",
124
- foreground: "var(--color-stone-100)",
125
- hover: "var(--color-stone-600)",
126
- active: "var(--color-stone-500)",
94
+ foreground: "var(--color-stone-300)",
127
95
  },
128
- muted: {
129
- DEFAULT: "var(--color-stone-700)",
130
- foreground: "var(--color-stone-400)",
131
- hover: "var(--color-stone-600)",
132
- active: "var(--color-stone-500)",
96
+ "surface-1": {
97
+ DEFAULT: "var(--color-stone-600)",
98
+ foreground: "var(--color-stone-200)",
133
99
  },
134
100
  },
135
101
  single: {
136
102
  foreground: "var(--color-stone-50)",
137
103
  border: {
138
104
  DEFAULT: "var(--color-stone-700)",
139
- hover: "var(--color-stone-600)",
140
- active: "var(--color-stone-500)",
141
105
  },
142
106
  input: {
143
107
  DEFAULT: "var(--color-stone-800)",
@@ -69,6 +69,14 @@
69
69
  --stuic-color-background-foreground-hover: var(--color-stone-900, #737373);
70
70
  --stuic-color-background-foreground-active: var(--color-stone-900, #737373);
71
71
 
72
+ --stuic-color-muted: var(--color-stone-100, #737373);
73
+
74
+ --stuic-color-muted-hover: var(--color-stone-200, #737373);
75
+ --stuic-color-muted-active: var(--color-stone-300, #737373);
76
+ --stuic-color-muted-foreground: var(--color-stone-500, #737373);
77
+ --stuic-color-muted-foreground-hover: var(--color-stone-500, #737373);
78
+ --stuic-color-muted-foreground-active: var(--color-stone-500, #737373);
79
+
72
80
  --stuic-color-surface: var(--color-stone-200, #737373);
73
81
 
74
82
  --stuic-color-surface-1: var(--color-stone-300, #737373);
@@ -78,14 +86,6 @@
78
86
  --stuic-color-surface-1-foreground-hover: var(--color-stone-900, #737373);
79
87
  --stuic-color-surface-1-foreground-active: var(--color-stone-900, #737373);
80
88
 
81
- --stuic-color-muted: var(--color-stone-100, #737373);
82
-
83
- --stuic-color-muted-hover: var(--color-stone-200, #737373);
84
- --stuic-color-muted-active: var(--color-stone-300, #737373);
85
- --stuic-color-muted-foreground: var(--color-stone-500, #737373);
86
- --stuic-color-muted-foreground-hover: var(--color-stone-500, #737373);
87
- --stuic-color-muted-foreground-active: var(--color-stone-500, #737373);
88
-
89
89
  --stuic-color-foreground: var(--color-stone-900, #737373);
90
90
 
91
91
  --stuic-color-foreground-hover: var(--color-stone-900, #737373);
@@ -164,11 +164,11 @@
164
164
  --stuic-color-surface-success: color-mix(in srgb, var(--stuic-color-success) 15%, var(--stuic-color-background));
165
165
  --stuic-color-surface-success-foreground: color-mix(in srgb, var(--stuic-color-success), white 10%);
166
166
  --stuic-color-surface-success-border: color-mix(in srgb, var(--stuic-color-success) 30%, var(--stuic-color-background));
167
- --stuic-color-surface-hover: var(--color-stone-700, #737373);
168
- --stuic-color-surface-active: var(--color-stone-600, #737373);
169
- --stuic-color-surface-foreground: var(--color-stone-100, #737373);
170
- --stuic-color-surface-foreground-hover: var(--color-stone-100, #737373);
171
- --stuic-color-surface-foreground-active: var(--color-stone-100, #737373);
167
+ --stuic-color-surface-hover: var(--color-stone-600, #737373);
168
+ --stuic-color-surface-active: var(--color-stone-500, #737373);
169
+ --stuic-color-surface-foreground: var(--color-stone-300, #737373);
170
+ --stuic-color-surface-foreground-hover: var(--color-stone-300, #737373);
171
+ --stuic-color-surface-foreground-active: var(--color-stone-300, #737373);
172
172
 
173
173
  --stuic-color-background: var(--color-stone-900, #737373);
174
174
 
@@ -178,23 +178,23 @@
178
178
  --stuic-color-background-foreground-hover: var(--color-stone-50, #737373);
179
179
  --stuic-color-background-foreground-active: var(--color-stone-50, #737373);
180
180
 
181
- --stuic-color-surface: var(--color-stone-800, #737373);
181
+ --stuic-color-muted: var(--color-stone-800, #737373);
182
182
 
183
- --stuic-color-surface-1: var(--color-stone-700, #737373);
184
- --stuic-color-surface-1-hover: var(--color-stone-600, #737373);
185
- --stuic-color-surface-1-active: var(--color-stone-500, #737373);
186
- --stuic-color-surface-1-foreground: var(--color-stone-100, #737373);
187
- --stuic-color-surface-1-foreground-hover: var(--color-stone-100, #737373);
188
- --stuic-color-surface-1-foreground-active: var(--color-stone-100, #737373);
189
-
190
- --stuic-color-muted: var(--color-stone-700, #737373);
191
-
192
- --stuic-color-muted-hover: var(--color-stone-600, #737373);
193
- --stuic-color-muted-active: var(--color-stone-500, #737373);
183
+ --stuic-color-muted-hover: var(--color-stone-700, #737373);
184
+ --stuic-color-muted-active: var(--color-stone-600, #737373);
194
185
  --stuic-color-muted-foreground: var(--color-stone-400, #737373);
195
186
  --stuic-color-muted-foreground-hover: var(--color-stone-400, #737373);
196
187
  --stuic-color-muted-foreground-active: var(--color-stone-400, #737373);
197
188
 
189
+ --stuic-color-surface: var(--color-stone-700, #737373);
190
+
191
+ --stuic-color-surface-1: var(--color-stone-600, #737373);
192
+ --stuic-color-surface-1-hover: var(--color-stone-500, #737373);
193
+ --stuic-color-surface-1-active: var(--color-stone-400, #737373);
194
+ --stuic-color-surface-1-foreground: var(--color-stone-200, #737373);
195
+ --stuic-color-surface-1-foreground-hover: var(--color-stone-200, #737373);
196
+ --stuic-color-surface-1-foreground-active: var(--color-stone-200, #737373);
197
+
198
198
  --stuic-color-foreground: var(--color-stone-50, #737373);
199
199
 
200
200
  --stuic-color-foreground-hover: var(--color-stone-50, #737373);
@@ -208,7 +208,7 @@
208
208
  --stuic-color-input: var(--color-stone-800, #737373);
209
209
 
210
210
  --stuic-color-input-hover: var(--color-stone-700, #737373);
211
- --stuic-color-input-active: var(--color-stone-800, #737373);
211
+ --stuic-color-input-active: var(--color-stone-600, #737373);
212
212
 
213
213
  --stuic-color-ring: color-mix(in srgb, var(--color-blue-400) 25%, transparent);
214
214