jig-ui 0.2.0 → 0.2.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jig-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A design system for coding agents. 104 numbered UI rules, brand x mode design tokens, and an installer for Claude Code, Codex, Cursor and opencode.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -54,12 +54,19 @@
54
54
  /* ================= SYSTEM COLOURS =================
55
55
  Three, with familiar traffic-light meanings. Four variations each.
56
56
  Never the only signal — pair with an icon and text (C-20).
57
+
58
+ Requirements when you replace one:
59
+ - text (100%) >= 4.5:1 against --color-bg-base AND --color-bg-raised
60
+ - stroke-strong (80%) >= 3:1 against the same two, composited
61
+ - stroke-weak and fill are decorative and have no floor
62
+ These are not style preferences. A system colour that fails them is
63
+ unreadable to the people the colour exists to warn.
57
64
  Each colour is one h/s/l triple (plus a fill alpha, which differs between
58
65
  light and dark) referenced by all four variations below, so changing the
59
66
  colour means changing it in one place instead of 4–5. */
60
67
  --error-h: 0; --error-s: 71%; --error-l: 44%; --error-fill-a: 5%;
61
- --warning-h: 42; --warning-s: 82%; --warning-l: 36%; --warning-fill-a: 5%;
62
- --success-h: 162; --success-s: 95%; --success-l: 26%; --success-fill-a: 5%;
68
+ --warning-h: 42; --warning-s: 82%; --warning-l: 29%; --warning-fill-a: 5%;
69
+ --success-h: 162; --success-s: 95%; --success-l: 23%; --success-fill-a: 5%;
63
70
  /* info is NOT in the reference's set of three. Kept as an optional fourth. */
64
71
  --info-h: 220; --info-s: 70%; --info-l: 42%; --info-fill-a: 5%;
65
72