@salemcobalt/tokens 0.2.0-rc.21 → 0.2.0-rc.23

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.21 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.23 — 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. */
@@ -205,6 +205,9 @@
205
205
  --sc-color-diff-added-stroke: var(--sc-color-green-600); /** Underline under added text; 3:1 on diff.added-wash. */
206
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
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. */
208
211
  }
209
212
 
210
213
  [data-theme="dark"] {
@@ -258,6 +261,9 @@
258
261
  --sc-color-diff-added-stroke: var(--sc-color-green-400); /** Underline under added text; 3:1 on diff.added-wash. */
259
262
  --sc-color-diff-removed-wash: var(--sc-color-red-950); /** Tint behind removed text in a word diff. Removed text is text.muted. */
260
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. */
261
267
  }
262
268
 
263
269
  @media (prefers-color-scheme: dark) {
@@ -312,6 +318,9 @@
312
318
  --sc-color-diff-added-stroke: var(--sc-color-green-400); /** Underline under added text; 3:1 on diff.added-wash. */
313
319
  --sc-color-diff-removed-wash: var(--sc-color-red-950); /** Tint behind removed text in a word diff. Removed text is text.muted. */
314
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. */
315
324
  }
316
325
  }
317
326
 
@@ -1,4 +1,4 @@
1
- /* @salemcobalt/tokens 0.2.0-rc.21 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.23 — 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: {
@@ -282,6 +282,20 @@ export declare const tokens: {
282
282
  light: "#c71529",
283
283
  dark: "#fe6f6b"
284
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
+ }
285
299
  }
286
300
  },
287
301
  z: {
@@ -427,7 +441,7 @@ export declare const tokens: {
427
441
  }
428
442
  }
429
443
  };
430
- 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" | "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";
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";
431
445
  export declare const tokenNames: readonly TokenName[];
432
446
  export type Theme = 'light' | 'dark';
433
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.21 — generated from src/ by Style Dictionary. Do not edit. */
1
+ /* @salemcobalt/tokens 0.2.0-rc.23 — generated from src/ by Style Dictionary. Do not edit. */
2
2
  export const prefix = "sc";
3
3
  export const tokens = {
4
4
  "color": {
@@ -282,6 +282,20 @@ export const tokens = {
282
282
  "light": "#c71529",
283
283
  "dark": "#fe6f6b"
284
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
+ }
285
299
  }
286
300
  },
287
301
  "z": {
@@ -427,5 +441,5 @@ export const tokens = {
427
441
  }
428
442
  }
429
443
  };
430
- 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","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"];
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"];
431
445
  export const cssVar = (name) => `var(--sc-${name})`;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.0-rc.21",
2
+ "version": "0.2.0-rc.23",
3
3
  "prefix": "sc",
4
4
  "light": {
5
5
  "sc-color-white": "#ffffff",
@@ -118,6 +118,9 @@
118
118
  "sc-color-diff-added-stroke": "#058141",
119
119
  "sc-color-diff-removed-wash": "#fef4f3",
120
120
  "sc-color-diff-removed-stroke": "#c71529",
121
+ "sc-color-avatar-fill": "#eceafe",
122
+ "sc-color-avatar-text": "#5821c2",
123
+ "sc-color-avatar-ring": "#8250fe",
121
124
  "sc-z-base": 0,
122
125
  "sc-z-raised": 1,
123
126
  "sc-z-sticky": 100,
@@ -324,6 +327,9 @@
324
327
  "sc-color-diff-added-stroke": "#48be72",
325
328
  "sc-color-diff-removed-wash": "#430005",
326
329
  "sc-color-diff-removed-stroke": "#fe6f6b",
330
+ "sc-color-avatar-fill": "#311072",
331
+ "sc-color-avatar-text": "#beb6ff",
332
+ "sc-color-avatar-ring": "#a190fe",
327
333
  "sc-z-base": 0,
328
334
  "sc-z-raised": 1,
329
335
  "sc-z-sticky": 100,
@@ -1,4 +1,4 @@
1
- // @salemcobalt/tokens 0.2.0-rc.21 — generated from src/ by Style Dictionary. Do not edit.
1
+ // @salemcobalt/tokens 0.2.0-rc.23 — 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.
@@ -115,6 +115,9 @@ $sc-color-diff-added-wash: #edfbf0; // Tint behind added text in a word diff.
115
115
  $sc-color-diff-added-stroke: #058141; // Underline under added text; 3:1 on diff.added-wash.
116
116
  $sc-color-diff-removed-wash: #fef4f3; // Tint behind removed text in a word diff. Removed text is text.muted.
117
117
  $sc-color-diff-removed-stroke: #c71529; // Strike-through on removed text; 3:1 on diff.removed-wash.
118
+ $sc-color-avatar-fill: #eceafe; // 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.
119
+ $sc-color-avatar-text: #5821c2; // Initials on avatar.fill; 4.5:1.
120
+ $sc-color-avatar-ring: #8250fe; // Avatar's 1px inset ring, the shape's boundary: 3:1 on avatar.fill and on canvas, default, raised and sunken.
118
121
  $sc-z-base: 0; // Normal flow.
119
122
  $sc-z-raised: 1; // Hover and focus rings over siblings.
120
123
  $sc-z-sticky: 100; // Pinned chrome inside the page: sticky Toolbar, Banner, Table head.
@@ -250,6 +253,9 @@ $sc-dark: (
250
253
  'color-diff-added-stroke': #48be72,
251
254
  'color-diff-removed-wash': #430005,
252
255
  'color-diff-removed-stroke': #fe6f6b,
256
+ 'color-avatar-fill': #311072,
257
+ 'color-avatar-text': #beb6ff,
258
+ 'color-avatar-ring': #a190fe,
253
259
  'elevation-0': none,
254
260
  'elevation-1': 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.5),
255
261
  '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.21",
3
+ "version": "0.2.0-rc.23",
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": {
@@ -242,6 +242,23 @@
242
242
  "$type": "color",
243
243
  "$description": "Strike-through on removed text; 3:1 on diff.removed-wash."
244
244
  }
245
+ },
246
+ "avatar": {
247
+ "fill": {
248
+ "$value": "{color.brand.900}",
249
+ "$type": "color",
250
+ "$description": "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."
251
+ },
252
+ "text": {
253
+ "$value": "{color.brand.300}",
254
+ "$type": "color",
255
+ "$description": "Initials on avatar.fill; 4.5:1."
256
+ },
257
+ "ring": {
258
+ "$value": "{color.brand.400}",
259
+ "$type": "color",
260
+ "$description": "Avatar's 1px inset ring, the shape's boundary: 3:1 on avatar.fill and on canvas, default, raised and sunken."
261
+ }
245
262
  }
246
263
  },
247
264
  "elevation": {
@@ -242,6 +242,23 @@
242
242
  "$type": "color",
243
243
  "$description": "Strike-through on removed text; 3:1 on diff.removed-wash."
244
244
  }
245
+ },
246
+ "avatar": {
247
+ "fill": {
248
+ "$value": "{color.brand.100}",
249
+ "$type": "color",
250
+ "$description": "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."
251
+ },
252
+ "text": {
253
+ "$value": "{color.brand.700}",
254
+ "$type": "color",
255
+ "$description": "Initials on avatar.fill; 4.5:1."
256
+ },
257
+ "ring": {
258
+ "$value": "{color.brand.500}",
259
+ "$type": "color",
260
+ "$description": "Avatar's 1px inset ring, the shape's boundary: 3:1 on avatar.fill and on canvas, default, raised and sunken."
261
+ }
245
262
  }
246
263
  },
247
264
  "elevation": {