css-tags 0.1.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/LICENSE +21 -0
- package/README.md +875 -0
- package/carousel.js +86 -0
- package/components/accessibility.css +51 -0
- package/components/actions.css +76 -0
- package/components/alert.css +122 -0
- package/components/application-patterns.css +122 -0
- package/components/badge.css +125 -0
- package/components/box-extra.css +220 -0
- package/components/box.css +75 -0
- package/components/card.css +130 -0
- package/components/carousel.css +76 -0
- package/components/chip.css +71 -0
- package/components/container.css +55 -0
- package/components/content-patterns.css +234 -0
- package/components/disclosure.css +581 -0
- package/components/divider.css +68 -0
- package/components/flex.css +59 -0
- package/components/form-patterns.css +273 -0
- package/components/form.css +130 -0
- package/components/grid.css +82 -0
- package/components/identity.css +59 -0
- package/components/img-container.css +141 -0
- package/components/img-container.js +75 -0
- package/components/list.css +69 -0
- package/components/loading.css +112 -0
- package/components/masonry.css +48 -0
- package/components/modal.css +73 -0
- package/components/navigation-patterns.css +245 -0
- package/components/navigation.css +200 -0
- package/components/popover.css +49 -0
- package/components/site-shell.css +180 -0
- package/components/status.css +110 -0
- package/components/table.css +98 -0
- package/components/tabs.css +103 -0
- package/components/tooltip.css +87 -0
- package/components/tooltips.css +73 -0
- package/components/view-transition.css +73 -0
- package/core/base.css +62 -0
- package/core/defaults.css +490 -0
- package/core/engine.css +32 -0
- package/core/mixins.css +376 -0
- package/core/palette-accent.css +8 -0
- package/core/palette-base.css +107 -0
- package/core/palette-extended.css +142 -0
- package/core/palette-feedback.css +62 -0
- package/core/palette.css +7 -0
- package/core/reset.css +270 -0
- package/core/text.css +171 -0
- package/core/theme.css +608 -0
- package/core/tokens.css +488 -0
- package/core/typography.css +327 -0
- package/index.css +66 -0
- package/layouts/layout-extra.css +204 -0
- package/layouts/layout-extras-helpers.css +19 -0
- package/layouts/layout.css +348 -0
- package/package.json +66 -0
- package/theme-generator.css +979 -0
- package/themes/example-brand.css +59 -0
- package/themes/theme-packs.css +31 -0
- package/types/css-tags.d.ts +482 -0
- package/utilities/utilities.css +564 -0
- package/view-transition.js +111 -0
package/core/tokens.css
ADDED
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
/* ================================================ */
|
|
2
|
+
/* == @layer tokens == */
|
|
3
|
+
/* ================================================ */
|
|
4
|
+
/* Register CSS Custom Properties */
|
|
5
|
+
@property --color-h {
|
|
6
|
+
syntax: '<number>';
|
|
7
|
+
inherits: true;
|
|
8
|
+
initial-value: 250;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@property --color-c {
|
|
12
|
+
syntax: '<number>';
|
|
13
|
+
inherits: true;
|
|
14
|
+
initial-value: 0.1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@property --color-l {
|
|
18
|
+
syntax: '<percentage>';
|
|
19
|
+
inherits: true;
|
|
20
|
+
initial-value: 50%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@property --color-a {
|
|
24
|
+
syntax: '<number>';
|
|
25
|
+
inherits: true;
|
|
26
|
+
initial-value: 1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@property --l-threshold {
|
|
30
|
+
syntax: '<number>';
|
|
31
|
+
inherits: true;
|
|
32
|
+
initial-value: 0.65;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@property --c-threshold {
|
|
36
|
+
syntax: '<number>';
|
|
37
|
+
inherits: true;
|
|
38
|
+
initial-value: 0.08;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* --bg is intentionally NOT registered via @property.
|
|
42
|
+
As a regular custom property it inherits naturally, accepts any value
|
|
43
|
+
(colors, gradients, etc.), and var(--bg, <fallback>) works when unset. */
|
|
44
|
+
|
|
45
|
+
@property --fg {
|
|
46
|
+
syntax: '*';
|
|
47
|
+
inherits: true;
|
|
48
|
+
initial-value: currentColor;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@property --l-delta {
|
|
52
|
+
syntax: '<percentage>';
|
|
53
|
+
inherits: true;
|
|
54
|
+
initial-value: 0%;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@property --c-delta {
|
|
58
|
+
syntax: '<percentage>';
|
|
59
|
+
inherits: true;
|
|
60
|
+
initial-value: 0%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:root {
|
|
64
|
+
/* ========== COLOR SCALES ========== */
|
|
65
|
+
/* Lightness Scale (0-14) */
|
|
66
|
+
--scale-l-0: 99%;
|
|
67
|
+
--scale-l-1: 95%;
|
|
68
|
+
--scale-l-2: 90%;
|
|
69
|
+
--scale-l-3: 82%;
|
|
70
|
+
--scale-l-4: 74%;
|
|
71
|
+
--scale-l-5: 66%;
|
|
72
|
+
--scale-l-6: 58%;
|
|
73
|
+
--scale-l-7: 50%;
|
|
74
|
+
--scale-l-8: 42%;
|
|
75
|
+
--scale-l-9: 34%;
|
|
76
|
+
--scale-l-10: 26%;
|
|
77
|
+
--scale-l-11: 18%;
|
|
78
|
+
--scale-l-12: 10%;
|
|
79
|
+
--scale-l-13: 5%;
|
|
80
|
+
--scale-l-14: 1%;
|
|
81
|
+
|
|
82
|
+
/* Chroma Scale (0-12) */
|
|
83
|
+
--scale-c-0: 0;
|
|
84
|
+
--scale-c-1: 0.02;
|
|
85
|
+
--scale-c-2: 0.04;
|
|
86
|
+
--scale-c-3: 0.06;
|
|
87
|
+
--scale-c-4: 0.08;
|
|
88
|
+
--scale-c-5: 0.1;
|
|
89
|
+
--scale-c-6: 0.12;
|
|
90
|
+
--scale-c-7: 0.15;
|
|
91
|
+
--scale-c-8: 0.18;
|
|
92
|
+
--scale-c-9: 0.22;
|
|
93
|
+
--scale-c-10: 0.26;
|
|
94
|
+
--scale-c-11: 0.3;
|
|
95
|
+
--scale-c-12: 0.37;
|
|
96
|
+
|
|
97
|
+
/* Alpha Scale (0-8) */
|
|
98
|
+
--alpha-0: 0;
|
|
99
|
+
--alpha-1: 0.05;
|
|
100
|
+
--alpha-2: 0.1;
|
|
101
|
+
--alpha-3: 0.2;
|
|
102
|
+
--alpha-4: 0.4;
|
|
103
|
+
--alpha-5: 0.6;
|
|
104
|
+
--alpha-6: 0.75;
|
|
105
|
+
--alpha-7: 0.9;
|
|
106
|
+
--alpha-8: 1;
|
|
107
|
+
|
|
108
|
+
/* Contrast Ratios */
|
|
109
|
+
--contrast-ratio-low: 3;
|
|
110
|
+
--contrast-ratio-medium: 4.5;
|
|
111
|
+
--contrast-ratio-high: 7;
|
|
112
|
+
|
|
113
|
+
/* Max Chroma per Lightness Band */
|
|
114
|
+
--max-chroma-0: 0.04;
|
|
115
|
+
--max-chroma-1: 0.08;
|
|
116
|
+
--max-chroma-2: 0.15;
|
|
117
|
+
--max-chroma-3: 0.22;
|
|
118
|
+
--max-chroma-4: 0.18;
|
|
119
|
+
--max-chroma-5: 0.12;
|
|
120
|
+
--max-chroma-6: 0.06;
|
|
121
|
+
|
|
122
|
+
/* Base Hue Definitions for Palette */
|
|
123
|
+
--hue-gray: 250;
|
|
124
|
+
--hue-slate: 255;
|
|
125
|
+
--hue-red: 25;
|
|
126
|
+
--hue-orange: 55;
|
|
127
|
+
--hue-amber: 75;
|
|
128
|
+
--hue-yellow: 100;
|
|
129
|
+
--hue-lime: 120;
|
|
130
|
+
--hue-green: 145;
|
|
131
|
+
--hue-emerald: 160;
|
|
132
|
+
--hue-teal: 180;
|
|
133
|
+
--hue-cyan: 195;
|
|
134
|
+
--hue-sky: 210;
|
|
135
|
+
--hue-blue: 245;
|
|
136
|
+
--hue-indigo: 265;
|
|
137
|
+
--hue-violet: 285;
|
|
138
|
+
--hue-purple: 300;
|
|
139
|
+
--hue-fuchsia: 320;
|
|
140
|
+
--hue-pink: 340;
|
|
141
|
+
--hue-rose: 355;
|
|
142
|
+
|
|
143
|
+
/* ========== SHADOW SYSTEM ========== */
|
|
144
|
+
/* Shadow color base using HSL format for easier adjustments */
|
|
145
|
+
--shadow-color-base: 220 10% 10%;
|
|
146
|
+
--shadow-color-dark: 220 20% 90%;
|
|
147
|
+
|
|
148
|
+
/* Light mode shadows */
|
|
149
|
+
--shadow-sm: 0 1px 2px oklch(from hsl(var(--shadow-color-base)) l c h / 7%);
|
|
150
|
+
--shadow-md: 0 4px 6px -1px oklch(from hsl(var(--shadow-color-base)) l c h / 10%),
|
|
151
|
+
0 2px 4px -2px oklch(from hsl(var(--shadow-color-base)) l c h / 10%);
|
|
152
|
+
--shadow-lg: 0 10px 15px -3px oklch(from hsl(var(--shadow-color-base)) l c h / 10%),
|
|
153
|
+
0 4px 6px -4px oklch(from hsl(var(--shadow-color-base)) l c h / 10%);
|
|
154
|
+
--shadow-xl: 0 20px 25px -5px oklch(from hsl(var(--shadow-color-base)) l c h / 10%),
|
|
155
|
+
0 8px 10px -6px oklch(from hsl(var(--shadow-color-base)) l c h / 10%);
|
|
156
|
+
--shadow-inner: inset 0 2px 4px 0 oklch(from hsl(var(--shadow-color-base)) l c h / 5%);
|
|
157
|
+
|
|
158
|
+
/* Semantic shadow assignments */
|
|
159
|
+
--shadow-button: none;
|
|
160
|
+
--shadow-button-hover: none;
|
|
161
|
+
--shadow-button-active: var(--shadow-inner);
|
|
162
|
+
--shadow-card: none;
|
|
163
|
+
--shadow-dropdown: var(--shadow-lg);
|
|
164
|
+
--shadow-modal: var(--shadow-xl);
|
|
165
|
+
--transform-button-hover: none;
|
|
166
|
+
--transform-button-active: none;
|
|
167
|
+
|
|
168
|
+
/* ========== SPACING SYSTEM ========== */
|
|
169
|
+
/* Spacing Scale */
|
|
170
|
+
--spacing-0: 0;
|
|
171
|
+
--spacing-xs: 0.25rem;
|
|
172
|
+
--spacing-sm: 0.5rem;
|
|
173
|
+
--spacing-md: 1rem;
|
|
174
|
+
--spacing-lg: 1.5rem;
|
|
175
|
+
--spacing-xl: 2rem;
|
|
176
|
+
--spacing-2xl: 2.5rem;
|
|
177
|
+
--spacing-3xl: 3rem;
|
|
178
|
+
|
|
179
|
+
/* ========== TYPOGRAPHY SYSTEM ========== */
|
|
180
|
+
/* Contextual font families */
|
|
181
|
+
--font-family-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
182
|
+
--font-family-heading: var(--font-family-body);
|
|
183
|
+
--font-family-ui: var(--font-family-body);
|
|
184
|
+
--font-family-code: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
|
|
185
|
+
|
|
186
|
+
/* Step Scale: stable body sizes, fluid display sizes */
|
|
187
|
+
--font-size-step--2: 0.75rem;
|
|
188
|
+
--font-size-step--1: 0.875rem;
|
|
189
|
+
--font-size-step-0: 1rem;
|
|
190
|
+
--font-size-step-1-min: 1.0625rem;
|
|
191
|
+
--font-size-step-1-preferred: calc(1.02rem + 0.22vw);
|
|
192
|
+
--font-size-step-1-max: 1.125rem;
|
|
193
|
+
--font-size-step-1: clamp(var(--font-size-step-1-min), var(--font-size-step-1-preferred), var(--font-size-step-1-max));
|
|
194
|
+
--font-size-step-2-min: 1.1875rem;
|
|
195
|
+
--font-size-step-2-preferred: calc(1.11rem + 0.4vw);
|
|
196
|
+
--font-size-step-2-max: 1.25rem;
|
|
197
|
+
--font-size-step-2: clamp(var(--font-size-step-2-min), var(--font-size-step-2-preferred), var(--font-size-step-2-max));
|
|
198
|
+
--font-size-step-3-min: 1.375rem;
|
|
199
|
+
--font-size-step-3-preferred: calc(1.22rem + 0.75vw);
|
|
200
|
+
--font-size-step-3-max: 1.5rem;
|
|
201
|
+
--font-size-step-3: clamp(var(--font-size-step-3-min), var(--font-size-step-3-preferred), var(--font-size-step-3-max));
|
|
202
|
+
--font-size-step-4-min: 1.625rem;
|
|
203
|
+
--font-size-step-4-preferred: calc(1.32rem + 1.25vw);
|
|
204
|
+
--font-size-step-4-max: 1.875rem;
|
|
205
|
+
--font-size-step-4: clamp(var(--font-size-step-4-min), var(--font-size-step-4-preferred), var(--font-size-step-4-max));
|
|
206
|
+
--font-size-step-5-min: 2rem;
|
|
207
|
+
--font-size-step-5-preferred: calc(1.5rem + 1.9vw);
|
|
208
|
+
--font-size-step-5-max: 2.5rem;
|
|
209
|
+
--font-size-step-5: clamp(var(--font-size-step-5-min), var(--font-size-step-5-preferred), var(--font-size-step-5-max));
|
|
210
|
+
--font-size-step-6-min: 2.5rem;
|
|
211
|
+
--font-size-step-6-preferred: calc(1.8rem + 2.8vw);
|
|
212
|
+
--font-size-step-6-max: 3.25rem;
|
|
213
|
+
--font-size-step-6: clamp(var(--font-size-step-6-min), var(--font-size-step-6-preferred), var(--font-size-step-6-max));
|
|
214
|
+
--font-size-step-7-min: 3rem;
|
|
215
|
+
--font-size-step-7-preferred: calc(2.1rem + 3.6vw);
|
|
216
|
+
--font-size-step-7-max: 4.25rem;
|
|
217
|
+
--font-size-step-7: clamp(var(--font-size-step-7-min), var(--font-size-step-7-preferred), var(--font-size-step-7-max));
|
|
218
|
+
|
|
219
|
+
/* Public Size Aliases */
|
|
220
|
+
--font-size-xs: var(--font-size-step--2);
|
|
221
|
+
--font-size-sm: var(--font-size-step--1);
|
|
222
|
+
--font-size-base: var(--font-size-step-0);
|
|
223
|
+
--font-size-lg: var(--font-size-step-1);
|
|
224
|
+
--font-size-xl: var(--font-size-step-2);
|
|
225
|
+
--font-size-2xl: var(--font-size-step-3);
|
|
226
|
+
--font-size-3xl: var(--font-size-step-4);
|
|
227
|
+
--font-size-4xl: var(--font-size-step-5);
|
|
228
|
+
--font-size-5xl: var(--font-size-step-6);
|
|
229
|
+
--font-size-6xl: var(--font-size-step-7);
|
|
230
|
+
|
|
231
|
+
/* Semantic Typography Tokens */
|
|
232
|
+
--font-size-body-sm: var(--font-size-sm);
|
|
233
|
+
--font-size-body: var(--font-size-base);
|
|
234
|
+
--font-size-body-lg: var(--font-size-lg);
|
|
235
|
+
--font-size-lead: var(--font-size-xl);
|
|
236
|
+
--font-size-small: var(--font-size-sm);
|
|
237
|
+
--font-size-caption: var(--font-size-sm);
|
|
238
|
+
--font-size-code: 0.9em;
|
|
239
|
+
|
|
240
|
+
/* Contextual typography inputs. These can be themed independently. */
|
|
241
|
+
--font-size-prose: 1rem;
|
|
242
|
+
--line-height-prose: 1.6;
|
|
243
|
+
--measure-prose: 68ch;
|
|
244
|
+
--font-size-ui: 0.875rem;
|
|
245
|
+
--line-height-ui: 1.375;
|
|
246
|
+
--font-weight-ui: 500;
|
|
247
|
+
--letter-spacing-ui: 0;
|
|
248
|
+
--font-size-control: 1rem;
|
|
249
|
+
--line-height-control: 1.5;
|
|
250
|
+
--font-size-navigation: 0.875rem;
|
|
251
|
+
--line-height-navigation: 1.375;
|
|
252
|
+
--font-size-card-title: 1.25rem;
|
|
253
|
+
--line-height-card-title: 1.2;
|
|
254
|
+
--font-size-meta: 0.875rem;
|
|
255
|
+
--line-height-meta: 1.375;
|
|
256
|
+
--font-weight-heading: 600;
|
|
257
|
+
--letter-spacing-heading: -0.015em;
|
|
258
|
+
|
|
259
|
+
--font-size-h1: var(--font-size-6xl);
|
|
260
|
+
--font-size-h2: var(--font-size-5xl);
|
|
261
|
+
--font-size-h3: var(--font-size-4xl);
|
|
262
|
+
--font-size-h4: var(--font-size-3xl);
|
|
263
|
+
--font-size-h5: var(--font-size-2xl);
|
|
264
|
+
--font-size-h6: var(--font-size-lg);
|
|
265
|
+
|
|
266
|
+
/* Font Weight Scale */
|
|
267
|
+
--font-weight-thin: 100;
|
|
268
|
+
--font-weight-extralight: 200;
|
|
269
|
+
--font-weight-light: 300;
|
|
270
|
+
--font-weight-normal: 400;
|
|
271
|
+
--font-weight-medium: 500;
|
|
272
|
+
--font-weight-semibold: 600;
|
|
273
|
+
--font-weight-bold: 700;
|
|
274
|
+
--font-weight-extrabold: 800;
|
|
275
|
+
--font-weight-black: 900;
|
|
276
|
+
|
|
277
|
+
/* Line Height Scale */
|
|
278
|
+
--line-height-none: 1;
|
|
279
|
+
--line-height-tight: 1.25;
|
|
280
|
+
--line-height-snug: 1.375;
|
|
281
|
+
--line-height-normal: 1.5;
|
|
282
|
+
--line-height-relaxed: 1.625;
|
|
283
|
+
--line-height-loose: 2;
|
|
284
|
+
|
|
285
|
+
/* Semantic Line Heights */
|
|
286
|
+
--line-height-body: 1.6;
|
|
287
|
+
--line-height-lead: 1.5;
|
|
288
|
+
--line-height-heading: 1.15;
|
|
289
|
+
--line-height-h1: 1.05;
|
|
290
|
+
--line-height-h2: 1.1;
|
|
291
|
+
--line-height-h3: 1.15;
|
|
292
|
+
--line-height-h4: 1.2;
|
|
293
|
+
--line-height-h5: 1.25;
|
|
294
|
+
--line-height-h6: 1.3;
|
|
295
|
+
|
|
296
|
+
/* Letter Spacing Scale */
|
|
297
|
+
--letter-spacing-tighter: -0.05em;
|
|
298
|
+
--letter-spacing-tight: -0.025em;
|
|
299
|
+
--letter-spacing-normal: 0;
|
|
300
|
+
--letter-spacing-wide: 0.025em;
|
|
301
|
+
--letter-spacing-wider: 0.05em;
|
|
302
|
+
--letter-spacing-widest: 0.1em;
|
|
303
|
+
|
|
304
|
+
/* Typography Measure Tokens */
|
|
305
|
+
--measure-body: 68ch;
|
|
306
|
+
--measure-heading: 18ch;
|
|
307
|
+
--measure-code: 80ch;
|
|
308
|
+
--measure-wide: 80ch;
|
|
309
|
+
|
|
310
|
+
/* Rich-content rhythm */
|
|
311
|
+
--space-flow: 1em;
|
|
312
|
+
--space-heading-top: 1.8em;
|
|
313
|
+
--space-heading-bottom: 0.65em;
|
|
314
|
+
--space-eyebrow-bottom: 0.5rem;
|
|
315
|
+
--space-rich-block: 1.5em;
|
|
316
|
+
--space-figure-caption-top: 0.5rem;
|
|
317
|
+
--space-callout-pad-x: 1rem;
|
|
318
|
+
--space-callout-pad-y: 1rem;
|
|
319
|
+
--letter-spacing-eyebrow: var(--letter-spacing-widest);
|
|
320
|
+
--prose-heading-scroll-margin: calc(var(--site-header-min-height, 0px) + var(--space-lg, 2rem));
|
|
321
|
+
--prose-link-wrap: anywhere;
|
|
322
|
+
--prose-task-gap: 0.6em;
|
|
323
|
+
--prose-task-marker-offset: 1.5em;
|
|
324
|
+
--prose-definition-gap: 0.35em;
|
|
325
|
+
--prose-footnotes-gap: 0.75em;
|
|
326
|
+
--prose-footnotes-padding-block-start: 1.5em;
|
|
327
|
+
--prose-footnotes-border: var(--border-width, 1px) solid var(--outline-subtle);
|
|
328
|
+
--prose-footnotes-font-size: var(--font-size-sm);
|
|
329
|
+
--prose-footnote-target-background: var(--highlight-bg-subtle);
|
|
330
|
+
--prose-heading-anchor-gap: 0.35em;
|
|
331
|
+
--prose-heading-anchor-opacity: 0;
|
|
332
|
+
--prose-heading-anchor-visible-opacity: 0.75;
|
|
333
|
+
--prose-quote-cite-gap: 0.75em;
|
|
334
|
+
--prose-embed-min-height: 18rem;
|
|
335
|
+
|
|
336
|
+
/* Dividers */
|
|
337
|
+
--divider-color-muted: var(--outline-muted);
|
|
338
|
+
--divider-color-subtle: var(--outline-subtle);
|
|
339
|
+
--divider-color-default: var(--outline-default, var(--outline));
|
|
340
|
+
--divider-color-overt: var(--outline-overt);
|
|
341
|
+
--divider-color-accent: var(--accent);
|
|
342
|
+
--divider-size: var(--border-width, 1px);
|
|
343
|
+
--divider-style: solid;
|
|
344
|
+
--divider-gap: var(--space-md, 1rem);
|
|
345
|
+
--divider-min-length: 1.5rem;
|
|
346
|
+
--hr-color: var(--divider-color-subtle);
|
|
347
|
+
|
|
348
|
+
/* Breadcrumbs */
|
|
349
|
+
--breadcrumbs-gap: var(--space-xs, 0.5rem);
|
|
350
|
+
--breadcrumbs-separator: "/";
|
|
351
|
+
--breadcrumbs-color: var(--text-subtle);
|
|
352
|
+
--breadcrumbs-hover-color: var(--text-overt);
|
|
353
|
+
--breadcrumbs-current-color: var(--text-default);
|
|
354
|
+
--breadcrumbs-font-size: var(--font-size-navigation, var(--font-size-sm));
|
|
355
|
+
|
|
356
|
+
/* Pagination */
|
|
357
|
+
--pagination-gap: var(--space-xs, 0.5rem);
|
|
358
|
+
--pagination-target-size: 2.75rem;
|
|
359
|
+
--pagination-padding-inline: var(--space-sm, 0.75rem);
|
|
360
|
+
--pagination-radius: var(--radius-md, 0.5rem);
|
|
361
|
+
--pagination-color: var(--text-default);
|
|
362
|
+
--pagination-background: transparent;
|
|
363
|
+
--pagination-hover-background: var(--surface-subtle);
|
|
364
|
+
--pagination-current-background: var(--accent);
|
|
365
|
+
--pagination-current-color: var(--on-accent, white);
|
|
366
|
+
--pagination-disabled-opacity: 0.5;
|
|
367
|
+
|
|
368
|
+
/* Site shell */
|
|
369
|
+
--site-header-min-height: 4rem;
|
|
370
|
+
--site-header-compact-min-height: 3rem;
|
|
371
|
+
--site-header-padding-block: var(--space-sm, 0.75rem);
|
|
372
|
+
--site-header-padding-inline: var(--space-md, 1rem);
|
|
373
|
+
--site-header-compact-padding-block: var(--space-xs, 0.5rem);
|
|
374
|
+
--site-header-gap: var(--space-lg, 1.5rem);
|
|
375
|
+
--site-header-compact-gap: var(--space-sm, 0.75rem);
|
|
376
|
+
--site-header-actions-gap: var(--space-xs, 0.5rem);
|
|
377
|
+
--site-header-brand-gap: var(--space-sm, 0.75rem);
|
|
378
|
+
--site-header-brand-font-size: var(--font-size-lg, 1.125rem);
|
|
379
|
+
--site-header-brand-font-weight: var(--font-weight-bold, 700);
|
|
380
|
+
--site-header-background: var(--surface-default);
|
|
381
|
+
--site-header-color: var(--text-default);
|
|
382
|
+
--site-header-brand-color: var(--text-overt);
|
|
383
|
+
--site-header-border: 1px solid var(--outline-subtle);
|
|
384
|
+
--site-header-shadow: var(--shadow-md, 0 0.25rem 0.75rem rgb(0 0 0 / 0.12));
|
|
385
|
+
--site-header-sticky-offset: 0;
|
|
386
|
+
--site-header-z-index: var(--z-index-50, 50);
|
|
387
|
+
|
|
388
|
+
--site-footer-padding-block: var(--space-2xl, 2.5rem);
|
|
389
|
+
--site-footer-compact-padding-block: var(--space-lg, 1.5rem);
|
|
390
|
+
--site-footer-padding-inline: var(--space-md, 1rem);
|
|
391
|
+
--site-footer-gap: var(--space-xl, 2rem);
|
|
392
|
+
--site-footer-compact-gap: var(--space-md, 1rem);
|
|
393
|
+
--site-footer-grid-gap: var(--space-xl, 2rem);
|
|
394
|
+
--site-footer-column-min: 12rem;
|
|
395
|
+
--site-footer-meta-gap: var(--space-md, 1rem);
|
|
396
|
+
--site-footer-meta-padding-block-start: var(--space-lg, 1.5rem);
|
|
397
|
+
--site-footer-background: var(--surface-subtle);
|
|
398
|
+
--site-footer-color: var(--text-default);
|
|
399
|
+
--site-footer-meta-color: var(--text-subtle);
|
|
400
|
+
--site-footer-meta-font-size: var(--font-size-meta, var(--font-size-sm, 0.875rem));
|
|
401
|
+
--site-footer-border: 1px solid var(--outline-subtle);
|
|
402
|
+
--site-footer-meta-border: 1px solid var(--outline-subtle);
|
|
403
|
+
|
|
404
|
+
/* Text Box Progressive Enhancement */
|
|
405
|
+
--text-box: normal;
|
|
406
|
+
--text-box-trim: initial;
|
|
407
|
+
--text-box-edge: auto;
|
|
408
|
+
|
|
409
|
+
--text-box-ui: trim-both cap alphabetic;
|
|
410
|
+
--text-box-trim-ui: trim-both;
|
|
411
|
+
--text-box-edge-ui: cap alphabetic;
|
|
412
|
+
|
|
413
|
+
--text-box-button: var(--text-box-ui);
|
|
414
|
+
--text-box-trim-button: var(--text-box-trim-ui);
|
|
415
|
+
--text-box-edge-button: var(--text-box-edge-ui);
|
|
416
|
+
|
|
417
|
+
--text-box-badge: var(--text-box-ui);
|
|
418
|
+
--text-box-trim-badge: var(--text-box-trim-ui);
|
|
419
|
+
--text-box-edge-badge: var(--text-box-edge-ui);
|
|
420
|
+
|
|
421
|
+
--text-box-chip: var(--text-box-ui);
|
|
422
|
+
--text-box-trim-chip: var(--text-box-trim-ui);
|
|
423
|
+
--text-box-edge-chip: var(--text-box-edge-ui);
|
|
424
|
+
|
|
425
|
+
--text-box-eyebrow: var(--text-box-ui);
|
|
426
|
+
--text-box-trim-eyebrow: var(--text-box-trim-ui);
|
|
427
|
+
--text-box-edge-eyebrow: var(--text-box-edge-ui);
|
|
428
|
+
|
|
429
|
+
--text-box-heading: normal;
|
|
430
|
+
--text-box-trim-heading: initial;
|
|
431
|
+
--text-box-edge-heading: auto;
|
|
432
|
+
|
|
433
|
+
--text-box-caption: normal;
|
|
434
|
+
--text-box-trim-caption: initial;
|
|
435
|
+
--text-box-edge-caption: auto;
|
|
436
|
+
|
|
437
|
+
/* ========== POSITIONING & LAYOUT SYSTEM ========== */
|
|
438
|
+
/* Positioning Scale */
|
|
439
|
+
--inset-0: 0;
|
|
440
|
+
--inset-xs: 0.25rem;
|
|
441
|
+
--inset-sm: 0.5rem;
|
|
442
|
+
--inset-md: 1rem;
|
|
443
|
+
|
|
444
|
+
/* Space Scale */
|
|
445
|
+
--density-factor: 1;
|
|
446
|
+
--space-xs: calc(0.5rem * var(--density-factor));
|
|
447
|
+
--space-sm: calc(0.75rem * var(--density-factor));
|
|
448
|
+
--space-md: calc(1.5rem * var(--density-factor));
|
|
449
|
+
--space-lg: calc(2rem * var(--density-factor));
|
|
450
|
+
--space-xl: calc(3rem * var(--density-factor));
|
|
451
|
+
|
|
452
|
+
/* Z-Index Scale */
|
|
453
|
+
--z-index-0: 0;
|
|
454
|
+
--z-index-10: 10;
|
|
455
|
+
--z-index-20: 20;
|
|
456
|
+
--z-index-30: 30;
|
|
457
|
+
--z-index-40: 40;
|
|
458
|
+
--z-index-50: 50;
|
|
459
|
+
--z-index-auto: auto;
|
|
460
|
+
|
|
461
|
+
/* Flex Values */
|
|
462
|
+
--flex-1: 1 1 0%;
|
|
463
|
+
--flex-auto: 1 1 auto;
|
|
464
|
+
--flex-initial: 0 1 auto;
|
|
465
|
+
--flex-none: none;
|
|
466
|
+
|
|
467
|
+
/* Grid Template Sizes */
|
|
468
|
+
--grid-cols-1: repeat(1, minmax(0, 1fr));
|
|
469
|
+
--grid-cols-2: repeat(2, minmax(0, 1fr));
|
|
470
|
+
--grid-cols-3: repeat(3, minmax(0, 1fr));
|
|
471
|
+
--grid-cols-4: repeat(4, minmax(0, 1fr));
|
|
472
|
+
--grid-cols-6: repeat(6, minmax(0, 1fr));
|
|
473
|
+
--grid-cols-12: repeat(12, minmax(0, 1fr));
|
|
474
|
+
|
|
475
|
+
/* Container Query Breakpoints */
|
|
476
|
+
--cq-bp-xs: 20em;
|
|
477
|
+
/* ~320px */
|
|
478
|
+
--cq-bp-sm: 30em;
|
|
479
|
+
/* ~480px */
|
|
480
|
+
--cq-bp-md: 45em;
|
|
481
|
+
/* ~720px */
|
|
482
|
+
--cq-bp-lg: 60em;
|
|
483
|
+
/* ~960px */
|
|
484
|
+
--cq-bp-xl: 80em;
|
|
485
|
+
/* ~1280px */
|
|
486
|
+
--cq-bp-2xl: 96em;
|
|
487
|
+
/* ~1536px */
|
|
488
|
+
}
|