zabi-components 5.0.15 → 5.0.18

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 (66) hide show
  1. package/README.md +175 -23
  2. package/dist/SSRSafe.svelte +0 -3
  3. package/dist/atoms/Badge.svelte +32 -47
  4. package/dist/atoms/Badge.svelte.d.ts +6 -5
  5. package/dist/atoms/Button.svelte +18 -17
  6. package/dist/atoms/Button.svelte.d.ts +3 -2
  7. package/dist/atoms/Card.svelte +74 -23
  8. package/dist/atoms/Card.svelte.d.ts +3 -1
  9. package/dist/atoms/CardContent.svelte +24 -0
  10. package/dist/atoms/CardContent.svelte.d.ts +8 -0
  11. package/dist/atoms/CardDescription.svelte +24 -0
  12. package/dist/atoms/CardDescription.svelte.d.ts +8 -0
  13. package/dist/atoms/CardFooter.svelte +24 -0
  14. package/dist/atoms/CardFooter.svelte.d.ts +8 -0
  15. package/dist/atoms/CardHeader.svelte +24 -0
  16. package/dist/atoms/CardHeader.svelte.d.ts +8 -0
  17. package/dist/atoms/CardTitle.svelte +33 -0
  18. package/dist/atoms/CardTitle.svelte.d.ts +9 -0
  19. package/dist/atoms/Checkbox.svelte +19 -20
  20. package/dist/atoms/CodeBlock.svelte +4 -7
  21. package/dist/atoms/ColorPicker.svelte +33 -65
  22. package/dist/atoms/FeatureCard.svelte +2 -12
  23. package/dist/atoms/FeatureCard.svelte.d.ts +0 -8
  24. package/dist/atoms/Heading.svelte +0 -2
  25. package/dist/atoms/Input.svelte +8 -17
  26. package/dist/atoms/Input.svelte.d.ts +3 -2
  27. package/dist/atoms/Progress.svelte +1 -4
  28. package/dist/atoms/Select.svelte +37 -28
  29. package/dist/atoms/Skeleton.svelte +1 -1
  30. package/dist/atoms/Textarea.svelte +5 -11
  31. package/dist/atoms/Textarea.svelte.d.ts +3 -1
  32. package/dist/atoms/ThemeToggle.svelte +5 -12
  33. package/dist/atoms/Toast.svelte +1 -2
  34. package/dist/atoms/Toggle.svelte +2 -10
  35. package/dist/atoms/Tooltip.svelte +123 -26
  36. package/dist/atoms/index.d.ts +5 -0
  37. package/dist/atoms/index.js +5 -1
  38. package/dist/components/atoms/index.d.ts +5 -0
  39. package/dist/components/atoms/index.d.ts.map +1 -1
  40. package/dist/components/index.d.ts.map +1 -1
  41. package/dist/components/molecules/index.d.ts.map +1 -1
  42. package/dist/components/organisms/index.d.ts.map +1 -1
  43. package/dist/index.js +0 -23
  44. package/dist/molecules/Alert.svelte +9 -13
  45. package/dist/molecules/Alert.svelte.d.ts +2 -1
  46. package/dist/molecules/ComponentDemo.svelte +55 -64
  47. package/dist/molecules/ContactForm.svelte +21 -12
  48. package/dist/molecules/Dropdown.svelte +104 -8
  49. package/dist/molecules/Dropdown.svelte.d.ts +1 -0
  50. package/dist/molecules/Form.svelte +0 -1
  51. package/dist/molecules/ImageUpload.svelte +2 -6
  52. package/dist/molecules/Modal.svelte +30 -6
  53. package/dist/molecules/SlideUp.svelte +2 -4
  54. package/dist/molecules/Tabs.svelte +2 -4
  55. package/dist/molecules/index.js +0 -1
  56. package/dist/organisms/Navbar.svelte +1 -8
  57. package/dist/organisms/Navigation.svelte +0 -6
  58. package/dist/organisms/index.js +0 -1
  59. package/dist/routes/lib/variant-utils.ts +7 -5
  60. package/dist/zabi-components-colors.css +287 -211
  61. package/dist/zabi-components-theme-dark-only.css +158 -0
  62. package/dist/zabi-components-theme-dark.css +160 -0
  63. package/dist/zabi-components-theme-only.css +235 -0
  64. package/dist/zabi-components-theme.css +237 -0
  65. package/dist/zabi-components.css +575 -360
  66. package/package.json +15 -5
@@ -1,10 +1,15 @@
1
1
  /* ========================================
2
2
  ZABI COMPONENTS COLOR SYSTEM
3
3
  Standalone CSS Custom Properties
4
- Works without Tailwind CSS processing
4
+ Generated from src/app.css
5
+ ⚠️ DO NOT EDIT - This file is auto-generated
6
+ Edit src/app.css instead
5
7
  ======================================== */
6
8
 
7
9
  :root {
10
+ /* Typography - Nunito Sans font family */
11
+ --font-family-sans: 'Nunito Sans', ui-sans-serif, system-ui, sans-serif;
12
+
8
13
  /* Brand Color Scale */
9
14
  --color-brand-50: #f7faff;
10
15
  --color-brand-100: #edf2fb;
@@ -57,269 +62,340 @@
57
62
  --color-iris-900: #2a2a56;
58
63
  --color-iris-950: #1b1b37;
59
64
 
60
- /* Surface Colors - Tailwind stone palette */
61
- --color-surface-level-0: #fafaf9;
62
- --color-surface-level-0-hover: #f5f5f4;
63
- --color-surface-level-1: #f5f5f4;
64
- --color-surface-level-1-hover: #e7e5e4;
65
- --color-surface-level-2: #e7e5e4;
66
- --color-surface-level-2-hover: #d6d3d1;
67
- --color-surface-elevated: #ffffff;
68
- --color-surface-elevated-hover: #fafaf9;
69
- --color-surface-hover: #f5f5f4;
70
- --color-surface-active: #e7e5e4;
71
- --color-surface-inverse: #1c1917;
72
- --color-surface-disabled: #e7e5e4;
73
- --color-surface-container-high: #ece6f0;
65
+ /* Base Color Scale - Maps to neutral palette */
66
+ --color-base-50: theme(colors.neutral.50);
67
+ --color-base-100: theme(colors.neutral.100);
68
+ --color-base-200: theme(colors.neutral.200);
69
+ --color-base-300: theme(colors.neutral.300);
70
+ --color-base-400: theme(colors.neutral.400);
71
+ --color-base-500: theme(colors.neutral.500);
72
+ --color-base-600: theme(colors.neutral.600);
73
+ --color-base-700: theme(colors.neutral.700);
74
+ --color-base-800: theme(colors.neutral.800);
75
+ --color-base-900: theme(colors.neutral.900);
76
+ --color-base-950: theme(colors.neutral.950);
77
+
74
78
 
75
79
  /* Background Colors */
76
- --color-background: #ffffff;
77
- --color-background-secondary: #fafaf9;
78
- --color-background-tertiary: #f5f5f4;
80
+ --color-background: var(--color-base-100);
81
+ --color-background-secondary: var(--color-base-50);
82
+ --color-background-tertiary: var(--color-base-100);
79
83
 
80
84
  /* Page Colors */
81
- --color-page: #f5f5f4;
82
- --color-page-secondary: #e7e5e4;
85
+ --color-page: var(--color-base-100);
86
+ --color-page-secondary: var(--color-base-200);
83
87
 
84
88
  /* Card Colors */
85
- --color-card: #ffffff;
86
- --color-card-hover: #f5f5f4;
87
- --color-card-active: #f5f5f4;
88
- --color-card-elevated: #ffffff;
89
+ --color-card: theme(colors.white);
90
+ --color-card-hover: var(--color-base-100);
91
+ --color-card-active: var(--color-base-100);
92
+ --color-card-elevated: theme(colors.white);
93
+
94
+ /* Overlay Colors */
95
+ --color-overlay: rgba(0, 0, 0, 0.5);
96
+
97
+ /* Input Colors */
98
+ --color-input: var(--color-base-200);
99
+ --color-input-hover: var(--color-base-100);
100
+ --color-input-focus: var(--color-base-100);
101
+ --color-input-disabled: var(--color-base-100);
89
102
 
90
103
  /* Text Colors */
91
- --color-headline: #1c1917;
92
- --color-body: #292524;
93
- --color-description: #57534e;
94
- --color-caption: #78716c;
95
- --color-input-placeholder: #a8a29e;
96
- --color-label: #44403c;
97
- --color-link: #6e84fa;
98
- --color-link-hover: #5366e2;
99
- --color-success-text: #084532;
100
- --color-warning-text: #b45309;
101
- --color-neutral-text: #44403c;
102
- --color-energetic-text: #848a43;
103
- --color-error-text: #b91c1c;
104
- --color-inverse: #ffffff;
105
- --color-disabled: #a8a29e;
104
+ --color-headline: var(--color-base-900);
105
+ --color-body: var(--color-base-800);
106
+ --color-description: var(--color-base-600);
107
+ --color-caption: var(--color-base-500);
108
+ --color-input-placeholder: var(--color-base-400);
109
+ --color-label: var(--color-base-700);
110
+ --color-link: theme(colors.brand.600);
111
+ --color-link-hover: theme(colors.brand.700);
112
+ --color-success-text: var(--color-success);
113
+ --color-warning-text: theme(colors.amber.700);
114
+ --color-neutral-text: var(--color-base-700);
115
+ --color-energetic-text: theme(colors.citron.700);
116
+ --color-error-text: theme(colors.red.700);
117
+ --color-inverse: theme(colors.white);
118
+ --color-disabled: var(--color-base-400);
106
119
 
107
120
  /* Border Colors */
108
- --color-border: #e7e5e4;
109
- --color-border-weak: #d6d3d1;
110
- --color-border-medium: #a8a29e;
111
- --color-border-strong: #78716c;
121
+ --color-border: var(--color-base-200);
122
+ --color-border-weak: var(--color-base-300);
123
+ --color-border-medium: var(--color-base-400);
124
+ --color-border-strong: var(--color-base-500);
112
125
 
113
126
  /* Focus Colors */
114
- --color-focus: #8fa8ff;
115
- --color-focus-weak: #6e84fa;
116
- --color-focus-medium: #5366e2;
117
- --color-focus-strong: #3f4fc0;
127
+ --color-focus: theme(colors.brand.500);
128
+ --color-focus-weak: theme(colors.brand.600);
129
+ --color-focus-medium: theme(colors.brand.700);
130
+ --color-focus-strong: theme(colors.brand.800);
118
131
 
119
132
  /* Primary Colors */
120
- --color-primary: #6e84fa;
121
- --color-primary-weak: #5366e2;
122
- --color-primary-medium: #3f4fc0;
123
- --color-primary-strong: #2f3c99;
133
+ --color-primary: theme(colors.brand.600);
134
+ --color-primary-weak: theme(colors.brand.700);
135
+ --color-primary-medium: theme(colors.brand.800);
136
+ --color-primary-strong: theme(colors.brand.900);
124
137
 
125
138
  /* Secondary Colors */
126
- --color-secondary: #57534e;
127
- --color-secondary-weak: #44403c;
128
- --color-secondary-medium: #292524;
129
- --color-secondary-strong: #1c1917;
139
+ --color-secondary: var(--color-base-600);
140
+ --color-secondary-weak: var(--color-base-700);
141
+ --color-secondary-medium: var(--color-base-800);
142
+ --color-secondary-strong: var(--color-base-900);
130
143
 
131
144
  /* Success Colors */
132
- --color-success: #0a513a;
133
- --color-success-weak: #084532;
134
- --color-success-medium: #063a2a;
135
- --color-success-strong: #04231a;
145
+ --color-success: theme(colors.pine.600);
146
+ --color-success-weak: theme(colors.pine.700);
147
+ --color-success-medium: theme(colors.pine.800);
148
+ --color-success-strong: theme(colors.pine.900);
136
149
 
137
150
  /* Warning Colors */
138
- --color-warning: #f59e0b;
139
- --color-warning-weak: #d97706;
140
- --color-warning-medium: #fbbf24;
141
- --color-warning-strong: #fcd34d;
151
+ --color-warning: theme(colors.amber.500);
152
+ --color-warning-weak: theme(colors.amber.600);
153
+ --color-warning-medium: theme(colors.amber.400);
154
+ --color-warning-strong: theme(colors.amber.300);
142
155
 
143
156
  /* Error Colors */
144
- --color-error: #ef4444;
145
- --color-error-weak: #dc2626;
146
- --color-error-medium: #f87171;
147
- --color-error-strong: #fca5a5;
157
+ --color-error: theme(colors.red.500);
158
+ --color-error-weak: theme(colors.red.600);
159
+ --color-error-medium: theme(colors.red.400);
160
+ --color-error-strong: theme(colors.red.300);
148
161
 
149
162
  /* Energetic Colors (Citron) */
150
- --color-energetic: #bbbe64;
151
- --color-energetic-weak: #a3a852;
152
- --color-energetic-medium: #c7d460;
153
- --color-energetic-strong: #d5e184;
163
+ --color-energetic: theme(colors.citron.500);
164
+ --color-energetic-weak: theme(colors.citron.600);
165
+ --color-energetic-medium: theme(colors.citron.400);
166
+ --color-energetic-strong: theme(colors.citron.300);
154
167
 
155
168
  /* Neutral Colors */
156
- --color-neutral: #57534e;
157
- --color-neutral-weak: #44403c;
158
- --color-neutral-medium: #292524;
159
- --color-neutral-strong: #1c1917;
169
+ --color-neutral: var(--color-base-600);
170
+ --color-neutral-weak: var(--color-base-700);
171
+ --color-neutral-medium: var(--color-base-800);
172
+ --color-neutral-strong: var(--color-base-900);
160
173
 
161
174
  /* Info Colors */
162
- --color-info: #58589e;
163
- --color-info-weak: #474788;
164
- --color-info-medium: #38386f;
165
- --color-info-strong: #2a2a56;
175
+ --color-info: theme(colors.iris.600);
176
+ --color-info-weak: theme(colors.iris.700);
177
+ --color-info-medium: theme(colors.iris.800);
178
+ --color-info-strong: theme(colors.iris.900);
179
+ /* Text alias */
166
180
  --color-info-text: var(--color-info);
167
181
 
168
- /* Action Colors */
169
- --color-action-primary: #6e84fa;
170
- --color-action-primary-hover: #5366e2;
171
- --color-action-primary-active: #3f4fc0;
172
- --color-action-primary-disabled: #ccdbfd;
173
- --color-action-primary-subtle: #f7faff;
174
- --color-action-primary-subtle-hover: #edf2fb;
175
-
176
- --color-action-secondary: #57534e;
177
- --color-action-secondary-hover: #44403c;
178
- --color-action-secondary-active: #292524;
179
- --color-action-secondary-disabled: #d6d3d1;
180
- --color-action-secondary-subtle: #f5f5f4;
181
- --color-action-secondary-subtle-hover: #e7e5e4;
182
-
183
- --color-action-danger: #dc2626;
184
- --color-action-danger-hover: #b91c1c;
185
- --color-action-danger-active: #991b1b;
186
- --color-action-danger-disabled: #fca5a5;
187
- --color-action-danger-subtle: #fef2f2;
188
- --color-action-danger-subtle-hover: #fee2e2;
182
+ /* ========================================
183
+ ACTION COLORS - For interactive elements (buttons, links, etc.)
184
+ ======================================== */
185
+
186
+ /* Primary Actions - Used by bg-action-primary utility class */
187
+ /* 🎯 TO CHANGE bg-action-primary COLOR: Edit the values below */
188
+ --color-action-primary: var(--color-brand-950);
189
+ --color-action-primary-hover: var(--color-brand-900);
190
+ --color-action-primary-active: var(--color-brand-400);
191
+ --color-action-primary-disabled: var(--color-brand-500);
192
+ --color-action-primary-subtle: var(--color-brand-100);
193
+ --color-action-primary-subtle-hover: var(--color-brand-200);
194
+ --color-action-primary-text: var(--color-brand-50);
195
+
196
+ /* Secondary Actions - Used by bg-action-secondary utility class */
197
+ --color-action-secondary: var(--color-brand-200);
198
+ --color-action-secondary-hover: var(--color-brand-100);
199
+ --color-action-secondary-active: var(--color-brand-400);
200
+ --color-action-secondary-disabled: var(--color-brand-500);
201
+ --color-action-secondary-subtle: var(--color-brand-600);
202
+ --color-action-secondary-subtle-hover: var(--color-brand-700);
203
+
204
+ /* Danger Actions - Used by bg-action-danger utility class */
205
+ --color-action-danger: theme(colors.red.600);
206
+ --color-action-danger-hover: theme(colors.red.700);
207
+ --color-action-danger-active: theme(colors.red.800);
208
+ --color-action-danger-disabled: theme(colors.red.300);
209
+ --color-action-danger-subtle: theme(colors.red.50);
210
+ --color-action-danger-subtle-hover: theme(colors.red.100);
211
+
212
+ /* Shadow Colors */
213
+ --shadow-color: 0 0 0;
214
+ --shadow-opacity: 0.1;
215
+ --shadow-sm: 0 1px 3px 0 rgb(var(--shadow-color) / var(--shadow-opacity)), 0 1px 2px -1px rgb(var(--shadow-color) / var(--shadow-opacity));
216
+ --shadow-md: 0 4px 6px -1px rgb(var(--shadow-color) / var(--shadow-opacity)), 0 2px 4px -2px rgb(var(--shadow-color) / var(--shadow-opacity));
217
+ --shadow-lg: 0 10px 15px -3px rgb(var(--shadow-color) / var(--shadow-opacity)), 0 4px 6px -4px rgb(var(--shadow-color) / var(--shadow-opacity));
218
+ --shadow-xl: 0 20px 25px -5px rgb(var(--shadow-color) / var(--shadow-opacity)), 0 8px 10px -6px rgb(var(--shadow-color) / var(--shadow-opacity));
219
+
220
+ /* Spacing */
221
+ --spacing-xs: 0.25rem;
222
+ --spacing-sm: 0.5rem;
223
+ --spacing-md: 1rem;
224
+ --spacing-lg: 1.5rem;
225
+ --spacing-xl: 2rem;
226
+ --spacing-2xl: 3rem;
227
+
228
+ /* Border Radius */
229
+ --radius-sm: 0.25rem;
230
+ --radius-md: 0.375rem;
231
+ --radius-lg: 0.5rem;
232
+ --radius-xl: 0.75rem;
233
+
234
+ /* Z-index */
235
+ --z-dropdown: 1000;
236
+ --z-sticky: 1020;
237
+ --z-fixed: 1030;
238
+ --z-modal-backdrop: 1040;
239
+ --z-modal: 1050;
240
+ --z-popover: 1060;
241
+ --z-tooltip: 1070;
242
+ --z-toast: 1080;
189
243
  }
190
244
 
191
245
  /* Dark Mode */
192
246
  .dark {
193
- /* Surface Colors - Dark mode variants */
194
- --color-surface-level-0: #292524;
195
- --color-surface-level-0-hover: #44403c;
196
- --color-surface-level-1: #44403c;
197
- --color-surface-level-1-hover: #57534e;
198
- --color-surface-level-2: #57534e;
199
- --color-surface-level-2-hover: #78716c;
200
- --color-surface-elevated: #292524;
201
- --color-surface-elevated-hover: #44403c;
202
- --color-surface-hover: #44403c;
203
- --color-surface-active: #57534e;
204
- --color-surface-inverse: #f5f5f4;
205
- --color-surface-disabled: #44403c;
206
- --color-surface-container-high: #44403c;
247
+ /* Brand Color Scale - Dark mode variants */
248
+ --color-brand-50: theme(colors.brand.950);
249
+ --color-brand-100: theme(colors.brand.900);
250
+ --color-brand-200: theme(colors.brand.800);
251
+ --color-brand-300: theme(colors.brand.700);
252
+ --color-brand-400: theme(colors.brand.600);
253
+ --color-brand-500: theme(colors.brand.500);
254
+ --color-brand-600: theme(colors.brand.400);
255
+ --color-brand-700: theme(colors.brand.300);
256
+ --color-brand-800: theme(colors.brand.200);
257
+ --color-brand-900: theme(colors.brand.100);
258
+ --color-brand-950: theme(colors.brand.50);
259
+
260
+ /* Citron Color Scale - Dark mode variants */
261
+ --color-citron-50: theme(colors.citron.950);
262
+ --color-citron-100: theme(colors.citron.900);
263
+ --color-citron-200: theme(colors.citron.800);
264
+ --color-citron-300: theme(colors.citron.700);
265
+ --color-citron-400: theme(colors.citron.600);
266
+ --color-citron-500: theme(colors.citron.500);
267
+ --color-citron-600: theme(colors.citron.400);
268
+ --color-citron-700: theme(colors.citron.300);
269
+ --color-citron-800: theme(colors.citron.200);
270
+ --color-citron-900: theme(colors.citron.100);
271
+ --color-citron-950: theme(colors.citron.50);
272
+
273
+ /* Pine Color Scale - Dark mode variants */
274
+ --color-pine-50: theme(colors.pine.950);
275
+ --color-pine-100: theme(colors.pine.900);
276
+ --color-pine-200: theme(colors.pine.800);
277
+ --color-pine-300: theme(colors.pine.700);
278
+ --color-pine-400: theme(colors.pine.600);
279
+ --color-pine-500: theme(colors.pine.500);
280
+ --color-pine-600: theme(colors.pine.400);
281
+ --color-pine-700: theme(colors.pine.300);
282
+ --color-pine-800: theme(colors.pine.200);
283
+ --color-pine-900: theme(colors.pine.100);
284
+ --color-pine-950: theme(colors.pine.50);
285
+
286
+ /* Iris Color Scale - Dark mode variants */
287
+ --color-iris-50: theme(colors.iris.950);
288
+ --color-iris-100: theme(colors.iris.900);
289
+ --color-iris-200: theme(colors.iris.800);
290
+ --color-iris-300: theme(colors.iris.700);
291
+ --color-iris-400: theme(colors.iris.600);
292
+ --color-iris-500: theme(colors.iris.500);
293
+ --color-iris-600: theme(colors.iris.400);
294
+ --color-iris-700: theme(colors.iris.300);
295
+ --color-iris-800: theme(colors.iris.200);
296
+ --color-iris-900: theme(colors.iris.100);
297
+ --color-iris-950: theme(colors.iris.50);
298
+
299
+ /* Base Color Scale - Dark mode variants (inverted neutral palette) */
300
+ --color-base-50: theme(colors.neutral.950);
301
+ --color-base-100: theme(colors.neutral.900);
302
+ --color-base-200: theme(colors.neutral.800);
303
+ --color-base-300: theme(colors.neutral.700);
304
+ --color-base-400: theme(colors.neutral.600);
305
+ --color-base-500: theme(colors.neutral.500);
306
+ --color-base-600: theme(colors.neutral.400);
307
+ --color-base-700: theme(colors.neutral.300);
308
+ --color-base-800: theme(colors.neutral.200);
309
+ --color-base-900: theme(colors.neutral.100);
310
+ --color-base-950: theme(colors.neutral.50);
311
+
312
+ /* Background Colors - No dark mode overrides needed, base colors are already inverted */
313
+
314
+ /* Page Colors - No dark mode overrides needed, base colors are already inverted */
207
315
 
208
- /* Background Colors */
209
- --color-background: #1c1917;
210
- --color-background-secondary: #292524;
211
- --color-background-tertiary: #44403c;
316
+ /* Card Colors */
317
+ --color-card: var(--color-base-200);
318
+ --color-card-hover: var(--color-base-300);
319
+ --color-card-active: var(--color-base-400);
320
+ --color-card-elevated: var(--color-base-200);
212
321
 
213
- /* Page Colors */
214
- --color-page: #292524;
215
- --color-page-secondary: #292524;
322
+ /* Overlay Colors */
323
+ --color-overlay: rgba(0, 0, 0, 0.7);
216
324
 
217
- /* Card Colors */
218
- --color-card: #292524;
219
- --color-card-hover: #44403c;
220
- --color-card-active: #57534e;
221
- --color-card-elevated: #292524;
325
+ /* Input Colors */
326
+ --color-input: var(--color-base-300);
327
+ --color-input-hover: var(--color-base-400);
328
+ --color-input-focus: var(--color-base-300);
329
+ --color-input-disabled: var(--color-base-400);
222
330
 
223
- /* Text Colors */
224
- --color-headline: #f5f5f4;
225
- --color-body: #e7e5e4;
226
- --color-description: #d6d3d1;
227
- --color-caption: #a8a29e;
228
- --color-input-placeholder: #78716c;
229
- --color-label: #e7e5e4;
230
- --color-link: #abc4ff;
231
- --color-link-hover: #ccdbfd;
232
- --color-success-text: #49ad91;
233
- --color-warning-text: #fbbf24;
234
- --color-neutral-text: #a8a29e;
235
- --color-energetic-text: #c7d460;
236
- --color-error-text: #f87171;
237
- --color-inverse: #1c1917;
238
- --color-disabled: #78716c;
331
+ /* Text Colors - No dark mode overrides needed, base colors are already inverted */
239
332
 
240
- /* Border Colors */
241
- --color-border: #57534e;
242
- --color-border-weak: #78716c;
243
- --color-border-medium: #a8a29e;
244
- --color-border-strong: #d6d3d1;
333
+ /* Border Colors - No dark mode overrides needed, base colors are already inverted */
245
334
 
246
- /* Focus Colors */
247
- --color-focus: #abc4ff;
248
- --color-focus-weak: #8fa8ff;
249
- --color-focus-medium: #6e84fa;
250
- --color-focus-strong: #5366e2;
251
- --color-focus-disabled: #6e84fa;
335
+ /* Focus Colors - No dark mode overrides needed, brand colors are already inverted */
252
336
 
253
- /* Primary Colors */
254
- --color-primary: #6e84fa;
255
- --color-primary-weak: #5366e2;
256
- --color-primary-medium: #3f4fc0;
257
- --color-primary-strong: #2f3c99;
337
+ /* Primary Colors - No dark mode overrides needed, brand colors are already inverted */
258
338
 
259
- /* Secondary Colors */
260
- --color-secondary: #57534e;
261
- --color-secondary-weak: #44403c;
262
- --color-secondary-medium: #292524;
263
- --color-secondary-strong: #1c1917;
339
+ /* Secondary Colors - No dark mode overrides needed, base colors are already inverted */
264
340
 
265
341
  /* Success Colors */
266
- --color-success: #0C5D43;
267
- --color-success-weak: #0a513a;
268
- --color-success-medium: #49ad91;
269
- --color-success-strong: #78c4ad;
342
+ --color-success: theme(colors.pine.400);
343
+ --color-success-weak: theme(colors.pine.500);
344
+ --color-success-medium: theme(colors.pine.300);
345
+ --color-success-strong: theme(colors.pine.200);
270
346
 
271
347
  /* Warning Colors */
272
- --color-warning: #d97706;
273
- --color-warning-weak: #b45309;
274
- --color-warning-medium: #92400e;
275
- --color-warning-strong: #78350f;
348
+ --color-warning: theme(colors.amber.500);
349
+ --color-warning-weak: theme(colors.amber.600);
350
+ --color-warning-medium: theme(colors.amber.400);
351
+ --color-warning-strong: theme(colors.amber.300);
276
352
 
277
353
  /* Error Colors */
278
- --color-error: #dc2626;
279
- --color-error-weak: #b91c1c;
280
- --color-error-medium: #991b1b;
281
- --color-error-strong: #7f1d1d;
354
+ --color-error: theme(colors.red.500);
355
+ --color-error-weak: theme(colors.red.600);
356
+ --color-error-medium: theme(colors.red.400);
357
+ --color-error-strong: theme(colors.red.300);
282
358
 
283
359
  /* Energetic Colors (Citron) */
284
- --color-energetic: #a3a852;
285
- --color-energetic-weak: #848a43;
286
- --color-energetic-medium: #666c35;
287
- --color-energetic-strong: #4d5229;
360
+ --color-energetic: theme(colors.citron.400);
361
+ --color-energetic-weak: theme(colors.citron.500);
362
+ --color-energetic-medium: theme(colors.citron.300);
363
+ --color-energetic-strong: theme(colors.citron.200);
288
364
 
289
- /* Neutral Colors */
290
- --color-neutral: #57534e;
291
- --color-neutral-weak: #78716c;
292
- --color-neutral-medium: #a8a29e;
293
- --color-neutral-strong: #d6d3d1;
365
+ /* Neutral Colors - No dark mode overrides needed, base colors are already inverted */
294
366
 
295
367
  /* Info Colors */
296
- --color-info: #6969B3;
297
- --color-info-weak: #58589e;
298
- --color-info-active: #a3a3d8;
299
- --color-info-medium: #a3a3d8;
300
- --color-info-strong: #bdbde6;
368
+ --color-info: theme(colors.iris.500);
369
+ --color-info-weak: theme(colors.iris.600);
370
+ --color-info-active: theme(colors.iris.400);
371
+ --color-info-medium: theme(colors.iris.400);
372
+ --color-info-strong: theme(colors.iris.300);
373
+ /* Text alias */
301
374
  --color-info-text: var(--color-info);
302
375
 
303
- /* Action Colors - Dark mode variants */
304
- --color-action-primary: #8fa8ff;
305
- --color-action-primary-hover: #6e84fa;
306
- --color-action-primary-active: #5366e2;
307
- --color-action-primary-disabled: #5366e2;
308
- --color-action-primary-subtle: #1f2866;
309
- --color-action-primary-subtle-hover: #2f3c99;
310
-
311
- --color-action-secondary: #78716c;
312
- --color-action-secondary-hover: #57534e;
313
- --color-action-secondary-active: #44403c;
314
- --color-action-secondary-disabled: #44403c;
315
- --color-action-secondary-subtle: #292524;
316
- --color-action-secondary-subtle-hover: #44403c;
317
-
318
- --color-action-danger: #ef4444;
319
- --color-action-danger-hover: #dc2626;
320
- --color-action-danger-active: #b91c1c;
321
- --color-action-danger-disabled: #b91c1c;
322
- --color-action-danger-subtle: #450a0a;
323
- --color-action-danger-subtle-hover: #7f1d1d;
376
+ /* ========================================
377
+ ACTION COLORS - Dark Mode Overrides
378
+ ======================================== */
379
+
380
+ /* Primary Actions - Background adapts automatically via brand color inversion */
381
+ /* 🎯 TO CHANGE bg-action-primary IN DARK MODE: Edit --color-brand-800 in .dark block (line ~275) */
382
+ /* Text color - Use brand-50 (which maps to brand-950/darkest in dark mode) for proper contrast */
383
+ --color-action-primary-text: var(--color-brand-50);
384
+
385
+ /* Secondary Actions - No dark mode overrides needed, base colors are already inverted */
386
+
387
+ /* Danger Actions */
388
+ --color-action-danger: theme(colors.red.500);
389
+ --color-action-danger-hover: theme(colors.red.600);
390
+ --color-action-danger-active: theme(colors.red.700);
391
+ --color-action-danger-disabled: theme(colors.red.700);
392
+ --color-action-danger-subtle: theme(colors.red.950);
393
+ --color-action-danger-subtle-hover: theme(colors.red.900);
394
+
395
+ /* Shadow Colors */
396
+ --shadow-opacity: 0.3;
397
+ --shadow-sm: 0 1px 3px 0 rgb(var(--shadow-color) / var(--shadow-opacity)), 0 1px 2px -1px rgb(var(--shadow-color) / var(--shadow-opacity));
398
+ --shadow-md: 0 4px 6px -1px rgb(var(--shadow-color) / var(--shadow-opacity)), 0 2px 4px -2px rgb(var(--shadow-color) / var(--shadow-opacity));
399
+ --shadow-lg: 0 10px 15px -3px rgb(var(--shadow-color) / var(--shadow-opacity)), 0 4px 6px -4px rgb(var(--shadow-color) / var(--shadow-opacity));
400
+ --shadow-xl: 0 20px 25px -5px rgb(var(--shadow-color) / var(--shadow-opacity)), 0 8px 10px -6px rgb(var(--shadow-color) / var(--shadow-opacity));
324
401
  }
325
-