@brignano/design 0.13.0 → 0.15.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.
Files changed (59) hide show
  1. package/DESIGN.md +164 -34
  2. package/README.md +51 -4
  3. package/components.css +249 -249
  4. package/controls.css +238 -238
  5. package/decisions/0001-cobalt.md +1 -1
  6. package/decisions/0008-cobalt-hue-256.md +1 -1
  7. package/decisions/0014-identity.md +1 -1
  8. package/decisions/0015-white-label-on-cobalt.md +1 -1
  9. package/decisions/0017-product-identity.md +1 -1
  10. package/decisions/0019-house-theme-shell.md +51 -0
  11. package/decisions/0020-kits-opt-in.md +56 -0
  12. package/decisions/0021-ab-logo.md +29 -0
  13. package/decisions/README.md +3 -0
  14. package/kits/larch.css +125 -0
  15. package/kits/ledger.css +121 -0
  16. package/kits/split.css +123 -0
  17. package/logo/mark.svg +4 -4
  18. package/logo/paths.mjs +14 -11
  19. package/logo/tile-180.png +0 -0
  20. package/logo/tile-512.png +0 -0
  21. package/logo/tile.svg +3 -3
  22. package/package.json +9 -1
  23. package/product-page.css +82 -82
  24. package/scripts/colour.mjs +42 -0
  25. package/scripts/theme.mjs +190 -0
  26. package/tailwind.css +13 -20
  27. package/templates/app-shell.css +15 -15
  28. package/templates/article.css +26 -26
  29. package/templates/changelog.css +9 -9
  30. package/templates/email.html +3 -3
  31. package/templates/error.css +7 -7
  32. package/templates/legal.css +11 -11
  33. package/templates/settings.css +9 -9
  34. package/themes/driftwood.css +109 -0
  35. package/themes/driftwood.theme +5 -0
  36. package/themes/guidebook.css +104 -0
  37. package/themes/guidebook.theme +5 -0
  38. package/themes/homelab.css +101 -0
  39. package/themes/homelab.theme +2 -0
  40. package/themes/receipts.css +101 -0
  41. package/themes/receipts.theme +2 -0
  42. package/themes/sites.css +106 -0
  43. package/themes/sites.theme +7 -0
  44. package/tokens/base.css +37 -0
  45. package/tokens/chart.json +145 -0
  46. package/tokens/color.json +840 -0
  47. package/tokens/component.json +75 -0
  48. package/tokens/head.css +84 -0
  49. package/tokens/kits/larch.json +255 -0
  50. package/tokens/kits/ledger.json +247 -0
  51. package/tokens/kits/split.json +247 -0
  52. package/tokens/motion.json +38 -0
  53. package/tokens/names.d.ts +246 -0
  54. package/tokens/shape.json +56 -0
  55. package/tokens/space.json +99 -0
  56. package/tokens/tailwind.json +343 -0
  57. package/tokens/type.json +206 -0
  58. package/tokens.chart.css +23 -23
  59. package/tokens.css +278 -136
@@ -0,0 +1,343 @@
1
+ {
2
+ "$description": "Tailwind v4 bridge for @brignano/design.\nImport AFTER tokens.css and after `@import \"tailwindcss\"`:\n\n @import \"tailwindcss\";\n @import \"@brignano/design/tokens.css\";\n @import \"@brignano/design/tailwind.css\";\n\n`@theme inline` is load-bearing: it makes the generated utilities emit\n`var(--action)` rather than baking a literal at build time, so `bg-interactive`\nfollows the light/dark switch instead of freezing one theme's value.\n\nThe bare `--radius` key is what drives `rounded`. Tailwind v4 has no\n`-DEFAULT` suffix; with one, `rounded` silently stayed at 0.25rem.",
3
+ "block": "@theme inline",
4
+ "keys": [
5
+ {
6
+ "key": "--color-ink",
7
+ "value": "var(--ink)"
8
+ },
9
+ {
10
+ "key": "--color-ink-soft",
11
+ "value": "var(--ink-soft)"
12
+ },
13
+ {
14
+ "key": "--color-slate",
15
+ "value": "var(--slate)"
16
+ },
17
+ {
18
+ "key": "--color-bg",
19
+ "value": "var(--bg)"
20
+ },
21
+ {
22
+ "key": "--color-card",
23
+ "value": "var(--card)"
24
+ },
25
+ {
26
+ "key": "--color-line",
27
+ "value": "var(--line)"
28
+ },
29
+ {
30
+ "key": "--color-line-soft",
31
+ "value": "var(--line-soft)"
32
+ },
33
+ {
34
+ "key": "--color-line-strong",
35
+ "value": "var(--line-strong)"
36
+ },
37
+ {
38
+ "key": "--color-line-control",
39
+ "value": "var(--line-control)"
40
+ },
41
+ {
42
+ "key": "--color-surface-hover",
43
+ "value": "var(--surface-hover)"
44
+ },
45
+ {
46
+ "key": "--color-surface-active",
47
+ "value": "var(--surface-active)"
48
+ },
49
+ {
50
+ "key": "--color-surface-sticky",
51
+ "value": "var(--surface-sticky)"
52
+ },
53
+ {
54
+ "key": "--color-on-dark",
55
+ "value": "var(--on-dark)"
56
+ },
57
+ {
58
+ "key": "--color-interactive",
59
+ "value": "var(--action)"
60
+ },
61
+ {
62
+ "key": "--color-interactive-ink",
63
+ "value": "var(--action-ink)"
64
+ },
65
+ {
66
+ "key": "--color-interactive-ink-hover",
67
+ "value": "var(--action-ink-hover)"
68
+ },
69
+ {
70
+ "key": "--color-interactive-hover",
71
+ "value": "var(--action-hover)"
72
+ },
73
+ {
74
+ "key": "--color-interactive-pressed",
75
+ "value": "var(--action-pressed)"
76
+ },
77
+ {
78
+ "key": "--color-interactive-surface",
79
+ "value": "var(--action-surface)"
80
+ },
81
+ {
82
+ "key": "--color-interactive-line",
83
+ "value": "var(--action-line)"
84
+ },
85
+ {
86
+ "key": "--color-on-interactive",
87
+ "value": "var(--on-action)"
88
+ },
89
+ {
90
+ "key": "--color-danger-fill",
91
+ "value": "var(--danger-fill)"
92
+ },
93
+ {
94
+ "key": "--color-danger-fill-hover",
95
+ "value": "var(--danger-fill-hover)"
96
+ },
97
+ {
98
+ "key": "--color-danger-fill-pressed",
99
+ "value": "var(--danger-fill-pressed)"
100
+ },
101
+ {
102
+ "key": "--color-on-danger",
103
+ "value": "var(--on-danger)"
104
+ },
105
+ {
106
+ "key": "--color-success",
107
+ "value": "var(--success)"
108
+ },
109
+ {
110
+ "key": "--color-success-ink",
111
+ "value": "var(--success-ink)"
112
+ },
113
+ {
114
+ "key": "--color-success-surface",
115
+ "value": "var(--success-surface)"
116
+ },
117
+ {
118
+ "key": "--color-success-line",
119
+ "value": "var(--success-line)"
120
+ },
121
+ {
122
+ "key": "--color-attention",
123
+ "value": "var(--attention)"
124
+ },
125
+ {
126
+ "key": "--color-attention-ink",
127
+ "value": "var(--attention-ink)"
128
+ },
129
+ {
130
+ "key": "--color-attention-surface",
131
+ "value": "var(--attention-surface)"
132
+ },
133
+ {
134
+ "key": "--color-attention-line",
135
+ "value": "var(--attention-line)"
136
+ },
137
+ {
138
+ "key": "--color-danger",
139
+ "value": "var(--danger)"
140
+ },
141
+ {
142
+ "key": "--color-danger-ink",
143
+ "value": "var(--danger-ink)"
144
+ },
145
+ {
146
+ "key": "--color-danger-surface",
147
+ "value": "var(--danger-surface)"
148
+ },
149
+ {
150
+ "key": "--color-danger-line",
151
+ "value": "var(--danger-line)"
152
+ },
153
+ {
154
+ "key": "--color-info",
155
+ "value": "var(--info)"
156
+ },
157
+ {
158
+ "key": "--color-info-ink",
159
+ "value": "var(--info-ink)"
160
+ },
161
+ {
162
+ "key": "--color-info-surface",
163
+ "value": "var(--info-surface)"
164
+ },
165
+ {
166
+ "key": "--color-info-line",
167
+ "value": "var(--info-line)"
168
+ },
169
+ {
170
+ "key": "--color-diff-added",
171
+ "value": "var(--diff-added)"
172
+ },
173
+ {
174
+ "key": "--color-diff-added-ink",
175
+ "value": "var(--diff-added-ink)"
176
+ },
177
+ {
178
+ "key": "--color-diff-added-surface",
179
+ "value": "var(--diff-added-surface)"
180
+ },
181
+ {
182
+ "key": "--color-diff-changed",
183
+ "value": "var(--diff-changed)"
184
+ },
185
+ {
186
+ "key": "--color-diff-changed-ink",
187
+ "value": "var(--diff-changed-ink)"
188
+ },
189
+ {
190
+ "key": "--color-diff-changed-surface",
191
+ "value": "var(--diff-changed-surface)"
192
+ },
193
+ {
194
+ "key": "--color-diff-removed",
195
+ "value": "var(--diff-removed)"
196
+ },
197
+ {
198
+ "key": "--color-diff-removed-ink",
199
+ "value": "var(--diff-removed-ink)"
200
+ },
201
+ {
202
+ "key": "--color-diff-removed-surface",
203
+ "value": "var(--diff-removed-surface)"
204
+ },
205
+ {
206
+ "key": "--color-code-surface",
207
+ "value": "var(--code-surface)"
208
+ },
209
+ {
210
+ "key": "--color-code-ink",
211
+ "value": "var(--code-ink)"
212
+ },
213
+ {
214
+ "key": "--color-code-keyword",
215
+ "value": "var(--code-keyword)"
216
+ },
217
+ {
218
+ "key": "--color-code-string",
219
+ "value": "var(--code-string)"
220
+ },
221
+ {
222
+ "key": "--color-code-comment",
223
+ "value": "var(--code-comment)"
224
+ },
225
+ {
226
+ "key": "--color-code-highlight",
227
+ "value": "var(--code-highlight)"
228
+ },
229
+ {
230
+ "key": "--color-mark",
231
+ "value": "var(--mark)"
232
+ },
233
+ {
234
+ "key": "--color-mark-ink",
235
+ "value": "var(--mark-ink)"
236
+ },
237
+ {
238
+ "key": "--color-mark-fill",
239
+ "value": "var(--mark-fill)"
240
+ },
241
+ {
242
+ "key": "--color-mark-fill-hover",
243
+ "value": "var(--mark-fill-hover)"
244
+ },
245
+ {
246
+ "key": "--color-mark-fill-pressed",
247
+ "value": "var(--mark-fill-pressed)"
248
+ },
249
+ {
250
+ "key": "--color-mark-surface",
251
+ "value": "var(--mark-surface)"
252
+ },
253
+ {
254
+ "key": "--color-on-mark",
255
+ "value": "var(--on-mark)"
256
+ },
257
+ {
258
+ "key": "--font-sans",
259
+ "value": "var(--sans)"
260
+ },
261
+ {
262
+ "key": "--font-mono",
263
+ "value": "var(--mono)"
264
+ },
265
+ {
266
+ "key": "--font-display",
267
+ "value": "var(--display)"
268
+ },
269
+ {
270
+ "key": "--font-weight-normal",
271
+ "value": "var(--weight-regular)",
272
+ "comment": "Weights match Tailwind's own, so font-medium and font-semibold are\nunchanged. Leading and tracking are named by role, not tight/snug/…,\nso they ADD leading-display, tracking-title and the rest and leave\nTailwind's leading-tight, tracking-tight and friends as they were."
273
+ },
274
+ {
275
+ "key": "--font-weight-medium",
276
+ "value": "var(--weight-medium)"
277
+ },
278
+ {
279
+ "key": "--font-weight-semibold",
280
+ "value": "var(--weight-semibold)"
281
+ },
282
+ {
283
+ "key": "--leading-display",
284
+ "value": "var(--leading-display)"
285
+ },
286
+ {
287
+ "key": "--leading-title",
288
+ "value": "var(--leading-title)"
289
+ },
290
+ {
291
+ "key": "--leading-ui",
292
+ "value": "var(--leading-ui)"
293
+ },
294
+ {
295
+ "key": "--leading-body",
296
+ "value": "var(--leading-body)"
297
+ },
298
+ {
299
+ "key": "--tracking-title",
300
+ "value": "var(--tracking-title)"
301
+ },
302
+ {
303
+ "key": "--tracking-display",
304
+ "value": "var(--tracking-display)"
305
+ },
306
+ {
307
+ "key": "--tracking-caps",
308
+ "value": "var(--tracking-caps)"
309
+ },
310
+ {
311
+ "key": "--radius-sm",
312
+ "value": "var(--radius-sm)"
313
+ },
314
+ {
315
+ "key": "--radius-control",
316
+ "value": "var(--radius-control)"
317
+ },
318
+ {
319
+ "key": "--radius",
320
+ "value": "var(--radius-card)"
321
+ },
322
+ {
323
+ "key": "--radius-lg",
324
+ "value": "var(--radius-lg)"
325
+ },
326
+ {
327
+ "key": "--shadow-1",
328
+ "value": "var(--shadow-1)"
329
+ },
330
+ {
331
+ "key": "--shadow-2",
332
+ "value": "var(--shadow-2)"
333
+ },
334
+ {
335
+ "key": "--shadow-3",
336
+ "value": "var(--shadow-3)"
337
+ },
338
+ {
339
+ "key": "--ease-brand",
340
+ "value": "var(--ease)"
341
+ }
342
+ ]
343
+ }
@@ -0,0 +1,206 @@
1
+ {
2
+ "$description": "Type: the three faces, weights, leading and tracking, and the two scales (tool tier by default, marketing tier by class).",
3
+ "root": {
4
+ "$extensions": {
5
+ "io.brignano": {
6
+ "selector": ":root"
7
+ }
8
+ },
9
+ "sans": {
10
+ "$value": "'Geist', 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
11
+ "$description": "── Type ─────────────────────────────────────────────────────────────\n --sans Geist — body and headings, both tiers\n --mono IBM Plex Mono — data that must read precise\n --display Silkscreen — MARKETING TIER ONLY (monogram, hero eyebrows)\n\nNOTE: Geist is not yet installed in `life` — only brignano.io\nself-hosts it. Until added, the stack falls through to Inter and that\nrepo renders as before. Adding it is a deliberate separate change."
12
+ },
13
+ "mono": {
14
+ "$value": "'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace"
15
+ },
16
+ "display": {
17
+ "$value": "var(--sans)"
18
+ },
19
+ "weight-regular": {
20
+ "$value": "400",
21
+ "$description": "Weight, leading and tracking. Sizes are per tier (below); these are\nnot. Three weights, and nothing lighter or bolder.\n(--weight-heavy is the one exception: the display treatment, .display\nand .stamp, ADR-0014.) Leading is unitless\nso it scales with the text: display for large headings, title for\ntitles, ui for interface text, body for paragraphs. Tracking\nonly ever tightens a heading or opens an uppercase mono eyebrow\n(and the .stamp monogram, whose bar closes up otherwise).\n\nNamed by role, not tight/snug/normal: Tailwind owns those names\n(--leading-tight, --tracking-tight) and an unlayered token here would\nsilently change what its utilities do in every consumer."
22
+ },
23
+ "weight-medium": {
24
+ "$value": "500"
25
+ },
26
+ "weight-semibold": {
27
+ "$value": "600"
28
+ },
29
+ "weight-heavy": {
30
+ "$value": "800"
31
+ },
32
+ "leading-display": {
33
+ "$value": "1.15"
34
+ },
35
+ "leading-title": {
36
+ "$value": "1.3"
37
+ },
38
+ "leading-ui": {
39
+ "$value": "1.4"
40
+ },
41
+ "leading-body": {
42
+ "$value": "1.6"
43
+ },
44
+ "tracking-title": {
45
+ "$value": "-0.01em"
46
+ },
47
+ "tracking-display": {
48
+ "$value": "-0.025em"
49
+ },
50
+ "tracking-caps": {
51
+ "$value": "0.08em"
52
+ },
53
+ "display-case": {
54
+ "$value": "none",
55
+ "$description": "How the display treatment is set: a kit may ask for capitals and a wider\ncut of its face (Split). `text-transform` and `font-stretch` read these."
56
+ },
57
+ "display-stretch": {
58
+ "$value": "normal"
59
+ },
60
+ "leading-xs": {
61
+ "$value": "var(--leading-ui)",
62
+ "$description": "── One line height and one tracking per size ──\nA step of the scale is three tokens: --text-N, --leading-N, --tracking-N.\nEach starts as the role token it used already, so nothing moves; a kit\nretunes a step without touching the others."
63
+ },
64
+ "tracking-xs": {
65
+ "$value": "0"
66
+ },
67
+ "leading-sm": {
68
+ "$value": "var(--leading-ui)"
69
+ },
70
+ "tracking-sm": {
71
+ "$value": "0"
72
+ },
73
+ "leading-base": {
74
+ "$value": "var(--leading-body)"
75
+ },
76
+ "tracking-base": {
77
+ "$value": "0"
78
+ },
79
+ "leading-lg": {
80
+ "$value": "var(--leading-body)"
81
+ },
82
+ "tracking-lg": {
83
+ "$value": "0"
84
+ },
85
+ "leading-xl": {
86
+ "$value": "var(--leading-title)"
87
+ },
88
+ "tracking-xl": {
89
+ "$value": "var(--tracking-title)"
90
+ },
91
+ "leading-2xl": {
92
+ "$value": "var(--leading-title)"
93
+ },
94
+ "tracking-2xl": {
95
+ "$value": "var(--tracking-title)"
96
+ },
97
+ "leading-3xl": {
98
+ "$value": "var(--leading-display)"
99
+ },
100
+ "tracking-3xl": {
101
+ "$value": "var(--tracking-display)"
102
+ },
103
+ "leading-4xl": {
104
+ "$value": "var(--leading-display)"
105
+ },
106
+ "tracking-4xl": {
107
+ "$value": "var(--tracking-display)"
108
+ }
109
+ },
110
+ "root-2": {
111
+ "$extensions": {
112
+ "io.brignano": {
113
+ "selector": ":root"
114
+ }
115
+ },
116
+ "text-xs": {
117
+ "$value": "0.6875rem",
118
+ "$description": "Tool-tier scale — compact, because scanning beats reading.\nDeclared BEFORE the marketing tier on purpose: `:root` and\n`.tier-marketing` have the same specificity, so on <html> whichever\ncomes later wins. With this block last, the class did nothing."
119
+ },
120
+ "text-sm": {
121
+ "$value": "0.8125rem"
122
+ },
123
+ "text-base": {
124
+ "$value": "0.9375rem"
125
+ },
126
+ "text-lg": {
127
+ "$value": "1.0625rem"
128
+ },
129
+ "text-xl": {
130
+ "$value": "1.25rem"
131
+ },
132
+ "text-2xl": {
133
+ "$value": "1.5rem"
134
+ },
135
+ "text-3xl": {
136
+ "$value": "1.875rem"
137
+ },
138
+ "text-4xl": {
139
+ "$value": "2.25rem"
140
+ },
141
+ "section-gap": {
142
+ "$value": "var(--space-6)"
143
+ },
144
+ "measure": {
145
+ "$value": "780px"
146
+ }
147
+ },
148
+ "root-not-tier-marketing-pointer-coarse": {
149
+ "$description": "On a phone the tool tier's smallest step rises from 11px to 12px: fine\nbeside a mouse, too small at arm's length. The marketing tier's is\nalready 12px.",
150
+ "$extensions": {
151
+ "io.brignano": {
152
+ "selector": ":root:not(.tier-marketing)",
153
+ "media": "(pointer: coarse)"
154
+ }
155
+ },
156
+ "text-xs": {
157
+ "$value": "0.75rem"
158
+ }
159
+ },
160
+ "tier-marketing": {
161
+ "$description": "── Marketing tier ─────────────────────────────────────────────────────\n`class=\"tier-marketing\"` on <html> (brignano.io). Unlocks the display\nface and opens the type scale. COLOUR IS IDENTICAL ACROSS TIERS — that\nis the point of this file. Tool tier is the default.",
162
+ "$extensions": {
163
+ "io.brignano": {
164
+ "selector": ".tier-marketing"
165
+ }
166
+ },
167
+ "display": {
168
+ "$value": "'Silkscreen', var(--mono)"
169
+ },
170
+ "text-xs": {
171
+ "$value": "0.75rem"
172
+ },
173
+ "text-sm": {
174
+ "$value": "0.875rem"
175
+ },
176
+ "text-base": {
177
+ "$value": "1.0625rem"
178
+ },
179
+ "text-lg": {
180
+ "$value": "1.25rem"
181
+ },
182
+ "text-xl": {
183
+ "$value": "1.5rem"
184
+ },
185
+ "text-2xl": {
186
+ "$value": "2rem"
187
+ },
188
+ "text-3xl": {
189
+ "$value": "2.75rem"
190
+ },
191
+ "text-4xl": {
192
+ "$value": "clamp(2.75rem, 1rem + 4.5vw, 4rem)",
193
+ "$extensions": {
194
+ "io.brignano": {
195
+ "note": "rem term keeps it zoomable (WCAG 1.4.4)"
196
+ }
197
+ }
198
+ },
199
+ "section-gap": {
200
+ "$value": "var(--space-9)"
201
+ },
202
+ "measure": {
203
+ "$value": "68ch"
204
+ }
205
+ }
206
+ }
package/tokens.chart.css CHANGED
@@ -1,3 +1,5 @@
1
+ /* GENERATED by scripts/build.mjs from tokens/chart.json. Edit that, then `npm run build`. */
2
+
1
3
  /* ─────────────────────────────────────────────────────────────────────────
2
4
  tokens.chart.css — the categorical palette for data visualisation.
3
5
 
@@ -50,18 +52,16 @@
50
52
  - Text wears text tokens (--ink / --ink-soft / --slate), never the series
51
53
  colour. A coloured mark beside a label carries the identity.
52
54
  ───────────────────────────────────────────────────────────────────────── */
53
-
54
55
  :root {
55
56
  --chart-surface: var(--card);
56
-
57
- --chart-1: light-dark(#2a78d6, #3987e5); /* blue */
58
- --chart-2: light-dark(#eb6834, #d95926); /* orange */
57
+ --chart-1: light-dark(#2a78d6, #3987e5); /* blue */
58
+ --chart-2: light-dark(#eb6834, #d95926); /* orange */
59
59
  --chart-3: light-dark(#1baf7a, #199e70); /* aqua — relief required (2.74:1) */
60
60
  --chart-4: light-dark(#eda100, #c98500); /* yellow — relief required (2.11:1) */
61
61
  --chart-5: light-dark(#e87ba4, #d55181); /* magenta — relief required (2.62:1) */
62
62
  --chart-6: #008300; /* green — same in both */
63
- --chart-7: light-dark(#4a3aa7, #9085e9); /* violet */
64
- --chart-8: light-dark(#e34948, #e66767); /* red */
63
+ --chart-7: light-dark(#4a3aa7, #9085e9); /* violet */
64
+ --chart-8: light-dark(#e34948, #e66767); /* red */
65
65
 
66
66
  /* Everything past slot 8 aggregates here. Deliberately neutral: "Other"
67
67
  is not an entity, so it does not earn a hue. */
@@ -72,25 +72,25 @@
72
72
  --chart-grid: var(--line);
73
73
  --chart-axis: var(--slate);
74
74
 
75
- /* ─────────────────────────────────────────────────────────────────────────
76
- SEQUENTIAL — one hue, light to dark, for CONTINUOUS MAGNITUDE.
77
- Not categorical. Use when the thing being coloured is "how much", not
78
- "which one": the GitHub contribution heatmap, a density map, a calendar.
75
+ /* ─────────────────────────────────────────────────────────────────────────
76
+ SEQUENTIAL — one hue, light to dark, for CONTINUOUS MAGNITUDE.
77
+ Not categorical. Use when the thing being coloured is "how much", not
78
+ "which one": the GitHub contribution heatmap, a density map, a calendar.
79
79
 
80
- Rules that differ from the categorical palette above:
81
- - ONE hue. Never a rainbow — a rainbow implies categories where there
82
- are only degrees.
83
- - Lightness must be MONOTONIC. Verified in OKLCH: light L 0.888 ->
84
- 0.487 descending, dark L 0.380 -> 0.808 ascending, every adjacent
85
- step separated by dL >= 0.107.
86
- - `--seq-0` is NEUTRAL on purpose. Zero contributions is not a small
87
- amount of the hue, it is the absence of a value — colouring it a pale
88
- blue would claim data that isn't there.
80
+ Rules that differ from the categorical palette above:
81
+ - ONE hue. Never a rainbow — a rainbow implies categories where there
82
+ are only degrees.
83
+ - Lightness must be MONOTONIC. Verified in OKLCH: light L 0.888 ->
84
+ 0.487 descending, dark L 0.380 -> 0.808 ascending, every adjacent
85
+ step separated by dL >= 0.107.
86
+ - `--seq-0` is NEUTRAL on purpose. Zero contributions is not a small
87
+ amount of the hue, it is the absence of a value — colouring it a pale
88
+ blue would claim data that isn't there.
89
89
 
90
- The hue is cobalt, the same family as --i. That is intentional: a
91
- magnitude ramp is informational, the same register as a link, and giving
92
- it its own hue would add a meaning the system doesn't need.
93
- ───────────────────────────────────────────────────────────────────────── */
90
+ The hue is cobalt, the same family as --action. That is intentional: a
91
+ magnitude ramp is informational, the same register as a link, and giving
92
+ it its own hue would add a meaning the system doesn't need.
93
+ ───────────────────────────────────────────────────────────────────────── */
94
94
  --seq-0: var(--line);
95
95
  --seq-1: light-dark(#c6dcfb, #014084);
96
96
  --seq-2: light-dark(#87b5f3, #015cbb);