{group.section}
{/if} - {#if spec.kind === 'type' && group.section === 'Font stacks'} + {#if spec.kind === 'type' && group.section === 'Specimen'} +The quick brown fox jumps over the lazy dog.
+Whereas disregard and contempt for human rights have resulted in barbarous acts which have outraged the conscience of mankind, and the advent of a world in which human beings shall enjoy freedom of speech and belief.
+ ++ 7-step ramp for each brand color, resolved against the {ui.previewTheme} theme. +
+ + {#each BRAND_KEYS as { key, label } (key)} ++ Theme: {ui.previewTheme} · toggle in the preview pane to compare modes. +
+ and . Usually slightly smaller than body text so monospace doesn't feel oversized.",
- "value": "0.875em",
- "aliasOf": null,
+ "role": "consumption",
+ "namespace": "card",
+ "category": "Component tokens",
+ "area": "components",
+ "group": "CARD TOKENS",
+ "description": "Concentric radius math: outer = inner + padding. Keeps inner elements that use the global --sf-radius-m visually proportional inside a padded card.",
+ "value": "var(--sf-border-width-1)",
+ "aliasOf": "--sf-border-width-1",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.components.css"
],
"bundles": [
- "essential",
"full",
- "optimal",
- "optimal-components",
- "optimal-utilities"
+ "optimal-components"
]
},
{
- "name": "--sf-color-action",
+ "name": "--sf-card-gap",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Core tokens",
- "area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Primary interactive color. Applied to filled buttons, active indicators, and brand accent surfaces.",
- "value": "light-dark(var(--sf-color-action-light), var(--sf-color-action-dark, oklch(from var(--sf-color-action-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
- "aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
- "optional": false,
+ "namespace": "card",
+ "category": "Component tokens",
+ "area": "components",
+ "group": "CARD TOKENS",
+ "description": "Concentric radius math: outer = inner + padding. Keeps inner elements that use the global --sf-radius-m visually proportional inside a padded card.",
+ "value": "var(--sf-space-m)",
+ "aliasOf": "--sf-space-m",
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.components.css"
],
"bundles": [
- "essential",
"full",
- "optimal",
- "optimal-components",
- "optimal-utilities"
+ "optimal-components"
]
},
{
- "name": "--sf-color-action--active",
+ "name": "--sf-card-padding",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Core tokens",
- "area": "core",
- "group": "action",
- "description": "Action color at pressed/active brightness.",
- "value": "var(--sf-color-action-xdark)",
- "aliasOf": "--sf-color-action-xdark",
+ "namespace": "card",
+ "category": "Component tokens",
+ "area": "components",
+ "group": "CARD TOKENS",
+ "description": "Concentric radius math: outer = inner + padding. Keeps inner elements that use the global --sf-radius-m visually proportional inside a padded card.",
+ "value": "var(--sf-space-l)",
+ "aliasOf": "--sf-space-l",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.components.css"
],
"bundles": [
- "essential",
"full",
- "optimal",
- "optimal-components",
- "optimal-utilities"
+ "optimal-components"
]
},
{
- "name": "--sf-color-action--hover",
+ "name": "--sf-card-radius",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Core tokens",
- "area": "core",
- "group": "action",
- "description": "Action color at hover brightness.",
- "value": "var(--sf-color-action-darker)",
- "aliasOf": "--sf-color-action-darker",
+ "namespace": "card",
+ "category": "Component tokens",
+ "area": "components",
+ "group": "CARD TOKENS",
+ "description": "Concentric radius math: outer = inner + padding. Keeps inner elements that use the global --sf-radius-m visually proportional inside a padded card.",
+ "value": "var(--sf-radius-m)",
+ "aliasOf": "--sf-radius-m",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.components.css"
],
"bundles": [
- "essential",
"full",
- "optimal",
- "optimal-components",
- "optimal-utilities"
+ "optimal-components"
]
},
{
- "name": "--sf-color-action-100",
+ "name": "--sf-card-radius-outer",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Very light action shade. Hover fills on white surfaces, badge backgrounds.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-100), var(--sf-color-surface))",
+ "namespace": "card",
+ "category": "Component tokens",
+ "area": "components",
+ "group": "CARD TOKENS",
+ "description": "Concentric radius math: outer = inner + padding. Keeps inner elements that use the global --sf-radius-m visually proportional inside a padded card.",
+ "value": "calc(var(--sf-card-radius) + var(--sf-card-padding))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -1929,27 +1900,25 @@
"optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "optional/tokens.components.css"
],
"bundles": [
"full",
- "optimal",
- "optimal-components",
- "optimal-utilities"
+ "optimal-components"
]
},
{
- "name": "--sf-color-action-200",
+ "name": "--sf-card-shadow",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Light action shade. Subtle fills and outlined badge backgrounds.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-200), var(--sf-color-surface))",
- "aliasOf": null,
+ "namespace": "card",
+ "category": "Component tokens",
+ "area": "components",
+ "group": "CARD TOKENS",
+ "description": "Concentric radius math: outer = inner + padding. Keeps inner elements that use the global --sf-radius-m visually proportional inside a padded card.",
+ "value": "var(--sf-shadow-s)",
+ "aliasOf": "--sf-shadow-s",
"registered": false,
"animatable": false,
"syntax": null,
@@ -1957,37 +1926,36 @@
"optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "optional/tokens.components.css"
],
"bundles": [
"full",
- "optimal",
- "optimal-components",
- "optimal-utilities"
+ "optimal-components"
]
},
{
- "name": "--sf-color-action-300",
+ "name": "--sf-caret-color",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Light-mid action shade. Borders on light backgrounds, low-emphasis fills.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-300), var(--sf-color-surface))",
- "aliasOf": null,
+ "namespace": "caret",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "Focus / form colors",
+ "description": "Cursor caret color inside text inputs and contenteditable elements.",
+ "value": "var(--sf-color-action)",
+ "aliasOf": "--sf-color-action",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -1995,27 +1963,28 @@
]
},
{
- "name": "--sf-color-action-400",
+ "name": "--sf-center-gutter",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Mid-light action shade. Disabled state fills, decorative accents.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-400), var(--sf-color-surface))",
- "aliasOf": null,
+ "namespace": "center",
+ "category": "Layout tokens",
+ "area": "layout",
+ "group": "Center",
+ "description": "Minimum side gutter for the center layout.",
+ "value": "var(--sf-gutter)",
+ "aliasOf": "--sf-gutter",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.layout.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2023,27 +1992,28 @@
]
},
{
- "name": "--sf-color-action-50",
+ "name": "--sf-center-max",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Lightest action tint. Background fill for subtle action-tinted surfaces.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-50), var(--sf-color-surface))",
- "aliasOf": null,
+ "namespace": "center",
+ "category": "Layout tokens",
+ "area": "layout",
+ "group": "Center",
+ "description": "Maximum width for the center layout.",
+ "value": "var(--sf-container-default)",
+ "aliasOf": "--sf-container-default",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.layout.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2051,27 +2021,28 @@
]
},
{
- "name": "--sf-color-action-500",
+ "name": "--sf-cluster-align",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Mid action shade — the 'pure' hue. Accessible on both light and dark backgrounds.",
- "value": "var(--sf-color-action)",
- "aliasOf": "--sf-color-action",
+ "role": "knob",
+ "namespace": "cluster",
+ "category": "Layout tokens",
+ "area": "layout",
+ "group": "Cluster",
+ "description": "Vertical alignment of cluster items (align-items value).",
+ "value": "center",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.layout.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2079,27 +2050,28 @@
]
},
{
- "name": "--sf-color-action-600",
+ "name": "--sf-cluster-gap",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Mid-dark action shade. Text on light surfaces, icon fills.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-600), var(--sf-color-text))",
- "aliasOf": null,
+ "namespace": "cluster",
+ "category": "Layout tokens",
+ "area": "layout",
+ "group": "Cluster",
+ "description": "Gap between wrapped inline items in the cluster layout.",
+ "value": "var(--sf-gap)",
+ "aliasOf": "--sf-gap",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.layout.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2107,27 +2079,28 @@
]
},
{
- "name": "--sf-color-action-700",
+ "name": "--sf-cluster-justify",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Dark action shade. Strong text and icon fills on light backgrounds.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-700), var(--sf-color-text))",
+ "role": "knob",
+ "namespace": "cluster",
+ "category": "Layout tokens",
+ "area": "layout",
+ "group": "Cluster",
+ "description": "Horizontal justification of the cluster (justify-content value).",
+ "value": "flex-start",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.layout.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2135,27 +2108,28 @@
]
},
{
- "name": "--sf-color-action-800",
+ "name": "--sf-code-font-size",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
- "namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Very dark action shade. High-contrast text on white.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-800), var(--sf-color-text))",
+ "role": "knob",
+ "namespace": "code",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "TYPOGRAPHY ALIASES",
+ "description": "Font size for inline and . Usually slightly smaller than body text so monospace doesn't feel oversized.",
+ "value": "0.875em",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2163,27 +2137,28 @@
]
},
{
- "name": "--sf-color-action-900",
+ "name": "--sf-color-action",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "action",
- "description": "Near-black action shade. Extreme contrast on white surfaces.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-900), var(--sf-color-text))",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Primary interactive color. Applied to filled buttons, active indicators, and brand accent surfaces.",
+ "value": "light-dark(var(--sf-color-action-light), var(--sf-color-action-dark, oklch(from var(--sf-color-action-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
"aliasOf": null,
- "registered": false,
- "animatable": false,
- "syntax": null,
- "inherits": null,
- "optional": true,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2191,27 +2166,28 @@
]
},
{
- "name": "--sf-color-action-950",
+ "name": "--sf-color-action--active",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
+ "category": "Core tokens",
+ "area": "core",
"group": "action",
- "description": "Darkest action tint. Near-black for dark-theme surface accents.",
- "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-950), var(--sf-color-text))",
- "aliasOf": null,
+ "description": "Action color at pressed/active brightness.",
+ "value": "var(--sf-color-action-xdark)",
+ "aliasOf": "--sf-color-action-xdark",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2219,27 +2195,28 @@
]
},
{
- "name": "--sf-color-action-a10",
+ "name": "--sf-color-action--hover",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
+ "category": "Core tokens",
+ "area": "core",
"group": "action",
- "description": "10% opacity action tint. Subtle hover or selected-row background.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.10)",
- "aliasOf": null,
+ "description": "Action color at hover brightness.",
+ "value": "var(--sf-color-action-darker)",
+ "aliasOf": "--sf-color-action-darker",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2247,7 +2224,7 @@
]
},
{
- "name": "--sf-color-action-a30",
+ "name": "--sf-color-action-100",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -2255,8 +2232,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "action",
- "description": "30% opacity action tint.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.30)",
+ "description": "Very light action shade. Hover fills on white surfaces, badge backgrounds.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-100), var(--sf-color-surface))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -2275,7 +2252,7 @@
]
},
{
- "name": "--sf-color-action-a5",
+ "name": "--sf-color-action-200",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -2283,8 +2260,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "action",
- "description": "5% opacity action tint. Barely-there hover highlight.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.05)",
+ "description": "Light action shade. Subtle fills and outlined badge backgrounds.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-200), var(--sf-color-surface))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -2303,7 +2280,7 @@
]
},
{
- "name": "--sf-color-action-a50",
+ "name": "--sf-color-action-300",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -2311,8 +2288,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "action",
- "description": "50% opacity action tint. Mid-transparency badge or overlay.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.50)",
+ "description": "Light-mid action shade. Borders on light backgrounds, low-emphasis fills.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-300), var(--sf-color-surface))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -2331,7 +2308,7 @@
]
},
{
- "name": "--sf-color-action-a80",
+ "name": "--sf-color-action-400",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -2339,9 +2316,9 @@
"category": "Palette tokens",
"area": "palette",
"group": "action",
- "description": "80% opacity action tint.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.80)",
- "aliasOf": null,
+ "description": "Mid-light action shade. Disabled state fills, decorative accents.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-400), var(--sf-color-surface))",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
@@ -2359,28 +2336,27 @@
]
},
{
- "name": "--sf-color-action-dark",
+ "name": "--sf-color-action-50",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Registered dark counterpart of --sf-color-action. Enables smooth CSS transitions when toggling between light and dark mode; without registration the browser cannot interpolate and transitions snap at 50%.",
- "value": "oklch(0.70 0.198 235)",
+ "category": "Palette tokens",
+ "area": "palette",
+ "group": "action",
+ "description": "Lightest action tint. Background fill for subtle action-tinted surfaces.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-50), var(--sf-color-surface))",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
- "optional": false,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2388,29 +2364,27 @@
]
},
{
- "name": "--sf-color-action-darker",
+ "name": "--sf-color-action-500",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Deep action shade for high-contrast contexts.",
- "value": "var(--sf-color-action-600)",
- "aliasOf": "--sf-color-action-600",
+ "description": "Mid action shade — the 'pure' hue. Accessible on both light and dark backgrounds.",
+ "value": "var(--sf-color-action)",
+ "aliasOf": "--sf-color-action",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2418,28 +2392,27 @@
]
},
{
- "name": "--sf-color-action-ghost",
+ "name": "--sf-color-action-600",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Near-transparent action tint for ghost-button hover backgrounds.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.05)",
+ "description": "Mid-dark action shade. Text on light surfaces, icon fills.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-600), var(--sf-color-text))",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2447,28 +2420,27 @@
]
},
{
- "name": "--sf-color-action-light",
+ "name": "--sf-color-action-700",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
- "group": "BRAND COLORS (-light source tokens, animatable)",
- "description": "OKLCH lightness source for the action color. Animate this to smoothly transition between light and dark brand themes.",
- "value": "oklch(0.50 0.22 235)",
+ "category": "Palette tokens",
+ "area": "palette",
+ "group": "action",
+ "description": "Dark action shade. Strong text and icon fills on light backgrounds.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-700), var(--sf-color-text))",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
- "optional": false,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2476,29 +2448,27 @@
]
},
{
- "name": "--sf-color-action-lighter",
+ "name": "--sf-color-action-800",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Light action shade for soft accents.",
- "value": "var(--sf-color-action-400)",
- "aliasOf": "--sf-color-action-400",
+ "description": "Very dark action shade. High-contrast text on white.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-800), var(--sf-color-text))",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2506,28 +2476,27 @@
]
},
{
- "name": "--sf-color-action-muted",
+ "name": "--sf-color-action-900",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Medium action fill — outlined button hover backgrounds.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.30)",
+ "description": "Near-black action shade. Extreme contrast on white surfaces.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-900), var(--sf-color-text))",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2535,28 +2504,27 @@
]
},
{
- "name": "--sf-color-action-subtle",
+ "name": "--sf-color-action-950",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Lightest action tint — selected rows, active nav, chips.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.10)",
+ "description": "Darkest action tint. Near-black for dark-theme surface accents.",
+ "value": "color-mix(in oklab, var(--sf-color-action) var(--sf-palette-mix-950), var(--sf-color-text))",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2564,29 +2532,27 @@
]
},
{
- "name": "--sf-color-action-superdark",
+ "name": "--sf-color-action-a10",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Near-black action shade for maximum contrast on light surfaces.",
- "value": "var(--sf-color-action-950)",
- "aliasOf": "--sf-color-action-950",
+ "description": "10% opacity action tint. Subtle hover or selected-row background.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.10)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2594,29 +2560,27 @@
]
},
{
- "name": "--sf-color-action-superlight",
+ "name": "--sf-color-action-a30",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Near-white action shade for maximum contrast on dark surfaces.",
- "value": "var(--sf-color-action-50)",
- "aliasOf": "--sf-color-action-50",
+ "description": "30% opacity action tint.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.30)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2624,29 +2588,27 @@
]
},
{
- "name": "--sf-color-action-xdark",
+ "name": "--sf-color-action-a5",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Extra-dark action shade.",
- "value": "var(--sf-color-action-800)",
- "aliasOf": "--sf-color-action-800",
+ "description": "5% opacity action tint. Barely-there hover highlight.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.05)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2654,29 +2616,27 @@
]
},
{
- "name": "--sf-color-action-xlight",
+ "name": "--sf-color-action-a50",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "action",
- "description": "Extra-light action shade.",
- "value": "var(--sf-color-action-200)",
- "aliasOf": "--sf-color-action-200",
+ "description": "50% opacity action tint. Mid-transparency badge or overlay.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.50)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -2684,16 +2644,44 @@
]
},
{
- "name": "--sf-color-base",
+ "name": "--sf-color-action-a80",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
+ "category": "Palette tokens",
+ "area": "palette",
+ "group": "action",
+ "description": "80% opacity action tint.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.80)",
+ "aliasOf": null,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": true,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "optional/tokens.palette.css"
+ ],
+ "bundles": [
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-action-dark",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "knob",
+ "namespace": "color",
"category": "Core tokens",
"area": "core",
"group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Secondary interactive color for supporting actions and secondary buttons.",
- "value": "light-dark(var(--sf-color-base-light), var(--sf-color-base-dark, oklch(from var(--sf-color-base-light) clamp(0.16, calc(1.18 - l), 0.24) calc(c * 0.5) h)))",
+ "description": "Registered dark counterpart of --sf-color-action. Enables smooth CSS transitions when toggling between light and dark mode; without registration the browser cannot interpolate and transitions snap at 50%.",
+ "value": "oklch(0.70 0.198 235)",
"aliasOf": null,
"registered": true,
"animatable": true,
@@ -2713,17 +2701,17 @@
]
},
{
- "name": "--sf-color-base--active",
+ "name": "--sf-color-action-darker",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "base",
- "description": "Base color at pressed/active brightness.",
- "value": "var(--sf-color-base-xdark)",
- "aliasOf": "--sf-color-base-xdark",
+ "group": "action",
+ "description": "Deep action shade for high-contrast contexts.",
+ "value": "var(--sf-color-action-600)",
+ "aliasOf": "--sf-color-action-600",
"registered": false,
"animatable": false,
"syntax": null,
@@ -2731,7 +2719,8 @@
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "core/tokens.css",
+ "optional/tokens.palette.css"
],
"bundles": [
"essential",
@@ -2742,17 +2731,17 @@
]
},
{
- "name": "--sf-color-base--hover",
+ "name": "--sf-color-action-ghost",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "base",
- "description": "Base color at hover brightness.",
- "value": "var(--sf-color-base-darker)",
- "aliasOf": "--sf-color-base-darker",
+ "group": "action",
+ "description": "Near-transparent action tint for ghost-button hover backgrounds.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.05)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
@@ -2771,27 +2760,58 @@
]
},
{
- "name": "--sf-color-base-100",
+ "name": "--sf-color-action-light",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
+ "role": "knob",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Very light base shade. Hover fills, badge backgrounds.",
- "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-100), var(--sf-color-base))",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "BRAND COLORS (-light source tokens, animatable)",
+ "description": "OKLCH lightness source for the action color. Animate this to smoothly transition between light and dark brand themes.",
+ "value": "oklch(0.50 0.22 235)",
"aliasOf": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-action-lighter",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "action",
+ "description": "Light action shade for soft accents.",
+ "value": "var(--sf-color-action-400)",
+ "aliasOf": "--sf-color-action-400",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
+ "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2799,27 +2819,28 @@
]
},
{
- "name": "--sf-color-base-200",
+ "name": "--sf-color-action-muted",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Light base shade.",
- "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-200), var(--sf-color-base))",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "action",
+ "description": "Medium action fill — outlined button hover backgrounds.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.30)",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2827,27 +2848,28 @@
]
},
{
- "name": "--sf-color-base-300",
+ "name": "--sf-color-action-subtle",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Light-mid base shade. Borders on light backgrounds.",
- "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-300), var(--sf-color-base))",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "action",
+ "description": "Lightest action tint — selected rows, active nav, chips.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.10)",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2855,27 +2877,29 @@
]
},
{
- "name": "--sf-color-base-400",
+ "name": "--sf-color-action-superdark",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Mid-light base shade. Disabled fills.",
- "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-400), var(--sf-color-base))",
- "aliasOf": null,
+ "category": "Core tokens",
+ "area": "core",
+ "group": "action",
+ "description": "Near-black action shade for maximum contrast on light surfaces.",
+ "value": "var(--sf-color-action-950)",
+ "aliasOf": "--sf-color-action-950",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
+ "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2883,27 +2907,29 @@
]
},
{
- "name": "--sf-color-base-50",
+ "name": "--sf-color-action-superlight",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Lightest base tint.",
- "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-50), var(--sf-color-base))",
- "aliasOf": null,
+ "category": "Core tokens",
+ "area": "core",
+ "group": "action",
+ "description": "Near-white action shade for maximum contrast on dark surfaces.",
+ "value": "var(--sf-color-action-50)",
+ "aliasOf": "--sf-color-action-50",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
+ "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2911,27 +2937,29 @@
]
},
{
- "name": "--sf-color-base-500",
+ "name": "--sf-color-action-xdark",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Mid base shade — the 'pure' hue.",
- "value": "var(--sf-color-base)",
- "aliasOf": "--sf-color-base",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "action",
+ "description": "Extra-dark action shade.",
+ "value": "var(--sf-color-action-800)",
+ "aliasOf": "--sf-color-action-800",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
+ "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2939,27 +2967,29 @@
]
},
{
- "name": "--sf-color-base-600",
+ "name": "--sf-color-action-xlight",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Mid-dark base shade. Text on light surfaces.",
- "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-600), var(--sf-color-text))",
- "aliasOf": null,
+ "category": "Core tokens",
+ "area": "core",
+ "group": "action",
+ "description": "Extra-light action shade.",
+ "value": "var(--sf-color-action-200)",
+ "aliasOf": "--sf-color-action-200",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
+ "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2967,27 +2997,28 @@
]
},
{
- "name": "--sf-color-base-700",
+ "name": "--sf-color-base",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
- "group": "base",
- "description": "Dark base shade.",
- "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-700), var(--sf-color-text))",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Secondary interactive color for supporting actions and secondary buttons.",
+ "value": "light-dark(var(--sf-color-base-light), var(--sf-color-base-dark, oklch(from var(--sf-color-base-light) clamp(0.16, calc(1.18 - l), 0.24) calc(c * 0.5) h)))",
"aliasOf": null,
- "registered": false,
- "animatable": false,
- "syntax": null,
- "inherits": null,
- "optional": true,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -2995,27 +3026,28 @@
]
},
{
- "name": "--sf-color-base-800",
+ "name": "--sf-color-base--active",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
+ "category": "Core tokens",
+ "area": "core",
"group": "base",
- "description": "Very dark base shade.",
- "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-800), var(--sf-color-text))",
- "aliasOf": null,
+ "description": "Base color at pressed/active brightness.",
+ "value": "var(--sf-color-base-xdark)",
+ "aliasOf": "--sf-color-base-xdark",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -3023,27 +3055,28 @@
]
},
{
- "name": "--sf-color-base-900",
+ "name": "--sf-color-base--hover",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Palette tokens",
- "area": "palette",
+ "category": "Core tokens",
+ "area": "core",
"group": "base",
- "description": "Near-black base shade.",
- "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-900), var(--sf-color-text))",
- "aliasOf": null,
+ "description": "Base color at hover brightness.",
+ "value": "var(--sf-color-base-darker)",
+ "aliasOf": "--sf-color-base-darker",
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": true,
+ "optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "optional/tokens.palette.css"
+ "core/tokens.css"
],
"bundles": [
+ "essential",
"full",
"optimal",
"optimal-components",
@@ -3051,7 +3084,7 @@
]
},
{
- "name": "--sf-color-base-950",
+ "name": "--sf-color-base-100",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3059,8 +3092,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "base",
- "description": "Darkest base tint.",
- "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-950), var(--sf-color-text))",
+ "description": "Very light base shade. Hover fills, badge backgrounds.",
+ "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-100), var(--sf-color-base))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3079,7 +3112,7 @@
]
},
{
- "name": "--sf-color-base-a10",
+ "name": "--sf-color-base-200",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3087,8 +3120,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "base",
- "description": "10% opacity base tint.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.10)",
+ "description": "Light base shade.",
+ "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-200), var(--sf-color-base))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3107,7 +3140,7 @@
]
},
{
- "name": "--sf-color-base-a30",
+ "name": "--sf-color-base-300",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3115,8 +3148,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "base",
- "description": "30% opacity base tint.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.30)",
+ "description": "Light-mid base shade. Borders on light backgrounds.",
+ "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-300), var(--sf-color-base))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3135,7 +3168,7 @@
]
},
{
- "name": "--sf-color-base-a5",
+ "name": "--sf-color-base-400",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3143,8 +3176,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "base",
- "description": "5% opacity base tint.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.05)",
+ "description": "Mid-light base shade. Disabled fills.",
+ "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-400), var(--sf-color-base))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3163,7 +3196,7 @@
]
},
{
- "name": "--sf-color-base-a50",
+ "name": "--sf-color-base-50",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3171,8 +3204,8 @@
"category": "Palette tokens",
"area": "palette",
"group": "base",
- "description": "50% opacity base tint.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.50)",
+ "description": "Lightest base tint.",
+ "value": "color-mix(in oklab, var(--sf-color-text) var(--sf-palette-mix-50), var(--sf-color-base))",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3191,7 +3224,7 @@
]
},
{
- "name": "--sf-color-base-a80",
+ "name": "--sf-color-base-500",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3199,9 +3232,9 @@
"category": "Palette tokens",
"area": "palette",
"group": "base",
- "description": "80% opacity base tint.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.80)",
- "aliasOf": null,
+ "description": "Mid base shade — the 'pure' hue.",
+ "value": "var(--sf-color-base)",
+ "aliasOf": "--sf-color-base",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3219,28 +3252,27 @@
]
},
{
- "name": "--sf-color-base-dark",
+ "name": "--sf-color-base-600",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Registered dark counterpart of --sf-color-base.",
- "value": "oklch(0.22 0.003 250)",
+ "category": "Palette tokens",
+ "area": "palette",
+ "group": "base",
+ "description": "Mid-dark base shade. Text on light surfaces.",
+ "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-600), var(--sf-color-text))",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
- "optional": false,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3248,29 +3280,27 @@
]
},
{
- "name": "--sf-color-base-darker",
+ "name": "--sf-color-base-700",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Deep base shade.",
- "value": "var(--sf-color-base-600)",
- "aliasOf": "--sf-color-base-600",
+ "description": "Dark base shade.",
+ "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-700), var(--sf-color-text))",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3278,28 +3308,27 @@
]
},
{
- "name": "--sf-color-base-ghost",
+ "name": "--sf-color-base-800",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Near-transparent base tint for ghost-button hover backgrounds.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.05)",
+ "description": "Very dark base shade.",
+ "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-800), var(--sf-color-text))",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3307,28 +3336,27 @@
]
},
{
- "name": "--sf-color-base-light",
+ "name": "--sf-color-base-900",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
- "group": "BRAND COLORS (-light source tokens, animatable)",
- "description": "OKLCH lightness source for the base color.",
- "value": "oklch(0.96 0.006 250)",
+ "category": "Palette tokens",
+ "area": "palette",
+ "group": "base",
+ "description": "Near-black base shade.",
+ "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-900), var(--sf-color-text))",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
- "optional": false,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3336,29 +3364,27 @@
]
},
{
- "name": "--sf-color-base-lighter",
+ "name": "--sf-color-base-950",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Light base shade.",
- "value": "var(--sf-color-base-400)",
- "aliasOf": "--sf-color-base-400",
+ "description": "Darkest base tint.",
+ "value": "color-mix(in oklab, var(--sf-color-base) var(--sf-palette-mix-950), var(--sf-color-text))",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3366,28 +3392,27 @@
]
},
{
- "name": "--sf-color-base-muted",
+ "name": "--sf-color-base-a10",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Medium base fill.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.30)",
+ "description": "10% opacity base tint.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.10)",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3395,28 +3420,27 @@
]
},
{
- "name": "--sf-color-base-subtle",
+ "name": "--sf-color-base-a30",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Lightest base tint.",
- "value": "oklch(from var(--sf-color-base) l c h / 0.10)",
+ "description": "30% opacity base tint.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.30)",
"aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3424,29 +3448,27 @@
]
},
{
- "name": "--sf-color-base-superdark",
+ "name": "--sf-color-base-a5",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Near-black base shade.",
- "value": "var(--sf-color-base-950)",
- "aliasOf": "--sf-color-base-950",
+ "description": "5% opacity base tint.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.05)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3454,29 +3476,27 @@
]
},
{
- "name": "--sf-color-base-superlight",
+ "name": "--sf-color-base-a50",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Near-white base shade.",
- "value": "var(--sf-color-base-50)",
- "aliasOf": "--sf-color-base-50",
+ "description": "50% opacity base tint.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.50)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
"bundles": [
- "essential",
"full",
"optimal",
"optimal-components",
@@ -3484,27 +3504,54 @@
]
},
{
- "name": "--sf-color-base-xdark",
+ "name": "--sf-color-base-a80",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
- "category": "Core tokens",
- "area": "core",
+ "category": "Palette tokens",
+ "area": "palette",
"group": "base",
- "description": "Extra-dark base shade.",
- "value": "var(--sf-color-base-800)",
- "aliasOf": "--sf-color-base-800",
+ "description": "80% opacity base tint.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.80)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
"inherits": null,
- "optional": false,
+ "optional": true,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css",
"optional/tokens.palette.css"
],
+ "bundles": [
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-base-dark",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "knob",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Registered dark counterpart of --sf-color-base.",
+ "value": "oklch(0.22 0.003 250)",
+ "aliasOf": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
"bundles": [
"essential",
"full",
@@ -3514,7 +3561,7 @@
]
},
{
- "name": "--sf-color-base-xlight",
+ "name": "--sf-color-base-darker",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3522,9 +3569,9 @@
"category": "Core tokens",
"area": "core",
"group": "base",
- "description": "Extra-light base shade.",
- "value": "var(--sf-color-base-200)",
- "aliasOf": "--sf-color-base-200",
+ "description": "Deep base shade.",
+ "value": "var(--sf-color-base-600)",
+ "aliasOf": "--sf-color-base-600",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3544,16 +3591,16 @@
]
},
{
- "name": "--sf-color-bg",
+ "name": "--sf-color-base-ghost",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Surfaces",
- "description": "Base page / component background. The canvas all other surfaces layer on top of.",
- "value": "oklch(from var(--sf-color-base) calc(l + 0.02) c h)",
+ "group": "base",
+ "description": "Near-transparent base tint for ghost-button hover backgrounds.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.05)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3573,21 +3620,21 @@
]
},
{
- "name": "--sf-color-bg--active",
+ "name": "--sf-color-base-light",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
+ "role": "knob",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Interactive states",
- "description": "Background tint for pressed/active interactive elements.",
- "value": "oklch(from var(--sf-color-neutral) l c h / 0.12)",
+ "group": "BRAND COLORS (-light source tokens, animatable)",
+ "description": "OKLCH lightness source for the base color.",
+ "value": "oklch(0.96 0.006 250)",
"aliasOf": null,
- "registered": false,
- "animatable": false,
- "syntax": null,
- "inherits": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -3602,17 +3649,17 @@
]
},
{
- "name": "--sf-color-bg--disabled",
+ "name": "--sf-color-base-lighter",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Interactive states",
- "description": "Background for disabled interactive elements.",
- "value": "var(--sf-color-inset)",
- "aliasOf": "--sf-color-inset",
+ "group": "base",
+ "description": "Light base shade.",
+ "value": "var(--sf-color-base-400)",
+ "aliasOf": "--sf-color-base-400",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3620,7 +3667,8 @@
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "core/tokens.css",
+ "optional/tokens.palette.css"
],
"bundles": [
"essential",
@@ -3631,16 +3679,16 @@
]
},
{
- "name": "--sf-color-bg--focus",
+ "name": "--sf-color-base-muted",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Interactive states",
- "description": "Background tint for focused interactive elements.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.06)",
+ "group": "base",
+ "description": "Medium base fill.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.30)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3660,16 +3708,16 @@
]
},
{
- "name": "--sf-color-bg--hover",
+ "name": "--sf-color-base-subtle",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Interactive states",
- "description": "Background tint for hovered interactive elements (rows, list items, etc.).",
- "value": "oklch(from var(--sf-color-neutral) l c h / 0.08)",
+ "group": "base",
+ "description": "Lightest base tint.",
+ "value": "oklch(from var(--sf-color-base) l c h / 0.10)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3689,17 +3737,17 @@
]
},
{
- "name": "--sf-color-bg--selected",
+ "name": "--sf-color-base-superdark",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Interactive states",
- "description": "Background for selected items (checked rows, active nav links).",
- "value": "oklch(from var(--sf-color-action) l c h / 0.1)",
- "aliasOf": null,
+ "group": "base",
+ "description": "Near-black base shade.",
+ "value": "var(--sf-color-base-950)",
+ "aliasOf": "--sf-color-base-950",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3707,7 +3755,8 @@
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "core/tokens.css",
+ "optional/tokens.palette.css"
],
"bundles": [
"essential",
@@ -3718,17 +3767,17 @@
]
},
{
- "name": "--sf-color-black",
+ "name": "--sf-color-base-superlight",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Selection & backdrop",
- "description": "Absolute black reference value.",
- "value": "oklch(0% 0 0)",
- "aliasOf": null,
+ "group": "base",
+ "description": "Near-white base shade.",
+ "value": "var(--sf-color-base-50)",
+ "aliasOf": "--sf-color-base-50",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3736,7 +3785,8 @@
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "core/tokens.css",
+ "optional/tokens.palette.css"
],
"bundles": [
"essential",
@@ -3747,17 +3797,17 @@
]
},
{
- "name": "--sf-color-border",
+ "name": "--sf-color-base-xdark",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Borders",
- "description": "Default border for dividers and component edges.",
- "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.70, calc(l + 0.35), 0.95) 0.005 h), oklch(from var(--sf-color-neutral) clamp(0.25, calc(l - 0.3), 0.55) 0.005 h) )",
- "aliasOf": null,
+ "group": "base",
+ "description": "Extra-dark base shade.",
+ "value": "var(--sf-color-base-800)",
+ "aliasOf": "--sf-color-base-800",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3765,7 +3815,8 @@
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "core/tokens.css",
+ "optional/tokens.palette.css"
],
"bundles": [
"essential",
@@ -3776,17 +3827,17 @@
]
},
{
- "name": "--sf-color-border--disabled",
+ "name": "--sf-color-base-xlight",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Border alpha tokens",
- "description": "Semi-transparent border for disabled element edges.",
- "value": "oklch(from var(--sf-color-border--subtle) l 0 h / 0.5)",
- "aliasOf": null,
+ "group": "base",
+ "description": "Extra-light base shade.",
+ "value": "var(--sf-color-base-200)",
+ "aliasOf": "--sf-color-base-200",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3794,7 +3845,8 @@
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
- "core/tokens.css"
+ "core/tokens.css",
+ "optional/tokens.palette.css"
],
"bundles": [
"essential",
@@ -3805,17 +3857,17 @@
]
},
{
- "name": "--sf-color-border--focus",
+ "name": "--sf-color-bg",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Borders",
- "description": "Focus indicator border, used alongside --sf-focus-ring-color.",
- "value": "var(--sf-color-action)",
- "aliasOf": "--sf-color-action",
+ "group": "Surfaces",
+ "description": "Base page / component background. The canvas all other surfaces layer on top of.",
+ "value": "oklch(from var(--sf-color-base) calc(l + 0.02) c h)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
@@ -3834,16 +3886,16 @@
]
},
{
- "name": "--sf-color-border--strong",
+ "name": "--sf-color-bg--active",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Borders",
- "description": "Stronger border for visually prominent edges and active outlines.",
- "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.55, calc(l + 0.1), 0.85) 0.02 h), oklch(from var(--sf-color-neutral) clamp(0.38, calc(l - 0.1), 0.65) 0.02 h) )",
+ "group": "Interactive states",
+ "description": "Background tint for pressed/active interactive elements.",
+ "value": "oklch(from var(--sf-color-neutral) l c h / 0.12)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3863,17 +3915,17 @@
]
},
{
- "name": "--sf-color-border--subtle",
+ "name": "--sf-color-bg--disabled",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Borders",
- "description": "Low-contrast border for subtle separation without strong visual weight.",
- "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.75, calc(l + 0.4), 0.97) 0.005 h), oklch(from var(--sf-color-neutral) clamp(0.20, calc(l - 0.38), 0.45) 0.005 h) )",
- "aliasOf": null,
+ "group": "Interactive states",
+ "description": "Background for disabled interactive elements.",
+ "value": "var(--sf-color-inset)",
+ "aliasOf": "--sf-color-inset",
"registered": false,
"animatable": false,
"syntax": null,
@@ -3892,16 +3944,16 @@
]
},
{
- "name": "--sf-color-border--translucent",
+ "name": "--sf-color-bg--focus",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Border alpha tokens",
- "description": "Translucent border for glass-morphism and frosted surfaces.",
- "value": "oklch(from var(--sf-color-neutral) l c h / 0.15)",
+ "group": "Interactive states",
+ "description": "Background tint for focused interactive elements.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.06)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3921,7 +3973,7 @@
]
},
{
- "name": "--sf-color-code-bg",
+ "name": "--sf-color-bg--hover",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -3929,9 +3981,9 @@
"category": "Core tokens",
"area": "core",
"group": "Interactive states",
- "description": "Background for inline elements. Usually a subtle tint of the inset surface.",
- "value": "var(--sf-color-inset)",
- "aliasOf": "--sf-color-inset",
+ "description": "Background tint for hovered interactive elements (rows, list items, etc.).",
+ "value": "oklch(from var(--sf-color-neutral) l c h / 0.08)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
@@ -3950,16 +4002,16 @@
]
},
{
- "name": "--sf-color-code-text",
+ "name": "--sf-color-bg--selected",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Text-on-color",
- "description": "Text color for inline code and monospace preformatted text.",
- "value": "oklch(from var(--sf-color-code-bg) clamp(0.1, sign(var(--sf-contrast-threshold) - l) * 999, 0.95) 0 0)",
+ "group": "Interactive states",
+ "description": "Background for selected items (checked rows, active nav links).",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.1)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -3979,21 +4031,21 @@
]
},
{
- "name": "--sf-color-danger",
+ "name": "--sf-color-black",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
+ "role": "knob",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Destructive / danger state color. Used for delete actions, error alerts, and critical warnings.",
- "value": "light-dark(var(--sf-color-danger-light), var(--sf-color-danger-dark, oklch(from var(--sf-color-danger-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
+ "group": "Selection & backdrop",
+ "description": "Absolute black reference value.",
+ "value": "oklch(0% 0 0)",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4008,21 +4060,21 @@
]
},
{
- "name": "--sf-color-danger-dark",
+ "name": "--sf-color-border",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Registered dark counterpart of --sf-color-danger.",
- "value": "oklch(0.71 0.198 12)",
+ "group": "Borders",
+ "description": "Default border for dividers and component edges.",
+ "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.70, calc(l + 0.35), 0.95) 0.005 h), oklch(from var(--sf-color-neutral) clamp(0.25, calc(l - 0.3), 0.55) 0.005 h) )",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4037,21 +4089,21 @@
]
},
{
- "name": "--sf-color-danger-light",
+ "name": "--sf-color-border--disabled",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "STATUS COLORS (-light source tokens)",
- "description": "OKLCH lightness source for the danger status color.",
- "value": "oklch(0.48 0.22 12)",
+ "group": "Border alpha tokens",
+ "description": "Semi-transparent border for disabled element edges.",
+ "value": "oklch(from var(--sf-color-border--subtle) l 0 h / 0.5)",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4066,17 +4118,17 @@
]
},
{
- "name": "--sf-color-danger-muted",
+ "name": "--sf-color-border--focus",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Status triplets",
- "description": "Medium danger fill for icon backgrounds and badge fills.",
- "value": "oklch(from var(--sf-color-danger) l c h / 0.3)",
- "aliasOf": null,
+ "group": "Borders",
+ "description": "Focus indicator border, used alongside --sf-focus-ring-color.",
+ "value": "var(--sf-color-action)",
+ "aliasOf": "--sf-color-action",
"registered": false,
"animatable": false,
"syntax": null,
@@ -4095,16 +4147,16 @@
]
},
{
- "name": "--sf-color-danger-strong",
+ "name": "--sf-color-border--strong",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Status triplets",
- "description": "High-contrast danger color for alert body text and icons.",
- "value": "light-dark( oklch(from var(--sf-color-danger-light) calc(l - 0.1) c h), oklch(from var(--sf-color-danger) clamp(0.70, calc(l + 0.15), 1) c h) )",
+ "group": "Borders",
+ "description": "Stronger border for visually prominent edges and active outlines.",
+ "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.55, calc(l + 0.1), 0.85) 0.02 h), oklch(from var(--sf-color-neutral) clamp(0.38, calc(l - 0.1), 0.65) 0.02 h) )",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4124,16 +4176,16 @@
]
},
{
- "name": "--sf-color-danger-subtle",
+ "name": "--sf-color-border--subtle",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Status triplets",
- "description": "Light danger tint for error row backgrounds and alert container fills.",
- "value": "oklch(from var(--sf-color-danger) l c h / 0.1)",
+ "group": "Borders",
+ "description": "Low-contrast border for subtle separation without strong visual weight.",
+ "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.75, calc(l + 0.4), 0.97) 0.005 h), oklch(from var(--sf-color-neutral) clamp(0.20, calc(l - 0.38), 0.45) 0.005 h) )",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4153,16 +4205,16 @@
]
},
{
- "name": "--sf-color-dim",
+ "name": "--sf-color-border--translucent",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Selection & backdrop",
- "description": "Backdrop overlay color for modals, drawers, and lightboxes.",
- "value": "oklch(0 0 0 / 0.5)",
+ "group": "Border alpha tokens",
+ "description": "Translucent border for glass-morphism and frosted surfaces.",
+ "value": "oklch(from var(--sf-color-neutral) l c h / 0.15)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4182,21 +4234,21 @@
]
},
{
- "name": "--sf-color-error",
+ "name": "--sf-color-code-bg",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Form validation error color. Typically same hue as danger but can be tuned independently.",
- "value": "light-dark(var(--sf-color-error-light), var(--sf-color-error-dark, oklch(from var(--sf-color-error-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
- "aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
+ "group": "Interactive states",
+ "description": "Background for inline elements. Usually a subtle tint of the inset surface.",
+ "value": "var(--sf-color-inset)",
+ "aliasOf": "--sf-color-inset",
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4211,21 +4263,21 @@
]
},
{
- "name": "--sf-color-error-dark",
+ "name": "--sf-color-code-text",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Registered dark counterpart of --sf-color-error.",
- "value": "oklch(0.70 0.18 25)",
+ "group": "Text-on-color",
+ "description": "Text color for inline code and monospace preformatted text.",
+ "value": "oklch(from var(--sf-color-code-bg) clamp(0.1, sign(var(--sf-contrast-threshold) - l) * 999, 0.95) 0 0)",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4240,16 +4292,16 @@
]
},
{
- "name": "--sf-color-error-light",
+ "name": "--sf-color-danger",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "STATUS COLORS (-light source tokens)",
- "description": "OKLCH lightness source for the error status color.",
- "value": "oklch(0.50 0.20 25)",
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Destructive / danger state color. Used for delete actions, error alerts, and critical warnings.",
+ "value": "light-dark(var(--sf-color-danger-light), var(--sf-color-danger-dark, oklch(from var(--sf-color-danger-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
"aliasOf": null,
"registered": true,
"animatable": true,
@@ -4269,17 +4321,75 @@
]
},
{
- "name": "--sf-color-error-muted",
+ "name": "--sf-color-danger-dark",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
+ "role": "knob",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Status triplets",
- "description": "Medium error fill for icons and inline badges.",
- "value": "oklch(from var(--sf-color-error) l c h / 0.3)",
- "aliasOf": null,
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Registered dark counterpart of --sf-color-danger.",
+ "value": "oklch(0.71 0.198 12)",
+ "aliasOf": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-danger-light",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "knob",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "STATUS COLORS (-light source tokens)",
+ "description": "OKLCH lightness source for the danger status color.",
+ "value": "oklch(0.48 0.22 12)",
+ "aliasOf": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-danger-muted",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "Status triplets",
+ "description": "Medium danger fill for icon backgrounds and badge fills.",
+ "value": "oklch(from var(--sf-color-danger) l c h / 0.3)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
@@ -4298,7 +4408,7 @@
]
},
{
- "name": "--sf-color-error-strong",
+ "name": "--sf-color-danger-strong",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -4306,8 +4416,8 @@
"category": "Core tokens",
"area": "core",
"group": "Status triplets",
- "description": "High-contrast error color for validation message text.",
- "value": "light-dark( oklch(from var(--sf-color-error-light) calc(l - 0.1) c h), oklch(from var(--sf-color-error) clamp(0.70, calc(l + 0.15), 1) c h) )",
+ "description": "High-contrast danger color for alert body text and icons.",
+ "value": "light-dark( oklch(from var(--sf-color-danger-light) calc(l - 0.1) c h), oklch(from var(--sf-color-danger) clamp(0.70, calc(l + 0.15), 1) c h) )",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4327,7 +4437,7 @@
]
},
{
- "name": "--sf-color-error-subtle",
+ "name": "--sf-color-danger-subtle",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -4335,8 +4445,8 @@
"category": "Core tokens",
"area": "core",
"group": "Status triplets",
- "description": "Light error tint for validation field backgrounds.",
- "value": "oklch(from var(--sf-color-error) l c h / 0.1)",
+ "description": "Light danger tint for error row backgrounds and alert container fills.",
+ "value": "oklch(from var(--sf-color-danger) l c h / 0.1)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4356,16 +4466,16 @@
]
},
{
- "name": "--sf-color-heading",
+ "name": "--sf-color-dim",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
+ "role": "knob",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Text",
- "description": "Heading text color. Slightly stronger contrast than body text for visual hierarchy.",
- "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.05, calc(l - 0.4 - var(--sf-contrast-bias)), 0.35) c h), oklch(from var(--sf-color-neutral) clamp(0.70, calc(l + 0.25 + var(--sf-contrast-bias)), 1) c h) )",
+ "group": "Selection & backdrop",
+ "description": "Backdrop overlay color for modals, drawers, and lightboxes.",
+ "value": "oklch(0 0 0 / 0.5)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4385,7 +4495,7 @@
]
},
{
- "name": "--sf-color-info",
+ "name": "--sf-color-error",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -4393,8 +4503,8 @@
"category": "Core tokens",
"area": "core",
"group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Informational color for neutral tips, hints, and non-urgent notices.",
- "value": "light-dark(var(--sf-color-info-light), var(--sf-color-info-dark, oklch(from var(--sf-color-info-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
+ "description": "Form validation error color. Typically same hue as danger but can be tuned independently.",
+ "value": "light-dark(var(--sf-color-error-light), var(--sf-color-error-dark, oklch(from var(--sf-color-error-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
"aliasOf": null,
"registered": true,
"animatable": true,
@@ -4414,7 +4524,7 @@
]
},
{
- "name": "--sf-color-info-dark",
+ "name": "--sf-color-error-dark",
"type": "token",
"tier": "PUBLIC",
"role": "knob",
@@ -4422,8 +4532,8 @@
"category": "Core tokens",
"area": "core",
"group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Registered dark counterpart of --sf-color-info.",
- "value": "oklch(0.71 0.162 235)",
+ "description": "Registered dark counterpart of --sf-color-error.",
+ "value": "oklch(0.70 0.18 25)",
"aliasOf": null,
"registered": true,
"animatable": true,
@@ -4443,7 +4553,7 @@
]
},
{
- "name": "--sf-color-info-light",
+ "name": "--sf-color-error-light",
"type": "token",
"tier": "PUBLIC",
"role": "knob",
@@ -4451,8 +4561,8 @@
"category": "Core tokens",
"area": "core",
"group": "STATUS COLORS (-light source tokens)",
- "description": "OKLCH lightness source for the info status color.",
- "value": "oklch(0.48 0.18 235)",
+ "description": "OKLCH lightness source for the error status color.",
+ "value": "oklch(0.50 0.20 25)",
"aliasOf": null,
"registered": true,
"animatable": true,
@@ -4472,7 +4582,7 @@
]
},
{
- "name": "--sf-color-info-muted",
+ "name": "--sf-color-error-muted",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -4480,8 +4590,8 @@
"category": "Core tokens",
"area": "core",
"group": "Status triplets",
- "description": "Medium info fill for info icons and hint chips.",
- "value": "oklch(from var(--sf-color-info) l c h / 0.3)",
+ "description": "Medium error fill for icons and inline badges.",
+ "value": "oklch(from var(--sf-color-error) l c h / 0.3)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4501,7 +4611,7 @@
]
},
{
- "name": "--sf-color-info-strong",
+ "name": "--sf-color-error-strong",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -4509,8 +4619,8 @@
"category": "Core tokens",
"area": "core",
"group": "Status triplets",
- "description": "High-contrast info color for hint body text.",
- "value": "light-dark( oklch(from var(--sf-color-info-light) calc(l - 0.1) c h), oklch(from var(--sf-color-info) clamp(0.70, calc(l + 0.15), 1) c h) )",
+ "description": "High-contrast error color for validation message text.",
+ "value": "light-dark( oklch(from var(--sf-color-error-light) calc(l - 0.1) c h), oklch(from var(--sf-color-error) clamp(0.70, calc(l + 0.15), 1) c h) )",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4530,7 +4640,7 @@
]
},
{
- "name": "--sf-color-info-subtle",
+ "name": "--sf-color-error-subtle",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
@@ -4538,8 +4648,8 @@
"category": "Core tokens",
"area": "core",
"group": "Status triplets",
- "description": "Light info tint for informational note backgrounds.",
- "value": "oklch(from var(--sf-color-info) l c h / 0.1)",
+ "description": "Light error tint for validation field backgrounds.",
+ "value": "oklch(from var(--sf-color-error) l c h / 0.1)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4559,16 +4669,16 @@
]
},
{
- "name": "--sf-color-inset",
+ "name": "--sf-color-heading",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Surfaces",
- "description": "Slightly inset surface for nested areas — inputs, code blocks, sidebar panels.",
- "value": "oklch(from var(--sf-color-base) calc(l - 0.02) c h)",
+ "group": "Text",
+ "description": "Heading text color. Slightly stronger contrast than body text for visual hierarchy.",
+ "value": "light-dark( oklch(from var(--sf-color-neutral-light) clamp(0.05, calc(l - 0.4 - var(--sf-contrast-bias)), 0.35) c h), oklch(from var(--sf-color-neutral) clamp(0.70, calc(l + 0.25 + var(--sf-contrast-bias)), 1) c h) )",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4588,21 +4698,21 @@
]
},
{
- "name": "--sf-color-inverse",
+ "name": "--sf-color-info",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Surfaces",
- "description": "Inverted (dark-on-light / light-on-dark) surface for high-contrast banners or tooltips.",
- "value": "oklch(from var(--sf-color-base) calc(1 - l) c h)",
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Informational color for neutral tips, hints, and non-urgent notices.",
+ "value": "light-dark(var(--sf-color-info-light), var(--sf-color-info-dark, oklch(from var(--sf-color-info-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
"aliasOf": null,
- "registered": false,
- "animatable": false,
- "syntax": null,
- "inherits": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4617,21 +4727,21 @@
]
},
{
- "name": "--sf-color-link",
+ "name": "--sf-color-info-dark",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
+ "role": "knob",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Links",
- "description": "Default hyperlink color.",
- "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.07, 0.48), 1) c h), oklch(from var(--sf-color-action) clamp(0.68, l, 1) c h) )",
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Registered dark counterpart of --sf-color-info.",
+ "value": "oklch(0.71 0.162 235)",
"aliasOf": null,
- "registered": false,
- "animatable": false,
- "syntax": null,
- "inherits": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4646,21 +4756,21 @@
]
},
{
- "name": "--sf-color-link--active",
+ "name": "--sf-color-info-light",
"type": "token",
"tier": "PUBLIC",
- "role": "consumption",
+ "role": "knob",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Links",
- "description": "Link color when actively pressed.",
- "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.21, 0.34), 1) c h), oklch(from var(--sf-color-action) clamp(0, max(l + 0.15, 0.74), 1) c h) )",
+ "group": "STATUS COLORS (-light source tokens)",
+ "description": "OKLCH lightness source for the info status color.",
+ "value": "oklch(0.48 0.18 235)",
"aliasOf": null,
- "registered": false,
- "animatable": false,
- "syntax": null,
- "inherits": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4675,17 +4785,17 @@
]
},
{
- "name": "--sf-color-link--disabled",
+ "name": "--sf-color-info-muted",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Links",
- "description": "Disabled link color (low contrast, no interaction).",
- "value": "var(--sf-color-text--disabled)",
- "aliasOf": "--sf-color-text--disabled",
+ "group": "Status triplets",
+ "description": "Medium info fill for info icons and hint chips.",
+ "value": "oklch(from var(--sf-color-info) l c h / 0.3)",
+ "aliasOf": null,
"registered": false,
"animatable": false,
"syntax": null,
@@ -4704,16 +4814,16 @@
]
},
{
- "name": "--sf-color-link--hover",
+ "name": "--sf-color-info-strong",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Links",
- "description": "Link color on hover.",
- "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.15, 0.40), 1) c h), oklch(from var(--sf-color-action) clamp(0, max(l + 0.10, 0.68), 1) c h) )",
+ "group": "Status triplets",
+ "description": "High-contrast info color for hint body text.",
+ "value": "light-dark( oklch(from var(--sf-color-info-light) calc(l - 0.1) c h), oklch(from var(--sf-color-info) clamp(0.70, calc(l + 0.15), 1) c h) )",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4733,16 +4843,16 @@
]
},
{
- "name": "--sf-color-link--underline",
+ "name": "--sf-color-info-subtle",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Link alpha token",
- "description": "Color of the link underline decoration. Defaults to a semi-transparent variant of the link color.",
- "value": "oklch(from var(--sf-color-action) l c h / 0.3)",
+ "group": "Status triplets",
+ "description": "Light info tint for informational note backgrounds.",
+ "value": "oklch(from var(--sf-color-info) l c h / 0.1)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4762,16 +4872,16 @@
]
},
{
- "name": "--sf-color-link--visited",
+ "name": "--sf-color-inset",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Links",
- "description": "Visited link color.",
- "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.07, 0.48), 1) c calc(h + 60)), oklch(from var(--sf-color-action) clamp(0.68, l, 1) c calc(h + 60)) )",
+ "group": "Surfaces",
+ "description": "Slightly inset surface for nested areas — inputs, code blocks, sidebar panels.",
+ "value": "oklch(from var(--sf-color-base) calc(l - 0.02) c h)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4791,16 +4901,16 @@
]
},
{
- "name": "--sf-color-mark-bg",
+ "name": "--sf-color-inverse",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Selection & mark",
- "description": "Background color for highlighted elements.",
- "value": "oklch(from var(--sf-color-warning) l c h / 0.25)",
+ "group": "Surfaces",
+ "description": "Inverted (dark-on-light / light-on-dark) surface for high-contrast banners or tooltips.",
+ "value": "oklch(from var(--sf-color-base) calc(1 - l) c h)",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4820,16 +4930,16 @@
]
},
{
- "name": "--sf-color-mark-text",
+ "name": "--sf-color-link",
"type": "token",
"tier": "PUBLIC",
- "role": "knob",
+ "role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "Selection & backdrop",
- "description": "Text color inside highlighted elements.",
- "value": "inherit",
+ "group": "Links",
+ "description": "Default hyperlink color.",
+ "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.07, 0.48), 1) c h), oklch(from var(--sf-color-action) clamp(0.68, l, 1) c h) )",
"aliasOf": null,
"registered": false,
"animatable": false,
@@ -4849,21 +4959,21 @@
]
},
{
- "name": "--sf-color-neutral",
+ "name": "--sf-color-link--active",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "DARK SOURCE TOKENS (-dark, animatable)",
- "description": "Neutral interactive color for low-emphasis actions and tertiary buttons.",
- "value": "light-dark(var(--sf-color-neutral-light), var(--sf-color-neutral-dark, oklch(from var(--sf-color-neutral-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
+ "group": "Links",
+ "description": "Link color when actively pressed.",
+ "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.21, 0.34), 1) c h), oklch(from var(--sf-color-action) clamp(0, max(l + 0.15, 0.74), 1) c h) )",
"aliasOf": null,
- "registered": true,
- "animatable": true,
- "syntax": "",
- "inherits": true,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
"optional": false,
"layer": "slashed.tokens",
"sourceFiles": [
@@ -4878,19 +4988,222 @@
]
},
{
- "name": "--sf-color-neutral--active",
+ "name": "--sf-color-link--disabled",
"type": "token",
"tier": "PUBLIC",
"role": "consumption",
"namespace": "color",
"category": "Core tokens",
"area": "core",
- "group": "neutral",
- "description": "Neutral color at pressed/active brightness.",
- "value": "var(--sf-color-neutral-xdark)",
- "aliasOf": "--sf-color-neutral-xdark",
- "registered": false,
- "animatable": false,
+ "group": "Links",
+ "description": "Disabled link color (low contrast, no interaction).",
+ "value": "var(--sf-color-text--disabled)",
+ "aliasOf": "--sf-color-text--disabled",
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-link--hover",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "Links",
+ "description": "Link color on hover.",
+ "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.15, 0.40), 1) c h), oklch(from var(--sf-color-action) clamp(0, max(l + 0.10, 0.68), 1) c h) )",
+ "aliasOf": null,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-link--underline",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "Link alpha token",
+ "description": "Color of the link underline decoration. Defaults to a semi-transparent variant of the link color.",
+ "value": "oklch(from var(--sf-color-action) l c h / 0.3)",
+ "aliasOf": null,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-link--visited",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "Links",
+ "description": "Visited link color.",
+ "value": "light-dark( oklch(from var(--sf-color-action) clamp(0, min(l - 0.07, 0.48), 1) c calc(h + 60)), oklch(from var(--sf-color-action) clamp(0.68, l, 1) c calc(h + 60)) )",
+ "aliasOf": null,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-mark-bg",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "Selection & mark",
+ "description": "Background color for highlighted elements.",
+ "value": "oklch(from var(--sf-color-warning) l c h / 0.25)",
+ "aliasOf": null,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-mark-text",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "knob",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "Selection & backdrop",
+ "description": "Text color inside highlighted elements.",
+ "value": "inherit",
+ "aliasOf": null,
+ "registered": false,
+ "animatable": false,
+ "syntax": null,
+ "inherits": null,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-neutral",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "DARK SOURCE TOKENS (-dark, animatable)",
+ "description": "Neutral interactive color for low-emphasis actions and tertiary buttons.",
+ "value": "light-dark(var(--sf-color-neutral-light), var(--sf-color-neutral-dark, oklch(from var(--sf-color-neutral-light) clamp(0.65, calc(0.95 - l * 0.5), 0.88) calc(c * 0.9) h)))",
+ "aliasOf": null,
+ "registered": true,
+ "animatable": true,
+ "syntax": "",
+ "inherits": true,
+ "optional": false,
+ "layer": "slashed.tokens",
+ "sourceFiles": [
+ "core/tokens.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "--sf-color-neutral--active",
+ "type": "token",
+ "tier": "PUBLIC",
+ "role": "consumption",
+ "namespace": "color",
+ "category": "Core tokens",
+ "area": "core",
+ "group": "neutral",
+ "description": "Neutral color at pressed/active brightness.",
+ "value": "var(--sf-color-neutral-xdark)",
+ "aliasOf": "--sf-color-neutral-xdark",
+ "registered": false,
+ "animatable": false,
"syntax": null,
"inherits": null,
"optional": false,
@@ -21366,274 +21679,803 @@
"optional": false,
"layer": "slashed.layout",
"sourceFiles": [
- "core/layout.css"
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento--3",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento--3",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Bento grid variant with a 3-column base layout.",
+ "isVariant": true,
+ "baseClass": "sf-bento",
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento--6",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento--6",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Bento grid variant with a 6-column base layout.",
+ "isVariant": true,
+ "baseClass": "sf-bento",
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento--compact",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento--compact",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Bento grid variant with shorter default row height.",
+ "isVariant": true,
+ "baseClass": "sf-bento",
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento--tall",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento--tall",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Bento grid variant with taller default row height.",
+ "isVariant": true,
+ "baseClass": "sf-bento",
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento-featured",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento-featured",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Span modifier for a bento item: takes up 2×2 cells (featured hero placement).",
+ "isVariant": false,
+ "baseClass": null,
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento-full",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento-full",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Span modifier for a bento item: stretches across all columns (full-width banner).",
+ "isVariant": false,
+ "baseClass": null,
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento-tall",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento-tall",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Span modifier for a bento item: doubles the row height (tall card).",
+ "isVariant": false,
+ "baseClass": null,
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-bento-wide",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-bento-wide",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Bento grid",
+ "description": "Span modifier for a bento item: spans 2 columns (wide card).",
+ "isVariant": false,
+ "baseClass": null,
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-box",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-box",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Box",
+ "description": "Minimal padding container that applies --sf-component-pad on all sides. The simplest layout primitive for adding breathing room.",
+ "isVariant": false,
+ "baseClass": null,
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-breakout",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-breakout",
+ "prefix": "sf",
+ "kind": "layout",
+ "category": "Layout primitives",
+ "area": "layout",
+ "group": "Content grid (breakout pattern)",
+ "description": "Breaks a child element out of a parent sf-content-grid, spanning full bleed (or a named grid area) regardless of the parent column. Useful for full-width sections inside constrained prose.",
+ "isVariant": false,
+ "baseClass": null,
+ "optional": false,
+ "layer": "slashed.layout",
+ "sourceFiles": [
+ "core/layout.css"
+ ],
+ "bundles": [
+ "essential",
+ "full",
+ "optimal",
+ "optimal-components",
+ "optimal-utilities"
+ ]
+ },
+ {
+ "name": "sf-button",
+ "type": "class",
+ "tier": "PUBLIC",
+ "selector": ".sf-button",
+ "prefix": "sf",
+ "kind": "component",
+ "category": "Components",
+ "area": "components",
+ "group": ".sf-button",
+ "description": "primary action component Works on