@brignano/design 0.12.1 → 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 +179 -23
- package/README.md +51 -3
- package/components.css +249 -249
- package/controls.css +2251 -0
- 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 +13 -2
- 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,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Split: the house look. Black and white, one lime signal, square corners, 1px ink borders, no shadows. The bar in A|B is the system (ADR-0019).",
|
|
3
|
+
"kit": {
|
|
4
|
+
"$description": "Split: the house look. Black and white, one lime signal, square corners, 1px ink borders, no shadows. The bar in A|B is the system (ADR-0019).",
|
|
5
|
+
"$extensions": {
|
|
6
|
+
"io.brignano": {
|
|
7
|
+
"selector": "[data-kit='split']"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"bg": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": {
|
|
13
|
+
"light": "#fafafa",
|
|
14
|
+
"dark": "#0b0c0e"
|
|
15
|
+
},
|
|
16
|
+
"$description": "── Ground and surfaces ──"
|
|
17
|
+
},
|
|
18
|
+
"card": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": {
|
|
21
|
+
"light": "#ffffff",
|
|
22
|
+
"dark": "#141517"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"surface-hover": {
|
|
26
|
+
"$type": "color",
|
|
27
|
+
"$value": {
|
|
28
|
+
"light": "#f0f0f0",
|
|
29
|
+
"dark": "#1d1e20"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"surface-active": {
|
|
33
|
+
"$type": "color",
|
|
34
|
+
"$value": {
|
|
35
|
+
"light": "#e4e4e4",
|
|
36
|
+
"dark": "#26282a"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"surface-sticky": {
|
|
40
|
+
"$value": "light-dark(color-mix(in srgb, #ffffff 92%, transparent), color-mix(in srgb, #0b0c0e 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": "#fafafa",
|
|
47
|
+
"dark": "#0b0c0e"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"ink": {
|
|
51
|
+
"$type": "color",
|
|
52
|
+
"$value": {
|
|
53
|
+
"light": "#0f0f11",
|
|
54
|
+
"dark": "#f2f2f2"
|
|
55
|
+
},
|
|
56
|
+
"$description": "── Text and lines ──"
|
|
57
|
+
},
|
|
58
|
+
"ink-soft": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": {
|
|
61
|
+
"light": "#414245",
|
|
62
|
+
"dark": "#c4c4c4"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"slate": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$value": {
|
|
68
|
+
"light": "#626366",
|
|
69
|
+
"dark": "#9e9e9e"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"line": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": {
|
|
75
|
+
"light": "#d7d7d7",
|
|
76
|
+
"dark": "#2d2e30"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"line-soft": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$value": {
|
|
82
|
+
"light": "#e8e8e8",
|
|
83
|
+
"dark": "#1e1f22"
|
|
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": "#0f0f11",
|
|
97
|
+
"dark": "#f2f2f2"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"line-control": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": {
|
|
103
|
+
"light": "#0f0f11",
|
|
104
|
+
"dark": "#f2f2f2"
|
|
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": "#bff538",
|
|
112
|
+
"dark": "#bff538"
|
|
113
|
+
},
|
|
114
|
+
"$description": "── Action: the lime signal ──\nA FILL only: the one primary action. It is 1.24:1 on a white page, so it\nis never a mark, a line or text there; those take --action-ink."
|
|
115
|
+
},
|
|
116
|
+
"action-hover": {
|
|
117
|
+
"$type": "color",
|
|
118
|
+
"$value": {
|
|
119
|
+
"light": "#ade02a",
|
|
120
|
+
"dark": "#ade02a"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"action-pressed": {
|
|
124
|
+
"$type": "color",
|
|
125
|
+
"$value": {
|
|
126
|
+
"light": "#9ccb1b",
|
|
127
|
+
"dark": "#9ccb1b"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"on-action": {
|
|
131
|
+
"$type": "color",
|
|
132
|
+
"$value": {
|
|
133
|
+
"light": "#0f0f11",
|
|
134
|
+
"dark": "#0f0f11"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"action-edge": {
|
|
138
|
+
"$type": "color",
|
|
139
|
+
"$value": {
|
|
140
|
+
"light": "#0f0f11",
|
|
141
|
+
"dark": "#bff538"
|
|
142
|
+
},
|
|
143
|
+
"$description": "The primary button's border. In light it is ink, because the fill alone\ncan't be found on white; in dark the fill carries itself."
|
|
144
|
+
},
|
|
145
|
+
"action-ink": {
|
|
146
|
+
"$type": "color",
|
|
147
|
+
"$value": {
|
|
148
|
+
"light": "#0f0f11",
|
|
149
|
+
"dark": "#f2f2f2"
|
|
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": "#414245",
|
|
157
|
+
"dark": "#c4c4c4"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"action-surface": {
|
|
161
|
+
"$value": "light-dark(color-mix(in srgb, #bff538 12%, transparent), color-mix(in srgb, #bff538 20%, transparent))"
|
|
162
|
+
},
|
|
163
|
+
"action-line": {
|
|
164
|
+
"$value": "light-dark(color-mix(in srgb, #bff538 32%, transparent), color-mix(in srgb, #bff538 44%, transparent))"
|
|
165
|
+
},
|
|
166
|
+
"action-selection": {
|
|
167
|
+
"$value": "light-dark(color-mix(in srgb, #bff538 26%, transparent), color-mix(in srgb, #bff538 30%, transparent))"
|
|
168
|
+
},
|
|
169
|
+
"disabled": {
|
|
170
|
+
"$type": "color",
|
|
171
|
+
"$value": {
|
|
172
|
+
"light": "#e4e4e4",
|
|
173
|
+
"dark": "#26282a"
|
|
174
|
+
},
|
|
175
|
+
"$description": "Disabled is neutral, never hued."
|
|
176
|
+
},
|
|
177
|
+
"disabled-ink": {
|
|
178
|
+
"$type": "color",
|
|
179
|
+
"$value": {
|
|
180
|
+
"light": "#868686",
|
|
181
|
+
"dark": "#636363"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"accent": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$value": {
|
|
187
|
+
"light": "#bff538",
|
|
188
|
+
"dark": "#bff538"
|
|
189
|
+
},
|
|
190
|
+
"$description": "The one highlight a screen may carry, and its label."
|
|
191
|
+
},
|
|
192
|
+
"on-accent": {
|
|
193
|
+
"$type": "color",
|
|
194
|
+
"$value": {
|
|
195
|
+
"light": "#0f0f11",
|
|
196
|
+
"dark": "#0f0f11"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"sans": {
|
|
200
|
+
"$value": "'Archivo', system-ui, sans-serif",
|
|
201
|
+
"$description": "── Type ──"
|
|
202
|
+
},
|
|
203
|
+
"display": {
|
|
204
|
+
"$value": "'Archivo', system-ui, sans-serif"
|
|
205
|
+
},
|
|
206
|
+
"mono": {
|
|
207
|
+
"$value": "'Martian Mono', ui-monospace, monospace"
|
|
208
|
+
},
|
|
209
|
+
"weight-heavy": {
|
|
210
|
+
"$value": "800"
|
|
211
|
+
},
|
|
212
|
+
"leading-display": {
|
|
213
|
+
"$value": "0.95"
|
|
214
|
+
},
|
|
215
|
+
"tracking-display": {
|
|
216
|
+
"$value": "-0.035em"
|
|
217
|
+
},
|
|
218
|
+
"display-case": {
|
|
219
|
+
"$value": "uppercase"
|
|
220
|
+
},
|
|
221
|
+
"display-stretch": {
|
|
222
|
+
"$value": "120%"
|
|
223
|
+
},
|
|
224
|
+
"radius-sm": {
|
|
225
|
+
"$value": "0px",
|
|
226
|
+
"$description": "── Shape and elevation ──"
|
|
227
|
+
},
|
|
228
|
+
"radius-control": {
|
|
229
|
+
"$value": "0px"
|
|
230
|
+
},
|
|
231
|
+
"radius-card": {
|
|
232
|
+
"$value": "0px"
|
|
233
|
+
},
|
|
234
|
+
"radius-lg": {
|
|
235
|
+
"$value": "0px"
|
|
236
|
+
},
|
|
237
|
+
"shadow-1": {
|
|
238
|
+
"$value": "none"
|
|
239
|
+
},
|
|
240
|
+
"shadow-2": {
|
|
241
|
+
"$value": "none"
|
|
242
|
+
},
|
|
243
|
+
"shadow-3": {
|
|
244
|
+
"$value": "none"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "One easing and three durations. Content is visible by default; motion is layered on top.",
|
|
3
|
+
"root": {
|
|
4
|
+
"$extensions": {
|
|
5
|
+
"io.brignano": {
|
|
6
|
+
"selector": ":root"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"ease": {
|
|
10
|
+
"$value": "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
11
|
+
"$description": "── Motion ───────────────────────────────────────────────────────────\nContent is ALWAYS visible by default; motion is enhancement layered on\ntop, never the thing that makes content appear. brignano.io shipped a\nhomepage whose contact CTA was invisible on 100% of loads because an\nanimation library owned the visible state. See DESIGN.md §7."
|
|
12
|
+
},
|
|
13
|
+
"duration-fast": {
|
|
14
|
+
"$value": "150ms",
|
|
15
|
+
"$extensions": {
|
|
16
|
+
"io.brignano": {
|
|
17
|
+
"was": "dur-fast"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"duration": {
|
|
22
|
+
"$value": "250ms",
|
|
23
|
+
"$extensions": {
|
|
24
|
+
"io.brignano": {
|
|
25
|
+
"was": "dur"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"duration-slow": {
|
|
30
|
+
"$value": "600ms",
|
|
31
|
+
"$extensions": {
|
|
32
|
+
"io.brignano": {
|
|
33
|
+
"was": "dur-slow"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
// GENERATED by scripts/build.mjs from tokens/*.json. Do not edit.
|
|
2
|
+
|
|
3
|
+
/** Every token @brignano/design defines. */
|
|
4
|
+
export type TokenName =
|
|
5
|
+
| '--accent'
|
|
6
|
+
| '--action'
|
|
7
|
+
| '--action-edge'
|
|
8
|
+
| '--action-hover'
|
|
9
|
+
| '--action-ink'
|
|
10
|
+
| '--action-ink-hover'
|
|
11
|
+
| '--action-line'
|
|
12
|
+
| '--action-pressed'
|
|
13
|
+
| '--action-selection'
|
|
14
|
+
| '--action-surface'
|
|
15
|
+
| '--attention'
|
|
16
|
+
| '--attention-ink'
|
|
17
|
+
| '--attention-line'
|
|
18
|
+
| '--attention-surface'
|
|
19
|
+
| '--bg'
|
|
20
|
+
| '--button-radius'
|
|
21
|
+
| '--card'
|
|
22
|
+
| '--card-line'
|
|
23
|
+
| '--card-radius'
|
|
24
|
+
| '--card-shadow'
|
|
25
|
+
| '--chart-1'
|
|
26
|
+
| '--chart-2'
|
|
27
|
+
| '--chart-3'
|
|
28
|
+
| '--chart-4'
|
|
29
|
+
| '--chart-5'
|
|
30
|
+
| '--chart-6'
|
|
31
|
+
| '--chart-7'
|
|
32
|
+
| '--chart-8'
|
|
33
|
+
| '--chart-axis'
|
|
34
|
+
| '--chart-grid'
|
|
35
|
+
| '--chart-other'
|
|
36
|
+
| '--chart-surface'
|
|
37
|
+
| '--code-comment'
|
|
38
|
+
| '--code-highlight'
|
|
39
|
+
| '--code-ink'
|
|
40
|
+
| '--code-keyword'
|
|
41
|
+
| '--code-string'
|
|
42
|
+
| '--code-surface'
|
|
43
|
+
| '--control-height'
|
|
44
|
+
| '--control-height-lg'
|
|
45
|
+
| '--control-height-sm'
|
|
46
|
+
| '--danger'
|
|
47
|
+
| '--danger-fill'
|
|
48
|
+
| '--danger-fill-hover'
|
|
49
|
+
| '--danger-fill-pressed'
|
|
50
|
+
| '--danger-ink'
|
|
51
|
+
| '--danger-line'
|
|
52
|
+
| '--danger-surface'
|
|
53
|
+
| '--device'
|
|
54
|
+
| '--dialog-radius'
|
|
55
|
+
| '--diff-added'
|
|
56
|
+
| '--diff-added-ink'
|
|
57
|
+
| '--diff-added-surface'
|
|
58
|
+
| '--diff-changed'
|
|
59
|
+
| '--diff-changed-ink'
|
|
60
|
+
| '--diff-changed-surface'
|
|
61
|
+
| '--diff-removed'
|
|
62
|
+
| '--diff-removed-ink'
|
|
63
|
+
| '--diff-removed-surface'
|
|
64
|
+
| '--disabled'
|
|
65
|
+
| '--disabled-ink'
|
|
66
|
+
| '--display'
|
|
67
|
+
| '--display-case'
|
|
68
|
+
| '--display-stretch'
|
|
69
|
+
| '--duration'
|
|
70
|
+
| '--duration-fast'
|
|
71
|
+
| '--duration-slow'
|
|
72
|
+
| '--ease'
|
|
73
|
+
| '--field-line'
|
|
74
|
+
| '--field-radius'
|
|
75
|
+
| '--focus-ring'
|
|
76
|
+
| '--forest'
|
|
77
|
+
| '--forest-deep'
|
|
78
|
+
| '--gold'
|
|
79
|
+
| '--info'
|
|
80
|
+
| '--info-ink'
|
|
81
|
+
| '--info-line'
|
|
82
|
+
| '--info-surface'
|
|
83
|
+
| '--ink'
|
|
84
|
+
| '--ink-soft'
|
|
85
|
+
| '--larch'
|
|
86
|
+
| '--larch-deep'
|
|
87
|
+
| '--leading-2xl'
|
|
88
|
+
| '--leading-3xl'
|
|
89
|
+
| '--leading-4xl'
|
|
90
|
+
| '--leading-base'
|
|
91
|
+
| '--leading-body'
|
|
92
|
+
| '--leading-display'
|
|
93
|
+
| '--leading-lg'
|
|
94
|
+
| '--leading-sm'
|
|
95
|
+
| '--leading-title'
|
|
96
|
+
| '--leading-ui'
|
|
97
|
+
| '--leading-xl'
|
|
98
|
+
| '--leading-xs'
|
|
99
|
+
| '--line'
|
|
100
|
+
| '--line-control'
|
|
101
|
+
| '--line-soft'
|
|
102
|
+
| '--line-strong'
|
|
103
|
+
| '--mark'
|
|
104
|
+
| '--mark-current'
|
|
105
|
+
| '--mark-fill'
|
|
106
|
+
| '--mark-fill-hover'
|
|
107
|
+
| '--mark-fill-pressed'
|
|
108
|
+
| '--mark-ink'
|
|
109
|
+
| '--mark-magenta'
|
|
110
|
+
| '--mark-magenta-fill'
|
|
111
|
+
| '--mark-magenta-fill-hover'
|
|
112
|
+
| '--mark-magenta-fill-pressed'
|
|
113
|
+
| '--mark-magenta-surface'
|
|
114
|
+
| '--mark-surface'
|
|
115
|
+
| '--mark-teal'
|
|
116
|
+
| '--mark-teal-fill'
|
|
117
|
+
| '--mark-teal-fill-hover'
|
|
118
|
+
| '--mark-teal-fill-pressed'
|
|
119
|
+
| '--mark-teal-surface'
|
|
120
|
+
| '--mark-violet'
|
|
121
|
+
| '--mark-violet-fill'
|
|
122
|
+
| '--mark-violet-fill-hover'
|
|
123
|
+
| '--mark-violet-fill-pressed'
|
|
124
|
+
| '--mark-violet-surface'
|
|
125
|
+
| '--measure'
|
|
126
|
+
| '--mono'
|
|
127
|
+
| '--neutral-0'
|
|
128
|
+
| '--neutral-100'
|
|
129
|
+
| '--neutral-200'
|
|
130
|
+
| '--neutral-25'
|
|
131
|
+
| '--neutral-300'
|
|
132
|
+
| '--neutral-400'
|
|
133
|
+
| '--neutral-50'
|
|
134
|
+
| '--neutral-500'
|
|
135
|
+
| '--neutral-600'
|
|
136
|
+
| '--neutral-700'
|
|
137
|
+
| '--neutral-800'
|
|
138
|
+
| '--neutral-900'
|
|
139
|
+
| '--on-accent'
|
|
140
|
+
| '--on-action'
|
|
141
|
+
| '--on-danger'
|
|
142
|
+
| '--on-dark'
|
|
143
|
+
| '--on-mark'
|
|
144
|
+
| '--pill-radius'
|
|
145
|
+
| '--radius-card'
|
|
146
|
+
| '--radius-control'
|
|
147
|
+
| '--radius-lg'
|
|
148
|
+
| '--radius-sm'
|
|
149
|
+
| '--rust'
|
|
150
|
+
| '--rust-deep'
|
|
151
|
+
| '--sans'
|
|
152
|
+
| '--scrim'
|
|
153
|
+
| '--section-gap'
|
|
154
|
+
| '--seq-0'
|
|
155
|
+
| '--seq-1'
|
|
156
|
+
| '--seq-2'
|
|
157
|
+
| '--seq-3'
|
|
158
|
+
| '--seq-4'
|
|
159
|
+
| '--shadow'
|
|
160
|
+
| '--shadow-1'
|
|
161
|
+
| '--shadow-2'
|
|
162
|
+
| '--shadow-3'
|
|
163
|
+
| '--slate'
|
|
164
|
+
| '--space-1'
|
|
165
|
+
| '--space-2'
|
|
166
|
+
| '--space-3'
|
|
167
|
+
| '--space-4'
|
|
168
|
+
| '--space-5'
|
|
169
|
+
| '--space-6'
|
|
170
|
+
| '--space-7'
|
|
171
|
+
| '--space-8'
|
|
172
|
+
| '--space-9'
|
|
173
|
+
| '--success'
|
|
174
|
+
| '--success-ink'
|
|
175
|
+
| '--success-line'
|
|
176
|
+
| '--success-surface'
|
|
177
|
+
| '--surface-active'
|
|
178
|
+
| '--surface-hover'
|
|
179
|
+
| '--surface-sticky'
|
|
180
|
+
| '--text-2xl'
|
|
181
|
+
| '--text-3xl'
|
|
182
|
+
| '--text-4xl'
|
|
183
|
+
| '--text-base'
|
|
184
|
+
| '--text-lg'
|
|
185
|
+
| '--text-sm'
|
|
186
|
+
| '--text-xl'
|
|
187
|
+
| '--text-xs'
|
|
188
|
+
| '--tracking-2xl'
|
|
189
|
+
| '--tracking-3xl'
|
|
190
|
+
| '--tracking-4xl'
|
|
191
|
+
| '--tracking-base'
|
|
192
|
+
| '--tracking-caps'
|
|
193
|
+
| '--tracking-display'
|
|
194
|
+
| '--tracking-lg'
|
|
195
|
+
| '--tracking-sm'
|
|
196
|
+
| '--tracking-title'
|
|
197
|
+
| '--tracking-xl'
|
|
198
|
+
| '--tracking-xs'
|
|
199
|
+
| '--weight-heavy'
|
|
200
|
+
| '--weight-medium'
|
|
201
|
+
| '--weight-regular'
|
|
202
|
+
| '--weight-semibold'
|
|
203
|
+
| '--z-float'
|
|
204
|
+
| '--z-raised'
|
|
205
|
+
| '--z-skip'
|
|
206
|
+
| '--z-sticky'
|
|
207
|
+
| '--z-toast';
|
|
208
|
+
|
|
209
|
+
/** Names from before 0.14. They still resolve; they are removed in 1.0. */
|
|
210
|
+
export type DeprecatedTokenName =
|
|
211
|
+
| '--dur'
|
|
212
|
+
| '--dur-fast'
|
|
213
|
+
| '--dur-slow'
|
|
214
|
+
| '--i'
|
|
215
|
+
| '--i-disabled-bg'
|
|
216
|
+
| '--i-disabled-ink'
|
|
217
|
+
| '--i-hover'
|
|
218
|
+
| '--i-ink'
|
|
219
|
+
| '--i-ink-hover'
|
|
220
|
+
| '--i-line'
|
|
221
|
+
| '--i-pressed'
|
|
222
|
+
| '--i-selection'
|
|
223
|
+
| '--i-surface'
|
|
224
|
+
| '--n-0'
|
|
225
|
+
| '--n-100'
|
|
226
|
+
| '--n-200'
|
|
227
|
+
| '--n-25'
|
|
228
|
+
| '--n-300'
|
|
229
|
+
| '--n-400'
|
|
230
|
+
| '--n-50'
|
|
231
|
+
| '--n-500'
|
|
232
|
+
| '--n-600'
|
|
233
|
+
| '--n-700'
|
|
234
|
+
| '--n-800'
|
|
235
|
+
| '--n-900'
|
|
236
|
+
| '--on-i'
|
|
237
|
+
| '--radius'
|
|
238
|
+
| '--s1'
|
|
239
|
+
| '--s2'
|
|
240
|
+
| '--s3'
|
|
241
|
+
| '--s4'
|
|
242
|
+
| '--s5'
|
|
243
|
+
| '--s6'
|
|
244
|
+
| '--s7'
|
|
245
|
+
| '--s8'
|
|
246
|
+
| '--s9';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Corner radii, shadows and the scrim.",
|
|
3
|
+
"root": {
|
|
4
|
+
"$extensions": {
|
|
5
|
+
"io.brignano": {
|
|
6
|
+
"selector": ":root"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"radius-sm": {
|
|
10
|
+
"$value": "6px",
|
|
11
|
+
"$description": "── Shape & elevation ────────────────────────────────────────────────\nIn LIGHT these are shadows; in DARK the surface lightens instead, and\nthe shadow only has to separate it from a near-black ground.\n\nlight-dark() switches colours, not geometry, and the two themes' blur\ndiffers. So shadows 2 and 3 carry one layer per theme, with the other\ntheme's layer transparent — it draws nothing."
|
|
12
|
+
},
|
|
13
|
+
"radius-control": {
|
|
14
|
+
"$value": "8px",
|
|
15
|
+
"$extensions": {
|
|
16
|
+
"io.brignano": {
|
|
17
|
+
"note": "buttons, inputs, selects, the segmented control, menu items"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"radius-card": {
|
|
22
|
+
"$value": "12px",
|
|
23
|
+
"$extensions": {
|
|
24
|
+
"io.brignano": {
|
|
25
|
+
"was": "radius"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"radius-lg": {
|
|
30
|
+
"$value": "18px"
|
|
31
|
+
},
|
|
32
|
+
"shadow-1": {
|
|
33
|
+
"$value": "0 1px 2px light-dark(rgba(17, 17, 17, 0.04), rgba(0, 0, 0, 0.45))"
|
|
34
|
+
},
|
|
35
|
+
"shadow-2": {
|
|
36
|
+
"$value": "0 2px 8px light-dark(rgba(17, 17, 17, 0.07), transparent),\n 0 2px 10px light-dark(transparent, rgba(0, 0, 0, 0.55))"
|
|
37
|
+
},
|
|
38
|
+
"shadow-3": {
|
|
39
|
+
"$value": "0 8px 24px light-dark(rgba(17, 17, 17, 0.10), transparent),\n 0 10px 28px light-dark(transparent, rgba(0, 0, 0, 0.65))"
|
|
40
|
+
},
|
|
41
|
+
"scrim": {
|
|
42
|
+
"$value": {
|
|
43
|
+
"light": "rgba(17, 17, 17, 0.55)",
|
|
44
|
+
"dark": "rgba(0, 0, 0, 0.68)"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"shadow": {
|
|
48
|
+
"$value": "var(--shadow-1)",
|
|
49
|
+
"$extensions": {
|
|
50
|
+
"io.brignano": {
|
|
51
|
+
"note": "legacy alias"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Space on a 4px base, and the named stacking order.",
|
|
3
|
+
"root": {
|
|
4
|
+
"$extensions": {
|
|
5
|
+
"io.brignano": {
|
|
6
|
+
"selector": ":root"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"z-raised": {
|
|
10
|
+
"$value": "1",
|
|
11
|
+
"$description": "── Stacking ─────────────────────────────────────────────────────────\nNamed by what sits above what. Dialogs, popovers and sheets use the\nbrowser's top layer and need none of these.\n\n --z-raised a control above its card's stretched link, a sticky th\n --z-sticky a header content scrolls under\n --z-float a label floating over the page (the rail's tooltip)\n --z-skip the skip link, above the header it skips\n --z-toast toasts, above everything not in the top layer"
|
|
12
|
+
},
|
|
13
|
+
"z-sticky": {
|
|
14
|
+
"$value": "10"
|
|
15
|
+
},
|
|
16
|
+
"z-float": {
|
|
17
|
+
"$value": "20"
|
|
18
|
+
},
|
|
19
|
+
"z-skip": {
|
|
20
|
+
"$value": "30"
|
|
21
|
+
},
|
|
22
|
+
"z-toast": {
|
|
23
|
+
"$value": "40"
|
|
24
|
+
},
|
|
25
|
+
"space-1": {
|
|
26
|
+
"$value": "4px",
|
|
27
|
+
"$description": "── Space ── 4px base. Tiers differ by which steps they reach for.",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"io.brignano": {
|
|
30
|
+
"was": "s1"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"space-2": {
|
|
35
|
+
"$value": "8px",
|
|
36
|
+
"$extensions": {
|
|
37
|
+
"io.brignano": {
|
|
38
|
+
"was": "s2"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"space-3": {
|
|
43
|
+
"$value": "12px",
|
|
44
|
+
"$extensions": {
|
|
45
|
+
"io.brignano": {
|
|
46
|
+
"was": "s3"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"space-4": {
|
|
51
|
+
"$value": "16px",
|
|
52
|
+
"$extensions": {
|
|
53
|
+
"io.brignano": {
|
|
54
|
+
"was": "s4"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"space-5": {
|
|
59
|
+
"$value": "24px",
|
|
60
|
+
"$extensions": {
|
|
61
|
+
"io.brignano": {
|
|
62
|
+
"was": "s5"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"space-6": {
|
|
67
|
+
"$value": "32px",
|
|
68
|
+
"$extensions": {
|
|
69
|
+
"io.brignano": {
|
|
70
|
+
"was": "s6"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"space-7": {
|
|
75
|
+
"$value": "48px",
|
|
76
|
+
"$extensions": {
|
|
77
|
+
"io.brignano": {
|
|
78
|
+
"was": "s7"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"space-8": {
|
|
83
|
+
"$value": "64px",
|
|
84
|
+
"$extensions": {
|
|
85
|
+
"io.brignano": {
|
|
86
|
+
"was": "s8"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"space-9": {
|
|
91
|
+
"$value": "96px",
|
|
92
|
+
"$extensions": {
|
|
93
|
+
"io.brignano": {
|
|
94
|
+
"was": "s9"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|