@path58/tokens 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/tokens.css +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@path58/tokens",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Path58 design tokens — CSS variables and TS exports for color, type, spacing, motion, z-index. Single source of truth consumed by @path58/themes and @path58/ui.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/tokens.ts",
|
package/src/tokens.css
CHANGED
|
@@ -50,6 +50,18 @@
|
|
|
50
50
|
------------------------------------------------------------------- */
|
|
51
51
|
--p58-surface-disabled: color-mix(in srgb, var(--p58-surface-2) 60%, var(--p58-bg) 40%);
|
|
52
52
|
|
|
53
|
+
/* -------------------------------------------------------------------
|
|
54
|
+
COLOR — NAV STATE (DSGN-2.10.2 — ToolSidebar nav-item state hierarchy)
|
|
55
|
+
Three-tier discrimination: default < hover (3% blue-900) < active (5% blue-900).
|
|
56
|
+
Focus uses --p58-ring-focus (shadow ring; not bg). All themes inherit via
|
|
57
|
+
color-mix() against the current --p58-blue-900 anchor — overlay-bound rendering
|
|
58
|
+
preserved (DESIGN-PER-CLIENT-OVERLAY-LOCK-2026-06-19). Themes MAY override
|
|
59
|
+
these tokens for theme-specific palettes.
|
|
60
|
+
------------------------------------------------------------------- */
|
|
61
|
+
--p58-nav-hover-bg: color-mix(in srgb, var(--p58-blue-900) 3%, transparent);
|
|
62
|
+
--p58-nav-active-bg: color-mix(in srgb, var(--p58-blue-900) 5%, transparent);
|
|
63
|
+
--p58-nav-active-accent: var(--p58-blue-900); /* 3px rail color on active nav-item */
|
|
64
|
+
|
|
53
65
|
/* -------------------------------------------------------------------
|
|
54
66
|
COLOR — ACCENT (terminal teal / brand)
|
|
55
67
|
`--p58-teal-*` is the canonical p58 accent (data / dev / proof moments),
|