@salemcobalt/tokens 0.2.0-rc.3 → 0.2.0-rc.30

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.
package/README.md CHANGED
@@ -10,3 +10,23 @@ Design tokens for the Salem Cobalt design system. One Style Dictionary source (`
10
10
  | `@salemcobalt/tokens/json` | `dist/json/tokens.json` | `{ light, dark }` flat maps of resolved values. |
11
11
 
12
12
  `src/` is the source of truth. `scripts/generate-color.mjs` regenerates the color primitives and the themed color and elevation tokens from OKLCH parameters; run it only when the palette itself changes, then review the diff. `pnpm test` checks every documented text/surface pair against WCAG AA in both themes.
13
+
14
+ ## Layering
15
+
16
+ `--sc-z-*` is one ordered ladder; every fixed or portaled surface in `@salemcobalt/ui` takes its `z-index` from it and
17
+ nothing else sets one. Popups sit above dialogs on purpose: a Menu, Select or Popover opened from inside a Dialog
18
+ renders over it, and a Tooltip over that.
19
+
20
+ | Token | Value | Used by |
21
+ | ----------------- | ----- | ------------------------------------------------------------------ |
22
+ | `--sc-z-base` | 0 | Normal flow. |
23
+ | `--sc-z-raised` | 1 | Hover and focus rings over siblings. |
24
+ | `--sc-z-sticky` | 100 | Pinned chrome inside the page: sticky Toolbar, Banner, Table head. |
25
+ | `--sc-z-backdrop` | 1100 | Dialog scrim. |
26
+ | `--sc-z-dialog` | 1200 | Dialog popup and sheet. |
27
+ | `--sc-z-dropdown` | 1300 | Menu, Select and Popover positioners, so they open over a Dialog. |
28
+ | `--sc-z-toast` | 1400 | Toasts. |
29
+ | `--sc-z-tooltip` | 1500 | Tooltips, above everything. |
30
+
31
+ An app that pins its own chrome (a header, a bottom bar) should use `--sc-z-sticky` or a value below
32
+ `--sc-z-backdrop` so dialogs still cover it. `pnpm test` asserts the order.
@@ -1,4 +1,4 @@
1
- /* @salemcobalt/tokens 0.2.0-rc.3 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.30 — generated from src/ by Style Dictionary. Do not edit. */
2
2
  :root, [data-theme="light"] {
3
3
  color-scheme: light;
4
4
  --sc-color-white: #ffffff; /** Primitive. */
@@ -13,6 +13,7 @@
13
13
  --sc-color-neutral-600: #707378; /** Primitive. Cool neutral, OKLCH hue 263. */
14
14
  --sc-color-neutral-700: #54585f; /** Primitive. Cool neutral, OKLCH hue 263. */
15
15
  --sc-color-neutral-800: #3c4046; /** Primitive. Cool neutral, OKLCH hue 263. */
16
+ --sc-color-neutral-850: #32353b; /** Primitive. Cool neutral, OKLCH hue 263. Between 800 and 900: the dark hover wash on raised surfaces. */
16
17
  --sc-color-neutral-900: #282b31; /** Primitive. Cool neutral, OKLCH hue 263. */
17
18
  --sc-color-neutral-950: #191c22; /** Primitive. Cool neutral, OKLCH hue 263. */
18
19
  --sc-color-neutral-1000: #0e1116; /** Primitive. Cool neutral, OKLCH hue 263. */
@@ -72,21 +73,24 @@
72
73
  --sc-color-teal-900: #013937; /** Primitive. OKLCH hue 192. */
73
74
  --sc-color-teal-950: #002524; /** Primitive. OKLCH hue 192. */
74
75
  --sc-color-surface-backdrop: #0b0d1699; /** Dialog scrim, 60% alpha. */
76
+ --sc-color-accent-wash: #f6f3ff; /** Faint selected-row wash, lighter than accent.subtle: brand.500 at 7% over surface.default, precomputed as an opaque swatch. Pair with accent.border. */
75
77
  --sc-z-base: 0; /** Normal flow. */
76
78
  --sc-z-raised: 1; /** Hover and focus rings over siblings. */
77
- --sc-z-sticky: 100; /** Sticky headers and table heads. */
78
- --sc-z-dropdown: 1000; /** Menus, selects, popovers. */
79
+ --sc-z-sticky: 100; /** Pinned chrome inside the page: sticky Toolbar, Banner, Table head. */
79
80
  --sc-z-backdrop: 1100; /** Dialog scrim. */
80
- --sc-z-dialog: 1200; /** Dialog popup. */
81
- --sc-z-toast: 1300; /** Toasts. */
82
- --sc-z-tooltip: 1400; /** Tooltips, above everything. */
81
+ --sc-z-dialog: 1200; /** Dialog popup and sheet. */
82
+ --sc-z-dropdown: 1300; /** Menus, selects, popovers. Above dialog so a popup opened from inside one shows over it. */
83
+ --sc-z-toast: 1400; /** Toasts, above open popups. */
84
+ --sc-z-tooltip: 1500; /** Tooltips, above everything. */
83
85
  --sc-duration-fast: 100ms; /** Hover and press color changes. */
84
86
  --sc-duration-base: 200ms; /** Dialog enter, backdrop fade. */
85
87
  --sc-duration-slow: 300ms; /** Layout shifts, panels sliding. */
86
88
  --sc-duration-slower: 500ms; /** Page-level transitions only. */
89
+ --sc-duration-data: 600ms; /** A value moving to its new amount: a score ring's arc, a meter's fill. */
87
90
  --sc-ease-standard: cubic-bezier(0.2, 0, 0, 1); /** Color and size changes. */
88
91
  --sc-ease-enter: cubic-bezier(0, 0, 0.2, 1); /** Elements appearing. */
89
92
  --sc-ease-exit: cubic-bezier(0.4, 0, 1, 1); /** Elements leaving, at 75% of the enter duration. */
93
+ --sc-ease-data: cubic-bezier(0.2, 0.7, 0.2, 1); /** A value settling: quick off the mark, then a long, soft landing. Pairs with duration.data. */
90
94
  --sc-radius-none: 0px; /** Flush edges, table cells. */
91
95
  --sc-radius-xs: 2px; /** Focus ring corners on square elements. */
92
96
  --sc-radius-sm: 4px; /** Badge, Kbd, Button sm. */
@@ -109,11 +113,16 @@
109
113
  --sc-size-icon-md: 16px; /** Default icon: md controls, menu items, 14px UI text. */
110
114
  --sc-size-icon-lg: 20px; /** Icon inside lg controls, headings, Stat. */
111
115
  --sc-size-icon-xl: 24px; /** Empty states and feature callouts. */
116
+ --sc-size-score-sm: 40px; /** Score tile sm: list rows. */
117
+ --sc-size-score-md: 48px; /** Score tile md: cards and summaries. */
118
+ --sc-size-score-ring: 64px; /** Score ring: detail headers. */
119
+ --sc-size-score-ring-stroke: 6px; /** Stroke of the Score ring track and arc. */
112
120
  --sc-size-dialog-sm: 400px; /** Dialog max inline size, confirmations. */
113
121
  --sc-size-dialog-md: 560px; /** Dialog max inline size, default. */
114
122
  --sc-size-dialog-lg: 720px; /** Dialog max inline size, rich content. */
115
123
  --sc-border-width-hairline: 1px; /** Every border. */
116
124
  --sc-border-width-focus: 2px; /** Focus ring stroke and offset. */
125
+ --sc-border-width-halo: 4px; /** Soft ring around a current or live marker (box-shadow spread), e.g. the current step. */
117
126
  --sc-spacing-none: 0px; /** Reset; Stack and Inline gap="none". */
118
127
  --sc-spacing-3xs: 2px; /** Hairline gaps: Kbd group gap, Badge sm padding-block. */
119
128
  --sc-spacing-2xs: 4px; /** Icon-to-label gap in sm controls; Badge padding-block; Kbd padding-inline. */
@@ -147,6 +156,7 @@
147
156
  --sc-font-tracking-snug: -0.01em; /** Headings from 2xl up. */
148
157
  --sc-font-tracking-normal: 0em; /** Text. */
149
158
  --sc-font-tracking-wide: 0.04em; /** Uppercase labels. */
159
+ --sc-font-tracking-wider: 0.07em; /** Uppercase mono overlines (Heading size overline). */
150
160
  --sc-font-measure: 65ch; /** Max line length for running text. */
151
161
  --sc-elevation-0: none; /** Flat. Card default, Badge, Button. */
152
162
  --sc-elevation-1: 0 1px 2px rgba(14, 17, 22, 0.06), 0 1px 3px rgba(14, 17, 22, 0.1); /** Elevated Card and interactive Card hover. */
@@ -158,6 +168,8 @@
158
168
  --sc-color-surface-sunken: var(--sc-color-neutral-100); /** Inset wells and code blocks. */
159
169
  --sc-color-surface-hover: var(--sc-color-neutral-100); /** Hover wash on rows and ghost controls. */
160
170
  --sc-color-surface-active: var(--sc-color-neutral-200); /** Pressed wash on rows and ghost controls. */
171
+ --sc-color-surface-raised-hover: var(--sc-color-neutral-100); /** Hover wash inside raised surfaces (menus, select popups, dialogs, elevated cards). A step off surface.raised so the highlight shows. */
172
+ --sc-color-surface-raised-active: var(--sc-color-neutral-200); /** Pressed wash and neutral fills inside raised surfaces. */
161
173
  --sc-color-text-default: var(--sc-color-neutral-1000); /** Body and headings on every surface token. */
162
174
  --sc-color-text-muted: var(--sc-color-neutral-700); /** Secondary text and metadata on every surface token. */
163
175
  --sc-color-text-subtle: var(--sc-color-neutral-600); /** Placeholders and disabled labels; 4.5:1 on surface.default only. */
@@ -172,24 +184,36 @@
172
184
  --sc-color-accent-active: var(--sc-color-brand-800); /** Primary Button pressed. Light is #4700ab exactly. */
173
185
  --sc-color-accent-subtle: var(--sc-color-brand-50); /** Soft accent Badge fill, selected row wash. */
174
186
  --sc-color-accent-text: var(--sc-color-brand-700); /** Text on accent.subtle and surface.default. */
187
+ --sc-color-accent-border: var(--sc-color-brand-500); /** Selection border on accent.wash (plain Card selected); 3:1 on accent.wash and every surface. */
175
188
  --sc-color-success-subtle: var(--sc-color-green-50); /** Soft success Badge fill. */
176
189
  --sc-color-success-text: var(--sc-color-green-800); /** Text on success.subtle and surface.default. */
177
190
  --sc-color-success-solid: var(--sc-color-green-700); /** Solid success Badge fill. */
191
+ --sc-color-success-border: var(--sc-color-green-500); /** Tone border and outline; 3:1 on success.subtle and every surface. */
178
192
  --sc-color-warning-subtle: var(--sc-color-amber-50); /** Soft warning Badge fill. */
179
193
  --sc-color-warning-text: var(--sc-color-amber-900); /** Text on warning.subtle and surface.default. */
180
194
  --sc-color-warning-solid: var(--sc-color-amber-700); /** Solid warning Badge fill. */
195
+ --sc-color-warning-border: var(--sc-color-amber-500); /** Tone border and outline; 3:1 on warning.subtle and every surface. */
181
196
  --sc-color-info-subtle: var(--sc-color-teal-50); /** Soft info Badge fill. */
182
197
  --sc-color-info-text: var(--sc-color-teal-700); /** Text on info.subtle and surface.default. */
183
198
  --sc-color-info-solid: var(--sc-color-teal-600); /** Solid info Badge fill. */
184
199
  --sc-color-danger-subtle: var(--sc-color-red-50); /** Soft danger Badge fill. */
185
200
  --sc-color-danger-text: var(--sc-color-red-800); /** Text on danger.subtle and surface.default. */
186
201
  --sc-color-danger-solid: var(--sc-color-red-700); /** Danger Button fill and solid danger Badge. */
202
+ --sc-color-danger-border: var(--sc-color-red-500); /** Tone border and outline; 3:1 on danger.subtle and every surface. */
187
203
  --sc-color-danger-hover: var(--sc-color-red-800); /** Danger Button hover. */
204
+ --sc-color-diff-added-wash: var(--sc-color-green-50); /** Tint behind added text in a word diff. */
205
+ --sc-color-diff-added-stroke: var(--sc-color-green-600); /** Underline under added text; 3:1 on diff.added-wash. */
206
+ --sc-color-diff-removed-wash: var(--sc-color-red-50); /** Tint behind removed text in a word diff. Removed text is text.muted. */
207
+ --sc-color-diff-removed-stroke: var(--sc-color-red-600); /** Strike-through on removed text; 3:1 on diff.removed-wash. */
208
+ --sc-color-avatar-fill: var(--sc-color-brand-100); /** Avatar disc behind initials: a brand tint a step stronger than accent.subtle. Not the boundary on its own (1.0-1.4:1 on the surfaces); avatar.ring is. */
209
+ --sc-color-avatar-text: var(--sc-color-brand-700); /** Initials on avatar.fill; 4.5:1. */
210
+ --sc-color-avatar-ring: var(--sc-color-brand-500); /** Avatar's 1px inset ring, the shape's boundary: 3:1 on avatar.fill and on canvas, default, raised and sunken. */
188
211
  }
189
212
 
190
213
  [data-theme="dark"] {
191
214
  color-scheme: dark;
192
215
  --sc-color-surface-backdrop: #00000099; /** Dialog scrim, 60% alpha. */
216
+ --sc-color-accent-wash: #232431; /** Faint selected-row wash, lighter than accent.subtle: brand.400 at 7% over surface.default, precomputed as an opaque swatch. Pair with accent.border. */
193
217
  --sc-elevation-0: none; /** Flat. Card default, Badge, Button. */
194
218
  --sc-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5); /** Elevated Card and interactive Card hover. */
195
219
  --sc-elevation-2: 0 2px 4px rgba(0, 0, 0, 0.5), 0 8px 20px -4px rgba(0, 0, 0, 0.6); /** Menus, popovers, toasts. */
@@ -200,6 +224,8 @@
200
224
  --sc-color-surface-sunken: var(--sc-color-black); /** Inset wells and code blocks. */
201
225
  --sc-color-surface-hover: var(--sc-color-neutral-900); /** Hover wash on rows and ghost controls. */
202
226
  --sc-color-surface-active: var(--sc-color-neutral-800); /** Pressed wash on rows and ghost controls. */
227
+ --sc-color-surface-raised-hover: var(--sc-color-neutral-850); /** Hover wash inside raised surfaces (menus, select popups, dialogs, elevated cards). A step off surface.raised so the highlight shows. */
228
+ --sc-color-surface-raised-active: var(--sc-color-neutral-800); /** Pressed wash and neutral fills inside raised surfaces. */
203
229
  --sc-color-text-default: var(--sc-color-neutral-50); /** Body and headings on every surface token. */
204
230
  --sc-color-text-muted: var(--sc-color-neutral-400); /** Secondary text and metadata on every surface token. */
205
231
  --sc-color-text-subtle: var(--sc-color-neutral-500); /** Placeholders and disabled labels; 4.5:1 on surface.default only. */
@@ -214,25 +240,37 @@
214
240
  --sc-color-accent-active: var(--sc-color-brand-200); /** Primary Button pressed. Light is #4700ab exactly. */
215
241
  --sc-color-accent-subtle: var(--sc-color-brand-950); /** Soft accent Badge fill, selected row wash. */
216
242
  --sc-color-accent-text: var(--sc-color-brand-300); /** Text on accent.subtle and surface.default. */
243
+ --sc-color-accent-border: var(--sc-color-brand-500); /** Selection border on accent.wash (plain Card selected); 3:1 on accent.wash and every surface. */
217
244
  --sc-color-success-subtle: var(--sc-color-green-950); /** Soft success Badge fill. */
218
245
  --sc-color-success-text: var(--sc-color-green-300); /** Text on success.subtle and surface.default. */
219
246
  --sc-color-success-solid: var(--sc-color-green-400); /** Solid success Badge fill. */
247
+ --sc-color-success-border: var(--sc-color-green-500); /** Tone border and outline; 3:1 on success.subtle and every surface. */
220
248
  --sc-color-warning-subtle: var(--sc-color-amber-950); /** Soft warning Badge fill. */
221
249
  --sc-color-warning-text: var(--sc-color-amber-300); /** Text on warning.subtle and surface.default. */
222
250
  --sc-color-warning-solid: var(--sc-color-amber-400); /** Solid warning Badge fill. */
251
+ --sc-color-warning-border: var(--sc-color-amber-500); /** Tone border and outline; 3:1 on warning.subtle and every surface. */
223
252
  --sc-color-info-subtle: var(--sc-color-teal-950); /** Soft info Badge fill. */
224
253
  --sc-color-info-text: var(--sc-color-teal-300); /** Text on info.subtle and surface.default. */
225
254
  --sc-color-info-solid: var(--sc-color-teal-400); /** Solid info Badge fill. */
226
255
  --sc-color-danger-subtle: var(--sc-color-red-950); /** Soft danger Badge fill. */
227
256
  --sc-color-danger-text: var(--sc-color-red-300); /** Text on danger.subtle and surface.default. */
228
257
  --sc-color-danger-solid: var(--sc-color-red-400); /** Danger Button fill and solid danger Badge. */
258
+ --sc-color-danger-border: var(--sc-color-red-500); /** Tone border and outline; 3:1 on danger.subtle and every surface. */
229
259
  --sc-color-danger-hover: var(--sc-color-red-300); /** Danger Button hover. */
260
+ --sc-color-diff-added-wash: var(--sc-color-green-950); /** Tint behind added text in a word diff. */
261
+ --sc-color-diff-added-stroke: var(--sc-color-green-400); /** Underline under added text; 3:1 on diff.added-wash. */
262
+ --sc-color-diff-removed-wash: var(--sc-color-red-950); /** Tint behind removed text in a word diff. Removed text is text.muted. */
263
+ --sc-color-diff-removed-stroke: var(--sc-color-red-400); /** Strike-through on removed text; 3:1 on diff.removed-wash. */
264
+ --sc-color-avatar-fill: var(--sc-color-brand-900); /** Avatar disc behind initials: a brand tint a step stronger than accent.subtle. Not the boundary on its own (1.0-1.4:1 on the surfaces); avatar.ring is. */
265
+ --sc-color-avatar-text: var(--sc-color-brand-300); /** Initials on avatar.fill; 4.5:1. */
266
+ --sc-color-avatar-ring: var(--sc-color-brand-400); /** Avatar's 1px inset ring, the shape's boundary: 3:1 on avatar.fill and on canvas, default, raised and sunken. */
230
267
  }
231
268
 
232
269
  @media (prefers-color-scheme: dark) {
233
270
  :root:not([data-theme="light"]) {
234
271
  color-scheme: dark;
235
272
  --sc-color-surface-backdrop: #00000099; /** Dialog scrim, 60% alpha. */
273
+ --sc-color-accent-wash: #232431; /** Faint selected-row wash, lighter than accent.subtle: brand.400 at 7% over surface.default, precomputed as an opaque swatch. Pair with accent.border. */
236
274
  --sc-elevation-0: none; /** Flat. Card default, Badge, Button. */
237
275
  --sc-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5); /** Elevated Card and interactive Card hover. */
238
276
  --sc-elevation-2: 0 2px 4px rgba(0, 0, 0, 0.5), 0 8px 20px -4px rgba(0, 0, 0, 0.6); /** Menus, popovers, toasts. */
@@ -243,6 +281,8 @@
243
281
  --sc-color-surface-sunken: var(--sc-color-black); /** Inset wells and code blocks. */
244
282
  --sc-color-surface-hover: var(--sc-color-neutral-900); /** Hover wash on rows and ghost controls. */
245
283
  --sc-color-surface-active: var(--sc-color-neutral-800); /** Pressed wash on rows and ghost controls. */
284
+ --sc-color-surface-raised-hover: var(--sc-color-neutral-850); /** Hover wash inside raised surfaces (menus, select popups, dialogs, elevated cards). A step off surface.raised so the highlight shows. */
285
+ --sc-color-surface-raised-active: var(--sc-color-neutral-800); /** Pressed wash and neutral fills inside raised surfaces. */
246
286
  --sc-color-text-default: var(--sc-color-neutral-50); /** Body and headings on every surface token. */
247
287
  --sc-color-text-muted: var(--sc-color-neutral-400); /** Secondary text and metadata on every surface token. */
248
288
  --sc-color-text-subtle: var(--sc-color-neutral-500); /** Placeholders and disabled labels; 4.5:1 on surface.default only. */
@@ -257,19 +297,30 @@
257
297
  --sc-color-accent-active: var(--sc-color-brand-200); /** Primary Button pressed. Light is #4700ab exactly. */
258
298
  --sc-color-accent-subtle: var(--sc-color-brand-950); /** Soft accent Badge fill, selected row wash. */
259
299
  --sc-color-accent-text: var(--sc-color-brand-300); /** Text on accent.subtle and surface.default. */
300
+ --sc-color-accent-border: var(--sc-color-brand-500); /** Selection border on accent.wash (plain Card selected); 3:1 on accent.wash and every surface. */
260
301
  --sc-color-success-subtle: var(--sc-color-green-950); /** Soft success Badge fill. */
261
302
  --sc-color-success-text: var(--sc-color-green-300); /** Text on success.subtle and surface.default. */
262
303
  --sc-color-success-solid: var(--sc-color-green-400); /** Solid success Badge fill. */
304
+ --sc-color-success-border: var(--sc-color-green-500); /** Tone border and outline; 3:1 on success.subtle and every surface. */
263
305
  --sc-color-warning-subtle: var(--sc-color-amber-950); /** Soft warning Badge fill. */
264
306
  --sc-color-warning-text: var(--sc-color-amber-300); /** Text on warning.subtle and surface.default. */
265
307
  --sc-color-warning-solid: var(--sc-color-amber-400); /** Solid warning Badge fill. */
308
+ --sc-color-warning-border: var(--sc-color-amber-500); /** Tone border and outline; 3:1 on warning.subtle and every surface. */
266
309
  --sc-color-info-subtle: var(--sc-color-teal-950); /** Soft info Badge fill. */
267
310
  --sc-color-info-text: var(--sc-color-teal-300); /** Text on info.subtle and surface.default. */
268
311
  --sc-color-info-solid: var(--sc-color-teal-400); /** Solid info Badge fill. */
269
312
  --sc-color-danger-subtle: var(--sc-color-red-950); /** Soft danger Badge fill. */
270
313
  --sc-color-danger-text: var(--sc-color-red-300); /** Text on danger.subtle and surface.default. */
271
314
  --sc-color-danger-solid: var(--sc-color-red-400); /** Danger Button fill and solid danger Badge. */
315
+ --sc-color-danger-border: var(--sc-color-red-500); /** Tone border and outline; 3:1 on danger.subtle and every surface. */
272
316
  --sc-color-danger-hover: var(--sc-color-red-300); /** Danger Button hover. */
317
+ --sc-color-diff-added-wash: var(--sc-color-green-950); /** Tint behind added text in a word diff. */
318
+ --sc-color-diff-added-stroke: var(--sc-color-green-400); /** Underline under added text; 3:1 on diff.added-wash. */
319
+ --sc-color-diff-removed-wash: var(--sc-color-red-950); /** Tint behind removed text in a word diff. Removed text is text.muted. */
320
+ --sc-color-diff-removed-stroke: var(--sc-color-red-400); /** Strike-through on removed text; 3:1 on diff.removed-wash. */
321
+ --sc-color-avatar-fill: var(--sc-color-brand-900); /** Avatar disc behind initials: a brand tint a step stronger than accent.subtle. Not the boundary on its own (1.0-1.4:1 on the surfaces); avatar.ring is. */
322
+ --sc-color-avatar-text: var(--sc-color-brand-300); /** Initials on avatar.fill; 4.5:1. */
323
+ --sc-color-avatar-ring: var(--sc-color-brand-400); /** Avatar's 1px inset ring, the shape's boundary: 3:1 on avatar.fill and on canvas, default, raised and sunken. */
273
324
  }
274
325
  }
275
326
 
@@ -1,4 +1,4 @@
1
- /* @salemcobalt/tokens 0.2.0-rc.3 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.30 — generated from src/ by Style Dictionary. Do not edit. */
2
2
  export declare const prefix: "sc";
3
3
  export declare const tokens: {
4
4
  color: {
@@ -15,6 +15,7 @@ export declare const tokens: {
15
15
  '600': "#707378",
16
16
  '700': "#54585f",
17
17
  '800': "#3c4046",
18
+ '850': "#32353b",
18
19
  '900': "#282b31",
19
20
  '950': "#191c22",
20
21
  '1000': "#0e1116"
@@ -109,6 +110,14 @@ export declare const tokens: {
109
110
  light: "#e6e8eb",
110
111
  dark: "#3c4046"
111
112
  },
113
+ 'raised-hover': {
114
+ light: "#f2f3f6",
115
+ dark: "#32353b"
116
+ },
117
+ 'raised-active': {
118
+ light: "#e6e8eb",
119
+ dark: "#3c4046"
120
+ },
112
121
  backdrop: {
113
122
  light: "#0b0d1699",
114
123
  dark: "#00000099"
@@ -171,9 +180,17 @@ export declare const tokens: {
171
180
  light: "#f6f6fe",
172
181
  dark: "#200550"
173
182
  },
183
+ wash: {
184
+ light: "#f6f3ff",
185
+ dark: "#232431"
186
+ },
174
187
  text: {
175
188
  light: "#5821c2",
176
189
  dark: "#beb6ff"
190
+ },
191
+ border: {
192
+ light: "#8250fe",
193
+ dark: "#8250fe"
177
194
  }
178
195
  },
179
196
  success: {
@@ -188,6 +205,10 @@ export declare const tokens: {
188
205
  solid: {
189
206
  light: "#026a34",
190
207
  dark: "#48be72"
208
+ },
209
+ border: {
210
+ light: "#05a152",
211
+ dark: "#05a152"
191
212
  }
192
213
  },
193
214
  warning: {
@@ -202,6 +223,10 @@ export declare const tokens: {
202
223
  solid: {
203
224
  light: "#794d02",
204
225
  dark: "#db9115"
226
+ },
227
+ border: {
228
+ light: "#b77700",
229
+ dark: "#b77700"
205
230
  }
206
231
  },
207
232
  info: {
@@ -231,32 +256,70 @@ export declare const tokens: {
231
256
  light: "#a8001c",
232
257
  dark: "#fe6f6b"
233
258
  },
259
+ border: {
260
+ light: "#e83f44",
261
+ dark: "#e83f44"
262
+ },
234
263
  hover: {
235
264
  light: "#860014",
236
265
  dark: "#ffa59f"
237
266
  }
267
+ },
268
+ diff: {
269
+ 'added-wash': {
270
+ light: "#edfbf0",
271
+ dark: "#00280f"
272
+ },
273
+ 'added-stroke': {
274
+ light: "#058141",
275
+ dark: "#48be72"
276
+ },
277
+ 'removed-wash': {
278
+ light: "#fef4f3",
279
+ dark: "#430005"
280
+ },
281
+ 'removed-stroke': {
282
+ light: "#c71529",
283
+ dark: "#fe6f6b"
284
+ }
285
+ },
286
+ avatar: {
287
+ fill: {
288
+ light: "#eceafe",
289
+ dark: "#311072"
290
+ },
291
+ text: {
292
+ light: "#5821c2",
293
+ dark: "#beb6ff"
294
+ },
295
+ ring: {
296
+ light: "#8250fe",
297
+ dark: "#a190fe"
298
+ }
238
299
  }
239
300
  },
240
301
  z: {
241
302
  base: 0,
242
303
  raised: 1,
243
304
  sticky: 100,
244
- dropdown: 1000,
245
305
  backdrop: 1100,
246
306
  dialog: 1200,
247
- toast: 1300,
248
- tooltip: 1400
307
+ dropdown: 1300,
308
+ toast: 1400,
309
+ tooltip: 1500
249
310
  },
250
311
  duration: {
251
312
  fast: "100ms",
252
313
  base: "200ms",
253
314
  slow: "300ms",
254
- slower: "500ms"
315
+ slower: "500ms",
316
+ data: "600ms"
255
317
  },
256
318
  ease: {
257
319
  standard: "cubic-bezier(0.2, 0, 0, 1)",
258
320
  enter: "cubic-bezier(0, 0, 0.2, 1)",
259
- exit: "cubic-bezier(0.4, 0, 1, 1)"
321
+ exit: "cubic-bezier(0.4, 0, 1, 1)",
322
+ data: "cubic-bezier(0.2, 0.7, 0.2, 1)"
260
323
  },
261
324
  radius: {
262
325
  none: "0px",
@@ -291,6 +354,12 @@ export declare const tokens: {
291
354
  lg: "20px",
292
355
  xl: "24px"
293
356
  },
357
+ score: {
358
+ sm: "40px",
359
+ md: "48px",
360
+ ring: "64px",
361
+ 'ring-stroke': "6px"
362
+ },
294
363
  dialog: {
295
364
  sm: "400px",
296
365
  md: "560px",
@@ -300,7 +369,8 @@ export declare const tokens: {
300
369
  border: {
301
370
  width: {
302
371
  hairline: "1px",
303
- focus: "2px"
372
+ focus: "2px",
373
+ halo: "4px"
304
374
  }
305
375
  },
306
376
  spacing: {
@@ -347,7 +417,8 @@ export declare const tokens: {
347
417
  tight: "-0.02em",
348
418
  snug: "-0.01em",
349
419
  normal: "0em",
350
- wide: "0.04em"
420
+ wide: "0.04em",
421
+ wider: "0.07em"
351
422
  },
352
423
  measure: "65ch"
353
424
  },
@@ -370,7 +441,7 @@ export declare const tokens: {
370
441
  }
371
442
  }
372
443
  };
373
- export type TokenName = "color-white" | "color-black" | "color-neutral-0" | "color-neutral-50" | "color-neutral-100" | "color-neutral-200" | "color-neutral-300" | "color-neutral-400" | "color-neutral-500" | "color-neutral-600" | "color-neutral-700" | "color-neutral-800" | "color-neutral-900" | "color-neutral-950" | "color-neutral-1000" | "color-brand-50" | "color-brand-100" | "color-brand-200" | "color-brand-300" | "color-brand-400" | "color-brand-500" | "color-brand-600" | "color-brand-700" | "color-brand-800" | "color-brand-900" | "color-brand-950" | "color-green-50" | "color-green-100" | "color-green-200" | "color-green-300" | "color-green-400" | "color-green-500" | "color-green-600" | "color-green-700" | "color-green-800" | "color-green-900" | "color-green-950" | "color-amber-50" | "color-amber-100" | "color-amber-200" | "color-amber-300" | "color-amber-400" | "color-amber-500" | "color-amber-600" | "color-amber-700" | "color-amber-800" | "color-amber-900" | "color-amber-950" | "color-red-50" | "color-red-100" | "color-red-200" | "color-red-300" | "color-red-400" | "color-red-500" | "color-red-600" | "color-red-700" | "color-red-800" | "color-red-900" | "color-red-950" | "color-teal-50" | "color-teal-100" | "color-teal-200" | "color-teal-300" | "color-teal-400" | "color-teal-500" | "color-teal-600" | "color-teal-700" | "color-teal-800" | "color-teal-900" | "color-teal-950" | "color-surface-canvas" | "color-surface-default" | "color-surface-raised" | "color-surface-sunken" | "color-surface-hover" | "color-surface-active" | "color-surface-backdrop" | "color-text-default" | "color-text-muted" | "color-text-subtle" | "color-text-on-accent" | "color-text-on-status" | "color-text-link" | "color-border-default" | "color-border-strong" | "color-border-focus" | "color-accent-default" | "color-accent-hover" | "color-accent-active" | "color-accent-subtle" | "color-accent-text" | "color-success-subtle" | "color-success-text" | "color-success-solid" | "color-warning-subtle" | "color-warning-text" | "color-warning-solid" | "color-info-subtle" | "color-info-text" | "color-info-solid" | "color-danger-subtle" | "color-danger-text" | "color-danger-solid" | "color-danger-hover" | "z-base" | "z-raised" | "z-sticky" | "z-dropdown" | "z-backdrop" | "z-dialog" | "z-toast" | "z-tooltip" | "duration-fast" | "duration-base" | "duration-slow" | "duration-slower" | "ease-standard" | "ease-enter" | "ease-exit" | "radius-none" | "radius-xs" | "radius-sm" | "radius-md" | "radius-lg" | "radius-xl" | "radius-2xl" | "radius-full" | "size-control-sm" | "size-control-md" | "size-control-lg" | "size-control-compact-sm" | "size-control-compact-md" | "size-control-compact-lg" | "size-touch-target" | "size-badge-sm" | "size-badge-md" | "size-icon-xs" | "size-icon-sm" | "size-icon-md" | "size-icon-lg" | "size-icon-xl" | "size-dialog-sm" | "size-dialog-md" | "size-dialog-lg" | "border-width-hairline" | "border-width-focus" | "spacing-none" | "spacing-3xs" | "spacing-2xs" | "spacing-xs" | "spacing-sm" | "spacing-md" | "spacing-lg" | "spacing-xl" | "spacing-2xl" | "spacing-3xl" | "spacing-4xl" | "font-family-sans" | "font-family-mono" | "font-size-xs" | "font-size-sm" | "font-size-md" | "font-size-lg" | "font-size-xl" | "font-size-2xl" | "font-size-3xl" | "font-size-4xl" | "font-size-5xl" | "font-weight-regular" | "font-weight-medium" | "font-weight-semibold" | "font-line-height-tight" | "font-line-height-snug" | "font-line-height-normal" | "font-line-height-ui" | "font-tracking-tight" | "font-tracking-snug" | "font-tracking-normal" | "font-tracking-wide" | "font-measure" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3";
444
+ export type TokenName = "color-white" | "color-black" | "color-neutral-0" | "color-neutral-50" | "color-neutral-100" | "color-neutral-200" | "color-neutral-300" | "color-neutral-400" | "color-neutral-500" | "color-neutral-600" | "color-neutral-700" | "color-neutral-800" | "color-neutral-850" | "color-neutral-900" | "color-neutral-950" | "color-neutral-1000" | "color-brand-50" | "color-brand-100" | "color-brand-200" | "color-brand-300" | "color-brand-400" | "color-brand-500" | "color-brand-600" | "color-brand-700" | "color-brand-800" | "color-brand-900" | "color-brand-950" | "color-green-50" | "color-green-100" | "color-green-200" | "color-green-300" | "color-green-400" | "color-green-500" | "color-green-600" | "color-green-700" | "color-green-800" | "color-green-900" | "color-green-950" | "color-amber-50" | "color-amber-100" | "color-amber-200" | "color-amber-300" | "color-amber-400" | "color-amber-500" | "color-amber-600" | "color-amber-700" | "color-amber-800" | "color-amber-900" | "color-amber-950" | "color-red-50" | "color-red-100" | "color-red-200" | "color-red-300" | "color-red-400" | "color-red-500" | "color-red-600" | "color-red-700" | "color-red-800" | "color-red-900" | "color-red-950" | "color-teal-50" | "color-teal-100" | "color-teal-200" | "color-teal-300" | "color-teal-400" | "color-teal-500" | "color-teal-600" | "color-teal-700" | "color-teal-800" | "color-teal-900" | "color-teal-950" | "color-surface-canvas" | "color-surface-default" | "color-surface-raised" | "color-surface-sunken" | "color-surface-hover" | "color-surface-active" | "color-surface-raised-hover" | "color-surface-raised-active" | "color-surface-backdrop" | "color-text-default" | "color-text-muted" | "color-text-subtle" | "color-text-on-accent" | "color-text-on-status" | "color-text-link" | "color-border-default" | "color-border-strong" | "color-border-focus" | "color-accent-default" | "color-accent-hover" | "color-accent-active" | "color-accent-subtle" | "color-accent-wash" | "color-accent-text" | "color-accent-border" | "color-success-subtle" | "color-success-text" | "color-success-solid" | "color-success-border" | "color-warning-subtle" | "color-warning-text" | "color-warning-solid" | "color-warning-border" | "color-info-subtle" | "color-info-text" | "color-info-solid" | "color-danger-subtle" | "color-danger-text" | "color-danger-solid" | "color-danger-border" | "color-danger-hover" | "color-diff-added-wash" | "color-diff-added-stroke" | "color-diff-removed-wash" | "color-diff-removed-stroke" | "color-avatar-fill" | "color-avatar-text" | "color-avatar-ring" | "z-base" | "z-raised" | "z-sticky" | "z-backdrop" | "z-dialog" | "z-dropdown" | "z-toast" | "z-tooltip" | "duration-fast" | "duration-base" | "duration-slow" | "duration-slower" | "duration-data" | "ease-standard" | "ease-enter" | "ease-exit" | "ease-data" | "radius-none" | "radius-xs" | "radius-sm" | "radius-md" | "radius-lg" | "radius-xl" | "radius-2xl" | "radius-full" | "size-control-sm" | "size-control-md" | "size-control-lg" | "size-control-compact-sm" | "size-control-compact-md" | "size-control-compact-lg" | "size-touch-target" | "size-badge-sm" | "size-badge-md" | "size-icon-xs" | "size-icon-sm" | "size-icon-md" | "size-icon-lg" | "size-icon-xl" | "size-score-sm" | "size-score-md" | "size-score-ring" | "size-score-ring-stroke" | "size-dialog-sm" | "size-dialog-md" | "size-dialog-lg" | "border-width-hairline" | "border-width-focus" | "border-width-halo" | "spacing-none" | "spacing-3xs" | "spacing-2xs" | "spacing-xs" | "spacing-sm" | "spacing-md" | "spacing-lg" | "spacing-xl" | "spacing-2xl" | "spacing-3xl" | "spacing-4xl" | "font-family-sans" | "font-family-mono" | "font-size-xs" | "font-size-sm" | "font-size-md" | "font-size-lg" | "font-size-xl" | "font-size-2xl" | "font-size-3xl" | "font-size-4xl" | "font-size-5xl" | "font-weight-regular" | "font-weight-medium" | "font-weight-semibold" | "font-line-height-tight" | "font-line-height-snug" | "font-line-height-normal" | "font-line-height-ui" | "font-tracking-tight" | "font-tracking-snug" | "font-tracking-normal" | "font-tracking-wide" | "font-tracking-wider" | "font-measure" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3";
374
445
  export declare const tokenNames: readonly TokenName[];
375
446
  export type Theme = 'light' | 'dark';
376
447
  export declare const cssVar: (name: TokenName) => `var(--sc-${TokenName})`;
package/dist/js/tokens.js CHANGED
@@ -1,4 +1,4 @@
1
- /* @salemcobalt/tokens 0.2.0-rc.3 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.30 — generated from src/ by Style Dictionary. Do not edit. */
2
2
  export const prefix = "sc";
3
3
  export const tokens = {
4
4
  "color": {
@@ -15,6 +15,7 @@ export const tokens = {
15
15
  "600": "#707378",
16
16
  "700": "#54585f",
17
17
  "800": "#3c4046",
18
+ "850": "#32353b",
18
19
  "900": "#282b31",
19
20
  "950": "#191c22",
20
21
  "1000": "#0e1116"
@@ -109,6 +110,14 @@ export const tokens = {
109
110
  "light": "#e6e8eb",
110
111
  "dark": "#3c4046"
111
112
  },
113
+ "raised-hover": {
114
+ "light": "#f2f3f6",
115
+ "dark": "#32353b"
116
+ },
117
+ "raised-active": {
118
+ "light": "#e6e8eb",
119
+ "dark": "#3c4046"
120
+ },
112
121
  "backdrop": {
113
122
  "light": "#0b0d1699",
114
123
  "dark": "#00000099"
@@ -171,9 +180,17 @@ export const tokens = {
171
180
  "light": "#f6f6fe",
172
181
  "dark": "#200550"
173
182
  },
183
+ "wash": {
184
+ "light": "#f6f3ff",
185
+ "dark": "#232431"
186
+ },
174
187
  "text": {
175
188
  "light": "#5821c2",
176
189
  "dark": "#beb6ff"
190
+ },
191
+ "border": {
192
+ "light": "#8250fe",
193
+ "dark": "#8250fe"
177
194
  }
178
195
  },
179
196
  "success": {
@@ -188,6 +205,10 @@ export const tokens = {
188
205
  "solid": {
189
206
  "light": "#026a34",
190
207
  "dark": "#48be72"
208
+ },
209
+ "border": {
210
+ "light": "#05a152",
211
+ "dark": "#05a152"
191
212
  }
192
213
  },
193
214
  "warning": {
@@ -202,6 +223,10 @@ export const tokens = {
202
223
  "solid": {
203
224
  "light": "#794d02",
204
225
  "dark": "#db9115"
226
+ },
227
+ "border": {
228
+ "light": "#b77700",
229
+ "dark": "#b77700"
205
230
  }
206
231
  },
207
232
  "info": {
@@ -231,32 +256,70 @@ export const tokens = {
231
256
  "light": "#a8001c",
232
257
  "dark": "#fe6f6b"
233
258
  },
259
+ "border": {
260
+ "light": "#e83f44",
261
+ "dark": "#e83f44"
262
+ },
234
263
  "hover": {
235
264
  "light": "#860014",
236
265
  "dark": "#ffa59f"
237
266
  }
267
+ },
268
+ "diff": {
269
+ "added-wash": {
270
+ "light": "#edfbf0",
271
+ "dark": "#00280f"
272
+ },
273
+ "added-stroke": {
274
+ "light": "#058141",
275
+ "dark": "#48be72"
276
+ },
277
+ "removed-wash": {
278
+ "light": "#fef4f3",
279
+ "dark": "#430005"
280
+ },
281
+ "removed-stroke": {
282
+ "light": "#c71529",
283
+ "dark": "#fe6f6b"
284
+ }
285
+ },
286
+ "avatar": {
287
+ "fill": {
288
+ "light": "#eceafe",
289
+ "dark": "#311072"
290
+ },
291
+ "text": {
292
+ "light": "#5821c2",
293
+ "dark": "#beb6ff"
294
+ },
295
+ "ring": {
296
+ "light": "#8250fe",
297
+ "dark": "#a190fe"
298
+ }
238
299
  }
239
300
  },
240
301
  "z": {
241
302
  "base": 0,
242
303
  "raised": 1,
243
304
  "sticky": 100,
244
- "dropdown": 1000,
245
305
  "backdrop": 1100,
246
306
  "dialog": 1200,
247
- "toast": 1300,
248
- "tooltip": 1400
307
+ "dropdown": 1300,
308
+ "toast": 1400,
309
+ "tooltip": 1500
249
310
  },
250
311
  "duration": {
251
312
  "fast": "100ms",
252
313
  "base": "200ms",
253
314
  "slow": "300ms",
254
- "slower": "500ms"
315
+ "slower": "500ms",
316
+ "data": "600ms"
255
317
  },
256
318
  "ease": {
257
319
  "standard": "cubic-bezier(0.2, 0, 0, 1)",
258
320
  "enter": "cubic-bezier(0, 0, 0.2, 1)",
259
- "exit": "cubic-bezier(0.4, 0, 1, 1)"
321
+ "exit": "cubic-bezier(0.4, 0, 1, 1)",
322
+ "data": "cubic-bezier(0.2, 0.7, 0.2, 1)"
260
323
  },
261
324
  "radius": {
262
325
  "none": "0px",
@@ -291,6 +354,12 @@ export const tokens = {
291
354
  "lg": "20px",
292
355
  "xl": "24px"
293
356
  },
357
+ "score": {
358
+ "sm": "40px",
359
+ "md": "48px",
360
+ "ring": "64px",
361
+ "ring-stroke": "6px"
362
+ },
294
363
  "dialog": {
295
364
  "sm": "400px",
296
365
  "md": "560px",
@@ -300,7 +369,8 @@ export const tokens = {
300
369
  "border": {
301
370
  "width": {
302
371
  "hairline": "1px",
303
- "focus": "2px"
372
+ "focus": "2px",
373
+ "halo": "4px"
304
374
  }
305
375
  },
306
376
  "spacing": {
@@ -347,7 +417,8 @@ export const tokens = {
347
417
  "tight": "-0.02em",
348
418
  "snug": "-0.01em",
349
419
  "normal": "0em",
350
- "wide": "0.04em"
420
+ "wide": "0.04em",
421
+ "wider": "0.07em"
351
422
  },
352
423
  "measure": "65ch"
353
424
  },
@@ -370,5 +441,5 @@ export const tokens = {
370
441
  }
371
442
  }
372
443
  };
373
- export const tokenNames = ["color-white","color-black","color-neutral-0","color-neutral-50","color-neutral-100","color-neutral-200","color-neutral-300","color-neutral-400","color-neutral-500","color-neutral-600","color-neutral-700","color-neutral-800","color-neutral-900","color-neutral-950","color-neutral-1000","color-brand-50","color-brand-100","color-brand-200","color-brand-300","color-brand-400","color-brand-500","color-brand-600","color-brand-700","color-brand-800","color-brand-900","color-brand-950","color-green-50","color-green-100","color-green-200","color-green-300","color-green-400","color-green-500","color-green-600","color-green-700","color-green-800","color-green-900","color-green-950","color-amber-50","color-amber-100","color-amber-200","color-amber-300","color-amber-400","color-amber-500","color-amber-600","color-amber-700","color-amber-800","color-amber-900","color-amber-950","color-red-50","color-red-100","color-red-200","color-red-300","color-red-400","color-red-500","color-red-600","color-red-700","color-red-800","color-red-900","color-red-950","color-teal-50","color-teal-100","color-teal-200","color-teal-300","color-teal-400","color-teal-500","color-teal-600","color-teal-700","color-teal-800","color-teal-900","color-teal-950","color-surface-canvas","color-surface-default","color-surface-raised","color-surface-sunken","color-surface-hover","color-surface-active","color-surface-backdrop","color-text-default","color-text-muted","color-text-subtle","color-text-on-accent","color-text-on-status","color-text-link","color-border-default","color-border-strong","color-border-focus","color-accent-default","color-accent-hover","color-accent-active","color-accent-subtle","color-accent-text","color-success-subtle","color-success-text","color-success-solid","color-warning-subtle","color-warning-text","color-warning-solid","color-info-subtle","color-info-text","color-info-solid","color-danger-subtle","color-danger-text","color-danger-solid","color-danger-hover","z-base","z-raised","z-sticky","z-dropdown","z-backdrop","z-dialog","z-toast","z-tooltip","duration-fast","duration-base","duration-slow","duration-slower","ease-standard","ease-enter","ease-exit","radius-none","radius-xs","radius-sm","radius-md","radius-lg","radius-xl","radius-2xl","radius-full","size-control-sm","size-control-md","size-control-lg","size-control-compact-sm","size-control-compact-md","size-control-compact-lg","size-touch-target","size-badge-sm","size-badge-md","size-icon-xs","size-icon-sm","size-icon-md","size-icon-lg","size-icon-xl","size-dialog-sm","size-dialog-md","size-dialog-lg","border-width-hairline","border-width-focus","spacing-none","spacing-3xs","spacing-2xs","spacing-xs","spacing-sm","spacing-md","spacing-lg","spacing-xl","spacing-2xl","spacing-3xl","spacing-4xl","font-family-sans","font-family-mono","font-size-xs","font-size-sm","font-size-md","font-size-lg","font-size-xl","font-size-2xl","font-size-3xl","font-size-4xl","font-size-5xl","font-weight-regular","font-weight-medium","font-weight-semibold","font-line-height-tight","font-line-height-snug","font-line-height-normal","font-line-height-ui","font-tracking-tight","font-tracking-snug","font-tracking-normal","font-tracking-wide","font-measure","elevation-0","elevation-1","elevation-2","elevation-3"];
444
+ export const tokenNames = ["color-white","color-black","color-neutral-0","color-neutral-50","color-neutral-100","color-neutral-200","color-neutral-300","color-neutral-400","color-neutral-500","color-neutral-600","color-neutral-700","color-neutral-800","color-neutral-850","color-neutral-900","color-neutral-950","color-neutral-1000","color-brand-50","color-brand-100","color-brand-200","color-brand-300","color-brand-400","color-brand-500","color-brand-600","color-brand-700","color-brand-800","color-brand-900","color-brand-950","color-green-50","color-green-100","color-green-200","color-green-300","color-green-400","color-green-500","color-green-600","color-green-700","color-green-800","color-green-900","color-green-950","color-amber-50","color-amber-100","color-amber-200","color-amber-300","color-amber-400","color-amber-500","color-amber-600","color-amber-700","color-amber-800","color-amber-900","color-amber-950","color-red-50","color-red-100","color-red-200","color-red-300","color-red-400","color-red-500","color-red-600","color-red-700","color-red-800","color-red-900","color-red-950","color-teal-50","color-teal-100","color-teal-200","color-teal-300","color-teal-400","color-teal-500","color-teal-600","color-teal-700","color-teal-800","color-teal-900","color-teal-950","color-surface-canvas","color-surface-default","color-surface-raised","color-surface-sunken","color-surface-hover","color-surface-active","color-surface-raised-hover","color-surface-raised-active","color-surface-backdrop","color-text-default","color-text-muted","color-text-subtle","color-text-on-accent","color-text-on-status","color-text-link","color-border-default","color-border-strong","color-border-focus","color-accent-default","color-accent-hover","color-accent-active","color-accent-subtle","color-accent-wash","color-accent-text","color-accent-border","color-success-subtle","color-success-text","color-success-solid","color-success-border","color-warning-subtle","color-warning-text","color-warning-solid","color-warning-border","color-info-subtle","color-info-text","color-info-solid","color-danger-subtle","color-danger-text","color-danger-solid","color-danger-border","color-danger-hover","color-diff-added-wash","color-diff-added-stroke","color-diff-removed-wash","color-diff-removed-stroke","color-avatar-fill","color-avatar-text","color-avatar-ring","z-base","z-raised","z-sticky","z-backdrop","z-dialog","z-dropdown","z-toast","z-tooltip","duration-fast","duration-base","duration-slow","duration-slower","duration-data","ease-standard","ease-enter","ease-exit","ease-data","radius-none","radius-xs","radius-sm","radius-md","radius-lg","radius-xl","radius-2xl","radius-full","size-control-sm","size-control-md","size-control-lg","size-control-compact-sm","size-control-compact-md","size-control-compact-lg","size-touch-target","size-badge-sm","size-badge-md","size-icon-xs","size-icon-sm","size-icon-md","size-icon-lg","size-icon-xl","size-score-sm","size-score-md","size-score-ring","size-score-ring-stroke","size-dialog-sm","size-dialog-md","size-dialog-lg","border-width-hairline","border-width-focus","border-width-halo","spacing-none","spacing-3xs","spacing-2xs","spacing-xs","spacing-sm","spacing-md","spacing-lg","spacing-xl","spacing-2xl","spacing-3xl","spacing-4xl","font-family-sans","font-family-mono","font-size-xs","font-size-sm","font-size-md","font-size-lg","font-size-xl","font-size-2xl","font-size-3xl","font-size-4xl","font-size-5xl","font-weight-regular","font-weight-medium","font-weight-semibold","font-line-height-tight","font-line-height-snug","font-line-height-normal","font-line-height-ui","font-tracking-tight","font-tracking-snug","font-tracking-normal","font-tracking-wide","font-tracking-wider","font-measure","elevation-0","elevation-1","elevation-2","elevation-3"];
374
445
  export const cssVar = (name) => `var(--sc-${name})`;