chore(web): sync design.json to the state ramp
The token system still mirrored the pre-amendment palette and carried the rule 'Don't colour complete green or incomplete amber', which now contradicts DESIGN.md 4.2 and would have had the next session revert the ramp. Drops the four --status-* tokens no rule consumes any more; satisfaction reuses --signal-ok and a gap --signal-warn. Committed by the blitz orchestrator: the authoring session wedged.
This commit is contained in:
@@ -205,7 +205,7 @@
|
||||
"refersTo": "status-channel",
|
||||
"description": "Library status (§4.2): airing / incomplete / waiting / complete / ended. Informational, not severity — colour marks activity in one channel-violet family (airing brightest, incomplete, waiting dimmest), satisfaction is neutral (complete bright ink, ended faint). The mono word is always present.",
|
||||
"html": "<span class=\"chip readout\" data-status=\"airing\">airing</span>",
|
||||
"css": ".chip[data-status=\"airing\"] { color: var(--status-airing); border-color: oklch(from var(--status-airing) l c h / 45%); } .chip[data-status=\"incomplete\"] { color: var(--status-incomplete); } .chip[data-status=\"waiting\"] { color: var(--status-waiting); } .chip[data-status=\"complete\"] { color: var(--status-complete); } .chip[data-status=\"ended\"] { color: var(--status-ended); }"
|
||||
"css": ".chip[data-status=\"airing\"] { color: var(--status-airing); border-color: oklch(from var(--status-airing) l c h / 45%); } .chip[data-status=\"incomplete\"] { color: var(--signal-warn); border-color: oklch(from var(--signal-warn) l c h / 55%); } .chip[data-status=\"complete\"], .chip[data-status=\"ended\"] { color: var(--signal-ok); border-color: oklch(from var(--signal-ok) l c h / 45%); } .chip[data-counts=\"complete\"] { color: var(--signal-ok); } .chip[data-counts=\"partial\"] { color: var(--signal-warn); }"
|
||||
},
|
||||
{
|
||||
"name": "Module (channel strip)",
|
||||
@@ -300,7 +300,7 @@
|
||||
"Do take every colour, spacing and font-size from the :root tokens; the token check (web/scripts/check-tokens.mjs) fails CI on literals."
|
||||
],
|
||||
"donts": [
|
||||
"Don't colour `complete` green or `incomplete` amber — library status is informational, not a severity ramp.",
|
||||
"Colour state chips on the ramp — `complete` and `ended` green, `incomplete` and a partial count amber, `airing` and `downloading` violet, `waiting` and `untracked` neutral. The word stays in every chip, so state survives with colour removed.",
|
||||
"Don't use fault red for a rejected release; red means the daemon itself is broken.",
|
||||
"Don't introduce a second interactive hue or use cyan for a status.",
|
||||
"Don't box content in soft-shadowed rounded cards or add glass/blur.",
|
||||
|
||||
+3
-6
@@ -62,13 +62,10 @@
|
||||
--score-6: oklch(0.8 0.17 150);
|
||||
|
||||
/* library state ramp (§4.2): green satisfied, amber gap, violet active,
|
||||
neutral nothing-happening. --status-airing doubles as the downloading
|
||||
hue; the other four stay declared as the design.json mirror. */
|
||||
neutral nothing-happening. Satisfaction reuses --signal-ok and a gap
|
||||
--signal-warn, so the only hue this family still owns is the active one,
|
||||
which doubles as the downloading colour. */
|
||||
--status-airing: oklch(0.78 0.14 305);
|
||||
--status-incomplete: oklch(0.72 0.09 305);
|
||||
--status-waiting: oklch(0.64 0.045 305);
|
||||
--status-complete: oklch(0.85 0.01 250);
|
||||
--status-ended: oklch(0.62 0.015 250);
|
||||
|
||||
/* type */
|
||||
--font-label: system-ui, "Segoe UI", sans-serif;
|
||||
|
||||
Reference in New Issue
Block a user