@salemcobalt/tokens 0.2.0-rc.14 → 0.2.0-rc.15

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.
@@ -1,4 +1,4 @@
1
- /* @salemcobalt/tokens 0.2.0-rc.14 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.15 — 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. */
@@ -73,6 +73,7 @@
73
73
  --sc-color-teal-900: #013937; /** Primitive. OKLCH hue 192. */
74
74
  --sc-color-teal-950: #002524; /** Primitive. OKLCH hue 192. */
75
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. */
76
77
  --sc-z-base: 0; /** Normal flow. */
77
78
  --sc-z-raised: 1; /** Hover and focus rings over siblings. */
78
79
  --sc-z-sticky: 100; /** Pinned chrome inside the page: sticky Toolbar, Banner, Table head. */
@@ -110,11 +111,16 @@
110
111
  --sc-size-icon-md: 16px; /** Default icon: md controls, menu items, 14px UI text. */
111
112
  --sc-size-icon-lg: 20px; /** Icon inside lg controls, headings, Stat. */
112
113
  --sc-size-icon-xl: 24px; /** Empty states and feature callouts. */
114
+ --sc-size-score-sm: 40px; /** Score tile sm: list rows. */
115
+ --sc-size-score-md: 48px; /** Score tile md: cards and summaries. */
116
+ --sc-size-score-ring: 64px; /** Score ring: detail headers. */
117
+ --sc-size-score-ring-stroke: 6px; /** Stroke of the Score ring track and arc. */
113
118
  --sc-size-dialog-sm: 400px; /** Dialog max inline size, confirmations. */
114
119
  --sc-size-dialog-md: 560px; /** Dialog max inline size, default. */
115
120
  --sc-size-dialog-lg: 720px; /** Dialog max inline size, rich content. */
116
121
  --sc-border-width-hairline: 1px; /** Every border. */
117
122
  --sc-border-width-focus: 2px; /** Focus ring stroke and offset. */
123
+ --sc-border-width-halo: 4px; /** Soft ring around a current or live marker (box-shadow spread), e.g. the current step. */
118
124
  --sc-spacing-none: 0px; /** Reset; Stack and Inline gap="none". */
119
125
  --sc-spacing-3xs: 2px; /** Hairline gaps: Kbd group gap, Badge sm padding-block. */
120
126
  --sc-spacing-2xs: 4px; /** Icon-to-label gap in sm controls; Badge padding-block; Kbd padding-inline. */
@@ -148,6 +154,7 @@
148
154
  --sc-font-tracking-snug: -0.01em; /** Headings from 2xl up. */
149
155
  --sc-font-tracking-normal: 0em; /** Text. */
150
156
  --sc-font-tracking-wide: 0.04em; /** Uppercase labels. */
157
+ --sc-font-tracking-wider: 0.07em; /** Uppercase mono overlines (Heading size overline). */
151
158
  --sc-font-measure: 65ch; /** Max line length for running text. */
152
159
  --sc-elevation-0: none; /** Flat. Card default, Badge, Button. */
153
160
  --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. */
@@ -175,24 +182,33 @@
175
182
  --sc-color-accent-active: var(--sc-color-brand-800); /** Primary Button pressed. Light is #4700ab exactly. */
176
183
  --sc-color-accent-subtle: var(--sc-color-brand-50); /** Soft accent Badge fill, selected row wash. */
177
184
  --sc-color-accent-text: var(--sc-color-brand-700); /** Text on accent.subtle and surface.default. */
185
+ --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. */
178
186
  --sc-color-success-subtle: var(--sc-color-green-50); /** Soft success Badge fill. */
179
187
  --sc-color-success-text: var(--sc-color-green-800); /** Text on success.subtle and surface.default. */
180
188
  --sc-color-success-solid: var(--sc-color-green-700); /** Solid success Badge fill. */
189
+ --sc-color-success-border: var(--sc-color-green-500); /** Tone border and outline; 3:1 on success.subtle and every surface. */
181
190
  --sc-color-warning-subtle: var(--sc-color-amber-50); /** Soft warning Badge fill. */
182
191
  --sc-color-warning-text: var(--sc-color-amber-900); /** Text on warning.subtle and surface.default. */
183
192
  --sc-color-warning-solid: var(--sc-color-amber-700); /** Solid warning Badge fill. */
193
+ --sc-color-warning-border: var(--sc-color-amber-500); /** Tone border and outline; 3:1 on warning.subtle and every surface. */
184
194
  --sc-color-info-subtle: var(--sc-color-teal-50); /** Soft info Badge fill. */
185
195
  --sc-color-info-text: var(--sc-color-teal-700); /** Text on info.subtle and surface.default. */
186
196
  --sc-color-info-solid: var(--sc-color-teal-600); /** Solid info Badge fill. */
187
197
  --sc-color-danger-subtle: var(--sc-color-red-50); /** Soft danger Badge fill. */
188
198
  --sc-color-danger-text: var(--sc-color-red-800); /** Text on danger.subtle and surface.default. */
189
199
  --sc-color-danger-solid: var(--sc-color-red-700); /** Danger Button fill and solid danger Badge. */
200
+ --sc-color-danger-border: var(--sc-color-red-500); /** Tone border and outline; 3:1 on danger.subtle and every surface. */
190
201
  --sc-color-danger-hover: var(--sc-color-red-800); /** Danger Button hover. */
202
+ --sc-color-diff-added-wash: var(--sc-color-green-50); /** Tint behind added text in a word diff. */
203
+ --sc-color-diff-added-stroke: var(--sc-color-green-600); /** Underline under added text; 3:1 on diff.added-wash. */
204
+ --sc-color-diff-removed-wash: var(--sc-color-red-50); /** Tint behind removed text in a word diff. Removed text is text.muted. */
205
+ --sc-color-diff-removed-stroke: var(--sc-color-red-600); /** Strike-through on removed text; 3:1 on diff.removed-wash. */
191
206
  }
192
207
 
193
208
  [data-theme="dark"] {
194
209
  color-scheme: dark;
195
210
  --sc-color-surface-backdrop: #00000099; /** Dialog scrim, 60% alpha. */
211
+ --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. */
196
212
  --sc-elevation-0: none; /** Flat. Card default, Badge, Button. */
197
213
  --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. */
198
214
  --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. */
@@ -219,25 +235,34 @@
219
235
  --sc-color-accent-active: var(--sc-color-brand-200); /** Primary Button pressed. Light is #4700ab exactly. */
220
236
  --sc-color-accent-subtle: var(--sc-color-brand-950); /** Soft accent Badge fill, selected row wash. */
221
237
  --sc-color-accent-text: var(--sc-color-brand-300); /** Text on accent.subtle and surface.default. */
238
+ --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. */
222
239
  --sc-color-success-subtle: var(--sc-color-green-950); /** Soft success Badge fill. */
223
240
  --sc-color-success-text: var(--sc-color-green-300); /** Text on success.subtle and surface.default. */
224
241
  --sc-color-success-solid: var(--sc-color-green-400); /** Solid success Badge fill. */
242
+ --sc-color-success-border: var(--sc-color-green-500); /** Tone border and outline; 3:1 on success.subtle and every surface. */
225
243
  --sc-color-warning-subtle: var(--sc-color-amber-950); /** Soft warning Badge fill. */
226
244
  --sc-color-warning-text: var(--sc-color-amber-300); /** Text on warning.subtle and surface.default. */
227
245
  --sc-color-warning-solid: var(--sc-color-amber-400); /** Solid warning Badge fill. */
246
+ --sc-color-warning-border: var(--sc-color-amber-500); /** Tone border and outline; 3:1 on warning.subtle and every surface. */
228
247
  --sc-color-info-subtle: var(--sc-color-teal-950); /** Soft info Badge fill. */
229
248
  --sc-color-info-text: var(--sc-color-teal-300); /** Text on info.subtle and surface.default. */
230
249
  --sc-color-info-solid: var(--sc-color-teal-400); /** Solid info Badge fill. */
231
250
  --sc-color-danger-subtle: var(--sc-color-red-950); /** Soft danger Badge fill. */
232
251
  --sc-color-danger-text: var(--sc-color-red-300); /** Text on danger.subtle and surface.default. */
233
252
  --sc-color-danger-solid: var(--sc-color-red-400); /** Danger Button fill and solid danger Badge. */
253
+ --sc-color-danger-border: var(--sc-color-red-500); /** Tone border and outline; 3:1 on danger.subtle and every surface. */
234
254
  --sc-color-danger-hover: var(--sc-color-red-300); /** Danger Button hover. */
255
+ --sc-color-diff-added-wash: var(--sc-color-green-950); /** Tint behind added text in a word diff. */
256
+ --sc-color-diff-added-stroke: var(--sc-color-green-400); /** Underline under added text; 3:1 on diff.added-wash. */
257
+ --sc-color-diff-removed-wash: var(--sc-color-red-950); /** Tint behind removed text in a word diff. Removed text is text.muted. */
258
+ --sc-color-diff-removed-stroke: var(--sc-color-red-400); /** Strike-through on removed text; 3:1 on diff.removed-wash. */
235
259
  }
236
260
 
237
261
  @media (prefers-color-scheme: dark) {
238
262
  :root:not([data-theme="light"]) {
239
263
  color-scheme: dark;
240
264
  --sc-color-surface-backdrop: #00000099; /** Dialog scrim, 60% alpha. */
265
+ --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. */
241
266
  --sc-elevation-0: none; /** Flat. Card default, Badge, Button. */
242
267
  --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. */
243
268
  --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. */
@@ -264,19 +289,27 @@
264
289
  --sc-color-accent-active: var(--sc-color-brand-200); /** Primary Button pressed. Light is #4700ab exactly. */
265
290
  --sc-color-accent-subtle: var(--sc-color-brand-950); /** Soft accent Badge fill, selected row wash. */
266
291
  --sc-color-accent-text: var(--sc-color-brand-300); /** Text on accent.subtle and surface.default. */
292
+ --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. */
267
293
  --sc-color-success-subtle: var(--sc-color-green-950); /** Soft success Badge fill. */
268
294
  --sc-color-success-text: var(--sc-color-green-300); /** Text on success.subtle and surface.default. */
269
295
  --sc-color-success-solid: var(--sc-color-green-400); /** Solid success Badge fill. */
296
+ --sc-color-success-border: var(--sc-color-green-500); /** Tone border and outline; 3:1 on success.subtle and every surface. */
270
297
  --sc-color-warning-subtle: var(--sc-color-amber-950); /** Soft warning Badge fill. */
271
298
  --sc-color-warning-text: var(--sc-color-amber-300); /** Text on warning.subtle and surface.default. */
272
299
  --sc-color-warning-solid: var(--sc-color-amber-400); /** Solid warning Badge fill. */
300
+ --sc-color-warning-border: var(--sc-color-amber-500); /** Tone border and outline; 3:1 on warning.subtle and every surface. */
273
301
  --sc-color-info-subtle: var(--sc-color-teal-950); /** Soft info Badge fill. */
274
302
  --sc-color-info-text: var(--sc-color-teal-300); /** Text on info.subtle and surface.default. */
275
303
  --sc-color-info-solid: var(--sc-color-teal-400); /** Solid info Badge fill. */
276
304
  --sc-color-danger-subtle: var(--sc-color-red-950); /** Soft danger Badge fill. */
277
305
  --sc-color-danger-text: var(--sc-color-red-300); /** Text on danger.subtle and surface.default. */
278
306
  --sc-color-danger-solid: var(--sc-color-red-400); /** Danger Button fill and solid danger Badge. */
307
+ --sc-color-danger-border: var(--sc-color-red-500); /** Tone border and outline; 3:1 on danger.subtle and every surface. */
279
308
  --sc-color-danger-hover: var(--sc-color-red-300); /** Danger Button hover. */
309
+ --sc-color-diff-added-wash: var(--sc-color-green-950); /** Tint behind added text in a word diff. */
310
+ --sc-color-diff-added-stroke: var(--sc-color-green-400); /** Underline under added text; 3:1 on diff.added-wash. */
311
+ --sc-color-diff-removed-wash: var(--sc-color-red-950); /** Tint behind removed text in a word diff. Removed text is text.muted. */
312
+ --sc-color-diff-removed-stroke: var(--sc-color-red-400); /** Strike-through on removed text; 3:1 on diff.removed-wash. */
280
313
  }
281
314
  }
282
315
 
@@ -1,4 +1,4 @@
1
- /* @salemcobalt/tokens 0.2.0-rc.14 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.15 — 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: {
@@ -180,9 +180,17 @@ export declare const tokens: {
180
180
  light: "#f6f6fe",
181
181
  dark: "#200550"
182
182
  },
183
+ wash: {
184
+ light: "#f6f3ff",
185
+ dark: "#232431"
186
+ },
183
187
  text: {
184
188
  light: "#5821c2",
185
189
  dark: "#beb6ff"
190
+ },
191
+ border: {
192
+ light: "#8250fe",
193
+ dark: "#8250fe"
186
194
  }
187
195
  },
188
196
  success: {
@@ -197,6 +205,10 @@ export declare const tokens: {
197
205
  solid: {
198
206
  light: "#026a34",
199
207
  dark: "#48be72"
208
+ },
209
+ border: {
210
+ light: "#05a152",
211
+ dark: "#05a152"
200
212
  }
201
213
  },
202
214
  warning: {
@@ -211,6 +223,10 @@ export declare const tokens: {
211
223
  solid: {
212
224
  light: "#794d02",
213
225
  dark: "#db9115"
226
+ },
227
+ border: {
228
+ light: "#b77700",
229
+ dark: "#b77700"
214
230
  }
215
231
  },
216
232
  info: {
@@ -240,10 +256,32 @@ export declare const tokens: {
240
256
  light: "#a8001c",
241
257
  dark: "#fe6f6b"
242
258
  },
259
+ border: {
260
+ light: "#e83f44",
261
+ dark: "#e83f44"
262
+ },
243
263
  hover: {
244
264
  light: "#860014",
245
265
  dark: "#ffa59f"
246
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
+ }
247
285
  }
248
286
  },
249
287
  z: {
@@ -300,6 +338,12 @@ export declare const tokens: {
300
338
  lg: "20px",
301
339
  xl: "24px"
302
340
  },
341
+ score: {
342
+ sm: "40px",
343
+ md: "48px",
344
+ ring: "64px",
345
+ 'ring-stroke': "6px"
346
+ },
303
347
  dialog: {
304
348
  sm: "400px",
305
349
  md: "560px",
@@ -309,7 +353,8 @@ export declare const tokens: {
309
353
  border: {
310
354
  width: {
311
355
  hairline: "1px",
312
- focus: "2px"
356
+ focus: "2px",
357
+ halo: "4px"
313
358
  }
314
359
  },
315
360
  spacing: {
@@ -356,7 +401,8 @@ export declare const tokens: {
356
401
  tight: "-0.02em",
357
402
  snug: "-0.01em",
358
403
  normal: "0em",
359
- wide: "0.04em"
404
+ wide: "0.04em",
405
+ wider: "0.07em"
360
406
  },
361
407
  measure: "65ch"
362
408
  },
@@ -379,7 +425,7 @@ export declare const tokens: {
379
425
  }
380
426
  }
381
427
  };
382
- 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-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-backdrop" | "z-dialog" | "z-dropdown" | "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";
428
+ 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" | "z-base" | "z-raised" | "z-sticky" | "z-backdrop" | "z-dialog" | "z-dropdown" | "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-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";
383
429
  export declare const tokenNames: readonly TokenName[];
384
430
  export type Theme = 'light' | 'dark';
385
431
  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.14 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.15 — generated from src/ by Style Dictionary. Do not edit. */
2
2
  export const prefix = "sc";
3
3
  export const tokens = {
4
4
  "color": {
@@ -180,9 +180,17 @@ export const tokens = {
180
180
  "light": "#f6f6fe",
181
181
  "dark": "#200550"
182
182
  },
183
+ "wash": {
184
+ "light": "#f6f3ff",
185
+ "dark": "#232431"
186
+ },
183
187
  "text": {
184
188
  "light": "#5821c2",
185
189
  "dark": "#beb6ff"
190
+ },
191
+ "border": {
192
+ "light": "#8250fe",
193
+ "dark": "#8250fe"
186
194
  }
187
195
  },
188
196
  "success": {
@@ -197,6 +205,10 @@ export const tokens = {
197
205
  "solid": {
198
206
  "light": "#026a34",
199
207
  "dark": "#48be72"
208
+ },
209
+ "border": {
210
+ "light": "#05a152",
211
+ "dark": "#05a152"
200
212
  }
201
213
  },
202
214
  "warning": {
@@ -211,6 +223,10 @@ export const tokens = {
211
223
  "solid": {
212
224
  "light": "#794d02",
213
225
  "dark": "#db9115"
226
+ },
227
+ "border": {
228
+ "light": "#b77700",
229
+ "dark": "#b77700"
214
230
  }
215
231
  },
216
232
  "info": {
@@ -240,10 +256,32 @@ export const tokens = {
240
256
  "light": "#a8001c",
241
257
  "dark": "#fe6f6b"
242
258
  },
259
+ "border": {
260
+ "light": "#e83f44",
261
+ "dark": "#e83f44"
262
+ },
243
263
  "hover": {
244
264
  "light": "#860014",
245
265
  "dark": "#ffa59f"
246
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
+ }
247
285
  }
248
286
  },
249
287
  "z": {
@@ -300,6 +338,12 @@ export const tokens = {
300
338
  "lg": "20px",
301
339
  "xl": "24px"
302
340
  },
341
+ "score": {
342
+ "sm": "40px",
343
+ "md": "48px",
344
+ "ring": "64px",
345
+ "ring-stroke": "6px"
346
+ },
303
347
  "dialog": {
304
348
  "sm": "400px",
305
349
  "md": "560px",
@@ -309,7 +353,8 @@ export const tokens = {
309
353
  "border": {
310
354
  "width": {
311
355
  "hairline": "1px",
312
- "focus": "2px"
356
+ "focus": "2px",
357
+ "halo": "4px"
313
358
  }
314
359
  },
315
360
  "spacing": {
@@ -356,7 +401,8 @@ export const tokens = {
356
401
  "tight": "-0.02em",
357
402
  "snug": "-0.01em",
358
403
  "normal": "0em",
359
- "wide": "0.04em"
404
+ "wide": "0.04em",
405
+ "wider": "0.07em"
360
406
  },
361
407
  "measure": "65ch"
362
408
  },
@@ -379,5 +425,5 @@ export const tokens = {
379
425
  }
380
426
  }
381
427
  };
382
- 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-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-backdrop","z-dialog","z-dropdown","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"];
428
+ 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","z-base","z-raised","z-sticky","z-backdrop","z-dialog","z-dropdown","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-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"];
383
429
  export const cssVar = (name) => `var(--sc-${name})`;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0-rc.14",
2
+ "version": "0.2.0-rc.15",
3
3
  "prefix": "sc",
4
4
  "light": {
5
5
  "sc-color-white": "#ffffff",
@@ -95,20 +95,29 @@
95
95
  "sc-color-accent-hover": "#6930e0",
96
96
  "sc-color-accent-active": "#4700ab",
97
97
  "sc-color-accent-subtle": "#f6f6fe",
98
+ "sc-color-accent-wash": "#f6f3ff",
98
99
  "sc-color-accent-text": "#5821c2",
100
+ "sc-color-accent-border": "#8250fe",
99
101
  "sc-color-success-subtle": "#edfbf0",
100
102
  "sc-color-success-text": "#015428",
101
103
  "sc-color-success-solid": "#026a34",
104
+ "sc-color-success-border": "#05a152",
102
105
  "sc-color-warning-subtle": "#fff5ea",
103
106
  "sc-color-warning-text": "#452a00",
104
107
  "sc-color-warning-solid": "#794d02",
108
+ "sc-color-warning-border": "#b77700",
105
109
  "sc-color-info-subtle": "#ecfaf9",
106
110
  "sc-color-info-text": "#056563",
107
111
  "sc-color-info-solid": "#057c79",
108
112
  "sc-color-danger-subtle": "#fef4f3",
109
113
  "sc-color-danger-text": "#860014",
110
114
  "sc-color-danger-solid": "#a8001c",
115
+ "sc-color-danger-border": "#e83f44",
111
116
  "sc-color-danger-hover": "#860014",
117
+ "sc-color-diff-added-wash": "#edfbf0",
118
+ "sc-color-diff-added-stroke": "#058141",
119
+ "sc-color-diff-removed-wash": "#fef4f3",
120
+ "sc-color-diff-removed-stroke": "#c71529",
112
121
  "sc-z-base": 0,
113
122
  "sc-z-raised": 1,
114
123
  "sc-z-sticky": 100,
@@ -146,11 +155,16 @@
146
155
  "sc-size-icon-md": "16px",
147
156
  "sc-size-icon-lg": "20px",
148
157
  "sc-size-icon-xl": "24px",
158
+ "sc-size-score-sm": "40px",
159
+ "sc-size-score-md": "48px",
160
+ "sc-size-score-ring": "64px",
161
+ "sc-size-score-ring-stroke": "6px",
149
162
  "sc-size-dialog-sm": "400px",
150
163
  "sc-size-dialog-md": "560px",
151
164
  "sc-size-dialog-lg": "720px",
152
165
  "sc-border-width-hairline": "1px",
153
166
  "sc-border-width-focus": "2px",
167
+ "sc-border-width-halo": "4px",
154
168
  "sc-spacing-none": "0px",
155
169
  "sc-spacing-3xs": "2px",
156
170
  "sc-spacing-2xs": "4px",
@@ -184,6 +198,7 @@
184
198
  "sc-font-tracking-snug": "-0.01em",
185
199
  "sc-font-tracking-normal": "0em",
186
200
  "sc-font-tracking-wide": "0.04em",
201
+ "sc-font-tracking-wider": "0.07em",
187
202
  "sc-font-measure": "65ch",
188
203
  "sc-elevation-0": "none",
189
204
  "sc-elevation-1": "0 1px 2px rgba(14, 17, 22, 0.06), 0 1px 3px rgba(14, 17, 22, 0.1)",
@@ -284,20 +299,29 @@
284
299
  "sc-color-accent-hover": "#beb6ff",
285
300
  "sc-color-accent-active": "#d9d5ff",
286
301
  "sc-color-accent-subtle": "#200550",
302
+ "sc-color-accent-wash": "#232431",
287
303
  "sc-color-accent-text": "#beb6ff",
304
+ "sc-color-accent-border": "#8250fe",
288
305
  "sc-color-success-subtle": "#00280f",
289
306
  "sc-color-success-text": "#83d79b",
290
307
  "sc-color-success-solid": "#48be72",
308
+ "sc-color-success-border": "#05a152",
291
309
  "sc-color-warning-subtle": "#2e1a00",
292
310
  "sc-color-warning-text": "#efb469",
293
311
  "sc-color-warning-solid": "#db9115",
312
+ "sc-color-warning-border": "#b77700",
294
313
  "sc-color-info-subtle": "#002524",
295
314
  "sc-color-info-text": "#74d4d0",
296
315
  "sc-color-info-solid": "#22bab6",
297
316
  "sc-color-danger-subtle": "#430005",
298
317
  "sc-color-danger-text": "#ffa59f",
299
318
  "sc-color-danger-solid": "#fe6f6b",
319
+ "sc-color-danger-border": "#e83f44",
300
320
  "sc-color-danger-hover": "#ffa59f",
321
+ "sc-color-diff-added-wash": "#00280f",
322
+ "sc-color-diff-added-stroke": "#48be72",
323
+ "sc-color-diff-removed-wash": "#430005",
324
+ "sc-color-diff-removed-stroke": "#fe6f6b",
301
325
  "sc-z-base": 0,
302
326
  "sc-z-raised": 1,
303
327
  "sc-z-sticky": 100,
@@ -335,11 +359,16 @@
335
359
  "sc-size-icon-md": "16px",
336
360
  "sc-size-icon-lg": "20px",
337
361
  "sc-size-icon-xl": "24px",
362
+ "sc-size-score-sm": "40px",
363
+ "sc-size-score-md": "48px",
364
+ "sc-size-score-ring": "64px",
365
+ "sc-size-score-ring-stroke": "6px",
338
366
  "sc-size-dialog-sm": "400px",
339
367
  "sc-size-dialog-md": "560px",
340
368
  "sc-size-dialog-lg": "720px",
341
369
  "sc-border-width-hairline": "1px",
342
370
  "sc-border-width-focus": "2px",
371
+ "sc-border-width-halo": "4px",
343
372
  "sc-spacing-none": "0px",
344
373
  "sc-spacing-3xs": "2px",
345
374
  "sc-spacing-2xs": "4px",
@@ -373,6 +402,7 @@
373
402
  "sc-font-tracking-snug": "-0.01em",
374
403
  "sc-font-tracking-normal": "0em",
375
404
  "sc-font-tracking-wide": "0.04em",
405
+ "sc-font-tracking-wider": "0.07em",
376
406
  "sc-font-measure": "65ch",
377
407
  "sc-elevation-0": "none",
378
408
  "sc-elevation-1": "0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5)",
@@ -1,4 +1,4 @@
1
- // @salemcobalt/tokens 0.2.0-rc.14 — generated from src/ by Style Dictionary. Do not edit.
1
+ // @salemcobalt/tokens 0.2.0-rc.15 — generated from src/ by Style Dictionary. Do not edit.
2
2
  $sc-color-white: #ffffff; // Primitive.
3
3
  $sc-color-black: #05070c; // Primitive. Deepest dark surface.
4
4
  $sc-color-neutral-0: #ffffff; // Primitive. Cool neutral, OKLCH hue 263.
@@ -92,20 +92,29 @@ $sc-color-accent-default: #8250fe; // Primary Button fill, selection, active ind
92
92
  $sc-color-accent-hover: #6930e0; // Primary Button hover.
93
93
  $sc-color-accent-active: #4700ab; // Primary Button pressed. Light is #4700ab exactly.
94
94
  $sc-color-accent-subtle: #f6f6fe; // Soft accent Badge fill, selected row wash.
95
+ $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.
95
96
  $sc-color-accent-text: #5821c2; // Text on accent.subtle and surface.default.
97
+ $sc-color-accent-border: #8250fe; // Selection border on accent.wash (plain Card selected); 3:1 on accent.wash and every surface.
96
98
  $sc-color-success-subtle: #edfbf0; // Soft success Badge fill.
97
99
  $sc-color-success-text: #015428; // Text on success.subtle and surface.default.
98
100
  $sc-color-success-solid: #026a34; // Solid success Badge fill.
101
+ $sc-color-success-border: #05a152; // Tone border and outline; 3:1 on success.subtle and every surface.
99
102
  $sc-color-warning-subtle: #fff5ea; // Soft warning Badge fill.
100
103
  $sc-color-warning-text: #452a00; // Text on warning.subtle and surface.default.
101
104
  $sc-color-warning-solid: #794d02; // Solid warning Badge fill.
105
+ $sc-color-warning-border: #b77700; // Tone border and outline; 3:1 on warning.subtle and every surface.
102
106
  $sc-color-info-subtle: #ecfaf9; // Soft info Badge fill.
103
107
  $sc-color-info-text: #056563; // Text on info.subtle and surface.default.
104
108
  $sc-color-info-solid: #057c79; // Solid info Badge fill.
105
109
  $sc-color-danger-subtle: #fef4f3; // Soft danger Badge fill.
106
110
  $sc-color-danger-text: #860014; // Text on danger.subtle and surface.default.
107
111
  $sc-color-danger-solid: #a8001c; // Danger Button fill and solid danger Badge.
112
+ $sc-color-danger-border: #e83f44; // Tone border and outline; 3:1 on danger.subtle and every surface.
108
113
  $sc-color-danger-hover: #860014; // Danger Button hover.
114
+ $sc-color-diff-added-wash: #edfbf0; // Tint behind added text in a word diff.
115
+ $sc-color-diff-added-stroke: #058141; // Underline under added text; 3:1 on diff.added-wash.
116
+ $sc-color-diff-removed-wash: #fef4f3; // Tint behind removed text in a word diff. Removed text is text.muted.
117
+ $sc-color-diff-removed-stroke: #c71529; // Strike-through on removed text; 3:1 on diff.removed-wash.
109
118
  $sc-z-base: 0; // Normal flow.
110
119
  $sc-z-raised: 1; // Hover and focus rings over siblings.
111
120
  $sc-z-sticky: 100; // Pinned chrome inside the page: sticky Toolbar, Banner, Table head.
@@ -143,11 +152,16 @@ $sc-size-icon-sm: 14px; // Icon inside sm controls.
143
152
  $sc-size-icon-md: 16px; // Default icon: md controls, menu items, 14px UI text.
144
153
  $sc-size-icon-lg: 20px; // Icon inside lg controls, headings, Stat.
145
154
  $sc-size-icon-xl: 24px; // Empty states and feature callouts.
155
+ $sc-size-score-sm: 40px; // Score tile sm: list rows.
156
+ $sc-size-score-md: 48px; // Score tile md: cards and summaries.
157
+ $sc-size-score-ring: 64px; // Score ring: detail headers.
158
+ $sc-size-score-ring-stroke: 6px; // Stroke of the Score ring track and arc.
146
159
  $sc-size-dialog-sm: 400px; // Dialog max inline size, confirmations.
147
160
  $sc-size-dialog-md: 560px; // Dialog max inline size, default.
148
161
  $sc-size-dialog-lg: 720px; // Dialog max inline size, rich content.
149
162
  $sc-border-width-hairline: 1px; // Every border.
150
163
  $sc-border-width-focus: 2px; // Focus ring stroke and offset.
164
+ $sc-border-width-halo: 4px; // Soft ring around a current or live marker (box-shadow spread), e.g. the current step.
151
165
  $sc-spacing-none: 0px; // Reset; Stack and Inline gap="none".
152
166
  $sc-spacing-3xs: 2px; // Hairline gaps: Kbd group gap, Badge sm padding-block.
153
167
  $sc-spacing-2xs: 4px; // Icon-to-label gap in sm controls; Badge padding-block; Kbd padding-inline.
@@ -181,6 +195,7 @@ $sc-font-tracking-tight: -0.02em; // Display sizes.
181
195
  $sc-font-tracking-snug: -0.01em; // Headings from 2xl up.
182
196
  $sc-font-tracking-normal: 0em; // Text.
183
197
  $sc-font-tracking-wide: 0.04em; // Uppercase labels.
198
+ $sc-font-tracking-wider: 0.07em; // Uppercase mono overlines (Heading size overline).
184
199
  $sc-font-measure: 65ch; // Max line length for running text.
185
200
  $sc-elevation-0: none; // Flat. Card default, Badge, Button.
186
201
  $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.
@@ -210,20 +225,29 @@ $sc-dark: (
210
225
  'color-accent-hover': #beb6ff,
211
226
  'color-accent-active': #d9d5ff,
212
227
  'color-accent-subtle': #200550,
228
+ 'color-accent-wash': #232431,
213
229
  'color-accent-text': #beb6ff,
230
+ 'color-accent-border': #8250fe,
214
231
  'color-success-subtle': #00280f,
215
232
  'color-success-text': #83d79b,
216
233
  'color-success-solid': #48be72,
234
+ 'color-success-border': #05a152,
217
235
  'color-warning-subtle': #2e1a00,
218
236
  'color-warning-text': #efb469,
219
237
  'color-warning-solid': #db9115,
238
+ 'color-warning-border': #b77700,
220
239
  'color-info-subtle': #002524,
221
240
  'color-info-text': #74d4d0,
222
241
  'color-info-solid': #22bab6,
223
242
  'color-danger-subtle': #430005,
224
243
  'color-danger-text': #ffa59f,
225
244
  'color-danger-solid': #fe6f6b,
245
+ 'color-danger-border': #e83f44,
226
246
  'color-danger-hover': #ffa59f,
247
+ 'color-diff-added-wash': #00280f,
248
+ 'color-diff-added-stroke': #48be72,
249
+ 'color-diff-removed-wash': #430005,
250
+ 'color-diff-removed-stroke': #fe6f6b,
227
251
  'elevation-0': none,
228
252
  'elevation-1': 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5),
229
253
  'elevation-2': 0 2px 4px rgba(0, 0, 0, 0.5), 0 8px 20px -4px rgba(0, 0, 0, 0.6),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salemcobalt/tokens",
3
- "version": "0.2.0-rc.14",
3
+ "version": "0.2.0-rc.15",
4
4
  "description": "Design tokens for the Salem Cobalt design system: CSS custom properties, Sass, TypeScript and JSON from one Style Dictionary source.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -78,6 +78,28 @@
78
78
  "$description": "Empty states and feature callouts."
79
79
  }
80
80
  },
81
+ "score": {
82
+ "sm": {
83
+ "$value": "40px",
84
+ "$type": "dimension",
85
+ "$description": "Score tile sm: list rows."
86
+ },
87
+ "md": {
88
+ "$value": "48px",
89
+ "$type": "dimension",
90
+ "$description": "Score tile md: cards and summaries."
91
+ },
92
+ "ring": {
93
+ "$value": "64px",
94
+ "$type": "dimension",
95
+ "$description": "Score ring: detail headers."
96
+ },
97
+ "ring-stroke": {
98
+ "$value": "6px",
99
+ "$type": "dimension",
100
+ "$description": "Stroke of the Score ring track and arc."
101
+ }
102
+ },
81
103
  "dialog": {
82
104
  "sm": {
83
105
  "$value": "400px",
@@ -107,6 +129,11 @@
107
129
  "$value": "2px",
108
130
  "$type": "dimension",
109
131
  "$description": "Focus ring stroke and offset."
132
+ },
133
+ "halo": {
134
+ "$value": "4px",
135
+ "$type": "dimension",
136
+ "$description": "Soft ring around a current or live marker (box-shadow spread), e.g. the current step."
110
137
  }
111
138
  }
112
139
  }
@@ -118,6 +118,11 @@
118
118
  "$value": "0.04em",
119
119
  "$type": "dimension",
120
120
  "$description": "Uppercase labels."
121
+ },
122
+ "wider": {
123
+ "$value": "0.07em",
124
+ "$type": "dimension",
125
+ "$description": "Uppercase mono overlines (Heading size overline)."
121
126
  }
122
127
  },
123
128
  "measure": {
@@ -117,10 +117,20 @@
117
117
  "$type": "color",
118
118
  "$description": "Soft accent Badge fill, selected row wash."
119
119
  },
120
+ "wash": {
121
+ "$value": "#232431",
122
+ "$type": "color",
123
+ "$description": "Faint selected-row wash, lighter than accent.subtle: brand.400 at 7% over surface.default, precomputed as an opaque swatch. Pair with accent.border."
124
+ },
120
125
  "text": {
121
126
  "$value": "{color.brand.300}",
122
127
  "$type": "color",
123
128
  "$description": "Text on accent.subtle and surface.default."
129
+ },
130
+ "border": {
131
+ "$value": "{color.brand.500}",
132
+ "$type": "color",
133
+ "$description": "Selection border on accent.wash (plain Card selected); 3:1 on accent.wash and every surface."
124
134
  }
125
135
  },
126
136
  "success": {
@@ -138,6 +148,11 @@
138
148
  "$value": "{color.green.400}",
139
149
  "$type": "color",
140
150
  "$description": "Solid success Badge fill."
151
+ },
152
+ "border": {
153
+ "$value": "{color.green.500}",
154
+ "$type": "color",
155
+ "$description": "Tone border and outline; 3:1 on success.subtle and every surface."
141
156
  }
142
157
  },
143
158
  "warning": {
@@ -155,6 +170,11 @@
155
170
  "$value": "{color.amber.400}",
156
171
  "$type": "color",
157
172
  "$description": "Solid warning Badge fill."
173
+ },
174
+ "border": {
175
+ "$value": "{color.amber.500}",
176
+ "$type": "color",
177
+ "$description": "Tone border and outline; 3:1 on warning.subtle and every surface."
158
178
  }
159
179
  },
160
180
  "info": {
@@ -190,11 +210,38 @@
190
210
  "$type": "color",
191
211
  "$description": "Danger Button fill and solid danger Badge."
192
212
  },
213
+ "border": {
214
+ "$value": "{color.red.500}",
215
+ "$type": "color",
216
+ "$description": "Tone border and outline; 3:1 on danger.subtle and every surface."
217
+ },
193
218
  "hover": {
194
219
  "$value": "{color.red.300}",
195
220
  "$type": "color",
196
221
  "$description": "Danger Button hover."
197
222
  }
223
+ },
224
+ "diff": {
225
+ "added-wash": {
226
+ "$value": "{color.green.950}",
227
+ "$type": "color",
228
+ "$description": "Tint behind added text in a word diff."
229
+ },
230
+ "added-stroke": {
231
+ "$value": "{color.green.400}",
232
+ "$type": "color",
233
+ "$description": "Underline under added text; 3:1 on diff.added-wash."
234
+ },
235
+ "removed-wash": {
236
+ "$value": "{color.red.950}",
237
+ "$type": "color",
238
+ "$description": "Tint behind removed text in a word diff. Removed text is text.muted."
239
+ },
240
+ "removed-stroke": {
241
+ "$value": "{color.red.400}",
242
+ "$type": "color",
243
+ "$description": "Strike-through on removed text; 3:1 on diff.removed-wash."
244
+ }
198
245
  }
199
246
  },
200
247
  "elevation": {
@@ -117,10 +117,20 @@
117
117
  "$type": "color",
118
118
  "$description": "Soft accent Badge fill, selected row wash."
119
119
  },
120
+ "wash": {
121
+ "$value": "#f6f3ff",
122
+ "$type": "color",
123
+ "$description": "Faint selected-row wash, lighter than accent.subtle: brand.500 at 7% over surface.default, precomputed as an opaque swatch. Pair with accent.border."
124
+ },
120
125
  "text": {
121
126
  "$value": "{color.brand.700}",
122
127
  "$type": "color",
123
128
  "$description": "Text on accent.subtle and surface.default."
129
+ },
130
+ "border": {
131
+ "$value": "{color.brand.500}",
132
+ "$type": "color",
133
+ "$description": "Selection border on accent.wash (plain Card selected); 3:1 on accent.wash and every surface."
124
134
  }
125
135
  },
126
136
  "success": {
@@ -138,6 +148,11 @@
138
148
  "$value": "{color.green.700}",
139
149
  "$type": "color",
140
150
  "$description": "Solid success Badge fill."
151
+ },
152
+ "border": {
153
+ "$value": "{color.green.500}",
154
+ "$type": "color",
155
+ "$description": "Tone border and outline; 3:1 on success.subtle and every surface."
141
156
  }
142
157
  },
143
158
  "warning": {
@@ -155,6 +170,11 @@
155
170
  "$value": "{color.amber.700}",
156
171
  "$type": "color",
157
172
  "$description": "Solid warning Badge fill."
173
+ },
174
+ "border": {
175
+ "$value": "{color.amber.500}",
176
+ "$type": "color",
177
+ "$description": "Tone border and outline; 3:1 on warning.subtle and every surface."
158
178
  }
159
179
  },
160
180
  "info": {
@@ -190,11 +210,38 @@
190
210
  "$type": "color",
191
211
  "$description": "Danger Button fill and solid danger Badge."
192
212
  },
213
+ "border": {
214
+ "$value": "{color.red.500}",
215
+ "$type": "color",
216
+ "$description": "Tone border and outline; 3:1 on danger.subtle and every surface."
217
+ },
193
218
  "hover": {
194
219
  "$value": "{color.red.800}",
195
220
  "$type": "color",
196
221
  "$description": "Danger Button hover."
197
222
  }
223
+ },
224
+ "diff": {
225
+ "added-wash": {
226
+ "$value": "{color.green.50}",
227
+ "$type": "color",
228
+ "$description": "Tint behind added text in a word diff."
229
+ },
230
+ "added-stroke": {
231
+ "$value": "{color.green.600}",
232
+ "$type": "color",
233
+ "$description": "Underline under added text; 3:1 on diff.added-wash."
234
+ },
235
+ "removed-wash": {
236
+ "$value": "{color.red.50}",
237
+ "$type": "color",
238
+ "$description": "Tint behind removed text in a word diff. Removed text is text.muted."
239
+ },
240
+ "removed-stroke": {
241
+ "$value": "{color.red.600}",
242
+ "$type": "color",
243
+ "$description": "Strike-through on removed text; 3:1 on diff.removed-wash."
244
+ }
198
245
  }
199
246
  },
200
247
  "elevation": {