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:
吴杨帆 2026-05-27 12:45:10 +08:00 committed by GitHub
parent 5e1dce0917
commit 3cac559ccd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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;

View file

@ -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;

View file

@ -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