@simpleplatform/ui-kit 0.1.1 → 0.2.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.
@@ -3,48 +3,48 @@ const STATUS_BADGE_TAG_NAME = 'simple-status-badge';
3
3
  const STATUS_BADGE_STYLES = `
4
4
  :host {
5
5
  display: inline-block;
6
- font-family: var(--simple-status-badge-font-family);
6
+ font-family: var(--simple-font-family-sans);
7
7
  }
8
8
 
9
9
  [part="base"] {
10
10
  align-items: center;
11
- background: var(--simple-status-badge-neutral-background);
12
- border: 1px solid var(--simple-status-badge-neutral-border);
13
- border-radius: var(--simple-status-badge-radius);
11
+ background: var(--simple-color-surface-sunken);
12
+ border: 1px solid var(--simple-color-border-default);
13
+ border-radius: var(--simple-radius-round);
14
14
  box-sizing: border-box;
15
- color: var(--simple-status-badge-neutral-foreground);
15
+ color: var(--simple-color-text-secondary);
16
16
  display: inline-flex;
17
- font-size: var(--simple-status-badge-font-size);
18
- font-weight: var(--simple-status-badge-font-weight);
19
- line-height: var(--simple-status-badge-line-height);
17
+ font-size: var(--simple-font-size-xs);
18
+ font-weight: var(--simple-font-weight-medium);
19
+ line-height: var(--simple-line-height-tight);
20
20
  max-width: 100%;
21
- min-height: var(--simple-status-badge-min-height);
21
+ min-height: var(--simple-control-height-sm);
22
22
  overflow-wrap: anywhere;
23
- padding: 0 var(--simple-status-badge-padding-inline);
23
+ padding: 0 var(--simple-space-2);
24
24
  }
25
25
 
26
26
  [part="base"][data-tone="info"] {
27
- background: var(--simple-status-badge-info-background);
28
- border-color: var(--simple-status-badge-info-border);
29
- color: var(--simple-status-badge-info-foreground);
27
+ background: var(--simple-color-status-info-background);
28
+ border-color: var(--simple-color-status-info);
29
+ color: var(--simple-color-status-info-foreground);
30
30
  }
31
31
 
32
32
  [part="base"][data-tone="success"] {
33
- background: var(--simple-status-badge-success-background);
34
- border-color: var(--simple-status-badge-success-border);
35
- color: var(--simple-status-badge-success-foreground);
33
+ background: var(--simple-color-status-success-background);
34
+ border-color: var(--simple-color-status-success);
35
+ color: var(--simple-color-status-success-foreground);
36
36
  }
37
37
 
38
38
  [part="base"][data-tone="warning"] {
39
- background: var(--simple-status-badge-warning-background);
40
- border-color: var(--simple-status-badge-warning-border);
41
- color: var(--simple-status-badge-warning-foreground);
39
+ background: var(--simple-color-status-warning-background);
40
+ border-color: var(--simple-color-status-warning);
41
+ color: var(--simple-color-status-warning-foreground);
42
42
  }
43
43
 
44
44
  [part="base"][data-tone="danger"] {
45
- background: var(--simple-status-badge-danger-background);
46
- border-color: var(--simple-status-badge-danger-border);
47
- color: var(--simple-status-badge-danger-foreground);
45
+ background: var(--simple-color-status-danger-background);
46
+ border-color: var(--simple-color-status-danger);
47
+ color: var(--simple-color-status-danger-foreground);
48
48
  }
49
49
 
50
50
  [part="description"] {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simpleplatform/ui-kit",
3
3
  "type": "module",
4
- "version": "0.1.1",
4
+ "version": "0.2.0",
5
5
  "description": "Supported UI contracts and framework bridges for Simple Spaces",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
package/theme.css CHANGED
@@ -7,50 +7,478 @@
7
7
  * customers can override them in their own stylesheet.
8
8
  */
9
9
  :root {
10
- --font-sans: 'Geist Variable', ui-sans-serif, system-ui, sans-serif;
11
- --font-mono: 'Geist Mono Variable', ui-monospace, SFMono-Regular, Menlo, monospace;
10
+ /* Local-development defaults. A host may replace these with a resolved tenant theme snapshot. */
11
+ --simple-color-canvas: hsl(0 0% 100%);
12
+ --simple-color-canvas-inverse: hsl(240 10% 3.9%);
13
+ --simple-color-surface: hsl(0 0% 100%);
14
+ --simple-color-surface-raised: hsl(0 0% 100%);
15
+ --simple-color-surface-sunken: hsl(240 4.8% 95.9%);
16
+ --simple-color-surface-overlay: hsl(0 0% 100%);
17
+ --simple-color-surface-hover: hsl(240 4.8% 93%);
18
+ --simple-color-surface-active: hsl(240 4.8% 90%);
19
+ --simple-color-surface-selected: hsl(240 4.8% 95.9%);
20
+ --simple-color-surface-disabled: hsl(240 4.8% 95.9%);
21
+ --simple-color-overlay-backdrop: hsl(0 0% 0% / 80%);
22
+ --simple-color-text-primary: hsl(240 10% 3.9%);
23
+ --simple-color-text-secondary: hsl(240 3.8% 46.1%);
24
+ --simple-color-text-tertiary: hsl(240 3.8% 46.1%);
25
+ --simple-color-text-disabled: hsl(240 3.8% 64%);
26
+ --simple-color-text-inverse: hsl(0 0% 98%);
27
+ --simple-color-text-link: hsl(240 5.9% 10%);
28
+ --simple-color-text-link-hover: hsl(240 5.9% 25%);
29
+ --simple-color-icon-primary: hsl(240 10% 3.9%);
30
+ --simple-color-icon-secondary: hsl(240 3.8% 46.1%);
31
+ --simple-color-icon-disabled: hsl(240 3.8% 66%);
32
+ --simple-color-border-subtle: hsl(240 5.9% 94%);
33
+ --simple-color-border-default: hsl(240 5.9% 90%);
34
+ --simple-color-border-strong: hsl(240 5.9% 70%);
35
+ --simple-color-border-disabled: hsl(240 5.9% 90%);
36
+ --simple-color-focus-ring: hsl(240 10% 3.9%);
37
+ --simple-color-header-background: hsl(0 0% 100%);
38
+ --simple-color-header-foreground: hsl(240 10% 3.9%);
39
+ --simple-color-navbar-background: hsl(0 0% 98%);
40
+ --simple-color-navbar-foreground: hsl(240 5.3% 26.1%);
41
+ --simple-color-navbar-primary: hsl(240 5.9% 10%);
42
+ --simple-color-navbar-primary-foreground: hsl(0 0% 98%);
43
+ --simple-color-navbar-accent: hsl(240 4.8% 95.9%);
44
+ --simple-color-navbar-accent-foreground: hsl(240 5.9% 10%);
45
+ --simple-color-navbar-ring: hsl(217.2 91.2% 59.8%);
46
+ --simple-color-accent-1: hsl(221.2 83.2% 53.3%);
47
+ --simple-color-accent-2: hsl(212 95% 68%);
48
+ --simple-color-accent-3: hsl(216 92% 60%);
49
+ --simple-color-accent-4: hsl(210 98% 78%);
50
+ --simple-color-accent-5: hsl(212 97% 87%);
51
+ --simple-color-action-primary: #0070DD;
52
+ --simple-color-action-primary-hover: #005BB5;
53
+ --simple-color-action-primary-active: #004A99;
54
+ --simple-color-action-primary-foreground: #FFFFFF;
55
+ --simple-color-action-secondary: hsl(240 4.8% 95.9%);
56
+ --simple-color-action-secondary-hover: hsl(240 4.8% 93%);
57
+ --simple-color-action-secondary-active: hsl(240 4.8% 90%);
58
+ --simple-color-action-secondary-foreground: hsl(240 5.9% 10%);
59
+ --simple-color-action-danger: hsl(0 84.2% 60.2%);
60
+ --simple-color-action-danger-hover: hsl(0 84.2% 57%);
61
+ --simple-color-action-danger-active: hsl(0 84.2% 54%);
62
+ --simple-color-action-danger-foreground: hsl(0 0% 98%);
63
+ --simple-gradient-action-primary: none;
64
+ --simple-color-status-info: hsl(221 83% 35%);
65
+ --simple-color-status-info-background: hsl(214 95% 93%);
66
+ --simple-color-status-info-foreground: hsl(221 83% 35%);
67
+ --simple-color-status-success: hsl(142 72% 25%);
68
+ --simple-color-status-success-background: hsl(142 76% 90%);
69
+ --simple-color-status-success-foreground: hsl(142 72% 25%);
70
+ --simple-color-status-warning: hsl(28 80% 25%);
71
+ --simple-color-status-warning-background: hsl(38 92% 90%);
72
+ --simple-color-status-warning-foreground: hsl(28 80% 25%);
73
+ --simple-color-status-danger: hsl(0 84.2% 60.2%);
74
+ --simple-color-status-danger-background: hsl(0 84% 95%);
75
+ --simple-color-status-danger-foreground: hsl(0 72% 35%);
76
+ --simple-color-field-background: hsl(0 0% 100%);
77
+ --simple-color-field-background-disabled: hsl(240 4.8% 95.9%);
78
+ --simple-color-field-border: hsl(240 5.9% 90%);
79
+ --simple-color-field-border-hover: hsl(240 5.9% 70%);
80
+ --simple-color-field-border-invalid: hsl(0 84.2% 60.2%);
81
+ --simple-color-field-placeholder: hsl(240 3.8% 46.1%);
82
+ --simple-color-field-text: hsl(240 10% 3.9%);
83
+ --simple-font-family-sans: 'Geist Variable', ui-sans-serif, system-ui, sans-serif;
84
+ --simple-font-family-mono: 'Geist Mono Variable', ui-monospace, SFMono-Regular, Menlo, monospace;
85
+ --simple-font-size-2xs: 0.625rem;
86
+ --simple-font-size-xs: 0.75rem;
87
+ --simple-font-size-sm: 0.875rem;
88
+ --simple-font-size-md: 1rem;
89
+ --simple-font-size-lg: 1.125rem;
90
+ --simple-font-size-xl: 1.25rem;
91
+ --simple-font-size-2xl: 1.5rem;
92
+ --simple-font-size-3xl: 1.875rem;
93
+ --simple-font-weight-regular: 400;
94
+ --simple-font-weight-medium: 500;
95
+ --simple-font-weight-semibold: 600;
96
+ --simple-font-weight-bold: 700;
97
+ --simple-line-height-tight: 1.25;
98
+ --simple-line-height-normal: 1.5;
99
+ --simple-line-height-relaxed: 1.625;
100
+ --simple-letter-spacing-tight: -0.01em;
101
+ --simple-letter-spacing-normal: 0;
102
+ --simple-space-0: 0;
103
+ --simple-space-1: 0.25rem;
104
+ --simple-space-2: 0.5rem;
105
+ --simple-space-3: 0.75rem;
106
+ --simple-space-4: 1rem;
107
+ --simple-space-5: 1.25rem;
108
+ --simple-space-6: 1.5rem;
109
+ --simple-space-8: 2rem;
110
+ --simple-space-10: 2.5rem;
111
+ --simple-space-12: 3rem;
112
+ --simple-space-16: 4rem;
113
+ --simple-space-20: 5rem;
114
+ --simple-space-24: 6rem;
115
+ --simple-control-height-sm: 2rem;
116
+ --simple-control-height-md: 2.5rem;
117
+ --simple-control-height-lg: 3rem;
118
+ --simple-icon-size-sm: 1rem;
119
+ --simple-icon-size-md: 1.25rem;
120
+ --simple-icon-size-lg: 1.5rem;
121
+ --simple-content-width-sm: 24rem;
122
+ --simple-content-width-md: 42rem;
123
+ --simple-content-width-lg: 64rem;
124
+ --simple-content-width-xl: 80rem;
125
+ --simple-content-width-2xl: 96rem;
126
+ --simple-sidebar-width: 16rem;
127
+ --simple-radius-none: 0;
128
+ --simple-radius-sm: 0.25rem;
129
+ --simple-radius-md: 0.5rem;
130
+ --simple-radius-lg: 0.75rem;
131
+ --simple-radius-xl: 1rem;
132
+ --simple-radius-round: 9999px;
133
+ --simple-shadow-none: none;
134
+ --simple-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.08);
135
+ --simple-shadow-md: 0 4px 6px rgb(0 0 0 / 0.1);
136
+ --simple-shadow-lg: 0 10px 15px rgb(0 0 0 / 0.12);
137
+ --simple-shadow-overlay: 0 20px 25px rgb(0 0 0 / 0.18);
138
+ --simple-duration-instant: 0ms;
139
+ --simple-duration-fast: 120ms;
140
+ --simple-duration-normal: 180ms;
141
+ --simple-duration-slow: 280ms;
142
+ --simple-easing-standard: cubic-bezier(0.2, 0, 0, 1);
143
+ --simple-easing-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);
144
+ --simple-z-base: 0;
145
+ --simple-z-sticky: 100;
146
+ --simple-z-dropdown: 200;
147
+ --simple-z-overlay: 300;
148
+ --simple-z-modal: 400;
149
+ --simple-z-toast: 500;
150
+ }
151
+
152
+
153
+ .dark {
154
+ --simple-color-action-danger: hsl(0 62.8% 30.6%);
155
+ --simple-color-action-danger-active: hsl(0 62.8% 25%);
156
+ --simple-color-action-danger-hover: hsl(0 62.8% 27%);
157
+ --simple-color-action-primary: #0070DD;
158
+ --simple-color-action-primary-active: #004A99;
159
+ --simple-color-action-primary-foreground: #FFFFFF;
160
+ --simple-color-action-primary-hover: #005BB5;
161
+ --simple-color-action-secondary: hsl(240 3.7% 15.9%);
162
+ --simple-color-action-secondary-active: hsl(240 3.7% 21%);
163
+ --simple-color-action-secondary-foreground: hsl(0 0% 98%);
164
+ --simple-color-action-secondary-hover: hsl(240 3.7% 18%);
165
+ --simple-color-border-default: hsl(240 3.7% 15.9%);
166
+ --simple-color-border-disabled: hsl(240 3.7% 15.9%);
167
+ --simple-color-border-strong: hsl(240 3.7% 30%);
168
+ --simple-color-border-subtle: hsl(240 3.7% 13%);
169
+ --simple-color-canvas: hsl(240 10% 3.9%);
170
+ --simple-color-canvas-inverse: hsl(0 0% 98%);
171
+ --simple-color-field-background: hsl(240 10% 3.9%);
172
+ --simple-color-field-background-disabled: hsl(240 3.7% 15.9%);
173
+ --simple-color-field-border: hsl(240 3.7% 15.9%);
174
+ --simple-color-field-border-hover: hsl(240 3.7% 30%);
175
+ --simple-color-field-border-invalid: hsl(0 62.8% 30.6%);
176
+ --simple-color-field-placeholder: hsl(240 5% 64.9%);
177
+ --simple-color-field-text: hsl(0 0% 98%);
178
+ --simple-color-focus-ring: hsl(240 4.9% 83.9%);
179
+ --simple-color-header-background: hsl(240 10% 3.9%);
180
+ --simple-color-header-foreground: hsl(0 0% 98%);
181
+ --simple-color-icon-disabled: hsl(240 5% 56%);
182
+ --simple-color-icon-primary: hsl(0 0% 98%);
183
+ --simple-color-icon-secondary: hsl(240 5% 64.9%);
184
+ --simple-color-navbar-accent: hsl(240 3.7% 15.9%);
185
+ --simple-color-navbar-accent-foreground: hsl(240 4.8% 95.9%);
186
+ --simple-color-navbar-background: hsl(240 5.9% 10%);
187
+ --simple-color-navbar-foreground: hsl(240 4.8% 95.9%);
188
+ --simple-color-navbar-primary: hsl(224.3 76.3% 48%);
189
+ --simple-color-navbar-primary-foreground: hsl(0 0% 100%);
190
+ --simple-color-status-danger: hsl(0 55% 42%);
191
+ --simple-color-status-danger-background: hsl(0 45% 24%);
192
+ --simple-color-status-danger-foreground: hsl(0 85% 88%);
193
+ --simple-color-status-info: hsl(214 70% 45%);
194
+ --simple-color-status-info-background: hsl(214 60% 25%);
195
+ --simple-color-status-info-foreground: hsl(214 95% 90%);
196
+ --simple-color-status-success: hsl(142 50% 38%);
197
+ --simple-color-status-success-background: hsl(142 45% 22%);
198
+ --simple-color-status-success-foreground: hsl(142 65% 85%);
199
+ --simple-color-status-warning: hsl(38 65% 42%);
200
+ --simple-color-status-warning-background: hsl(38 55% 24%);
201
+ --simple-color-status-warning-foreground: hsl(38 90% 85%);
202
+ --simple-color-surface: hsl(240 10% 3.9%);
203
+ --simple-color-surface-active: hsl(240 3.7% 21%);
204
+ --simple-color-surface-disabled: hsl(240 3.7% 15.9%);
205
+ --simple-color-surface-hover: hsl(240 3.7% 18%);
206
+ --simple-color-surface-overlay: hsl(240 10% 3.9%);
207
+ --simple-color-surface-raised: hsl(240 10% 3.9%);
208
+ --simple-color-surface-selected: hsl(240 3.7% 15.9%);
209
+ --simple-color-surface-sunken: hsl(240 3.7% 15.9%);
210
+ --simple-color-text-disabled: hsl(240 5% 50%);
211
+ --simple-color-text-inverse: hsl(240 10% 3.9%);
212
+ --simple-color-text-link: hsl(240 4.9% 83.9%);
213
+ --simple-color-text-link-hover: hsl(0 0% 98%);
214
+ --simple-color-text-primary: hsl(0 0% 98%);
215
+ --simple-color-text-secondary: hsl(240 5% 64.9%);
216
+ }
217
+
218
+ @theme {
219
+ /* shadcn color tokens */
220
+ --color-background: var(--simple-color-canvas);
221
+ --color-foreground: var(--simple-color-text-primary);
222
+ --color-card: var(--simple-color-surface-raised);
223
+ --color-card-foreground: var(--simple-color-text-primary);
224
+ --color-popover: var(--simple-color-surface-overlay);
225
+ --color-popover-foreground: var(--simple-color-text-primary);
226
+ --color-primary: var(--simple-color-action-primary);
227
+ --color-primary-foreground: var(--simple-color-action-primary-foreground);
228
+ --color-secondary: var(--simple-color-action-secondary);
229
+ --color-secondary-foreground: var(--simple-color-action-secondary-foreground);
230
+ --color-muted: var(--simple-color-surface-sunken);
231
+ --color-muted-foreground: var(--simple-color-text-secondary);
232
+ --color-accent: var(--simple-color-surface-hover);
233
+ --color-accent-foreground: var(--simple-color-text-primary);
234
+ --color-destructive: var(--simple-color-action-danger);
235
+ --color-destructive-foreground: var(--simple-color-action-danger-foreground);
236
+ --color-border: var(--simple-color-border-default);
237
+ --color-input: var(--simple-color-field-border);
238
+ --color-ring: var(--simple-color-focus-ring);
239
+
240
+ /* shadcn sidebar color tokens */
241
+ --color-sidebar: var(--simple-color-navbar-background);
242
+ --color-sidebar-background: var(--simple-color-navbar-background);
243
+ --color-sidebar-foreground: var(--simple-color-navbar-foreground);
244
+ --color-sidebar-primary: var(--simple-color-navbar-primary);
245
+ --color-sidebar-primary-foreground: var(--simple-color-navbar-primary-foreground);
246
+ --color-sidebar-accent: var(--simple-color-navbar-accent);
247
+ --color-sidebar-accent-foreground: var(--simple-color-navbar-accent-foreground);
248
+ --color-sidebar-border: var(--simple-color-border-default);
249
+ --color-sidebar-ring: var(--simple-color-navbar-ring);
250
+
251
+ --color-navbar: var(--simple-color-navbar-background);
252
+ --color-navbar-background: var(--simple-color-navbar-background);
253
+ --color-navbar-foreground: var(--simple-color-navbar-foreground);
254
+ --color-navbar-primary: var(--simple-color-navbar-primary);
255
+ --color-navbar-primary-foreground: var(--simple-color-navbar-primary-foreground);
256
+ --color-navbar-accent: var(--simple-color-navbar-accent);
257
+ --color-navbar-accent-foreground: var(--simple-color-navbar-accent-foreground);
258
+ --color-navbar-border: var(--simple-color-border-default);
259
+ --color-navbar-ring: var(--simple-color-navbar-ring);
260
+
261
+ /* Semantic utility families: header */
262
+ --color-header-background: var(--simple-color-header-background);
263
+ --color-header-foreground: var(--simple-color-header-foreground);
264
+ --color-header-border: var(--simple-color-border-default);
265
+
266
+ /* shadcn chart utilities */
267
+ --color-chart-1: var(--simple-color-accent-1);
268
+ --color-chart-2: var(--simple-color-accent-2);
269
+ --color-chart-3: var(--simple-color-accent-3);
270
+ --color-chart-4: var(--simple-color-accent-4);
271
+ --color-chart-5: var(--simple-color-accent-5);
272
+
273
+ /* Semantic utility families: canvas */
274
+ --color-canvas: var(--simple-color-canvas);
275
+ --color-canvas-inverse: var(--simple-color-canvas-inverse);
276
+
277
+ /* Semantic utility families: surface */
278
+ --color-surface: var(--simple-color-surface);
279
+ --color-surface-raised: var(--simple-color-surface-raised);
280
+ --color-surface-sunken: var(--simple-color-surface-sunken);
281
+ --color-surface-overlay: var(--simple-color-surface-overlay);
282
+ --color-surface-hover: var(--simple-color-surface-hover);
283
+ --color-surface-active: var(--simple-color-surface-active);
284
+ --color-surface-selected: var(--simple-color-surface-selected);
285
+ --color-surface-disabled: var(--simple-color-surface-disabled);
286
+
287
+ /* Semantic utility families: text */
288
+ --color-text-primary: var(--simple-color-text-primary);
289
+ --color-text-secondary: var(--simple-color-text-secondary);
290
+ --color-text-tertiary: var(--simple-color-text-tertiary);
291
+ --color-text-disabled: var(--simple-color-text-disabled);
292
+ --color-text-inverse: var(--simple-color-text-inverse);
293
+ --color-text-link: var(--simple-color-text-link);
294
+ --color-text-link-hover: var(--simple-color-text-link-hover);
295
+
296
+ /* Semantic utility families: icon */
297
+ --color-icon-primary: var(--simple-color-icon-primary);
298
+ --color-icon-secondary: var(--simple-color-icon-secondary);
299
+ --color-icon-disabled: var(--simple-color-icon-disabled);
300
+
301
+ /* Semantic utility families: border */
302
+ --color-border-subtle: var(--simple-color-border-subtle);
303
+ --color-border-default: var(--simple-color-border-default);
304
+ --color-border-strong: var(--simple-color-border-strong);
305
+ --color-border-disabled: var(--simple-color-border-disabled);
306
+
307
+ /* Semantic utility families: focus */
308
+ --color-focus-ring: var(--simple-color-focus-ring);
309
+ --color-overlay-backdrop: var(--simple-color-overlay-backdrop);
310
+
311
+ /* Semantic utility families: action */
312
+ --color-action-primary: var(--simple-color-action-primary);
313
+ --color-action-primary-hover: var(--simple-color-action-primary-hover);
314
+ --color-action-primary-active: var(--simple-color-action-primary-active);
315
+ --color-action-primary-foreground: var(--simple-color-action-primary-foreground);
316
+ --color-action-secondary: var(--simple-color-action-secondary);
317
+ --color-action-secondary-hover: var(--simple-color-action-secondary-hover);
318
+ --color-action-secondary-active: var(--simple-color-action-secondary-active);
319
+ --color-action-secondary-foreground: var(--simple-color-action-secondary-foreground);
320
+ --color-action-danger: var(--simple-color-action-danger);
321
+ --color-action-danger-hover: var(--simple-color-action-danger-hover);
322
+ --color-action-danger-active: var(--simple-color-action-danger-active);
323
+ --color-action-danger-foreground: var(--simple-color-action-danger-foreground);
324
+ --background-image-action-primary-gradient: var(--simple-gradient-action-primary);
325
+
326
+ /* Semantic utility families: status */
327
+ --color-status-info: var(--simple-color-status-info);
328
+ --color-status-info-background: var(--simple-color-status-info-background);
329
+ --color-status-info-foreground: var(--simple-color-status-info-foreground);
330
+ --color-status-success: var(--simple-color-status-success);
331
+ --color-status-success-background: var(--simple-color-status-success-background);
332
+ --color-status-success-foreground: var(--simple-color-status-success-foreground);
333
+ --color-status-warning: var(--simple-color-status-warning);
334
+ --color-status-warning-background: var(--simple-color-status-warning-background);
335
+ --color-status-warning-foreground: var(--simple-color-status-warning-foreground);
336
+ --color-status-danger: var(--simple-color-status-danger);
337
+ --color-status-danger-background: var(--simple-color-status-danger-background);
338
+ --color-status-danger-foreground: var(--simple-color-status-danger-foreground);
339
+
340
+ /* Semantic utility families: field */
341
+ --color-field-background: var(--simple-color-field-background);
342
+ --color-field-background-disabled: var(--simple-color-field-background-disabled);
343
+ --color-field-border: var(--simple-color-field-border);
344
+ --color-field-border-hover: var(--simple-color-field-border-hover);
345
+ --color-field-border-invalid: var(--simple-color-field-border-invalid);
346
+ --color-field-placeholder: var(--simple-color-field-placeholder);
347
+ --color-field-text: var(--simple-color-field-text);
12
348
 
13
- /* StatusBadge defaults follow the platform palette and remain Space-overridable. */
14
- --simple-status-badge-font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif);
15
- --simple-status-badge-font-size: 0.75rem;
16
- --simple-status-badge-font-weight: 500;
17
- --simple-status-badge-line-height: 1rem;
18
- --simple-status-badge-min-height: 1.5rem;
19
- --simple-status-badge-padding-inline: 0.5rem;
20
- --simple-status-badge-radius: 9999px;
349
+ /* Semantic utility families: chart */
350
+ --color-chart-series-1: var(--simple-color-accent-1);
351
+ --color-chart-series-2: var(--simple-color-accent-2);
352
+ --color-chart-series-3: var(--simple-color-accent-3);
353
+ --color-chart-series-4: var(--simple-color-accent-4);
354
+ --color-chart-series-5: var(--simple-color-accent-5);
21
355
 
22
- --simple-status-badge-neutral-background: hsl(var(--secondary, 210 40% 98%));
23
- --simple-status-badge-neutral-border: hsl(var(--border, 213 27% 84%));
24
- --simple-status-badge-neutral-foreground: hsl(var(--secondary-foreground, 215 19% 35%));
356
+ /* Typography: font families */
357
+ --font-sans: var(--simple-font-family-sans);
358
+ --font-mono: var(--simple-font-family-mono);
25
359
 
26
- --simple-status-badge-info-background: hsl(214 95% 93%);
27
- --simple-status-badge-info-border: hsl(214 95% 75%);
28
- --simple-status-badge-info-foreground: hsl(221 83% 35%);
360
+ /* Typography: text size utilities */
361
+ --text-2xs: var(--simple-font-size-2xs);
362
+ --text-xs: var(--simple-font-size-xs);
363
+ --text-sm: var(--simple-font-size-sm);
364
+ --text-base: var(--simple-font-size-md);
365
+ --text-md: var(--simple-font-size-md);
366
+ --text-lg: var(--simple-font-size-lg);
367
+ --text-xl: var(--simple-font-size-xl);
368
+ --text-2xl: var(--simple-font-size-2xl);
369
+ --text-3xl: var(--simple-font-size-3xl);
29
370
 
30
- --simple-status-badge-success-background: hsl(142 76% 90%);
31
- --simple-status-badge-success-border: hsl(142 76% 65%);
32
- --simple-status-badge-success-foreground: hsl(142 72% 25%);
371
+ /* Typography: font weights */
372
+ --font-weight-regular: var(--simple-font-weight-regular);
373
+ --font-weight-normal: var(--simple-font-weight-regular);
374
+ --font-weight-medium: var(--simple-font-weight-medium);
375
+ --font-weight-semibold: var(--simple-font-weight-semibold);
376
+ --font-weight-bold: var(--simple-font-weight-bold);
33
377
 
34
- --simple-status-badge-warning-background: hsl(38 92% 90%);
35
- --simple-status-badge-warning-border: hsl(38 92% 65%);
36
- --simple-status-badge-warning-foreground: hsl(28 80% 25%);
378
+ /* Typography: line heights */
379
+ --leading-tight: var(--simple-line-height-tight);
380
+ --leading-normal: var(--simple-line-height-normal);
381
+ --leading-relaxed: var(--simple-line-height-relaxed);
37
382
 
38
- --simple-status-badge-danger-background: hsl(0 84% 95%);
39
- --simple-status-badge-danger-border: hsl(0 84% 75%);
40
- --simple-status-badge-danger-foreground: hsl(0 72% 35%);
383
+ /* Typography: tracking */
384
+ --tracking-tight: var(--simple-letter-spacing-tight);
385
+ --tracking-normal: var(--simple-letter-spacing-normal);
386
+
387
+ /* Spacing and layout utilities */
388
+ --spacing-0: var(--simple-space-0);
389
+ --spacing-1: var(--simple-space-1);
390
+ --spacing-2: var(--simple-space-2);
391
+ --spacing-3: var(--simple-space-3);
392
+ --spacing-4: var(--simple-space-4);
393
+ --spacing-5: var(--simple-space-5);
394
+ --spacing-6: var(--simple-space-6);
395
+ --spacing-8: var(--simple-space-8);
396
+ --spacing-10: var(--simple-space-10);
397
+ --spacing-12: var(--simple-space-12);
398
+ --spacing-16: var(--simple-space-16);
399
+ --spacing-20: var(--simple-space-20);
400
+ --spacing-24: var(--simple-space-24);
401
+
402
+ --height-control-sm: var(--simple-control-height-sm);
403
+ --height-control-md: var(--simple-control-height-md);
404
+ --height-control-lg: var(--simple-control-height-lg);
405
+
406
+ --height-icon-sm: var(--simple-icon-size-sm);
407
+ --height-icon-md: var(--simple-icon-size-md);
408
+ --height-icon-lg: var(--simple-icon-size-lg);
409
+ --size-icon-sm: var(--simple-icon-size-sm);
410
+ --size-icon-md: var(--simple-icon-size-md);
411
+ --size-icon-lg: var(--simple-icon-size-lg);
412
+
413
+ --container-content-sm: var(--simple-content-width-sm);
414
+ --container-content-md: var(--simple-content-width-md);
415
+ --container-content-lg: var(--simple-content-width-lg);
416
+ --container-content-xl: var(--simple-content-width-xl);
417
+ --container-content-2xl: var(--simple-content-width-2xl);
418
+ --width-sidebar: var(--simple-sidebar-width);
419
+
420
+ /* Radii */
421
+ --radius: var(--simple-radius-md);
422
+ --radius-none: var(--simple-radius-none);
423
+ --radius-sm: var(--simple-radius-sm);
424
+ --radius-md: var(--simple-radius-md);
425
+ --radius-lg: var(--simple-radius-lg);
426
+ --radius-xl: var(--simple-radius-xl);
427
+ --radius-round: var(--simple-radius-round);
428
+ --radius-full: var(--simple-radius-round);
429
+
430
+ /* Shadows */
431
+ --shadow: var(--simple-shadow-md);
432
+ --shadow-none: var(--simple-shadow-none);
433
+ --shadow-sm: var(--simple-shadow-sm);
434
+ --shadow-md: var(--simple-shadow-md);
435
+ --shadow-lg: var(--simple-shadow-lg);
436
+ --shadow-overlay: var(--simple-shadow-overlay);
41
437
  }
42
438
 
43
- .dark {
44
- --simple-status-badge-info-background: hsl(214 60% 25%);
45
- --simple-status-badge-info-border: hsl(214 70% 45%);
46
- --simple-status-badge-info-foreground: hsl(214 95% 90%);
47
- --simple-status-badge-success-background: hsl(142 45% 22%);
48
- --simple-status-badge-success-border: hsl(142 50% 38%);
49
- --simple-status-badge-success-foreground: hsl(142 65% 85%);
50
- --simple-status-badge-warning-background: hsl(38 55% 24%);
51
- --simple-status-badge-warning-border: hsl(38 65% 42%);
52
- --simple-status-badge-warning-foreground: hsl(38 90% 85%);
53
- --simple-status-badge-danger-background: hsl(0 45% 24%);
54
- --simple-status-badge-danger-border: hsl(0 55% 42%);
55
- --simple-status-badge-danger-foreground: hsl(0 85% 88%);
439
+ @media (min-width: 40rem) {
440
+ .container {
441
+ max-width: var(--simple-content-width-sm);
442
+ }
443
+ }
444
+
445
+ @media (min-width: 48rem) {
446
+ .container {
447
+ max-width: var(--simple-content-width-md);
448
+ }
449
+ }
450
+
451
+ @media (min-width: 64rem) {
452
+ .container {
453
+ max-width: var(--simple-content-width-lg);
454
+ }
455
+ }
456
+
457
+ @media (min-width: 80rem) {
458
+ .container {
459
+ max-width: var(--simple-content-width-xl);
460
+ }
461
+ }
462
+
463
+ @media (min-width: 96rem) {
464
+ .container {
465
+ max-width: var(--simple-content-width-2xl);
466
+ }
467
+ }
468
+
469
+ @layer utilities {
470
+ .lucide:is([class~='size-icon-sm'], [class~='size-4'], [class~='h-4'][class~='w-4']) {
471
+ height: var(--simple-icon-size-sm);
472
+ width: var(--simple-icon-size-sm);
473
+ }
474
+
475
+ .lucide:is([class~='size-icon-md'], [class~='size-5'], [class~='h-5'][class~='w-5']) {
476
+ height: var(--simple-icon-size-md);
477
+ width: var(--simple-icon-size-md);
478
+ }
479
+
480
+ .lucide:is([class~='size-icon-lg'], [class~='size-6'], [class~='h-6'][class~='w-6']) {
481
+ height: var(--simple-icon-size-lg);
482
+ width: var(--simple-icon-size-lg);
483
+ }
56
484
  }