mirror of
https://github.com/nexu-io/open-design.git
synced 2026-05-31 19:04:39 +07:00
fix(design-systems): align mission-control success and danger tokens (#3036)
Use DESIGN.md telemetry palette values in tokens.css and the components.html fixture. Document the --success/--danger mapping in DESIGN.md so spec readers and CSS consumers stay aligned.
This commit is contained in:
parent
5e1dce0917
commit
3cac559ccd
4 changed files with 8 additions and 4 deletions
|
|
@ -90,6 +90,8 @@ Dark mode is the native mode. No light mode variant by design — mission contro
|
|||
}
|
||||
```
|
||||
|
||||
Consumable bindings in `tokens.css` mirror the telemetry palette as `--success` (`#26DE81`) and `--danger` (`#FF4757`).
|
||||
|
||||
## 3. Typography
|
||||
|
||||
### Font Stack
|
||||
|
|
|
|||
|
|
@ -20,9 +20,9 @@
|
|||
--accent-on: #06101d;
|
||||
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
||||
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
||||
--success: #22c55e;
|
||||
--success: #26de81;
|
||||
--warn: #fbbf24;
|
||||
--danger: #fb7185;
|
||||
--danger: #ff4757;
|
||||
--font-display: Inter, system-ui, sans-serif;
|
||||
--font-body: Inter, system-ui, sans-serif;
|
||||
--font-mono: "SF Mono", ui-monospace, Menlo, monospace;
|
||||
|
|
|
|||
|
|
@ -17,9 +17,9 @@
|
|||
--accent-on: #06101d;
|
||||
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
||||
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
||||
--success: #22c55e;
|
||||
--success: #26de81;
|
||||
--warn: #fbbf24;
|
||||
--danger: #fb7185;
|
||||
--danger: #ff4757;
|
||||
--font-display: Inter, system-ui, sans-serif;
|
||||
--font-body: Inter, system-ui, sans-serif;
|
||||
--font-mono: "SF Mono", ui-monospace, Menlo, monospace;
|
||||
|
|
|
|||
|
|
@ -90,6 +90,8 @@ Dark mode is the native mode. No light mode variant by design — mission contro
|
|||
}
|
||||
```
|
||||
|
||||
Consumable bindings in `tokens.css` mirror the telemetry palette as `--success` (`#26DE81`) and `--danger` (`#FF4757`).
|
||||
|
||||
## 3. Typography
|
||||
|
||||
### Font Stack
|
||||
|
|
|
|||
Loading…
Reference in a new issue