@stridge/noctis-design-tokens 1.0.0-beta.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/README.md +226 -0
- package/dist/apply-scopes.d.ts +12 -0
- package/dist/apply-scopes.js +30 -0
- package/dist/css.d.ts +10 -0
- package/dist/css.js +36 -0
- package/dist/graph/components.d.ts +6 -0
- package/dist/graph/components.js +4488 -0
- package/dist/graph/index.d.ts +11 -0
- package/dist/graph/index.js +26 -0
- package/dist/graph/inputs.d.ts +1 -0
- package/dist/graph/inputs.js +23 -0
- package/dist/graph/model.d.ts +205 -0
- package/dist/graph/model.js +282 -0
- package/dist/graph/registry.d.ts +67 -0
- package/dist/graph/registry.js +118 -0
- package/dist/graph/roles.d.ts +5 -0
- package/dist/graph/roles.js +151 -0
- package/dist/graph/scales.d.ts +1 -0
- package/dist/graph/scales.js +1296 -0
- package/dist/graph/serialize.d.ts +16 -0
- package/dist/graph/serialize.js +25 -0
- package/dist/graph/statics.d.ts +1 -0
- package/dist/graph/statics.js +419 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +25 -0
- package/dist/palettes.d.ts +70 -0
- package/dist/palettes.js +114 -0
- package/dist/react/provider.d.ts +23 -0
- package/dist/react/provider.js +28 -0
- package/dist/react.d.ts +3 -0
- package/dist/react.js +3 -0
- package/dist/scales.d.ts +186 -0
- package/dist/scales.js +186 -0
- package/dist/semantic.d.ts +36 -0
- package/dist/semantic.js +49 -0
- package/dist/swatches.d.ts +24 -0
- package/dist/swatches.js +57 -0
- package/dist/tokens.css +2607 -0
- package/dist/tokens.dtcg.json +3475 -0
- package/dist/tokens.json +14658 -0
- package/dist/tokens.tailwind.css +479 -0
- package/package.json +67 -0
|
@@ -0,0 +1,1296 @@
|
|
|
1
|
+
//#region src/graph/scales.ts
|
|
2
|
+
/**
|
|
3
|
+
* A foundation token: tier `"foundation"`, a flat id, a structural `category`, an alias-graph
|
|
4
|
+
* `value`, and an optional `bridge` (omitted ⇒ canonical-only). `utility` is display metadata for
|
|
5
|
+
* the docs/reference surfaces and never controls emission.
|
|
6
|
+
*/
|
|
7
|
+
function foundation(args) {
|
|
8
|
+
const { uuid, id, category, value, description, usage, bridge, utility } = args;
|
|
9
|
+
return {
|
|
10
|
+
uuid,
|
|
11
|
+
tier: "foundation",
|
|
12
|
+
name: {
|
|
13
|
+
kind: "flat",
|
|
14
|
+
id
|
|
15
|
+
},
|
|
16
|
+
value,
|
|
17
|
+
description,
|
|
18
|
+
usage,
|
|
19
|
+
introduced: "0.0.0",
|
|
20
|
+
category,
|
|
21
|
+
...utility ? { utility } : {},
|
|
22
|
+
...bridge ? { bridge } : {}
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/** A `theme-inline` bridge — a bare Tailwind name re-pointed at the canonical via `@theme inline`. */
|
|
26
|
+
const themeInline = (name) => ({
|
|
27
|
+
kind: "theme-inline",
|
|
28
|
+
name
|
|
29
|
+
});
|
|
30
|
+
/** A raw-literal value. */
|
|
31
|
+
const raw = (value) => ({ raw: value });
|
|
32
|
+
/**
|
|
33
|
+
* The sanctioned spacing ramp — every step a spacing-driven Tailwind
|
|
34
|
+
* utility (`p-*`, `m-*`, `gap-*`, `size-*`, `w-*`, `inset-*`, …) may use. With `--spacing: initial`
|
|
35
|
+
* killing Tailwind's bare multiplier, these minted `--spacing-<step>` keys are the only spacing
|
|
36
|
+
* source: an unsanctioned step (`p-17`, `w-88`) simply stops emitting, and the build is the
|
|
37
|
+
* detection mechanism. Fractional ids carry a bare `.` (escaped to `\.` at CSS emission).
|
|
38
|
+
*/
|
|
39
|
+
const SPACING_STEPS = [
|
|
40
|
+
{
|
|
41
|
+
step: "0",
|
|
42
|
+
uuid: "9e61823d-4341-4cf7-b940-e6dcb8b7893a"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
step: "0.5",
|
|
46
|
+
uuid: "c531515a-a229-457f-a13f-8f890145eb7e"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
step: "1",
|
|
50
|
+
uuid: "e5d40857-accc-4687-b573-39c3946aa238"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
step: "1.5",
|
|
54
|
+
uuid: "df0aec81-5b0d-4d3b-ad90-9cdd6302a58e"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
step: "2",
|
|
58
|
+
uuid: "fbbf41a3-0ea9-434a-b1d0-8244cf25452a"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
step: "2.5",
|
|
62
|
+
uuid: "b2f1420a-b918-4a5e-8405-c3ca52576aee"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
step: "3",
|
|
66
|
+
uuid: "ebcd637f-d5a1-46b9-b03d-a9eb37936b48"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
step: "3.5",
|
|
70
|
+
uuid: "85d34ab1-f29c-4068-94ab-8aa5db32a6c1"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
step: "4",
|
|
74
|
+
uuid: "cd4d529f-aa55-4560-a105-540c9183ed12"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
step: "5",
|
|
78
|
+
uuid: "0ea68ba3-d1b6-452c-9c5f-c6669bfacdda"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
step: "6",
|
|
82
|
+
uuid: "5f98b439-8ff7-493f-addc-63b2b1eee429"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
step: "7",
|
|
86
|
+
uuid: "83b33c44-e524-4f5f-a353-1735089b1895"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
step: "8",
|
|
90
|
+
uuid: "c92ebd8b-b1a7-4aa9-8ae8-2909007c7a69"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
step: "9",
|
|
94
|
+
uuid: "c6ebed23-f8d8-49a0-aa4b-6b45b718e455"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
step: "10",
|
|
98
|
+
uuid: "f100131a-1e18-45dd-b25a-cf31bdde713e"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
step: "11",
|
|
102
|
+
uuid: "c5174e39-2132-46fa-982e-8463fd03146c"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
step: "12",
|
|
106
|
+
uuid: "14768430-84ce-4598-a082-5badbce1f24a"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
step: "14",
|
|
110
|
+
uuid: "4fdb1b7e-5efe-47d1-a2d1-8add00677795"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
step: "16",
|
|
114
|
+
uuid: "ccffde22-1dd1-4951-94cb-a2122a7b60e6"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
step: "20",
|
|
118
|
+
uuid: "587d8ddf-aa84-4c29-bc1c-ef89aa51b4a9"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
step: "24",
|
|
122
|
+
uuid: "a34dfaa1-d238-427d-b6f2-d5014c8c5f58"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
step: "28",
|
|
126
|
+
uuid: "9db3bbde-83a5-40d0-acce-4431373b69d1"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
step: "32",
|
|
130
|
+
uuid: "160eaeef-a44d-4ce9-ac4b-2ba876069b3f"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
step: "36",
|
|
134
|
+
uuid: "74e3c1cb-447c-4ae0-991a-3707af9e0cb3"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
step: "40",
|
|
138
|
+
uuid: "b6cfa978-9c02-4ad4-a875-e64e4bfab97e"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
step: "44",
|
|
142
|
+
uuid: "66053c8f-a319-49e2-99f1-03de4ec9bd25"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
step: "48",
|
|
146
|
+
uuid: "26719184-bd81-4751-a038-9fe2ad756625"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
step: "52",
|
|
150
|
+
uuid: "010cd46f-dc4d-4da1-90ac-96d5e9f20e00"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
step: "56",
|
|
154
|
+
uuid: "72d6da37-a17f-46c7-828c-2f5cc4df2cbc"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
step: "60",
|
|
158
|
+
uuid: "f060115d-28cc-4d25-a196-dad7f936388d"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
step: "64",
|
|
162
|
+
uuid: "e2164d78-9b4e-434a-b21e-13e51925df97"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
step: "72",
|
|
166
|
+
uuid: "6cead136-810f-4b29-b299-6df42fcd2dac"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
step: "80",
|
|
170
|
+
uuid: "bf5a0a0f-3781-4e76-8fd5-4a1878faf97e"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
step: "96",
|
|
174
|
+
uuid: "a680b08f-cfd9-4444-8558-c74e68149b2b"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
step: "px",
|
|
178
|
+
uuid: "141b642e-522c-4ee9-a3cb-66d83e1f6e3e"
|
|
179
|
+
}
|
|
180
|
+
];
|
|
181
|
+
/**
|
|
182
|
+
* The value of a spacing step: `0.25rem × step × density` so the whole ramp re-spaces live with
|
|
183
|
+
* the `--noctis-seed-density` knob (1 = today's values). `0` stays a static `0px` and `px` a
|
|
184
|
+
* static `1px` — hairlines and zero never scale. The `0.25rem`-first operand order mirrors the
|
|
185
|
+
* type-scale calcs (and the Tailwind multiplier form).
|
|
186
|
+
*/
|
|
187
|
+
function spacingValue(step) {
|
|
188
|
+
if (step === "px") return raw("1px");
|
|
189
|
+
if (step === "0") return raw("0px");
|
|
190
|
+
return raw(`calc(0.25rem * ${step} * var(--noctis-seed-density))`);
|
|
191
|
+
}
|
|
192
|
+
function spacingToken({ step, uuid }) {
|
|
193
|
+
const label = step === "px" ? "Hairline spacing — a static 1px, never density-scaled." : `Spacing step ${step} (${step} × 0.25rem).`;
|
|
194
|
+
return foundation({
|
|
195
|
+
uuid,
|
|
196
|
+
id: step,
|
|
197
|
+
category: "space",
|
|
198
|
+
value: spacingValue(step),
|
|
199
|
+
description: label,
|
|
200
|
+
usage: `The ${step} step of the spacing-driven utilities (p-${step}, m-${step}, gap-${step}, size-${step}, …).`,
|
|
201
|
+
bridge: themeInline(`--spacing-${step}`)
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/** The canonical part variable of a shadow layer — `--noctis-shadow-{family}-{layer}-{part}`. */
|
|
205
|
+
const shadowPartVar = (family, layer, part) => `--noctis-shadow-${family}-${layer}-${part}`;
|
|
206
|
+
/**
|
|
207
|
+
* One composed drop-shadow layer: the geometry quad read from the part tokens, colored by the
|
|
208
|
+
* engine's shadow base at the layer's own alpha part. The colour reads `--noctis-engine-shadow-color`
|
|
209
|
+
* through a relative-colour `oklch(from … l c h / <alpha>)`, so the shadow tone follows the engine
|
|
210
|
+
* (re-deriving under each elevation scope) while every layer keeps its own alpha part. Each part is a
|
|
211
|
+
* real cascade seam: override `--noctis-shadow-low-1-blur` (or its alpha) on any scope and the composed
|
|
212
|
+
* shadow re-resolves.
|
|
213
|
+
*/
|
|
214
|
+
function shadowLayer(family, layer) {
|
|
215
|
+
const part = (p) => `var(${shadowPartVar(family, layer, p)})`;
|
|
216
|
+
return `${part("x")} ${part("y")} ${part("blur")} ${part("spread")} oklch(from var(--noctis-engine-shadow-color) l c h / ${part("alpha")})`;
|
|
217
|
+
}
|
|
218
|
+
/** The focus layer: the geometry quad colored by the engine's focus ring (scope-variant). */
|
|
219
|
+
function focusShadowLayer() {
|
|
220
|
+
const part = (p) => `var(${shadowPartVar("focus", 1, p)})`;
|
|
221
|
+
return `${part("x")} ${part("y")} ${part("blur")} ${part("spread")} var(--noctis-engine-focus-ring)`;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* The per-layer shadow geometry + alpha parts. Drop families carry an `alpha` part consumed by the
|
|
225
|
+
* layer's `oklch(from --noctis-engine-shadow-color … / <alpha>)` colour; the focus family is
|
|
226
|
+
* geometry-only (its colour is the engine focus ring). Alphas are authored in trailing-zero-trimmed
|
|
227
|
+
* form (`0.1`, not `0.10`).
|
|
228
|
+
*/
|
|
229
|
+
const SHADOW_PARTS = [
|
|
230
|
+
{
|
|
231
|
+
id: "low-1-x",
|
|
232
|
+
value: "0",
|
|
233
|
+
uuid: "612ae869-6914-44e9-bf75-62432cc405af"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
id: "low-1-y",
|
|
237
|
+
value: "1px",
|
|
238
|
+
uuid: "59f87c01-71e6-4b8d-a0b8-259a52355c31"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
id: "low-1-blur",
|
|
242
|
+
value: "2px",
|
|
243
|
+
light: "3px",
|
|
244
|
+
uuid: "f165481c-4c5e-429f-a618-9aa2b88bfd0a"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "low-1-spread",
|
|
248
|
+
value: "0",
|
|
249
|
+
uuid: "c5365d3d-6b07-4541-b32c-0a8de2cd1434"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
id: "low-1-alpha",
|
|
253
|
+
value: "0.08",
|
|
254
|
+
light: "0.05",
|
|
255
|
+
uuid: "d770f365-e21d-4c73-910e-a71488492f5b"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
id: "low-2-x",
|
|
259
|
+
value: "0",
|
|
260
|
+
uuid: "e308e64f-0999-4cbf-9a6e-43fce59e80a2"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
id: "low-2-y",
|
|
264
|
+
value: "1px",
|
|
265
|
+
uuid: "6556784a-ab18-42f0-8333-7a7fa0123e30"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
id: "low-2-blur",
|
|
269
|
+
value: "1px",
|
|
270
|
+
light: "2px",
|
|
271
|
+
uuid: "b6bb5753-cf70-4fb1-ac35-fe832e80af60"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
id: "low-2-spread",
|
|
275
|
+
value: "0",
|
|
276
|
+
uuid: "fecae0df-c10c-44ef-844b-df664aeeeda9"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: "low-2-alpha",
|
|
280
|
+
value: "0.06",
|
|
281
|
+
light: "0.04",
|
|
282
|
+
uuid: "ce033955-c160-4107-9e88-dde93ac5f242"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
id: "medium-1-x",
|
|
286
|
+
value: "0",
|
|
287
|
+
uuid: "2686aed8-43e1-4583-baff-72fb87ace4d8"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
id: "medium-1-y",
|
|
291
|
+
value: "4px",
|
|
292
|
+
light: "5px",
|
|
293
|
+
uuid: "81a7a55e-ca77-4123-870e-f014e8f24b40"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
id: "medium-1-blur",
|
|
297
|
+
value: "8px",
|
|
298
|
+
light: "18px",
|
|
299
|
+
uuid: "887f6e8b-678a-4676-8bdf-3cf051ab0750"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
id: "medium-1-spread",
|
|
303
|
+
value: "-2px",
|
|
304
|
+
light: "-3px",
|
|
305
|
+
uuid: "edc0f99b-7483-4f0d-8aa4-2e3e7fa40e26"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
id: "medium-1-alpha",
|
|
309
|
+
value: "0.12",
|
|
310
|
+
light: "0.1",
|
|
311
|
+
uuid: "1a1e8612-a544-42d9-b632-c1b7a7cd74c7"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: "medium-2-x",
|
|
315
|
+
value: "0",
|
|
316
|
+
uuid: "b6536338-e86b-49e0-80aa-23391ab3ab6b"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
id: "medium-2-y",
|
|
320
|
+
value: "2px",
|
|
321
|
+
uuid: "60373881-6e3e-4167-bab5-2163bf98cbb9"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
id: "medium-2-blur",
|
|
325
|
+
value: "4px",
|
|
326
|
+
light: "6px",
|
|
327
|
+
uuid: "2e976f4f-d3a6-4ca1-8613-3a6c209b3541"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
id: "medium-2-spread",
|
|
331
|
+
value: "-1px",
|
|
332
|
+
uuid: "4cb07b13-7685-4893-87e7-30d3a2996311"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
id: "medium-2-alpha",
|
|
336
|
+
value: "0.1",
|
|
337
|
+
light: "0.06",
|
|
338
|
+
uuid: "23297190-6131-4750-b7e1-66ab04e8ed75"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
id: "high-1-x",
|
|
342
|
+
value: "0",
|
|
343
|
+
uuid: "7efb0bac-dde1-4a39-884c-ec7affb5da04"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
id: "high-1-y",
|
|
347
|
+
value: "12px",
|
|
348
|
+
light: "16px",
|
|
349
|
+
uuid: "9e54a53d-2ef8-4621-9e65-dd9a024bc4f9"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
id: "high-1-blur",
|
|
353
|
+
value: "32px",
|
|
354
|
+
light: "44px",
|
|
355
|
+
uuid: "b8e53c3d-dc46-4190-8b5d-a7399036adea"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
id: "high-1-spread",
|
|
359
|
+
value: "-4px",
|
|
360
|
+
light: "-6px",
|
|
361
|
+
uuid: "7ea620f1-02e9-4167-ba0d-65d9653eecae"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
id: "high-1-alpha",
|
|
365
|
+
value: "0.18",
|
|
366
|
+
light: "0.14",
|
|
367
|
+
uuid: "873bd9ed-5804-464e-907c-d695252fcf6c"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
id: "high-2-x",
|
|
371
|
+
value: "0",
|
|
372
|
+
uuid: "4b088e29-e96b-4a0b-bea9-5064fc7af943"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
id: "high-2-y",
|
|
376
|
+
value: "6px",
|
|
377
|
+
uuid: "74ec8ba7-a9ed-42e7-933b-343c2590334e"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
id: "high-2-blur",
|
|
381
|
+
value: "12px",
|
|
382
|
+
light: "16px",
|
|
383
|
+
uuid: "efe26ac5-f041-47ae-bf28-502ddd10ae16"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
id: "high-2-spread",
|
|
387
|
+
value: "-2px",
|
|
388
|
+
uuid: "b39795f6-cf0e-4a5e-8c98-bb4b4aeeddc5"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
id: "high-2-alpha",
|
|
392
|
+
value: "0.14",
|
|
393
|
+
light: "0.08",
|
|
394
|
+
uuid: "5360903d-8dfc-4709-a4e1-58e72e7c0294"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
id: "inset-1-x",
|
|
398
|
+
value: "0",
|
|
399
|
+
uuid: "7c09bd86-12e5-4855-b25e-9658fbef4547"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
id: "inset-1-y",
|
|
403
|
+
value: "1px",
|
|
404
|
+
uuid: "6435624f-6e81-43b6-a87e-71f5708a3dac"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
id: "inset-1-blur",
|
|
408
|
+
value: "2px",
|
|
409
|
+
uuid: "74f76c5a-4b12-400f-9c77-9da62ca10509"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
id: "inset-1-spread",
|
|
413
|
+
value: "0",
|
|
414
|
+
uuid: "cc4e98cf-4591-42f6-967d-48442f39851c"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
id: "inset-1-alpha",
|
|
418
|
+
value: "0.1",
|
|
419
|
+
uuid: "b0acb421-9aba-4ad5-96f1-e80c89084a76"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
id: "focus-1-x",
|
|
423
|
+
value: "0",
|
|
424
|
+
uuid: "36cdee68-3f6b-4f24-bf1b-f92f9e731868"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
id: "focus-1-y",
|
|
428
|
+
value: "0",
|
|
429
|
+
uuid: "743f6b24-963e-42dd-a144-4da741d0fda7"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
id: "focus-1-blur",
|
|
433
|
+
value: "0",
|
|
434
|
+
uuid: "ead80153-00e5-4087-a064-569bf83b3393"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
id: "focus-1-spread",
|
|
438
|
+
value: "1px",
|
|
439
|
+
uuid: "28ac7aa8-8b06-4b83-b745-b5347e47c9b0"
|
|
440
|
+
}
|
|
441
|
+
];
|
|
442
|
+
function shadowPartToken({ id, value, uuid, light }) {
|
|
443
|
+
const [family, layer, part] = id.split("-");
|
|
444
|
+
return foundation({
|
|
445
|
+
uuid,
|
|
446
|
+
id,
|
|
447
|
+
category: "shadow",
|
|
448
|
+
value: light === void 0 ? raw(value) : {
|
|
449
|
+
raw: value,
|
|
450
|
+
rawLight: light
|
|
451
|
+
},
|
|
452
|
+
description: `Shadow part — ${part} of the ${family} shadow's layer ${layer}.`,
|
|
453
|
+
usage: `Composed into --noctis-shadow-${family}; override it (cascade or scoped) to retune that one part.`
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
/** Static foundation scale tokens. */
|
|
457
|
+
const FOUNDATION_TOKENS = [
|
|
458
|
+
foundation({
|
|
459
|
+
uuid: "2a366fb9-5ad3-4e12-a10e-08d7e6f71731",
|
|
460
|
+
id: "disabled",
|
|
461
|
+
category: "opacity",
|
|
462
|
+
value: raw("0.5"),
|
|
463
|
+
description: "Opacity applied to disabled controls.",
|
|
464
|
+
usage: "The opacity-disabled utility.",
|
|
465
|
+
utility: "opacity-disabled",
|
|
466
|
+
bridge: { kind: "utility" }
|
|
467
|
+
}),
|
|
468
|
+
foundation({
|
|
469
|
+
uuid: "f6a8b3d2-1c4e-4a7b-9f0d-2e5c8a1b3d6f",
|
|
470
|
+
id: "sans",
|
|
471
|
+
category: "font",
|
|
472
|
+
value: raw("\"Inter\", ui-sans-serif, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"),
|
|
473
|
+
description: "Sans-serif type family — the default UI font.",
|
|
474
|
+
usage: "The font-sans family utility.",
|
|
475
|
+
utility: "font-sans",
|
|
476
|
+
bridge: themeInline("--font-sans")
|
|
477
|
+
}),
|
|
478
|
+
foundation({
|
|
479
|
+
uuid: "b2e7c9a4-3d6f-4b8e-a1c5-7f0d2e4a6b8c",
|
|
480
|
+
id: "mono",
|
|
481
|
+
category: "font",
|
|
482
|
+
value: raw("\"Geist Mono\", ui-monospace, \"SF Mono\", \"JetBrains Mono\", Menlo, Consolas, monospace"),
|
|
483
|
+
description: "Monospace type family — code and tabular text.",
|
|
484
|
+
usage: "The font-mono family utility.",
|
|
485
|
+
utility: "font-mono",
|
|
486
|
+
bridge: themeInline("--font-mono")
|
|
487
|
+
}),
|
|
488
|
+
foundation({
|
|
489
|
+
uuid: "cbab8246-4ab7-4bfc-81ff-f37608b55c28",
|
|
490
|
+
id: "micro",
|
|
491
|
+
category: "text",
|
|
492
|
+
value: raw("calc(0.6875rem * var(--noctis-seed-font-scale))"),
|
|
493
|
+
description: "Font size — micro.",
|
|
494
|
+
usage: "The text-micro size utility.",
|
|
495
|
+
utility: "text-micro",
|
|
496
|
+
bridge: themeInline("--text-micro")
|
|
497
|
+
}),
|
|
498
|
+
foundation({
|
|
499
|
+
uuid: "b73bf112-960f-4eac-b5fc-f7eb350bf552",
|
|
500
|
+
id: "mini",
|
|
501
|
+
category: "text",
|
|
502
|
+
value: raw("calc(0.75rem * var(--noctis-seed-font-scale))"),
|
|
503
|
+
description: "Font size — mini.",
|
|
504
|
+
usage: "The text-mini size utility.",
|
|
505
|
+
utility: "text-mini",
|
|
506
|
+
bridge: themeInline("--text-mini")
|
|
507
|
+
}),
|
|
508
|
+
foundation({
|
|
509
|
+
uuid: "38378ea4-41f4-4ff6-85dd-0d46ba93a483",
|
|
510
|
+
id: "small",
|
|
511
|
+
category: "text",
|
|
512
|
+
value: raw("calc(0.8125rem * var(--noctis-seed-font-scale))"),
|
|
513
|
+
description: "Font size — small.",
|
|
514
|
+
usage: "The text-small size utility.",
|
|
515
|
+
utility: "text-small",
|
|
516
|
+
bridge: themeInline("--text-small")
|
|
517
|
+
}),
|
|
518
|
+
foundation({
|
|
519
|
+
uuid: "212d0b64-ae4f-43a2-bd07-a0d3a2ba6828",
|
|
520
|
+
id: "regular",
|
|
521
|
+
category: "text",
|
|
522
|
+
value: raw("calc(0.9375rem * var(--noctis-seed-font-scale))"),
|
|
523
|
+
description: "Font size — regular.",
|
|
524
|
+
usage: "The text-regular size utility.",
|
|
525
|
+
utility: "text-regular",
|
|
526
|
+
bridge: themeInline("--text-regular")
|
|
527
|
+
}),
|
|
528
|
+
foundation({
|
|
529
|
+
uuid: "9554f63f-3f5d-4b99-8473-0364b89d5c67",
|
|
530
|
+
id: "large",
|
|
531
|
+
category: "text",
|
|
532
|
+
value: raw("calc(1.125rem * var(--noctis-seed-font-scale))"),
|
|
533
|
+
description: "Font size — large.",
|
|
534
|
+
usage: "The text-large size utility.",
|
|
535
|
+
utility: "text-large",
|
|
536
|
+
bridge: themeInline("--text-large")
|
|
537
|
+
}),
|
|
538
|
+
foundation({
|
|
539
|
+
uuid: "1d800457-d21a-48cc-a559-5f09f2e7ee29",
|
|
540
|
+
id: "title-1",
|
|
541
|
+
category: "text",
|
|
542
|
+
value: raw("calc(2.25rem * var(--noctis-seed-font-scale))"),
|
|
543
|
+
description: "Font size — title-1.",
|
|
544
|
+
usage: "The text-title-1 size utility.",
|
|
545
|
+
utility: "text-title-1",
|
|
546
|
+
bridge: themeInline("--text-title-1")
|
|
547
|
+
}),
|
|
548
|
+
foundation({
|
|
549
|
+
uuid: "9db3ba5a-50f3-4acc-bdcc-0ce3896a4889",
|
|
550
|
+
id: "title-2",
|
|
551
|
+
category: "text",
|
|
552
|
+
value: raw("calc(1.5rem * var(--noctis-seed-font-scale))"),
|
|
553
|
+
description: "Font size — title-2.",
|
|
554
|
+
usage: "The text-title-2 size utility.",
|
|
555
|
+
utility: "text-title-2",
|
|
556
|
+
bridge: themeInline("--text-title-2")
|
|
557
|
+
}),
|
|
558
|
+
foundation({
|
|
559
|
+
uuid: "98edca8f-2949-49be-9155-30145ec369da",
|
|
560
|
+
id: "title-3",
|
|
561
|
+
category: "text",
|
|
562
|
+
value: raw("calc(1.25rem * var(--noctis-seed-font-scale))"),
|
|
563
|
+
description: "Font size — title-3.",
|
|
564
|
+
usage: "The text-title-3 size utility.",
|
|
565
|
+
utility: "text-title-3",
|
|
566
|
+
bridge: themeInline("--text-title-3")
|
|
567
|
+
}),
|
|
568
|
+
foundation({
|
|
569
|
+
uuid: "a7e015b2-453a-4cc6-996f-1a7bc744de47",
|
|
570
|
+
id: "micro",
|
|
571
|
+
category: "leading",
|
|
572
|
+
value: raw("calc(1rem * var(--noctis-seed-font-scale))"),
|
|
573
|
+
description: "Line height paired with text-micro.",
|
|
574
|
+
usage: "The line box for the text-micro size.",
|
|
575
|
+
bridge: themeInline("--text-micro--line-height")
|
|
576
|
+
}),
|
|
577
|
+
foundation({
|
|
578
|
+
uuid: "e77c0894-a1a4-4064-a9b7-45b44892f5ac",
|
|
579
|
+
id: "mini",
|
|
580
|
+
category: "leading",
|
|
581
|
+
value: raw("calc(1rem * var(--noctis-seed-font-scale))"),
|
|
582
|
+
description: "Line height paired with text-mini.",
|
|
583
|
+
usage: "The line box for the text-mini size.",
|
|
584
|
+
bridge: themeInline("--text-mini--line-height")
|
|
585
|
+
}),
|
|
586
|
+
foundation({
|
|
587
|
+
uuid: "fe830136-acf1-4d4d-9ef5-2650980a118f",
|
|
588
|
+
id: "small",
|
|
589
|
+
category: "leading",
|
|
590
|
+
value: raw("calc(1.25rem * var(--noctis-seed-font-scale))"),
|
|
591
|
+
description: "Line height paired with text-small.",
|
|
592
|
+
usage: "The line box for the text-small size.",
|
|
593
|
+
bridge: themeInline("--text-small--line-height")
|
|
594
|
+
}),
|
|
595
|
+
foundation({
|
|
596
|
+
uuid: "896d6fc0-508a-4b00-8202-0db16de2dda5",
|
|
597
|
+
id: "regular",
|
|
598
|
+
category: "leading",
|
|
599
|
+
value: raw("calc(1.5rem * var(--noctis-seed-font-scale))"),
|
|
600
|
+
description: "Line height paired with text-regular.",
|
|
601
|
+
usage: "The line box for the text-regular size.",
|
|
602
|
+
bridge: themeInline("--text-regular--line-height")
|
|
603
|
+
}),
|
|
604
|
+
foundation({
|
|
605
|
+
uuid: "fc2d55a5-8803-4189-904a-66d9d15cf3b1",
|
|
606
|
+
id: "large",
|
|
607
|
+
category: "leading",
|
|
608
|
+
value: raw("calc(1.75rem * var(--noctis-seed-font-scale))"),
|
|
609
|
+
description: "Line height paired with text-large.",
|
|
610
|
+
usage: "The line box for the text-large size.",
|
|
611
|
+
bridge: themeInline("--text-large--line-height")
|
|
612
|
+
}),
|
|
613
|
+
foundation({
|
|
614
|
+
uuid: "cd13efdc-485e-431f-81c3-1cc142094848",
|
|
615
|
+
id: "title-1",
|
|
616
|
+
category: "leading",
|
|
617
|
+
value: raw("calc(2.75rem * var(--noctis-seed-font-scale))"),
|
|
618
|
+
description: "Line height paired with text-title-1.",
|
|
619
|
+
usage: "The line box for the text-title-1 size.",
|
|
620
|
+
bridge: themeInline("--text-title-1--line-height")
|
|
621
|
+
}),
|
|
622
|
+
foundation({
|
|
623
|
+
uuid: "ecca6a90-c283-4dcd-9441-c06e32104fb8",
|
|
624
|
+
id: "title-2",
|
|
625
|
+
category: "leading",
|
|
626
|
+
value: raw("calc(2rem * var(--noctis-seed-font-scale))"),
|
|
627
|
+
description: "Line height paired with text-title-2.",
|
|
628
|
+
usage: "The line box for the text-title-2 size.",
|
|
629
|
+
bridge: themeInline("--text-title-2--line-height")
|
|
630
|
+
}),
|
|
631
|
+
foundation({
|
|
632
|
+
uuid: "1e58e2b8-2fd8-4cd8-9150-f2cf3aa97ec7",
|
|
633
|
+
id: "title-3",
|
|
634
|
+
category: "leading",
|
|
635
|
+
value: raw("calc(1.75rem * var(--noctis-seed-font-scale))"),
|
|
636
|
+
description: "Line height paired with text-title-3.",
|
|
637
|
+
usage: "The line box for the text-title-3 size.",
|
|
638
|
+
bridge: themeInline("--text-title-3--line-height")
|
|
639
|
+
}),
|
|
640
|
+
foundation({
|
|
641
|
+
uuid: "6d972fdc-b4c3-468d-b190-df4e8c43fa5f",
|
|
642
|
+
id: "snug",
|
|
643
|
+
category: "leading",
|
|
644
|
+
value: raw("1.375"),
|
|
645
|
+
description: "Standalone line height — snug (mirrors Tailwind's leading-snug).",
|
|
646
|
+
usage: "The leading-snug utility, for tightened multi-line text outside the paired type scale.",
|
|
647
|
+
utility: "leading-snug",
|
|
648
|
+
bridge: themeInline("--leading-snug")
|
|
649
|
+
}),
|
|
650
|
+
foundation({
|
|
651
|
+
uuid: "89bad250-d65e-48c0-8417-48af6b6a4b9b",
|
|
652
|
+
id: "relaxed",
|
|
653
|
+
category: "leading",
|
|
654
|
+
value: raw("1.625"),
|
|
655
|
+
description: "Standalone line height — relaxed (mirrors Tailwind's leading-relaxed).",
|
|
656
|
+
usage: "The leading-relaxed utility, for opened-up prose like the Lead block.",
|
|
657
|
+
utility: "leading-relaxed",
|
|
658
|
+
bridge: themeInline("--leading-relaxed")
|
|
659
|
+
}),
|
|
660
|
+
foundation({
|
|
661
|
+
uuid: "0c605276-ec6f-4c1f-a05e-f30ed09aba75",
|
|
662
|
+
id: "weight-light",
|
|
663
|
+
category: "font",
|
|
664
|
+
value: raw("300"),
|
|
665
|
+
description: "Font weight — light.",
|
|
666
|
+
usage: "The font-light weight utility.",
|
|
667
|
+
utility: "font-light",
|
|
668
|
+
bridge: themeInline("--font-weight-light")
|
|
669
|
+
}),
|
|
670
|
+
foundation({
|
|
671
|
+
uuid: "4acce504-1c35-4385-ab69-6143b768d03d",
|
|
672
|
+
id: "weight-normal",
|
|
673
|
+
category: "font",
|
|
674
|
+
value: raw("450"),
|
|
675
|
+
description: "Font weight — normal.",
|
|
676
|
+
usage: "The font-normal weight utility.",
|
|
677
|
+
utility: "font-normal",
|
|
678
|
+
bridge: themeInline("--font-weight-normal")
|
|
679
|
+
}),
|
|
680
|
+
foundation({
|
|
681
|
+
uuid: "f57be22a-0b37-4dd6-97a8-a1cb7c41ad81",
|
|
682
|
+
id: "weight-medium",
|
|
683
|
+
category: "font",
|
|
684
|
+
value: raw("500"),
|
|
685
|
+
description: "Font weight — medium.",
|
|
686
|
+
usage: "The font-medium weight utility.",
|
|
687
|
+
utility: "font-medium",
|
|
688
|
+
bridge: themeInline("--font-weight-medium")
|
|
689
|
+
}),
|
|
690
|
+
foundation({
|
|
691
|
+
uuid: "6139d888-2c91-4ef9-876f-ab60b0a811be",
|
|
692
|
+
id: "weight-semibold",
|
|
693
|
+
category: "font",
|
|
694
|
+
value: raw("600"),
|
|
695
|
+
description: "Font weight — semibold.",
|
|
696
|
+
usage: "The font-semibold weight utility.",
|
|
697
|
+
utility: "font-semibold",
|
|
698
|
+
bridge: themeInline("--font-weight-semibold")
|
|
699
|
+
}),
|
|
700
|
+
foundation({
|
|
701
|
+
uuid: "b10e620f-1cb0-4987-ad1f-cf10b2198628",
|
|
702
|
+
id: "weight-bold",
|
|
703
|
+
category: "font",
|
|
704
|
+
value: raw("700"),
|
|
705
|
+
description: "Font weight — bold.",
|
|
706
|
+
usage: "The font-bold weight utility.",
|
|
707
|
+
utility: "font-bold",
|
|
708
|
+
bridge: themeInline("--font-weight-bold")
|
|
709
|
+
}),
|
|
710
|
+
foundation({
|
|
711
|
+
uuid: "5cfe9226-e50f-4a69-ac80-20be45250f60",
|
|
712
|
+
id: "weight-extrabold",
|
|
713
|
+
category: "font",
|
|
714
|
+
value: raw("800"),
|
|
715
|
+
description: "Font weight — extrabold.",
|
|
716
|
+
usage: "The font-extrabold weight utility.",
|
|
717
|
+
utility: "font-extrabold",
|
|
718
|
+
bridge: themeInline("--font-weight-extrabold")
|
|
719
|
+
}),
|
|
720
|
+
foundation({
|
|
721
|
+
uuid: "66847f3c-4495-47a6-8f5f-9e10f0d8f676",
|
|
722
|
+
id: "weight-black",
|
|
723
|
+
category: "font",
|
|
724
|
+
value: raw("900"),
|
|
725
|
+
description: "Font weight — black.",
|
|
726
|
+
usage: "The font-black weight utility.",
|
|
727
|
+
utility: "font-black",
|
|
728
|
+
bridge: themeInline("--font-weight-black")
|
|
729
|
+
}),
|
|
730
|
+
foundation({
|
|
731
|
+
uuid: "b59110d5-d90b-4528-93d4-b9a4015ecc3a",
|
|
732
|
+
id: "tight",
|
|
733
|
+
category: "tracking",
|
|
734
|
+
value: raw("-0.01em"),
|
|
735
|
+
description: "Letter spacing — tight.",
|
|
736
|
+
usage: "The tracking-tight utility.",
|
|
737
|
+
utility: "tracking-tight",
|
|
738
|
+
bridge: themeInline("--tracking-tight")
|
|
739
|
+
}),
|
|
740
|
+
foundation({
|
|
741
|
+
uuid: "5bd45b75-1b54-40b3-a1f0-d58b06bee6a7",
|
|
742
|
+
id: "normal",
|
|
743
|
+
category: "tracking",
|
|
744
|
+
value: raw("0em"),
|
|
745
|
+
description: "Letter spacing — normal.",
|
|
746
|
+
usage: "The tracking-normal utility.",
|
|
747
|
+
utility: "tracking-normal",
|
|
748
|
+
bridge: themeInline("--tracking-normal")
|
|
749
|
+
}),
|
|
750
|
+
foundation({
|
|
751
|
+
uuid: "d49913b4-e90c-4792-b61b-8580d8500677",
|
|
752
|
+
id: "wide",
|
|
753
|
+
category: "tracking",
|
|
754
|
+
value: raw("0.02em"),
|
|
755
|
+
description: "Letter spacing — wide.",
|
|
756
|
+
usage: "The tracking-wide utility.",
|
|
757
|
+
utility: "tracking-wide",
|
|
758
|
+
bridge: themeInline("--tracking-wide")
|
|
759
|
+
}),
|
|
760
|
+
foundation({
|
|
761
|
+
uuid: "6f987bc6-405c-4867-b971-257586e795cf",
|
|
762
|
+
id: "xs",
|
|
763
|
+
category: "radius",
|
|
764
|
+
value: raw("min(calc(var(--noctis-seed-radius) * 0.5), 0.375rem)"),
|
|
765
|
+
description: "Corner radius — xs.",
|
|
766
|
+
usage: "The rounded-xs utility.",
|
|
767
|
+
utility: "rounded-xs",
|
|
768
|
+
bridge: themeInline("--radius-xs")
|
|
769
|
+
}),
|
|
770
|
+
foundation({
|
|
771
|
+
uuid: "0038068b-64ba-443e-973c-75ea73a5ece7",
|
|
772
|
+
id: "sm",
|
|
773
|
+
category: "radius",
|
|
774
|
+
value: raw("min(calc(var(--noctis-seed-radius) * 0.75), 0.5rem)"),
|
|
775
|
+
description: "Corner radius — sm.",
|
|
776
|
+
usage: "The rounded-sm utility.",
|
|
777
|
+
utility: "rounded-sm",
|
|
778
|
+
bridge: themeInline("--radius-sm")
|
|
779
|
+
}),
|
|
780
|
+
foundation({
|
|
781
|
+
uuid: "218d2347-9b0a-4e33-a8c3-cdc336890b59",
|
|
782
|
+
id: "md",
|
|
783
|
+
category: "radius",
|
|
784
|
+
value: raw("min(var(--noctis-seed-radius), 0.625rem)"),
|
|
785
|
+
description: "Corner radius — md.",
|
|
786
|
+
usage: "The rounded-md utility.",
|
|
787
|
+
utility: "rounded-md",
|
|
788
|
+
bridge: themeInline("--radius-md")
|
|
789
|
+
}),
|
|
790
|
+
foundation({
|
|
791
|
+
uuid: "1e93c1fb-edce-487f-a100-757fb336621f",
|
|
792
|
+
id: "lg",
|
|
793
|
+
category: "radius",
|
|
794
|
+
value: raw("min(calc(var(--noctis-seed-radius) * 1.5), 0.875rem)"),
|
|
795
|
+
description: "Corner radius — lg.",
|
|
796
|
+
usage: "The rounded-lg utility.",
|
|
797
|
+
utility: "rounded-lg",
|
|
798
|
+
bridge: themeInline("--radius-lg")
|
|
799
|
+
}),
|
|
800
|
+
foundation({
|
|
801
|
+
uuid: "d5fa2ad2-2336-4cb7-a6c4-b8a47f4d9bd8",
|
|
802
|
+
id: "xl",
|
|
803
|
+
category: "radius",
|
|
804
|
+
value: raw("min(calc(var(--noctis-seed-radius) * 2), 1.25rem)"),
|
|
805
|
+
description: "Corner radius — xl.",
|
|
806
|
+
usage: "The rounded-xl utility.",
|
|
807
|
+
utility: "rounded-xl",
|
|
808
|
+
bridge: themeInline("--radius-xl")
|
|
809
|
+
}),
|
|
810
|
+
foundation({
|
|
811
|
+
uuid: "3f890c01-e8b1-4563-99fb-84146cb5e79b",
|
|
812
|
+
id: "full",
|
|
813
|
+
category: "radius",
|
|
814
|
+
value: raw("9999px"),
|
|
815
|
+
description: "Corner radius — full.",
|
|
816
|
+
usage: "The rounded-full utility.",
|
|
817
|
+
utility: "rounded-full",
|
|
818
|
+
bridge: themeInline("--radius-full")
|
|
819
|
+
}),
|
|
820
|
+
foundation({
|
|
821
|
+
uuid: "a0d422fd-1cce-4d34-a399-7004927dd980",
|
|
822
|
+
id: "control",
|
|
823
|
+
category: "radius",
|
|
824
|
+
value: raw("var(--noctis-seed-radius)"),
|
|
825
|
+
description: "Corner radius — control.",
|
|
826
|
+
usage: "The rounded-control utility.",
|
|
827
|
+
utility: "rounded-control",
|
|
828
|
+
bridge: themeInline("--radius-control")
|
|
829
|
+
}),
|
|
830
|
+
foundation({
|
|
831
|
+
uuid: "122406f3-d0c7-46c3-9675-f86f3d50949e",
|
|
832
|
+
id: "standard",
|
|
833
|
+
category: "ease",
|
|
834
|
+
value: raw("cubic-bezier(0.25, 0.46, 0.45, 0.94)"),
|
|
835
|
+
description: "Easing curve — standard.",
|
|
836
|
+
usage: "The ease-standard utility.",
|
|
837
|
+
utility: "ease-standard",
|
|
838
|
+
bridge: themeInline("--ease-standard")
|
|
839
|
+
}),
|
|
840
|
+
foundation({
|
|
841
|
+
uuid: "b0a0c4fd-932b-4a8c-8964-630b10d8aeb9",
|
|
842
|
+
id: "in",
|
|
843
|
+
category: "ease",
|
|
844
|
+
value: raw("cubic-bezier(0.55, 0.055, 0.675, 0.19)"),
|
|
845
|
+
description: "Easing curve — in.",
|
|
846
|
+
usage: "The ease-in utility.",
|
|
847
|
+
utility: "ease-in",
|
|
848
|
+
bridge: themeInline("--ease-in")
|
|
849
|
+
}),
|
|
850
|
+
foundation({
|
|
851
|
+
uuid: "5dd9fc83-457e-480e-b989-fc6a47fbd6da",
|
|
852
|
+
id: "out",
|
|
853
|
+
category: "ease",
|
|
854
|
+
value: raw("cubic-bezier(0.215, 0.61, 0.355, 1)"),
|
|
855
|
+
description: "Easing curve — out.",
|
|
856
|
+
usage: "The ease-out utility.",
|
|
857
|
+
utility: "ease-out",
|
|
858
|
+
bridge: themeInline("--ease-out")
|
|
859
|
+
}),
|
|
860
|
+
foundation({
|
|
861
|
+
uuid: "46e01fe2-e027-4034-8686-5e1032a99455",
|
|
862
|
+
id: "in-out",
|
|
863
|
+
category: "ease",
|
|
864
|
+
value: raw("cubic-bezier(0.645, 0.045, 0.355, 1)"),
|
|
865
|
+
description: "Easing curve — in-out.",
|
|
866
|
+
usage: "The ease-in-out utility.",
|
|
867
|
+
utility: "ease-in-out",
|
|
868
|
+
bridge: themeInline("--ease-in-out")
|
|
869
|
+
}),
|
|
870
|
+
foundation({
|
|
871
|
+
uuid: "5a608cbe-7451-4a99-ae66-9236388cfb46",
|
|
872
|
+
id: "overlay",
|
|
873
|
+
category: "ease",
|
|
874
|
+
value: raw("cubic-bezier(0.32, 0.72, 0, 1)"),
|
|
875
|
+
description: "Easing curve — overlay slide. A long, settling ease for modal-overlay motion.",
|
|
876
|
+
usage: "The ease-overlay utility — the command-palette and overlay slide-in curve.",
|
|
877
|
+
utility: "ease-overlay",
|
|
878
|
+
bridge: themeInline("--ease-overlay")
|
|
879
|
+
}),
|
|
880
|
+
foundation({
|
|
881
|
+
uuid: "94a86419-1b42-44bc-aa11-959b7c115d54",
|
|
882
|
+
id: "fast",
|
|
883
|
+
category: "duration",
|
|
884
|
+
value: raw("0.1s"),
|
|
885
|
+
description: "Transition duration — fast.",
|
|
886
|
+
usage: "The fast motion duration — exit transitions and indicators.",
|
|
887
|
+
bridge: themeInline("--transition-duration-fast")
|
|
888
|
+
}),
|
|
889
|
+
foundation({
|
|
890
|
+
uuid: "01bf8244-15f9-48a4-abb9-3cfcb93f0b96",
|
|
891
|
+
id: "quick",
|
|
892
|
+
category: "duration",
|
|
893
|
+
value: raw("0.15s"),
|
|
894
|
+
description: "Transition duration — quick.",
|
|
895
|
+
usage: "The library-wide control-feedback duration — hover/press transitions on controls.",
|
|
896
|
+
bridge: themeInline("--transition-duration-quick")
|
|
897
|
+
}),
|
|
898
|
+
foundation({
|
|
899
|
+
uuid: "3ed9d4d3-0525-4df3-afdf-87ffa332c639",
|
|
900
|
+
id: "regular",
|
|
901
|
+
category: "duration",
|
|
902
|
+
value: raw("0.2s"),
|
|
903
|
+
description: "Transition duration — regular.",
|
|
904
|
+
usage: "The regular motion duration — surface and indicator transitions.",
|
|
905
|
+
bridge: themeInline("--transition-duration-regular")
|
|
906
|
+
}),
|
|
907
|
+
foundation({
|
|
908
|
+
uuid: "afd02fcd-99ce-40d0-8e4a-0eb1dccde12f",
|
|
909
|
+
id: "slow",
|
|
910
|
+
category: "duration",
|
|
911
|
+
value: raw("0.35s"),
|
|
912
|
+
description: "Transition duration — slow.",
|
|
913
|
+
usage: "The slow motion duration — panel collapse and content push.",
|
|
914
|
+
bridge: themeInline("--transition-duration-slow")
|
|
915
|
+
}),
|
|
916
|
+
foundation({
|
|
917
|
+
uuid: "454da440-88d0-4d28-a4fa-b10f27da5046",
|
|
918
|
+
id: "overlay",
|
|
919
|
+
category: "duration",
|
|
920
|
+
value: raw("0.26s"),
|
|
921
|
+
description: "Transition duration — overlay.",
|
|
922
|
+
usage: "The modal-overlay motion duration — the command-palette backdrop and popup slide.",
|
|
923
|
+
bridge: themeInline("--transition-duration-overlay")
|
|
924
|
+
}),
|
|
925
|
+
foundation({
|
|
926
|
+
uuid: "00beceae-3555-43ef-bac6-4c577f4481fc",
|
|
927
|
+
id: "control-xs",
|
|
928
|
+
category: "size",
|
|
929
|
+
value: raw("calc(1.25rem * var(--noctis-seed-density))"),
|
|
930
|
+
description: "Control height — xs (20px at density 1).",
|
|
931
|
+
usage: "The xs control height — extra-small buttons, chips, and the shortcut chip."
|
|
932
|
+
}),
|
|
933
|
+
foundation({
|
|
934
|
+
uuid: "a7df1cf1-7116-4e6a-8ce1-b362ff0b9cde",
|
|
935
|
+
id: "control-sm",
|
|
936
|
+
category: "size",
|
|
937
|
+
value: raw("calc(1.625rem * var(--noctis-seed-density))"),
|
|
938
|
+
description: "Control height — sm (26px at density 1).",
|
|
939
|
+
usage: "The sm control height — compact buttons, tabs, swatches, and triggers."
|
|
940
|
+
}),
|
|
941
|
+
foundation({
|
|
942
|
+
uuid: "9fc04a8b-38a2-4eb7-8c82-cb601047fd87",
|
|
943
|
+
id: "control-md",
|
|
944
|
+
category: "size",
|
|
945
|
+
value: raw("calc(2.25rem * var(--noctis-seed-density))"),
|
|
946
|
+
description: "Control height — md (36px at density 1).",
|
|
947
|
+
usage: "The default control height — buttons, inputs, and the code-block header."
|
|
948
|
+
}),
|
|
949
|
+
foundation({
|
|
950
|
+
uuid: "a5d4d2e9-5b21-4287-b4f5-5583bd309c5b",
|
|
951
|
+
id: "control-lg",
|
|
952
|
+
category: "size",
|
|
953
|
+
value: raw("calc(2.5rem * var(--noctis-seed-density))"),
|
|
954
|
+
description: "Control height — lg (40px at density 1).",
|
|
955
|
+
usage: "The large control height — prominent buttons and swatches."
|
|
956
|
+
}),
|
|
957
|
+
foundation({
|
|
958
|
+
uuid: "24e6d310-66bc-4ed3-aa9c-1cba023f638d",
|
|
959
|
+
id: "focus-ring-width",
|
|
960
|
+
category: "size",
|
|
961
|
+
value: raw("2px"),
|
|
962
|
+
description: "Focus-ring outline width.",
|
|
963
|
+
usage: "The keyboard focus-ring thickness shared by every control."
|
|
964
|
+
}),
|
|
965
|
+
foundation({
|
|
966
|
+
uuid: "316e17af-d943-4640-be47-e3e674a26601",
|
|
967
|
+
id: "focus-ring-offset",
|
|
968
|
+
category: "size",
|
|
969
|
+
value: raw("2px"),
|
|
970
|
+
description: "Focus-ring outline offset.",
|
|
971
|
+
usage: "The gap between a control's edge and its focus ring."
|
|
972
|
+
}),
|
|
973
|
+
...SPACING_STEPS.map(spacingToken),
|
|
974
|
+
foundation({
|
|
975
|
+
uuid: "e6e2cace-236d-4c1b-8b67-38e1dbd1cf9c",
|
|
976
|
+
id: "region",
|
|
977
|
+
category: "space",
|
|
978
|
+
value: raw("calc(1.25rem * var(--noctis-seed-density))"),
|
|
979
|
+
description: "Region padding (1.25rem at density 1).",
|
|
980
|
+
usage: "The padding of a panel region — sheet and rail header/body/footer."
|
|
981
|
+
}),
|
|
982
|
+
foundation({
|
|
983
|
+
uuid: "571b6804-2df8-43ca-8476-4053a3ae3f68",
|
|
984
|
+
id: "base",
|
|
985
|
+
category: "z",
|
|
986
|
+
value: raw("0"),
|
|
987
|
+
description: "Stacking context — base.",
|
|
988
|
+
usage: "Read as var(--noctis-z-base)."
|
|
989
|
+
}),
|
|
990
|
+
foundation({
|
|
991
|
+
uuid: "c0ecb198-b2a2-4a59-b3f3-a1e8bf83eba7",
|
|
992
|
+
id: "raised",
|
|
993
|
+
category: "z",
|
|
994
|
+
value: raw("1"),
|
|
995
|
+
description: "Stacking context — raised.",
|
|
996
|
+
usage: "A within-component raise above an adjacent sibling — read as var(--noctis-z-raised).",
|
|
997
|
+
bridge: themeInline("--z-index-raised")
|
|
998
|
+
}),
|
|
999
|
+
foundation({
|
|
1000
|
+
uuid: "609bc1db-7304-44ae-992a-a2f6be0ed0bf",
|
|
1001
|
+
id: "dropdown",
|
|
1002
|
+
category: "z",
|
|
1003
|
+
value: raw("1000"),
|
|
1004
|
+
description: "Stacking context — dropdown.",
|
|
1005
|
+
usage: "Read as var(--noctis-z-dropdown).",
|
|
1006
|
+
bridge: themeInline("--z-index-dropdown")
|
|
1007
|
+
}),
|
|
1008
|
+
foundation({
|
|
1009
|
+
uuid: "40b3456b-bfcb-42fe-a6e3-c4a36e4f77ea",
|
|
1010
|
+
id: "sticky",
|
|
1011
|
+
category: "z",
|
|
1012
|
+
value: raw("1100"),
|
|
1013
|
+
description: "Stacking context — sticky.",
|
|
1014
|
+
usage: "Read as var(--noctis-z-sticky).",
|
|
1015
|
+
bridge: themeInline("--z-index-sticky")
|
|
1016
|
+
}),
|
|
1017
|
+
foundation({
|
|
1018
|
+
uuid: "e394402e-0a5d-45cf-868c-b6a6d7e16ff2",
|
|
1019
|
+
id: "overlay",
|
|
1020
|
+
category: "z",
|
|
1021
|
+
value: raw("1300"),
|
|
1022
|
+
description: "Stacking context — overlay.",
|
|
1023
|
+
usage: "Read as var(--noctis-z-overlay).",
|
|
1024
|
+
bridge: themeInline("--z-index-overlay")
|
|
1025
|
+
}),
|
|
1026
|
+
foundation({
|
|
1027
|
+
uuid: "30fcdde1-058f-4fe3-b681-2a7b7648b9a6",
|
|
1028
|
+
id: "modal",
|
|
1029
|
+
category: "z",
|
|
1030
|
+
value: raw("1400"),
|
|
1031
|
+
description: "Stacking context — modal.",
|
|
1032
|
+
usage: "Read as var(--noctis-z-modal).",
|
|
1033
|
+
bridge: themeInline("--z-index-modal")
|
|
1034
|
+
}),
|
|
1035
|
+
foundation({
|
|
1036
|
+
uuid: "d355e4b1-84f4-456e-b273-ae6ebe5e6a60",
|
|
1037
|
+
id: "popover",
|
|
1038
|
+
category: "z",
|
|
1039
|
+
value: raw("1500"),
|
|
1040
|
+
description: "Stacking context — popover.",
|
|
1041
|
+
usage: "Read as var(--noctis-z-popover).",
|
|
1042
|
+
bridge: themeInline("--z-index-popover")
|
|
1043
|
+
}),
|
|
1044
|
+
foundation({
|
|
1045
|
+
uuid: "cb5d5a20-94a7-4115-9405-2ee6ef690ede",
|
|
1046
|
+
id: "toast",
|
|
1047
|
+
category: "z",
|
|
1048
|
+
value: raw("1700"),
|
|
1049
|
+
description: "Stacking context — toast.",
|
|
1050
|
+
usage: "Read as var(--noctis-z-toast).",
|
|
1051
|
+
bridge: themeInline("--z-index-toast")
|
|
1052
|
+
}),
|
|
1053
|
+
foundation({
|
|
1054
|
+
uuid: "d07c23f6-5712-4ac9-8895-fd99b8715b59",
|
|
1055
|
+
id: "sm",
|
|
1056
|
+
category: "breakpoint",
|
|
1057
|
+
value: raw("40rem"),
|
|
1058
|
+
description: "Responsive breakpoint — sm.",
|
|
1059
|
+
usage: "The sm: Tailwind variant.",
|
|
1060
|
+
bridge: {
|
|
1061
|
+
kind: "theme",
|
|
1062
|
+
name: "--breakpoint-sm"
|
|
1063
|
+
}
|
|
1064
|
+
}),
|
|
1065
|
+
foundation({
|
|
1066
|
+
uuid: "607d5a56-6536-444c-a9d6-364dcd3f8259",
|
|
1067
|
+
id: "md",
|
|
1068
|
+
category: "breakpoint",
|
|
1069
|
+
value: raw("48rem"),
|
|
1070
|
+
description: "Responsive breakpoint — md.",
|
|
1071
|
+
usage: "The md: Tailwind variant.",
|
|
1072
|
+
bridge: {
|
|
1073
|
+
kind: "theme",
|
|
1074
|
+
name: "--breakpoint-md"
|
|
1075
|
+
}
|
|
1076
|
+
}),
|
|
1077
|
+
foundation({
|
|
1078
|
+
uuid: "4621e544-f4be-4062-a52c-884c2f63e85b",
|
|
1079
|
+
id: "lg",
|
|
1080
|
+
category: "breakpoint",
|
|
1081
|
+
value: raw("64rem"),
|
|
1082
|
+
description: "Responsive breakpoint — lg.",
|
|
1083
|
+
usage: "The lg: Tailwind variant.",
|
|
1084
|
+
bridge: {
|
|
1085
|
+
kind: "theme",
|
|
1086
|
+
name: "--breakpoint-lg"
|
|
1087
|
+
}
|
|
1088
|
+
}),
|
|
1089
|
+
foundation({
|
|
1090
|
+
uuid: "28a388ed-5d29-4118-9926-8e905b876550",
|
|
1091
|
+
id: "xl",
|
|
1092
|
+
category: "breakpoint",
|
|
1093
|
+
value: raw("80rem"),
|
|
1094
|
+
description: "Responsive breakpoint — xl.",
|
|
1095
|
+
usage: "The xl: Tailwind variant.",
|
|
1096
|
+
bridge: {
|
|
1097
|
+
kind: "theme",
|
|
1098
|
+
name: "--breakpoint-xl"
|
|
1099
|
+
}
|
|
1100
|
+
}),
|
|
1101
|
+
foundation({
|
|
1102
|
+
uuid: "dd165786-b647-49bc-9bfa-1c98ea601519",
|
|
1103
|
+
id: "2xl",
|
|
1104
|
+
category: "breakpoint",
|
|
1105
|
+
value: raw("96rem"),
|
|
1106
|
+
description: "Responsive breakpoint — 2xl.",
|
|
1107
|
+
usage: "The 2xl: Tailwind variant.",
|
|
1108
|
+
bridge: {
|
|
1109
|
+
kind: "theme",
|
|
1110
|
+
name: "--breakpoint-2xl"
|
|
1111
|
+
}
|
|
1112
|
+
}),
|
|
1113
|
+
...SHADOW_PARTS.map(shadowPartToken),
|
|
1114
|
+
foundation({
|
|
1115
|
+
uuid: "c3f1a8d6-5b2e-4c9a-8d7f-1e4b6a3c9d2e",
|
|
1116
|
+
id: "low",
|
|
1117
|
+
category: "shadow",
|
|
1118
|
+
value: raw(`${shadowLayer("low", 1)}, ${shadowLayer("low", 2)}`),
|
|
1119
|
+
description: "Elevation shadow — low. The resting card/raised-surface drop shadow, composed from its parts.",
|
|
1120
|
+
usage: "The shadow-card utility.",
|
|
1121
|
+
utility: "shadow-card",
|
|
1122
|
+
bridge: themeInline("--shadow-card")
|
|
1123
|
+
}),
|
|
1124
|
+
foundation({
|
|
1125
|
+
uuid: "d4e2b9c7-6c3f-4d8b-9e1a-2f5c7b4d1e3f",
|
|
1126
|
+
id: "medium",
|
|
1127
|
+
category: "shadow",
|
|
1128
|
+
value: raw(`${shadowLayer("medium", 1)}, ${shadowLayer("medium", 2)}`),
|
|
1129
|
+
description: "Elevation shadow — medium. The popover/floating-surface drop shadow, composed from its parts.",
|
|
1130
|
+
usage: "The shadow-popover utility.",
|
|
1131
|
+
utility: "shadow-popover",
|
|
1132
|
+
bridge: themeInline("--shadow-popover")
|
|
1133
|
+
}),
|
|
1134
|
+
foundation({
|
|
1135
|
+
uuid: "e5f3c0d8-7d4a-4e9c-8f2b-3a6d8c5e2f4a",
|
|
1136
|
+
id: "high",
|
|
1137
|
+
category: "shadow",
|
|
1138
|
+
value: raw(`${shadowLayer("high", 1)}, ${shadowLayer("high", 2)}`),
|
|
1139
|
+
description: "Elevation shadow — high. The modal/dialog drop shadow, composed from its parts.",
|
|
1140
|
+
usage: "The shadow-modal utility.",
|
|
1141
|
+
utility: "shadow-modal",
|
|
1142
|
+
bridge: themeInline("--shadow-modal")
|
|
1143
|
+
}),
|
|
1144
|
+
foundation({
|
|
1145
|
+
uuid: "f6a4d1e9-8e5b-4f0d-9a3c-4b7e9d6f3a5b",
|
|
1146
|
+
id: "inset",
|
|
1147
|
+
category: "shadow",
|
|
1148
|
+
value: raw(`inset ${shadowLayer("inset", 1)}`),
|
|
1149
|
+
description: "Inset shadow. The recessed inner shadow for wells, inputs, and any drilled-in panel, composed from its parts.",
|
|
1150
|
+
usage: "The shadow-inset utility.",
|
|
1151
|
+
utility: "shadow-inset",
|
|
1152
|
+
bridge: themeInline("--shadow-inset")
|
|
1153
|
+
}),
|
|
1154
|
+
foundation({
|
|
1155
|
+
uuid: "a7b5e2f0-9f6c-4a1e-8b4d-5c8f0e7a4b6c",
|
|
1156
|
+
id: "focus",
|
|
1157
|
+
category: "shadow",
|
|
1158
|
+
value: raw(focusShadowLayer()),
|
|
1159
|
+
description: "Focus shadow. The focus-ring shadow drawn around a focused control — geometry parts × engine focus ring.",
|
|
1160
|
+
usage: "The shadow-focus utility.",
|
|
1161
|
+
utility: "shadow-focus",
|
|
1162
|
+
bridge: themeInline("--shadow-focus")
|
|
1163
|
+
}),
|
|
1164
|
+
foundation({
|
|
1165
|
+
uuid: "3a8b64d4-f3b5-43f4-9163-583f143152f4",
|
|
1166
|
+
id: "sm",
|
|
1167
|
+
category: "shadow",
|
|
1168
|
+
value: raw("0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a"),
|
|
1169
|
+
description: "Utility shadow — sm (mirrors Tailwind's shadow-sm; --shadow-*: initial owns the namespace).",
|
|
1170
|
+
usage: "The shadow-sm utility — light docs-chrome lift outside the elevation ladder.",
|
|
1171
|
+
utility: "shadow-sm",
|
|
1172
|
+
bridge: themeInline("--shadow-sm")
|
|
1173
|
+
}),
|
|
1174
|
+
foundation({
|
|
1175
|
+
uuid: "67659a08-cdd4-4bdc-aef7-8610b04dcc55",
|
|
1176
|
+
id: "sm",
|
|
1177
|
+
category: "blur",
|
|
1178
|
+
value: raw("8px"),
|
|
1179
|
+
description: "Blur radius — sm (mirrors Tailwind's blur-sm).",
|
|
1180
|
+
usage: "The blur-sm / backdrop-blur-sm utilities.",
|
|
1181
|
+
utility: "backdrop-blur-sm",
|
|
1182
|
+
bridge: themeInline("--blur-sm")
|
|
1183
|
+
}),
|
|
1184
|
+
foundation({
|
|
1185
|
+
uuid: "4fb231f7-8f17-4313-8a20-3b17f9aea733",
|
|
1186
|
+
id: "md",
|
|
1187
|
+
category: "blur",
|
|
1188
|
+
value: raw("12px"),
|
|
1189
|
+
description: "Blur radius — md (mirrors Tailwind's blur-md).",
|
|
1190
|
+
usage: "The blur-md / backdrop-blur-md utilities.",
|
|
1191
|
+
utility: "backdrop-blur-md",
|
|
1192
|
+
bridge: themeInline("--blur-md")
|
|
1193
|
+
}),
|
|
1194
|
+
foundation({
|
|
1195
|
+
uuid: "d9355fc1-97e0-4308-9381-52751b162dc4",
|
|
1196
|
+
id: "spin",
|
|
1197
|
+
category: "animate",
|
|
1198
|
+
value: raw("spin 1s linear infinite"),
|
|
1199
|
+
description: "Animation — spin (mirrors Tailwind's animate-spin; the spin keyframes ship top-level in tokens.css).",
|
|
1200
|
+
usage: "The animate-spin utility — busy indicators.",
|
|
1201
|
+
utility: "animate-spin",
|
|
1202
|
+
bridge: themeInline("--animate-spin")
|
|
1203
|
+
}),
|
|
1204
|
+
foundation({
|
|
1205
|
+
uuid: "240c3da2-515c-4371-b8a0-2ab522cd1001",
|
|
1206
|
+
id: "xs",
|
|
1207
|
+
category: "container",
|
|
1208
|
+
value: raw("20rem"),
|
|
1209
|
+
description: "Container width — xs (mirrors Tailwind's --container-xs).",
|
|
1210
|
+
usage: "The max-w-xs / w-xs named width step.",
|
|
1211
|
+
bridge: themeInline("--container-xs")
|
|
1212
|
+
}),
|
|
1213
|
+
foundation({
|
|
1214
|
+
uuid: "9d112d43-299f-46c9-ad2e-78012822572e",
|
|
1215
|
+
id: "sm",
|
|
1216
|
+
category: "container",
|
|
1217
|
+
value: raw("24rem"),
|
|
1218
|
+
description: "Container width — sm (mirrors Tailwind's --container-sm).",
|
|
1219
|
+
usage: "The max-w-sm / w-sm named width step.",
|
|
1220
|
+
bridge: themeInline("--container-sm")
|
|
1221
|
+
}),
|
|
1222
|
+
foundation({
|
|
1223
|
+
uuid: "e25fc814-415e-4ef6-b861-5b00bdaf7c00",
|
|
1224
|
+
id: "md",
|
|
1225
|
+
category: "container",
|
|
1226
|
+
value: raw("28rem"),
|
|
1227
|
+
description: "Container width — md (mirrors Tailwind's --container-md).",
|
|
1228
|
+
usage: "The max-w-md / w-md named width step.",
|
|
1229
|
+
bridge: themeInline("--container-md")
|
|
1230
|
+
}),
|
|
1231
|
+
foundation({
|
|
1232
|
+
uuid: "99c4044e-3659-47a3-b012-9c7f114995ba",
|
|
1233
|
+
id: "xl",
|
|
1234
|
+
category: "container",
|
|
1235
|
+
value: raw("36rem"),
|
|
1236
|
+
description: "Container width — xl (mirrors Tailwind's --container-xl).",
|
|
1237
|
+
usage: "The max-w-xl / w-xl named width step.",
|
|
1238
|
+
bridge: themeInline("--container-xl")
|
|
1239
|
+
}),
|
|
1240
|
+
foundation({
|
|
1241
|
+
uuid: "8818e6db-b489-49a8-b80e-3bed139a41ff",
|
|
1242
|
+
id: "2xl",
|
|
1243
|
+
category: "container",
|
|
1244
|
+
value: raw("42rem"),
|
|
1245
|
+
description: "Container width — 2xl (mirrors Tailwind's --container-2xl).",
|
|
1246
|
+
usage: "The max-w-2xl / w-2xl named width step.",
|
|
1247
|
+
bridge: themeInline("--container-2xl")
|
|
1248
|
+
}),
|
|
1249
|
+
foundation({
|
|
1250
|
+
uuid: "4f12acb2-9ecf-4d10-853b-965479d8114f",
|
|
1251
|
+
id: "3xl",
|
|
1252
|
+
category: "container",
|
|
1253
|
+
value: raw("48rem"),
|
|
1254
|
+
description: "Container width — 3xl (mirrors Tailwind's --container-3xl).",
|
|
1255
|
+
usage: "The max-w-3xl / w-3xl named width step.",
|
|
1256
|
+
bridge: themeInline("--container-3xl")
|
|
1257
|
+
}),
|
|
1258
|
+
foundation({
|
|
1259
|
+
uuid: "9e27cf1b-07fa-4ddd-8aed-3eae37d7cdb1",
|
|
1260
|
+
id: "7xl",
|
|
1261
|
+
category: "container",
|
|
1262
|
+
value: raw("80rem"),
|
|
1263
|
+
description: "Container width — 7xl (mirrors Tailwind's --container-7xl).",
|
|
1264
|
+
usage: "The max-w-7xl / w-7xl named width step.",
|
|
1265
|
+
bridge: themeInline("--container-7xl")
|
|
1266
|
+
}),
|
|
1267
|
+
foundation({
|
|
1268
|
+
uuid: "b2b54886-a35d-41e5-8888-d866fccfec22",
|
|
1269
|
+
id: "width-1",
|
|
1270
|
+
category: "border",
|
|
1271
|
+
value: raw("1px"),
|
|
1272
|
+
description: "Border width — 1px (the default border).",
|
|
1273
|
+
usage: "The border / border-1 width step.",
|
|
1274
|
+
bridge: themeInline("--border-width-1")
|
|
1275
|
+
}),
|
|
1276
|
+
foundation({
|
|
1277
|
+
uuid: "814e3789-e9e1-4216-8269-b4a09d4e6d07",
|
|
1278
|
+
id: "width-2",
|
|
1279
|
+
category: "border",
|
|
1280
|
+
value: raw("2px"),
|
|
1281
|
+
description: "Border width — 2px.",
|
|
1282
|
+
usage: "The border-2 width step.",
|
|
1283
|
+
bridge: themeInline("--border-width-2")
|
|
1284
|
+
}),
|
|
1285
|
+
foundation({
|
|
1286
|
+
uuid: "3e83f22c-942f-4385-840e-cff5250aac18",
|
|
1287
|
+
id: "width-4",
|
|
1288
|
+
category: "border",
|
|
1289
|
+
value: raw("4px"),
|
|
1290
|
+
description: "Border width — 4px.",
|
|
1291
|
+
usage: "The border-4 width step.",
|
|
1292
|
+
bridge: themeInline("--border-width-4")
|
|
1293
|
+
})
|
|
1294
|
+
];
|
|
1295
|
+
//#endregion
|
|
1296
|
+
export { FOUNDATION_TOKENS };
|