@brignano/design 0.13.0 → 0.14.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 +152 -23
- package/README.md +50 -3
- 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/README.md +2 -0
- package/kits/larch.css +125 -0
- package/kits/ledger.css +121 -0
- package/kits/split.css +123 -0
- 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,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Component tokens: what a button, field, card, pill or dialog reads. Each starts as an alias of a semantic token, so nothing moves; a kit or a theme sets them to restyle a component without touching a colour (ADR-0019).",
|
|
3
|
+
"root": {
|
|
4
|
+
"$extensions": {
|
|
5
|
+
"io.brignano": {
|
|
6
|
+
"selector": ":root"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"button-radius": {
|
|
10
|
+
"$value": "var(--radius-control)"
|
|
11
|
+
},
|
|
12
|
+
"field-radius": {
|
|
13
|
+
"$value": "var(--radius-control)"
|
|
14
|
+
},
|
|
15
|
+
"field-line": {
|
|
16
|
+
"$value": "var(--line-control)"
|
|
17
|
+
},
|
|
18
|
+
"card-radius": {
|
|
19
|
+
"$value": "var(--radius-card)"
|
|
20
|
+
},
|
|
21
|
+
"card-line": {
|
|
22
|
+
"$type": "color",
|
|
23
|
+
"$value": {
|
|
24
|
+
"light": "#e1e1e4",
|
|
25
|
+
"dark": "#202024"
|
|
26
|
+
},
|
|
27
|
+
"$description": "A card's edge. --line all but vanishes between a white card and the light\npage (1.06:1), so a grid of cards read as one sheet of paper. Light takes\nthe next step up; dark keeps the hairline, since there a card is lighter\nthan the page and its fill does the work (§6). Decoration, not a boundary.",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"io.brignano": {
|
|
30
|
+
"note": "neutral-200 / neutral-100"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"card-shadow": {
|
|
35
|
+
"$value": "var(--shadow-2)",
|
|
36
|
+
"$description": "Lifts a card off the page in light; dark has no light shadow layer."
|
|
37
|
+
},
|
|
38
|
+
"pill-radius": {
|
|
39
|
+
"$value": "var(--radius-sm)"
|
|
40
|
+
},
|
|
41
|
+
"dialog-radius": {
|
|
42
|
+
"$value": "var(--radius-lg)"
|
|
43
|
+
},
|
|
44
|
+
"focus-ring": {
|
|
45
|
+
"$value": "var(--action-ink)"
|
|
46
|
+
},
|
|
47
|
+
"control-height": {
|
|
48
|
+
"$value": "40px",
|
|
49
|
+
"$description": "── Density ──\nThe height of a button, input or select at each size. `data-density=\"compact\"`\non <html> or any element tightens them for a dense tool screen. Touch\nscreens keep their 44px targets either way (DESIGN.md §10)."
|
|
50
|
+
},
|
|
51
|
+
"control-height-sm": {
|
|
52
|
+
"$value": "32px"
|
|
53
|
+
},
|
|
54
|
+
"control-height-lg": {
|
|
55
|
+
"$value": "48px"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"compact": {
|
|
59
|
+
"$description": "A dense tool screen: one step tighter.",
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"io.brignano": {
|
|
62
|
+
"selector": "[data-density='compact']"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"control-height": {
|
|
66
|
+
"$value": "32px"
|
|
67
|
+
},
|
|
68
|
+
"control-height-sm": {
|
|
69
|
+
"$value": "28px"
|
|
70
|
+
},
|
|
71
|
+
"control-height-lg": {
|
|
72
|
+
"$value": "40px"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
package/tokens/head.css
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* ─────────────────────────────────────────────────────────────────────────
|
|
2
|
+
tokens.css — the shared foundation for every brignano surface.
|
|
3
|
+
|
|
4
|
+
Consumers:
|
|
5
|
+
brignano.io (Next / Tailwind v4) — marketing tier
|
|
6
|
+
life (Astro) — tool tier
|
|
7
|
+
homelab, driftwood, future tools — tool tier
|
|
8
|
+
|
|
9
|
+
── ONE HUE, ONE MEANING ───────────────────────────────────────────────
|
|
10
|
+
Every colour here answers exactly one question, everywhere it appears,
|
|
11
|
+
on every surface. That is the whole design of this file.
|
|
12
|
+
|
|
13
|
+
NEUTRAL the page. Most of every screen.
|
|
14
|
+
--action-* "you can act on this" cobalt
|
|
15
|
+
--success "settled, confirmed, done" forest
|
|
16
|
+
--attention "this wants you" larch amber
|
|
17
|
+
--danger "this has gone wrong" rust
|
|
18
|
+
--mark identity — a drawn mark, not a UI colour
|
|
19
|
+
|
|
20
|
+
Two consequences worth stating out loud, because both were mistakes in
|
|
21
|
+
earlier drafts of this system:
|
|
22
|
+
|
|
23
|
+
1. ATTENTION IS ONE MEANING. A warning toast, the NEXT UP strip, and a
|
|
24
|
+
deposit closing in six days are the same message at different
|
|
25
|
+
volumes, so they are the same colour. There is no separate "warning"
|
|
26
|
+
hue and no separate "now/next" hue.
|
|
27
|
+
|
|
28
|
+
2. IDENTITY IS NOT A FILL. Amber used to be the brand colour AND the
|
|
29
|
+
warning colour, managed by a rule about scale. Rules enforced by
|
|
30
|
+
remembering get forgotten. So identity moved to the thing that was
|
|
31
|
+
always carrying it — the monogram, the type, restraint — and --mark
|
|
32
|
+
exists only to ink a graphic. It is never a button, chip, wash, or
|
|
33
|
+
border. The naming is the enforcement.
|
|
34
|
+
|
|
35
|
+
── RULES THAT MAKE THIS FILE TRUSTWORTHY ──────────────────────────────
|
|
36
|
+
1. NEVER hardcode a hex outside this file. A literal survives a theme
|
|
37
|
+
change silently — that is how `life`'s status pills sat light grey in
|
|
38
|
+
dark mode for months.
|
|
39
|
+
2. Every colour is ONE declaration holding both themes:
|
|
40
|
+
`light-dark(<light>, <dark>)`. There is no dark list to keep in step.
|
|
41
|
+
The arguments are always concrete colours, never a var() to another
|
|
42
|
+
theme-dependent token — nested light-dark() is legal CSS, but not
|
|
43
|
+
every engine has been verified to resolve it. Where that forces a
|
|
44
|
+
value to repeat (a wash repeats its hue), `npm run check` holds the
|
|
45
|
+
copies to their source.
|
|
46
|
+
3. Ratios in the comments are MEASURED. Change a value, re-measure it.
|
|
47
|
+
|
|
48
|
+
See DESIGN.md for the rules that govern use, decisions/ for why.
|
|
49
|
+
───────────────────────────────────────────────────────────────────────── */
|
|
50
|
+
|
|
51
|
+
/* ── Themes ─────────────────────────────────────────────────────────────
|
|
52
|
+
One declaration per colour, light value first: light-dark(<light>, <dark>).
|
|
53
|
+
The browser picks the side from the element's color-scheme:
|
|
54
|
+
|
|
55
|
+
default follows the OS (light dark below)
|
|
56
|
+
[data-theme] the in-app toggle, which must WIN over the OS
|
|
57
|
+
— `light` forces light under a dark OS
|
|
58
|
+
|
|
59
|
+
Because the pick happens where a colour is USED, not where it's declared,
|
|
60
|
+
[data-theme] (or color-scheme) on ANY element themes that subtree — a dark
|
|
61
|
+
hero band on a light page is one attribute. Give that element its own
|
|
62
|
+
`background: var(--bg)`; it doesn't inherit the page's.
|
|
63
|
+
|
|
64
|
+
Dark is selected, not inverted:
|
|
65
|
+
1. Not pure black. #0d0d0f — pure black behind bright text causes
|
|
66
|
+
halation and is fatiguing at night, which is when a personal tool
|
|
67
|
+
actually gets opened.
|
|
68
|
+
2. Surfaces LIGHTEN with elevation instead of gaining borders.
|
|
69
|
+
3. Accents lift in luminance rather than shifting hue, and washes carry
|
|
70
|
+
a higher mix — 12% over #0d0d0f is invisible where it reads on white.
|
|
71
|
+
|
|
72
|
+
Ratios are given light / dark. */
|
|
73
|
+
|
|
74
|
+
:root {
|
|
75
|
+
color-scheme: light dark;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-theme='light'] {
|
|
79
|
+
color-scheme: light;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-theme='dark'] {
|
|
83
|
+
color-scheme: dark;
|
|
84
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Larch: soft and friendly. A cream page with lighter surfaces on it, separated by tint instead of borders, pill buttons, amber for the one highlight. Night is deep green, not black.",
|
|
3
|
+
"kit": {
|
|
4
|
+
"$description": "Larch: soft and friendly. A cream page with lighter surfaces on it, separated by tint instead of borders, pill buttons, amber for the one highlight. Night is deep green, not black.",
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"io.brignano": {
|
|
7
|
+
"selector": "[data-kit='larch']"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"bg": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": {
|
|
13
|
+
"light": "#f1eadc",
|
|
14
|
+
"dark": "#0d1611"
|
|
15
|
+
},
|
|
16
|
+
"$description": "── Ground and surfaces ──"
|
|
17
|
+
},
|
|
18
|
+
"card": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": {
|
|
21
|
+
"light": "#faf6ee",
|
|
22
|
+
"dark": "#16211b"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"surface-hover": {
|
|
26
|
+
"$type": "color",
|
|
27
|
+
"$value": {
|
|
28
|
+
"light": "#f4eee1",
|
|
29
|
+
"dark": "#1e2b24"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"surface-active": {
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$value": {
|
|
35
|
+
"light": "#ece6d8",
|
|
36
|
+
"dark": "#27342c"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"surface-sticky": {
|
|
40
|
+
"$value": "light-dark(color-mix(in srgb, #faf6ee 92%, transparent), color-mix(in srgb, #0d1611 92%, transparent))",
|
|
41
|
+
"$description": "92% of the card in light, of the page in dark, as on :root."
|
|
42
|
+
},
|
|
43
|
+
"on-dark": {
|
|
44
|
+
"$type": "color",
|
|
45
|
+
"$value": {
|
|
46
|
+
"light": "#f1eadc",
|
|
47
|
+
"dark": "#0d1611"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"ink": {
|
|
51
|
+
"$type": "color",
|
|
52
|
+
"$value": {
|
|
53
|
+
"light": "#12241a",
|
|
54
|
+
"dark": "#f3eee3"
|
|
55
|
+
},
|
|
56
|
+
"$description": "── Text and lines ──"
|
|
57
|
+
},
|
|
58
|
+
"ink-soft": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": {
|
|
61
|
+
"light": "#35473d",
|
|
62
|
+
"dark": "#c7c5b6"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"slate": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$value": {
|
|
68
|
+
"light": "#4c5d53",
|
|
69
|
+
"dark": "#a3a799"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"line": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": {
|
|
75
|
+
"light": "#ddd7c9",
|
|
76
|
+
"dark": "#2a362f"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"line-soft": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$value": {
|
|
82
|
+
"light": "#e7e1d3",
|
|
83
|
+
"dark": "#1e2a23"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"card-line": {
|
|
87
|
+
"$value": "var(--line)",
|
|
88
|
+
"$description": "This kit's hairline already shows on its page, so a card keeps it."
|
|
89
|
+
},
|
|
90
|
+
"card-shadow": {
|
|
91
|
+
"$value": "var(--shadow-1)"
|
|
92
|
+
},
|
|
93
|
+
"line-strong": {
|
|
94
|
+
"$type": "color",
|
|
95
|
+
"$value": {
|
|
96
|
+
"light": "#c4bdb0",
|
|
97
|
+
"dark": "#445149"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"line-control": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": {
|
|
103
|
+
"light": "#6c8074",
|
|
104
|
+
"dark": "#71867a"
|
|
105
|
+
},
|
|
106
|
+
"$description": "A control's edge: 3:1 on the page and the card."
|
|
107
|
+
},
|
|
108
|
+
"action": {
|
|
109
|
+
"$type": "color",
|
|
110
|
+
"$value": {
|
|
111
|
+
"light": "#05585f",
|
|
112
|
+
"dark": "#78d6db"
|
|
113
|
+
},
|
|
114
|
+
"$description": "── Action: spruce ──\nA blue-green, deliberately NOT the forest green of --success: within a\nproduct one hue means \"you can act on this\" and another means \"settled\"\n(ADR-0004). Guidebook and Sites replace it with their own hue."
|
|
115
|
+
},
|
|
116
|
+
"action-hover": {
|
|
117
|
+
"$type": "color",
|
|
118
|
+
"$value": {
|
|
119
|
+
"light": "#00474d",
|
|
120
|
+
"dark": "#64c3c8"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"action-pressed": {
|
|
124
|
+
"$type": "color",
|
|
125
|
+
"$value": {
|
|
126
|
+
"light": "#00363c",
|
|
127
|
+
"dark": "#56afb3"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"on-action": {
|
|
131
|
+
"$type": "color",
|
|
132
|
+
"$value": {
|
|
133
|
+
"light": "#fdfaf3",
|
|
134
|
+
"dark": "#0d1611"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"action-edge": {
|
|
138
|
+
"$type": "color",
|
|
139
|
+
"$value": {
|
|
140
|
+
"light": "#05585f",
|
|
141
|
+
"dark": "#78d6db"
|
|
142
|
+
},
|
|
143
|
+
"$description": "The primary button's border: the fill carries itself."
|
|
144
|
+
},
|
|
145
|
+
"action-ink": {
|
|
146
|
+
"$type": "color",
|
|
147
|
+
"$value": {
|
|
148
|
+
"light": "#05585f",
|
|
149
|
+
"dark": "#78d6db"
|
|
150
|
+
},
|
|
151
|
+
"$description": "Links, icons and the focus ring: what you read, not what you fill."
|
|
152
|
+
},
|
|
153
|
+
"action-ink-hover": {
|
|
154
|
+
"$type": "color",
|
|
155
|
+
"$value": {
|
|
156
|
+
"light": "#004148",
|
|
157
|
+
"dark": "#a6edf0"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"action-surface": {
|
|
161
|
+
"$value": "light-dark(color-mix(in srgb, #05585f 12%, transparent), color-mix(in srgb, #78d6db 20%, transparent))"
|
|
162
|
+
},
|
|
163
|
+
"action-line": {
|
|
164
|
+
"$value": "light-dark(color-mix(in srgb, #05585f 32%, transparent), color-mix(in srgb, #78d6db 44%, transparent))"
|
|
165
|
+
},
|
|
166
|
+
"action-selection": {
|
|
167
|
+
"$value": "light-dark(color-mix(in srgb, #05585f 26%, transparent), color-mix(in srgb, #78d6db 30%, transparent))"
|
|
168
|
+
},
|
|
169
|
+
"disabled": {
|
|
170
|
+
"$type": "color",
|
|
171
|
+
"$value": {
|
|
172
|
+
"light": "#ece6d8",
|
|
173
|
+
"dark": "#27342c"
|
|
174
|
+
},
|
|
175
|
+
"$description": "Disabled is neutral, never hued."
|
|
176
|
+
},
|
|
177
|
+
"disabled-ink": {
|
|
178
|
+
"$type": "color",
|
|
179
|
+
"$value": {
|
|
180
|
+
"light": "#7c8a82",
|
|
181
|
+
"dark": "#5f6d65"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"accent": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$value": {
|
|
187
|
+
"light": "#f1c45e",
|
|
188
|
+
"dark": "#e3ad4b"
|
|
189
|
+
},
|
|
190
|
+
"$description": "The one highlight a screen may carry, and its label."
|
|
191
|
+
},
|
|
192
|
+
"on-accent": {
|
|
193
|
+
"$type": "color",
|
|
194
|
+
"$value": {
|
|
195
|
+
"light": "#12241a",
|
|
196
|
+
"dark": "#12241a"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"sans": {
|
|
200
|
+
"$value": "'Onest', system-ui, sans-serif",
|
|
201
|
+
"$description": "── Type ──"
|
|
202
|
+
},
|
|
203
|
+
"display": {
|
|
204
|
+
"$value": "'Bricolage Grotesque', system-ui, sans-serif"
|
|
205
|
+
},
|
|
206
|
+
"mono": {
|
|
207
|
+
"$value": "'IBM Plex Mono', ui-monospace, monospace"
|
|
208
|
+
},
|
|
209
|
+
"weight-heavy": {
|
|
210
|
+
"$value": "700"
|
|
211
|
+
},
|
|
212
|
+
"leading-display": {
|
|
213
|
+
"$value": "1.05"
|
|
214
|
+
},
|
|
215
|
+
"tracking-display": {
|
|
216
|
+
"$value": "-0.035em"
|
|
217
|
+
},
|
|
218
|
+
"display-case": {
|
|
219
|
+
"$value": "none"
|
|
220
|
+
},
|
|
221
|
+
"display-stretch": {
|
|
222
|
+
"$value": "normal"
|
|
223
|
+
},
|
|
224
|
+
"radius-sm": {
|
|
225
|
+
"$value": "8px",
|
|
226
|
+
"$description": "── Shape and elevation ──"
|
|
227
|
+
},
|
|
228
|
+
"radius-control": {
|
|
229
|
+
"$value": "12px"
|
|
230
|
+
},
|
|
231
|
+
"radius-card": {
|
|
232
|
+
"$value": "20px"
|
|
233
|
+
},
|
|
234
|
+
"radius-lg": {
|
|
235
|
+
"$value": "28px"
|
|
236
|
+
},
|
|
237
|
+
"button-radius": {
|
|
238
|
+
"$value": "999px"
|
|
239
|
+
},
|
|
240
|
+
"pill-radius": {
|
|
241
|
+
"$value": "999px"
|
|
242
|
+
},
|
|
243
|
+
"shadow-1": {
|
|
244
|
+
"$value": "none"
|
|
245
|
+
},
|
|
246
|
+
"chart-surface": {
|
|
247
|
+
"$type": "color",
|
|
248
|
+
"$value": {
|
|
249
|
+
"light": "#fefcf7",
|
|
250
|
+
"dark": "#16211b"
|
|
251
|
+
},
|
|
252
|
+
"$description": "── Charts ──\nA chart sits on near-white paper in light: the orange series needs it to\nreach 3:1, which the tinted page and card cannot give it."
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Ledger: a well-kept notebook. Warm paper, a serif for headings, hairline rules instead of cards, ink does the acting and amber is a highlighter.",
|
|
3
|
+
"kit": {
|
|
4
|
+
"$description": "Ledger: a well-kept notebook. Warm paper, a serif for headings, hairline rules instead of cards, ink does the acting and amber is a highlighter.",
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"io.brignano": {
|
|
7
|
+
"selector": "[data-kit='ledger']"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"bg": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": {
|
|
13
|
+
"light": "#f8f5ef",
|
|
14
|
+
"dark": "#15120f"
|
|
15
|
+
},
|
|
16
|
+
"$description": "── Ground and surfaces ──"
|
|
17
|
+
},
|
|
18
|
+
"card": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": {
|
|
21
|
+
"light": "#fefcf9",
|
|
22
|
+
"dark": "#1f1b17"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"surface-hover": {
|
|
26
|
+
"$type": "color",
|
|
27
|
+
"$value": {
|
|
28
|
+
"light": "#f0ece4",
|
|
29
|
+
"dark": "#282521"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"surface-active": {
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$value": {
|
|
35
|
+
"light": "#e7e2d9",
|
|
36
|
+
"dark": "#312d28"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"surface-sticky": {
|
|
40
|
+
"$value": "light-dark(color-mix(in srgb, #fefcf9 92%, transparent), color-mix(in srgb, #15120f 92%, transparent))",
|
|
41
|
+
"$description": "92% of the card in light, of the page in dark, as on :root."
|
|
42
|
+
},
|
|
43
|
+
"on-dark": {
|
|
44
|
+
"$type": "color",
|
|
45
|
+
"$value": {
|
|
46
|
+
"light": "#f8f5ef",
|
|
47
|
+
"dark": "#15120f"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"ink": {
|
|
51
|
+
"$type": "color",
|
|
52
|
+
"$value": {
|
|
53
|
+
"light": "#1d1713",
|
|
54
|
+
"dark": "#efebe2"
|
|
55
|
+
},
|
|
56
|
+
"$description": "── Text and lines ──"
|
|
57
|
+
},
|
|
58
|
+
"ink-soft": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": {
|
|
61
|
+
"light": "#4e4640",
|
|
62
|
+
"dark": "#c1bdb5"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"slate": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$value": {
|
|
68
|
+
"light": "#69625b",
|
|
69
|
+
"dark": "#a29e96"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"line": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": {
|
|
75
|
+
"light": "#d8d4ca",
|
|
76
|
+
"dark": "#36322d"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"line-soft": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$value": {
|
|
82
|
+
"light": "#e8e4dc",
|
|
83
|
+
"dark": "#292622"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"card-line": {
|
|
87
|
+
"$value": "var(--line)",
|
|
88
|
+
"$description": "This kit's hairline already shows on its page, so a card keeps it."
|
|
89
|
+
},
|
|
90
|
+
"card-shadow": {
|
|
91
|
+
"$value": "var(--shadow-1)"
|
|
92
|
+
},
|
|
93
|
+
"line-strong": {
|
|
94
|
+
"$type": "color",
|
|
95
|
+
"$value": {
|
|
96
|
+
"light": "#bbb7ae",
|
|
97
|
+
"dark": "#514c47"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"line-control": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": {
|
|
103
|
+
"light": "#877e78",
|
|
104
|
+
"dark": "#78746d"
|
|
105
|
+
},
|
|
106
|
+
"$description": "A control's edge: 3:1 on the page and the card."
|
|
107
|
+
},
|
|
108
|
+
"action": {
|
|
109
|
+
"$type": "color",
|
|
110
|
+
"$value": {
|
|
111
|
+
"light": "#1d1713",
|
|
112
|
+
"dark": "#efebe2"
|
|
113
|
+
},
|
|
114
|
+
"$description": "── Action: ink ──\nThe primary button is ink, with the page as its label."
|
|
115
|
+
},
|
|
116
|
+
"action-hover": {
|
|
117
|
+
"$type": "color",
|
|
118
|
+
"$value": {
|
|
119
|
+
"light": "#38322d",
|
|
120
|
+
"dark": "#d4d0c8"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"action-pressed": {
|
|
124
|
+
"$type": "color",
|
|
125
|
+
"$value": {
|
|
126
|
+
"light": "#4e4640",
|
|
127
|
+
"dark": "#c1bdb5"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"on-action": {
|
|
131
|
+
"$type": "color",
|
|
132
|
+
"$value": {
|
|
133
|
+
"light": "#f8f5ef",
|
|
134
|
+
"dark": "#15120f"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"action-edge": {
|
|
138
|
+
"$type": "color",
|
|
139
|
+
"$value": {
|
|
140
|
+
"light": "#1d1713",
|
|
141
|
+
"dark": "#efebe2"
|
|
142
|
+
},
|
|
143
|
+
"$description": "The primary button's border: the fill carries itself."
|
|
144
|
+
},
|
|
145
|
+
"action-ink": {
|
|
146
|
+
"$type": "color",
|
|
147
|
+
"$value": {
|
|
148
|
+
"light": "#1d1713",
|
|
149
|
+
"dark": "#efebe2"
|
|
150
|
+
},
|
|
151
|
+
"$description": "Links, icons and the focus ring: what you read, not what you fill."
|
|
152
|
+
},
|
|
153
|
+
"action-ink-hover": {
|
|
154
|
+
"$type": "color",
|
|
155
|
+
"$value": {
|
|
156
|
+
"light": "#4e4640",
|
|
157
|
+
"dark": "#c1bdb5"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"action-surface": {
|
|
161
|
+
"$value": "light-dark(color-mix(in srgb, #1d1713 12%, transparent), color-mix(in srgb, #efebe2 20%, transparent))"
|
|
162
|
+
},
|
|
163
|
+
"action-line": {
|
|
164
|
+
"$value": "light-dark(color-mix(in srgb, #1d1713 32%, transparent), color-mix(in srgb, #efebe2 44%, transparent))"
|
|
165
|
+
},
|
|
166
|
+
"action-selection": {
|
|
167
|
+
"$value": "light-dark(color-mix(in srgb, #1d1713 26%, transparent), color-mix(in srgb, #efebe2 30%, transparent))"
|
|
168
|
+
},
|
|
169
|
+
"disabled": {
|
|
170
|
+
"$type": "color",
|
|
171
|
+
"$value": {
|
|
172
|
+
"light": "#e7e2d9",
|
|
173
|
+
"dark": "#312d28"
|
|
174
|
+
},
|
|
175
|
+
"$description": "Disabled is neutral, never hued."
|
|
176
|
+
},
|
|
177
|
+
"disabled-ink": {
|
|
178
|
+
"$type": "color",
|
|
179
|
+
"$value": {
|
|
180
|
+
"light": "#8c857f",
|
|
181
|
+
"dark": "#66635d"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"accent": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$value": {
|
|
187
|
+
"light": "#f1c45e",
|
|
188
|
+
"dark": "#d19936"
|
|
189
|
+
},
|
|
190
|
+
"$description": "The one highlight a screen may carry, and its label."
|
|
191
|
+
},
|
|
192
|
+
"on-accent": {
|
|
193
|
+
"$type": "color",
|
|
194
|
+
"$value": {
|
|
195
|
+
"light": "#1d1713",
|
|
196
|
+
"dark": "#1d1713"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"sans": {
|
|
200
|
+
"$value": "'Instrument Sans', system-ui, sans-serif",
|
|
201
|
+
"$description": "── Type ──"
|
|
202
|
+
},
|
|
203
|
+
"display": {
|
|
204
|
+
"$value": "'Newsreader', Georgia, serif"
|
|
205
|
+
},
|
|
206
|
+
"mono": {
|
|
207
|
+
"$value": "'IBM Plex Mono', ui-monospace, monospace"
|
|
208
|
+
},
|
|
209
|
+
"weight-heavy": {
|
|
210
|
+
"$value": "500"
|
|
211
|
+
},
|
|
212
|
+
"leading-display": {
|
|
213
|
+
"$value": "1.05"
|
|
214
|
+
},
|
|
215
|
+
"tracking-display": {
|
|
216
|
+
"$value": "-0.025em"
|
|
217
|
+
},
|
|
218
|
+
"display-case": {
|
|
219
|
+
"$value": "none"
|
|
220
|
+
},
|
|
221
|
+
"display-stretch": {
|
|
222
|
+
"$value": "normal"
|
|
223
|
+
},
|
|
224
|
+
"radius-sm": {
|
|
225
|
+
"$value": "2px",
|
|
226
|
+
"$description": "── Shape and elevation ──"
|
|
227
|
+
},
|
|
228
|
+
"radius-control": {
|
|
229
|
+
"$value": "3px"
|
|
230
|
+
},
|
|
231
|
+
"radius-card": {
|
|
232
|
+
"$value": "4px"
|
|
233
|
+
},
|
|
234
|
+
"radius-lg": {
|
|
235
|
+
"$value": "6px"
|
|
236
|
+
},
|
|
237
|
+
"shadow-1": {
|
|
238
|
+
"$value": "none"
|
|
239
|
+
},
|
|
240
|
+
"shadow-2": {
|
|
241
|
+
"$value": "none"
|
|
242
|
+
},
|
|
243
|
+
"shadow-3": {
|
|
244
|
+
"$value": "none"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|