@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.
- package/DESIGN.md +164 -34
- package/README.md +51 -4
- package/components.css +249 -249
- package/controls.css +238 -238
- package/decisions/0001-cobalt.md +1 -1
- package/decisions/0008-cobalt-hue-256.md +1 -1
- package/decisions/0014-identity.md +1 -1
- package/decisions/0015-white-label-on-cobalt.md +1 -1
- package/decisions/0017-product-identity.md +1 -1
- package/decisions/0019-house-theme-shell.md +51 -0
- package/decisions/0020-kits-opt-in.md +56 -0
- package/decisions/0021-ab-logo.md +29 -0
- package/decisions/README.md +3 -0
- package/kits/larch.css +125 -0
- package/kits/ledger.css +121 -0
- package/kits/split.css +123 -0
- package/logo/mark.svg +4 -4
- package/logo/paths.mjs +14 -11
- package/logo/tile-180.png +0 -0
- package/logo/tile-512.png +0 -0
- package/logo/tile.svg +3 -3
- package/package.json +9 -1
- package/product-page.css +82 -82
- package/scripts/colour.mjs +42 -0
- package/scripts/theme.mjs +190 -0
- package/tailwind.css +13 -20
- package/templates/app-shell.css +15 -15
- package/templates/article.css +26 -26
- package/templates/changelog.css +9 -9
- package/templates/email.html +3 -3
- package/templates/error.css +7 -7
- package/templates/legal.css +11 -11
- package/templates/settings.css +9 -9
- package/themes/driftwood.css +109 -0
- package/themes/driftwood.theme +5 -0
- package/themes/guidebook.css +104 -0
- package/themes/guidebook.theme +5 -0
- package/themes/homelab.css +101 -0
- package/themes/homelab.theme +2 -0
- package/themes/receipts.css +101 -0
- package/themes/receipts.theme +2 -0
- package/themes/sites.css +106 -0
- package/themes/sites.theme +7 -0
- package/tokens/base.css +37 -0
- package/tokens/chart.json +145 -0
- package/tokens/color.json +840 -0
- package/tokens/component.json +75 -0
- package/tokens/head.css +84 -0
- package/tokens/kits/larch.json +255 -0
- package/tokens/kits/ledger.json +247 -0
- package/tokens/kits/split.json +247 -0
- package/tokens/motion.json +38 -0
- package/tokens/names.d.ts +246 -0
- package/tokens/shape.json +56 -0
- package/tokens/space.json +99 -0
- package/tokens/tailwind.json +343 -0
- package/tokens/type.json +206 -0
- package/tokens.chart.css +23 -23
- package/tokens.css +278 -136
|
@@ -0,0 +1,840 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Colour: the neutral ramp, the roles built on it, the action colour, the states, diff and code colours, and the marks. One declaration per colour, holding both schemes.",
|
|
3
|
+
"root": {
|
|
4
|
+
"$extensions": {
|
|
5
|
+
"io.brignano": {
|
|
6
|
+
"selector": ":root"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"neutral-0": {
|
|
10
|
+
"$type": "color",
|
|
11
|
+
"$value": {
|
|
12
|
+
"light": "#ffffff",
|
|
13
|
+
"dark": "#0d0d0f"
|
|
14
|
+
},
|
|
15
|
+
"$description": "── Neutral ramp ─────────────────────────────────────────────────────\nTwelve steps, up from five. The gap that mattered most: there was no\nhover or pressed background token, so every interactive surface in\nboth repos was improvising.\n\nDeliberately COOL — a cool grey lets the warm mark and the amber\nattention state read as warm, instead of muddying into them.\n\nONE TEMPERATURE, top to bottom, both themes: every tinted step sits at\nOKLCH hue 286° (±3°, `npm run check` holds it). Chroma is a whisper at\nthe ends (~0.0015 at neutral-25) and peaks in the mid-tones (~0.015 at\nneutral-700), where a grey reads most neutral-flat without it. Only pure\nwhite (light neutral-0) is untinted. An earlier ramp mixed warm hairlines\n(106°) with cool text, so a border and the label beside it disagreed.\n\nChanging a step: keep its OKLCH lightness, keep the hue, re-run the\ncheck.",
|
|
16
|
+
"$extensions": {
|
|
17
|
+
"io.brignano": {
|
|
18
|
+
"was": "n-0"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"neutral-25": {
|
|
23
|
+
"$type": "color",
|
|
24
|
+
"$value": {
|
|
25
|
+
"light": "#fafafb",
|
|
26
|
+
"dark": "#131316"
|
|
27
|
+
},
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"io.brignano": {
|
|
30
|
+
"was": "n-25"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"neutral-50": {
|
|
35
|
+
"$type": "color",
|
|
36
|
+
"$value": {
|
|
37
|
+
"light": "#f3f3f4",
|
|
38
|
+
"dark": "#17171a"
|
|
39
|
+
},
|
|
40
|
+
"$extensions": {
|
|
41
|
+
"io.brignano": {
|
|
42
|
+
"was": "n-50"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"neutral-100": {
|
|
47
|
+
"$type": "color",
|
|
48
|
+
"$value": {
|
|
49
|
+
"light": "#ececee",
|
|
50
|
+
"dark": "#202024"
|
|
51
|
+
},
|
|
52
|
+
"$extensions": {
|
|
53
|
+
"io.brignano": {
|
|
54
|
+
"note": "hairline",
|
|
55
|
+
"was": "n-100"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"neutral-200": {
|
|
60
|
+
"$type": "color",
|
|
61
|
+
"$value": {
|
|
62
|
+
"light": "#e1e1e4",
|
|
63
|
+
"dark": "#2a2a2f"
|
|
64
|
+
},
|
|
65
|
+
"$extensions": {
|
|
66
|
+
"io.brignano": {
|
|
67
|
+
"note": "hover surface",
|
|
68
|
+
"was": "n-200"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"neutral-300": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": {
|
|
75
|
+
"light": "#cbcbce",
|
|
76
|
+
"dark": "#3a3a41"
|
|
77
|
+
},
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"io.brignano": {
|
|
80
|
+
"note": "strong border, pressed surface",
|
|
81
|
+
"was": "n-300"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"neutral-400": {
|
|
86
|
+
"$type": "color",
|
|
87
|
+
"$value": {
|
|
88
|
+
"light": "#a9a9ae",
|
|
89
|
+
"dark": "#55555e"
|
|
90
|
+
},
|
|
91
|
+
"$extensions": {
|
|
92
|
+
"io.brignano": {
|
|
93
|
+
"was": "n-400"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"neutral-500": {
|
|
98
|
+
"$type": "color",
|
|
99
|
+
"$value": {
|
|
100
|
+
"light": "#8a8a8f",
|
|
101
|
+
"dark": "#8b8b93"
|
|
102
|
+
},
|
|
103
|
+
"$extensions": {
|
|
104
|
+
"io.brignano": {
|
|
105
|
+
"note": "3.44:1 — UI marks only, never text / 5.29:1",
|
|
106
|
+
"was": "n-500"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"neutral-600": {
|
|
111
|
+
"$type": "color",
|
|
112
|
+
"$value": {
|
|
113
|
+
"light": "#6b6b73",
|
|
114
|
+
"dark": "#9c9ca4"
|
|
115
|
+
},
|
|
116
|
+
"$extensions": {
|
|
117
|
+
"io.brignano": {
|
|
118
|
+
"note": "muted label 5.28:1",
|
|
119
|
+
"was": "n-600"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"neutral-700": {
|
|
124
|
+
"$type": "color",
|
|
125
|
+
"$value": {
|
|
126
|
+
"light": "#52525b",
|
|
127
|
+
"dark": "#a8a8b0"
|
|
128
|
+
},
|
|
129
|
+
"$extensions": {
|
|
130
|
+
"io.brignano": {
|
|
131
|
+
"note": "secondary 7.73:1 / 7.58:1",
|
|
132
|
+
"was": "n-700"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"neutral-800": {
|
|
137
|
+
"$type": "color",
|
|
138
|
+
"$value": {
|
|
139
|
+
"light": "#33333a",
|
|
140
|
+
"dark": "#d0d0d5"
|
|
141
|
+
},
|
|
142
|
+
"$extensions": {
|
|
143
|
+
"io.brignano": {
|
|
144
|
+
"was": "n-800"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"neutral-900": {
|
|
149
|
+
"$type": "color",
|
|
150
|
+
"$value": {
|
|
151
|
+
"light": "#111114",
|
|
152
|
+
"dark": "#f2f2f4"
|
|
153
|
+
},
|
|
154
|
+
"$extensions": {
|
|
155
|
+
"io.brignano": {
|
|
156
|
+
"note": "primary 18.85:1 / 16.00:1",
|
|
157
|
+
"was": "n-900"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"bg": {
|
|
162
|
+
"$type": "color",
|
|
163
|
+
"$value": {
|
|
164
|
+
"light": "#fafafb",
|
|
165
|
+
"dark": "#0d0d0f"
|
|
166
|
+
},
|
|
167
|
+
"$description": "Semantic aliases. Components use THESE, not the raw steps.\nWhere a role sits on a different step in each theme, the step's two\nhexes are written out (rule 2) and named in the comment; the check\nholds them to the ramp.",
|
|
168
|
+
"$extensions": {
|
|
169
|
+
"io.brignano": {
|
|
170
|
+
"note": "neutral-25 / neutral-0"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"card": {
|
|
175
|
+
"$type": "color",
|
|
176
|
+
"$value": {
|
|
177
|
+
"light": "#ffffff",
|
|
178
|
+
"dark": "#17171a"
|
|
179
|
+
},
|
|
180
|
+
"$extensions": {
|
|
181
|
+
"io.brignano": {
|
|
182
|
+
"note": "neutral-0 / neutral-50"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"surface-hover": {
|
|
187
|
+
"$value": "var(--neutral-100)"
|
|
188
|
+
},
|
|
189
|
+
"surface-active": {
|
|
190
|
+
"$value": "var(--neutral-200)"
|
|
191
|
+
},
|
|
192
|
+
"surface-sticky": {
|
|
193
|
+
"$value": {
|
|
194
|
+
"light": "color-mix(in srgb, #ffffff 92%, transparent)",
|
|
195
|
+
"dark": "color-mix(in srgb, #0d0d0f 92%, transparent)"
|
|
196
|
+
},
|
|
197
|
+
"$description": "Sticky chrome — a header or toolbar that content scrolls under, usually\nwith `backdrop-filter: blur()`. 92% of the surface it sits on: the card\nin light, the page ground in dark, where cards are lighter than the\npage. A token so consumers never color-mix() one (DESIGN.md §11).",
|
|
198
|
+
"$extensions": {
|
|
199
|
+
"io.brignano": {
|
|
200
|
+
"note": "card / bg"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"ink": {
|
|
205
|
+
"$value": "var(--neutral-900)"
|
|
206
|
+
},
|
|
207
|
+
"ink-soft": {
|
|
208
|
+
"$value": "var(--neutral-700)"
|
|
209
|
+
},
|
|
210
|
+
"slate": {
|
|
211
|
+
"$type": "color",
|
|
212
|
+
"$value": {
|
|
213
|
+
"light": "#6b6b73",
|
|
214
|
+
"dark": "#8b8b93"
|
|
215
|
+
},
|
|
216
|
+
"$extensions": {
|
|
217
|
+
"io.brignano": {
|
|
218
|
+
"note": "neutral-600 / neutral-500 — text-safe: eyebrows, axis labels, captions"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"line": {
|
|
223
|
+
"$value": "var(--neutral-100)"
|
|
224
|
+
},
|
|
225
|
+
"line-soft": {
|
|
226
|
+
"$value": "var(--neutral-50)"
|
|
227
|
+
},
|
|
228
|
+
"line-strong": {
|
|
229
|
+
"$value": "var(--neutral-300)",
|
|
230
|
+
"$extensions": {
|
|
231
|
+
"io.brignano": {
|
|
232
|
+
"note": "1.62:1 — decoration, not a boundary"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"line-control": {
|
|
237
|
+
"$type": "color",
|
|
238
|
+
"$value": {
|
|
239
|
+
"light": "#8a8a8f",
|
|
240
|
+
"dark": "#6b6b73"
|
|
241
|
+
},
|
|
242
|
+
"$description": "The edge that tells you a control is there: inputs, secondary buttons.\nWCAG 1.4.11 asks 3:1 of a boundary you need to find the control, which\n--line-strong is nowhere near. Light is neutral-500 (3.44:1 on card, 3.29:1\non bg); dark sits between neutral-400 and neutral-500, which the ramp has no step\nfor (3.39:1 on card, 3.68:1 on bg)."
|
|
243
|
+
},
|
|
244
|
+
"on-dark": {
|
|
245
|
+
"$type": "color",
|
|
246
|
+
"$value": {
|
|
247
|
+
"light": "#fafafb",
|
|
248
|
+
"dark": "#0d0d0f"
|
|
249
|
+
},
|
|
250
|
+
"$extensions": {
|
|
251
|
+
"io.brignano": {
|
|
252
|
+
"note": "neutral-25 / neutral-0"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"device": {
|
|
257
|
+
"$type": "color",
|
|
258
|
+
"$value": {
|
|
259
|
+
"light": "#111114",
|
|
260
|
+
"dark": "#3a3a41"
|
|
261
|
+
},
|
|
262
|
+
"$description": "A phone's bezel (.pp-device). A phone is a dark object in either theme,\nso this stays dark rather than flipping with --ink, which would draw a\nnear-white bezel in dark mode. Dark lifts it to neutral-300 so the frame still\nhas an edge against the near-black page. Decoration, not a boundary.",
|
|
263
|
+
"$extensions": {
|
|
264
|
+
"io.brignano": {
|
|
265
|
+
"note": "neutral-900 / neutral-300"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"action": {
|
|
270
|
+
"$type": "color",
|
|
271
|
+
"$value": {
|
|
272
|
+
"light": "#076bd3",
|
|
273
|
+
"dark": "#0371e0"
|
|
274
|
+
},
|
|
275
|
+
"$description": "── Interactive — cobalt ─────────────────────────────────────────────\nEverything you can act on: links, buttons, focus, selection. Chosen to\nbe semantically INERT — it carries no inherited meaning the way amber,\ngreen and red do — and complementary to the mark hue, so identity and\naffordance never compete for the same attention.\n\nEvery step sits at OKLCH hue 256° (`npm run check` holds it), as near\nto larch's opposite (~248°) as sRGB allows while keeping cobalt's\nchroma. It is deliberately NOT Tailwind's blue-600 (263°, a touch\nviolet and electric): same affordance, our own colour (ADR-0008).\n\n --action fill 5.18:1 / 3.78:1 (label 5.18 / 4.73)\n --action-ink link/icon/focus 6.78:1 / 7.07:1\n --action-hover hover fill label 8.65:1 / 5.88:1\n --action-ink-hover hovered link 8.65:1 / 9.95:1 on --card\n --action-pressed pressed fill label 10.44:1 / 7.52:1\n\nThe fill is a saturated mid-cobalt with a WHITE label in both themes,\nand hover and pressed step darker in both. Dark used to lift the fill\nto the ink's pale blue with a dark label, which read as washed out on\nthe most important control on the screen. So in dark the fill and the\nink are now different steps: --action fills, --action-ink is what you read\n(links, icons, the focus ring). The dark fill is as light as a white\nlabel allows (4.5:1), which is what keeps it 3:1 as a mark on --card,\n--bg and its own wash.\n\nDISABLED IS NEUTRAL, NEVER HUED — a greyed-out control must stop\nsignalling \"click me\".",
|
|
276
|
+
"$extensions": {
|
|
277
|
+
"io.brignano": {
|
|
278
|
+
"was": "i"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"action-ink": {
|
|
283
|
+
"$type": "color",
|
|
284
|
+
"$value": {
|
|
285
|
+
"light": "#0159b5",
|
|
286
|
+
"dark": "#6ba5f3"
|
|
287
|
+
},
|
|
288
|
+
"$extensions": {
|
|
289
|
+
"io.brignano": {
|
|
290
|
+
"was": "i-ink"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"action-hover": {
|
|
295
|
+
"$type": "color",
|
|
296
|
+
"$value": {
|
|
297
|
+
"light": "#014a97",
|
|
298
|
+
"dark": "#0062c7"
|
|
299
|
+
},
|
|
300
|
+
"$extensions": {
|
|
301
|
+
"io.brignano": {
|
|
302
|
+
"was": "i-hover"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"action-ink-hover": {
|
|
307
|
+
"$type": "color",
|
|
308
|
+
"$value": {
|
|
309
|
+
"light": "#014a97",
|
|
310
|
+
"dark": "#98c4ff"
|
|
311
|
+
},
|
|
312
|
+
"$description": "A hovered link is TEXT, so it follows the ink, not the fill: in dark the\nfill's hover is too deep to read on a dark page (about 3.3:1).",
|
|
313
|
+
"$extensions": {
|
|
314
|
+
"io.brignano": {
|
|
315
|
+
"was": "i-ink-hover"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"action-pressed": {
|
|
320
|
+
"$type": "color",
|
|
321
|
+
"$value": {
|
|
322
|
+
"light": "#003e82",
|
|
323
|
+
"dark": "#0553a6"
|
|
324
|
+
},
|
|
325
|
+
"$extensions": {
|
|
326
|
+
"io.brignano": {
|
|
327
|
+
"was": "i-pressed"
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"action-surface": {
|
|
332
|
+
"$value": {
|
|
333
|
+
"light": "color-mix(in srgb, #076bd3 12%, transparent)",
|
|
334
|
+
"dark": "color-mix(in srgb, #0371e0 20%, transparent)"
|
|
335
|
+
},
|
|
336
|
+
"$extensions": {
|
|
337
|
+
"io.brignano": {
|
|
338
|
+
"was": "i-surface"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"action-line": {
|
|
343
|
+
"$value": {
|
|
344
|
+
"light": "color-mix(in srgb, #076bd3 32%, transparent)",
|
|
345
|
+
"dark": "color-mix(in srgb, #0371e0 44%, transparent)"
|
|
346
|
+
},
|
|
347
|
+
"$extensions": {
|
|
348
|
+
"io.brignano": {
|
|
349
|
+
"was": "i-line"
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"action-selection": {
|
|
354
|
+
"$value": {
|
|
355
|
+
"light": "color-mix(in srgb, #076bd3 26%, transparent)",
|
|
356
|
+
"dark": "color-mix(in srgb, #0371e0 30%, transparent)"
|
|
357
|
+
},
|
|
358
|
+
"$extensions": {
|
|
359
|
+
"io.brignano": {
|
|
360
|
+
"was": "i-selection"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"on-action": {
|
|
365
|
+
"$type": "color",
|
|
366
|
+
"$value": {
|
|
367
|
+
"light": "#ffffff",
|
|
368
|
+
"dark": "#ffffff"
|
|
369
|
+
},
|
|
370
|
+
"$extensions": {
|
|
371
|
+
"io.brignano": {
|
|
372
|
+
"was": "on-i"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"danger-fill": {
|
|
377
|
+
"$type": "color",
|
|
378
|
+
"$value": {
|
|
379
|
+
"light": "#a4442c",
|
|
380
|
+
"dark": "#be563c"
|
|
381
|
+
},
|
|
382
|
+
"$description": "A button filled with danger (.btn-danger), and its label. Its own\ntokens so the state hue --danger can stay a pale, readable rust in dark\n(messages, pills, field errors) while the button is as deep as the\nprimary beside it: as light as a white label allows, stepping darker on\nhover and press (ADR-0015). In light the fills ARE --danger and\n--danger-ink; `npm run check` holds them to those.\n\n --danger-fill label 6.10:1 / 4.58:1 on --card 3.91:1 in dark\n --danger-fill-hover label 7.92:1 / 5.65:1\n --danger-fill-pressed label 7.92:1 / 6.96:1"
|
|
383
|
+
},
|
|
384
|
+
"danger-fill-hover": {
|
|
385
|
+
"$type": "color",
|
|
386
|
+
"$value": {
|
|
387
|
+
"light": "#8a3722",
|
|
388
|
+
"dark": "#ad472e"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"danger-fill-pressed": {
|
|
392
|
+
"$type": "color",
|
|
393
|
+
"$value": {
|
|
394
|
+
"light": "#8a3722",
|
|
395
|
+
"dark": "#9d381e"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"on-danger": {
|
|
399
|
+
"$type": "color",
|
|
400
|
+
"$value": {
|
|
401
|
+
"light": "#ffffff",
|
|
402
|
+
"dark": "#ffffff"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"disabled": {
|
|
406
|
+
"$value": "var(--neutral-200)",
|
|
407
|
+
"$extensions": {
|
|
408
|
+
"io.brignano": {
|
|
409
|
+
"was": "i-disabled-bg"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"disabled-ink": {
|
|
414
|
+
"$value": "var(--neutral-400)",
|
|
415
|
+
"$extensions": {
|
|
416
|
+
"io.brignano": {
|
|
417
|
+
"was": "i-disabled-ink"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"success": {
|
|
422
|
+
"$type": "color",
|
|
423
|
+
"$value": {
|
|
424
|
+
"light": "#2f6b4f",
|
|
425
|
+
"dark": "#6fbf95"
|
|
426
|
+
},
|
|
427
|
+
"$description": "── State ────────────────────────────────────────────────────────────\nThree hues, one meaning each, identical on every surface and both\ntiers. Always shipped with an ICON AND A WORD — colour is never the\nonly signal.\n\n --success settled · confirmed · done · succeeded 6.29:1 / 8.15:1\n --attention now · next · warning · needs you 6.08:1 / 8.17:1 (ink)\n --danger overdue · failed · invalid 6.10:1 / 6.06:1\n\n`--info` is the interactive hue on purpose: an informational message\nis the same \"neutral, no action implied\" register as a link.\n\n`-ink` is the text-safe step; the bare token is for marks and fills.\n`-surface` and `-line` are the wash and its edge: 12% / 32% of the hue\nin light, 20% / 44% in dark."
|
|
428
|
+
},
|
|
429
|
+
"success-ink": {
|
|
430
|
+
"$type": "color",
|
|
431
|
+
"$value": {
|
|
432
|
+
"light": "#245740",
|
|
433
|
+
"dark": "#8fd4ae"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"attention": {
|
|
437
|
+
"$type": "color",
|
|
438
|
+
"$value": {
|
|
439
|
+
"light": "#b4741f",
|
|
440
|
+
"dark": "#e0a44f"
|
|
441
|
+
},
|
|
442
|
+
"$extensions": {
|
|
443
|
+
"io.brignano": {
|
|
444
|
+
"note": "3.85:1 in light — mark/fill only, NOT text"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"attention-ink": {
|
|
449
|
+
"$type": "color",
|
|
450
|
+
"$value": {
|
|
451
|
+
"light": "#8a5714",
|
|
452
|
+
"dark": "#e0a44f"
|
|
453
|
+
},
|
|
454
|
+
"$extensions": {
|
|
455
|
+
"io.brignano": {
|
|
456
|
+
"note": "6.08:1 / 8.17:1 — mark and label converge in dark"
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"danger": {
|
|
461
|
+
"$type": "color",
|
|
462
|
+
"$value": {
|
|
463
|
+
"light": "#a4442c",
|
|
464
|
+
"dark": "#e07a5f"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"danger-ink": {
|
|
468
|
+
"$type": "color",
|
|
469
|
+
"$value": {
|
|
470
|
+
"light": "#8a3722",
|
|
471
|
+
"dark": "#ec9880"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"info": {
|
|
475
|
+
"$value": "var(--action)"
|
|
476
|
+
},
|
|
477
|
+
"info-ink": {
|
|
478
|
+
"$value": "var(--action-ink)"
|
|
479
|
+
},
|
|
480
|
+
"success-surface": {
|
|
481
|
+
"$value": {
|
|
482
|
+
"light": "color-mix(in srgb, #2f6b4f 12%, transparent)",
|
|
483
|
+
"dark": "color-mix(in srgb, #6fbf95 20%, transparent)"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"attention-surface": {
|
|
487
|
+
"$value": {
|
|
488
|
+
"light": "color-mix(in srgb, #b4741f 12%, transparent)",
|
|
489
|
+
"dark": "color-mix(in srgb, #e0a44f 20%, transparent)"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"danger-surface": {
|
|
493
|
+
"$value": {
|
|
494
|
+
"light": "color-mix(in srgb, #a4442c 12%, transparent)",
|
|
495
|
+
"dark": "color-mix(in srgb, #e07a5f 20%, transparent)"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"info-surface": {
|
|
499
|
+
"$value": "var(--action-surface)"
|
|
500
|
+
},
|
|
501
|
+
"success-line": {
|
|
502
|
+
"$value": {
|
|
503
|
+
"light": "color-mix(in srgb, #2f6b4f 32%, transparent)",
|
|
504
|
+
"dark": "color-mix(in srgb, #6fbf95 44%, transparent)"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"attention-line": {
|
|
508
|
+
"$value": {
|
|
509
|
+
"light": "color-mix(in srgb, #b4741f 32%, transparent)",
|
|
510
|
+
"dark": "color-mix(in srgb, #e0a44f 44%, transparent)"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"danger-line": {
|
|
514
|
+
"$value": {
|
|
515
|
+
"light": "color-mix(in srgb, #a4442c 32%, transparent)",
|
|
516
|
+
"dark": "color-mix(in srgb, #e07a5f 44%, transparent)"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"info-line": {
|
|
520
|
+
"$value": "var(--action-line)"
|
|
521
|
+
},
|
|
522
|
+
"diff-added": {
|
|
523
|
+
"$value": "var(--success)",
|
|
524
|
+
"$description": "── Diff ─────────────────────────────────────────────────────────────\nWhat a change did to a thing: a deploy, a plan, a pull request. Aliases\nof the state hues, so a diff adds no hue of its own (DESIGN.md §9):\n\n --diff-added created by this change success — settled\n --diff-changed modified by this change interactive — informational\n --diff-removed removed by this change danger — can lose data\n\nAlways with a symbol and a word (+ added, ~ changed, − removed)."
|
|
525
|
+
},
|
|
526
|
+
"diff-added-ink": {
|
|
527
|
+
"$value": "var(--success-ink)"
|
|
528
|
+
},
|
|
529
|
+
"diff-added-surface": {
|
|
530
|
+
"$value": "var(--success-surface)"
|
|
531
|
+
},
|
|
532
|
+
"diff-changed": {
|
|
533
|
+
"$value": "var(--action)"
|
|
534
|
+
},
|
|
535
|
+
"diff-changed-ink": {
|
|
536
|
+
"$value": "var(--action-ink)"
|
|
537
|
+
},
|
|
538
|
+
"diff-changed-surface": {
|
|
539
|
+
"$value": "var(--action-surface)"
|
|
540
|
+
},
|
|
541
|
+
"diff-removed": {
|
|
542
|
+
"$value": "var(--danger)"
|
|
543
|
+
},
|
|
544
|
+
"diff-removed-ink": {
|
|
545
|
+
"$value": "var(--danger-ink)"
|
|
546
|
+
},
|
|
547
|
+
"diff-removed-surface": {
|
|
548
|
+
"$value": "var(--danger-surface)"
|
|
549
|
+
},
|
|
550
|
+
"code-surface": {
|
|
551
|
+
"$value": "var(--bg)",
|
|
552
|
+
"$description": "── Code ─────────────────────────────────────────────────────────────\nSyntax colour without a rainbow (DESIGN.md §3): keywords take the\ninteractive cobalt ink, everything else is a step of the neutral ramp,\nand weight and italics do the rest. All aliases, so code adds no hue.\n\n --code-surface the block, inset one step below the card\n --code-keyword if, return, const — cobalt ink\n --code-string literals — secondary ink\n --code-comment comments — slate, set in italics\n --code-highlight a highlighted line — the cobalt wash"
|
|
553
|
+
},
|
|
554
|
+
"code-ink": {
|
|
555
|
+
"$value": "var(--ink)"
|
|
556
|
+
},
|
|
557
|
+
"code-keyword": {
|
|
558
|
+
"$value": "var(--action-ink)"
|
|
559
|
+
},
|
|
560
|
+
"code-string": {
|
|
561
|
+
"$value": "var(--ink-soft)"
|
|
562
|
+
},
|
|
563
|
+
"code-comment": {
|
|
564
|
+
"$value": "var(--slate)"
|
|
565
|
+
},
|
|
566
|
+
"code-highlight": {
|
|
567
|
+
"$value": "var(--action-surface)"
|
|
568
|
+
},
|
|
569
|
+
"mark": {
|
|
570
|
+
"$type": "color",
|
|
571
|
+
"$value": {
|
|
572
|
+
"light": "#b4741f",
|
|
573
|
+
"dark": "#e0a44f"
|
|
574
|
+
},
|
|
575
|
+
"$description": "── Mark — identity ──────────────────────────────────────────────────\nInks a GRAPHIC: a product's glyph, the A|B monogram, a hero rule. That is\nthe entire permitted use.\n\nIt is NOT a button, chip, badge, wash, border, or link. If you are\nreaching for it to tint a UI element, the answer is a neutral or a\nstate colour — see DESIGN.md §3.\n\nIt shares larch amber with --attention deliberately: the identity and\nthe attention state are the same warmth, and because --mark never\nappears as a UI surface the two can never be mistaken for each other\nin the same context."
|
|
576
|
+
},
|
|
577
|
+
"mark-ink": {
|
|
578
|
+
"$type": "color",
|
|
579
|
+
"$value": {
|
|
580
|
+
"light": "#8a5714",
|
|
581
|
+
"dark": "#e0a44f"
|
|
582
|
+
},
|
|
583
|
+
"$extensions": {
|
|
584
|
+
"io.brignano": {
|
|
585
|
+
"note": "when the mark carries a label, 6.08:1 / 8.17:1"
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"mark-teal": {
|
|
590
|
+
"$type": "color",
|
|
591
|
+
"$value": {
|
|
592
|
+
"light": "#0e7c86",
|
|
593
|
+
"dark": "#4cc0cb"
|
|
594
|
+
},
|
|
595
|
+
"$description": "── Product marks — one per product page ─────────────────────────────\nEach product's marketing page picks one, so Driftwood, Guidebook and\nSites don't read as the same page with the words swapped (ADR-0011).\nSame contract as --mark: it inks the product's graphics (its glyph,\nthe hero rule, the proof's stage, step numerals), never a link, text\nor state. On a product page only, it may also fill the primary button\nand wash the ground, through the -fill and -surface steps below\n(ADR-0017). Hues sit away from cobalt (act), forest\n(success), amber (attention) and rust (danger). All ≥ 3:1 on --bg and\n--card in both themes. product-page.css maps one onto --pp-mark via\ndata-mark on .pp."
|
|
596
|
+
},
|
|
597
|
+
"mark-violet": {
|
|
598
|
+
"$type": "color",
|
|
599
|
+
"$value": {
|
|
600
|
+
"light": "#7148c9",
|
|
601
|
+
"dark": "#a990f2"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"mark-magenta": {
|
|
605
|
+
"$type": "color",
|
|
606
|
+
"$value": {
|
|
607
|
+
"light": "#b1366f",
|
|
608
|
+
"dark": "#ea7fb0"
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
"mark-fill": {
|
|
612
|
+
"$type": "color",
|
|
613
|
+
"$value": {
|
|
614
|
+
"light": "#a66707",
|
|
615
|
+
"dark": "#a06a05"
|
|
616
|
+
},
|
|
617
|
+
"$description": "── A mark as a fill and a ground — product pages only (ADR-0017) ────\nOn a product's marketing page, and nowhere else, the mark may fill the\none primary button and wash the page ground. Never in an app, never a\nlink, text or a state. The mark tokens above don't move: like --action beside\n--action-ink and --danger-fill beside --danger, the fill is its own step.\n\n -fill the button, under a white --on-mark label in both themes.\n In light it IS the mark (amber is deepened to carry the\n label); in dark it sits at the mark's hue, as light as a\n white label allows (4.5:1), the method ADR-0015 used\n for cobalt.\n -fill-hover, -fill-pressed step darker in both themes.\n -surface the page ground: a faint, opaque tint at the mark's hue\n that --ink, --ink-soft and --action-ink all read on.\n\nLabels, light / dark: fill hover pressed\n amber (the family) 4.60 / 4.61 6.09 / 5.65 7.63 / 6.92\n teal 4.95 / 4.56 6.70 / 5.60 8.31 / 6.90\n violet 6.05 / 4.57 8.23 / 5.68 10.24 / 6.94\n magenta 5.79 / 4.57 7.83 / 5.61 9.71 / 6.91\n\nUse the unprefixed four: `data-mark` points them at a product's, as it\ndoes --mark-current. With no attribute they are the family amber."
|
|
618
|
+
},
|
|
619
|
+
"mark-fill-hover": {
|
|
620
|
+
"$type": "color",
|
|
621
|
+
"$value": {
|
|
622
|
+
"light": "#8c5602",
|
|
623
|
+
"dark": "#8e5d03"
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"mark-fill-pressed": {
|
|
627
|
+
"$type": "color",
|
|
628
|
+
"$value": {
|
|
629
|
+
"light": "#784903",
|
|
630
|
+
"dark": "#7c5102"
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"mark-surface": {
|
|
634
|
+
"$type": "color",
|
|
635
|
+
"$value": {
|
|
636
|
+
"light": "#fce7d3",
|
|
637
|
+
"dark": "#241807"
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
"mark-teal-fill": {
|
|
641
|
+
"$type": "color",
|
|
642
|
+
"$value": {
|
|
643
|
+
"light": "#0e7c86",
|
|
644
|
+
"dark": "#19828a"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"mark-teal-fill-hover": {
|
|
648
|
+
"$type": "color",
|
|
649
|
+
"$value": {
|
|
650
|
+
"light": "#03666f",
|
|
651
|
+
"dark": "#07737b"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"mark-teal-fill-pressed": {
|
|
655
|
+
"$type": "color",
|
|
656
|
+
"$value": {
|
|
657
|
+
"light": "#01575e",
|
|
658
|
+
"dark": "#05646b"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
"mark-teal-surface": {
|
|
662
|
+
"$type": "color",
|
|
663
|
+
"$value": {
|
|
664
|
+
"light": "#d1f3f6",
|
|
665
|
+
"dark": "#021f22"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"mark-violet-fill": {
|
|
669
|
+
"$type": "color",
|
|
670
|
+
"$value": {
|
|
671
|
+
"light": "#7148c9",
|
|
672
|
+
"dark": "#855cdf"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
"mark-violet-fill-hover": {
|
|
676
|
+
"$type": "color",
|
|
677
|
+
"$value": {
|
|
678
|
+
"light": "#5e31b1",
|
|
679
|
+
"dark": "#774ccd"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
"mark-violet-fill-pressed": {
|
|
683
|
+
"$type": "color",
|
|
684
|
+
"$value": {
|
|
685
|
+
"light": "#511ea1",
|
|
686
|
+
"dark": "#6a3dbe"
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
"mark-violet-surface": {
|
|
690
|
+
"$type": "color",
|
|
691
|
+
"$value": {
|
|
692
|
+
"light": "#ebe8ff",
|
|
693
|
+
"dark": "#1c1729"
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
"mark-magenta-fill": {
|
|
697
|
+
"$type": "color",
|
|
698
|
+
"$value": {
|
|
699
|
+
"light": "#b1366f",
|
|
700
|
+
"dark": "#c24986"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"mark-magenta-fill-hover": {
|
|
704
|
+
"$type": "color",
|
|
705
|
+
"$value": {
|
|
706
|
+
"light": "#991d5b",
|
|
707
|
+
"dark": "#b23977"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
"mark-magenta-fill-pressed": {
|
|
711
|
+
"$type": "color",
|
|
712
|
+
"$value": {
|
|
713
|
+
"light": "#88024d",
|
|
714
|
+
"dark": "#a1296a"
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"mark-magenta-surface": {
|
|
718
|
+
"$type": "color",
|
|
719
|
+
"$value": {
|
|
720
|
+
"light": "#ffe3ec",
|
|
721
|
+
"dark": "#27141c"
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"on-mark": {
|
|
725
|
+
"$type": "color",
|
|
726
|
+
"$value": {
|
|
727
|
+
"light": "#ffffff",
|
|
728
|
+
"dark": "#ffffff"
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"mark-current": {
|
|
732
|
+
"$value": "var(--mark)",
|
|
733
|
+
"$description": "The mark in force here (ADR-0014): the family amber until `data-mark`\non an ancestor, usually <html>, names a product's. A brand glyph and\n.rule draw in this, so a product's colour follows it from its marketing\npage into its app and onto its error pages. The [data-mark] rules below\nonly point it at a token above; they declare no colour of their own."
|
|
734
|
+
},
|
|
735
|
+
"forest": {
|
|
736
|
+
"$value": "var(--success)",
|
|
737
|
+
"$description": "── Legacy aliases ───────────────────────────────────────────────────\nKept so existing `life` components keep compiling. Do not use in new\nwork — reach for the semantic tokens above.\n\n--larch-deep is written out rather than aliased, because \"deep\"\ninverts: darker in light, BRIGHTER in dark. An alias to either role\nsilently changes one theme — it moved .pill-active from #f0bd74 to\n#e0a44f before this was caught."
|
|
738
|
+
},
|
|
739
|
+
"forest-deep": {
|
|
740
|
+
"$value": "var(--success-ink)"
|
|
741
|
+
},
|
|
742
|
+
"larch": {
|
|
743
|
+
"$value": "var(--attention)"
|
|
744
|
+
},
|
|
745
|
+
"larch-deep": {
|
|
746
|
+
"$type": "color",
|
|
747
|
+
"$value": {
|
|
748
|
+
"light": "#8a5714",
|
|
749
|
+
"dark": "#f0bd74"
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"rust": {
|
|
753
|
+
"$value": "var(--danger)"
|
|
754
|
+
},
|
|
755
|
+
"rust-deep": {
|
|
756
|
+
"$value": "var(--danger-ink)"
|
|
757
|
+
},
|
|
758
|
+
"gold": {
|
|
759
|
+
"$value": "var(--slate)"
|
|
760
|
+
},
|
|
761
|
+
"action-edge": {
|
|
762
|
+
"$value": "var(--action)",
|
|
763
|
+
"$description": "── Tokens the kits set (ADR-0019) ──\nEach is an alias here, so today's look is unchanged; a kit in kits/*.css\ngives it a value of its own.\n\nThe primary button's border. The fill carries itself, except in a kit\nwhose fill can't be found on its page (Split in light)."
|
|
764
|
+
},
|
|
765
|
+
"accent": {
|
|
766
|
+
"$value": "var(--mark-fill)",
|
|
767
|
+
"$description": "The one highlight a screen may carry, and its label."
|
|
768
|
+
},
|
|
769
|
+
"on-accent": {
|
|
770
|
+
"$value": "var(--on-mark)"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"data-mark-teal": {
|
|
774
|
+
"$description": "── A product's mark, wherever the product is ──────────────────────────\nOne attribute per product: <html data-mark=\"teal\">. Works on any element,\nso a page that shows two products can mark each one's section. It also\npoints the product-page fill and ground (ADR-0017) at the product's.",
|
|
775
|
+
"$extensions": {
|
|
776
|
+
"io.brignano": {
|
|
777
|
+
"selector": "[data-mark='teal']"
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
"mark-current": {
|
|
781
|
+
"$value": "var(--mark-teal)"
|
|
782
|
+
},
|
|
783
|
+
"mark-fill": {
|
|
784
|
+
"$value": "var(--mark-teal-fill)"
|
|
785
|
+
},
|
|
786
|
+
"mark-fill-hover": {
|
|
787
|
+
"$value": "var(--mark-teal-fill-hover)"
|
|
788
|
+
},
|
|
789
|
+
"mark-fill-pressed": {
|
|
790
|
+
"$value": "var(--mark-teal-fill-pressed)"
|
|
791
|
+
},
|
|
792
|
+
"mark-surface": {
|
|
793
|
+
"$value": "var(--mark-teal-surface)"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"data-mark-violet": {
|
|
797
|
+
"$extensions": {
|
|
798
|
+
"io.brignano": {
|
|
799
|
+
"selector": "[data-mark='violet']"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"mark-current": {
|
|
803
|
+
"$value": "var(--mark-violet)"
|
|
804
|
+
},
|
|
805
|
+
"mark-fill": {
|
|
806
|
+
"$value": "var(--mark-violet-fill)"
|
|
807
|
+
},
|
|
808
|
+
"mark-fill-hover": {
|
|
809
|
+
"$value": "var(--mark-violet-fill-hover)"
|
|
810
|
+
},
|
|
811
|
+
"mark-fill-pressed": {
|
|
812
|
+
"$value": "var(--mark-violet-fill-pressed)"
|
|
813
|
+
},
|
|
814
|
+
"mark-surface": {
|
|
815
|
+
"$value": "var(--mark-violet-surface)"
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
"data-mark-magenta": {
|
|
819
|
+
"$extensions": {
|
|
820
|
+
"io.brignano": {
|
|
821
|
+
"selector": "[data-mark='magenta']"
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
"mark-current": {
|
|
825
|
+
"$value": "var(--mark-magenta)"
|
|
826
|
+
},
|
|
827
|
+
"mark-fill": {
|
|
828
|
+
"$value": "var(--mark-magenta-fill)"
|
|
829
|
+
},
|
|
830
|
+
"mark-fill-hover": {
|
|
831
|
+
"$value": "var(--mark-magenta-fill-hover)"
|
|
832
|
+
},
|
|
833
|
+
"mark-fill-pressed": {
|
|
834
|
+
"$value": "var(--mark-magenta-fill-pressed)"
|
|
835
|
+
},
|
|
836
|
+
"mark-surface": {
|
|
837
|
+
"$value": "var(--mark-magenta-surface)"
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|