@skirbi/pinta 0.0.28 → 0.0.29
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/Changes +5 -1
- package/README.md +28 -0
- package/lib/index.mjs +1 -1
- package/lib/themes/pinta.css +1141 -31
- package/package.json +5 -1
package/lib/themes/pinta.css
CHANGED
|
@@ -4,47 +4,446 @@
|
|
|
4
4
|
* SPDX-License-Identifier: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
* @skirbi
|
|
7
|
+
/**
|
|
8
|
+
* @page skirbi.pinta @skirbi/pinta
|
|
9
|
+
* @description
|
|
10
|
+
*
|
|
11
|
+
* Pinta is skirbi's theme song.
|
|
12
|
+
*
|
|
13
|
+
* It provides:
|
|
9
14
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
15
|
+
* - opt-in theme activation through `[skirbi-theme]`
|
|
16
|
+
* - stable cascade layers
|
|
17
|
+
* - theme tokens and derivations
|
|
18
|
+
* - final page and surface tokens
|
|
19
|
+
* - light Semtic component recipes
|
|
20
|
+
* - styling for [@skirbi/semtic](https://www.npmjs.com/package/@skirbi/semtic)
|
|
21
|
+
* components
|
|
12
22
|
*
|
|
13
|
-
*
|
|
14
|
-
* - This file does nothing unless `[skirbi-theme]` is present.
|
|
15
|
-
* - `[skirbi-theme]` enables the engine (tokens + derivations + component
|
|
16
|
-
* recipes).
|
|
17
|
-
* - Theme authors can override any knob in `@layer theme`.
|
|
23
|
+
* Pinta is CSS-only. There is no runtime JavaScript.
|
|
18
24
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* override.
|
|
25
|
+
* Pinta is not a utility framework, a Tailwind replacement, a Bootstrap clone,
|
|
26
|
+
* or a layout engine. You can use tailwind and pinta in the same project.
|
|
22
27
|
*
|
|
23
|
-
*
|
|
24
|
-
* - skirbi-base: opt-in gated structural + accessibility defaults
|
|
25
|
-
* - skirbi-theme: pinta defaults (palette + pointers + knob defaults) +
|
|
26
|
-
* theme author overrides
|
|
27
|
-
* - skirbi-transform: final derived tokens from theme values
|
|
28
|
-
* - skirbi-components: light defaults for semantic elements
|
|
29
|
-
* - skirbi-app: your application overrides. Always comes last.
|
|
28
|
+
* ## Contract
|
|
30
29
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* Pinta follows the 80% rule: sensible defaults, clean tokens,
|
|
31
|
+
* predictable recipes, and easy overrides with normal CSS.
|
|
33
32
|
*
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @page pinta.layers Layers
|
|
37
|
+
* @parent skirbi.pinta 0
|
|
38
|
+
* @description
|
|
39
|
+
* Pinta defines a stable layer order so downstream themes and apps can
|
|
40
|
+
* predictably override the defaults.
|
|
41
|
+
*
|
|
42
|
+
* ```css
|
|
43
|
+
* @@layer skirbi-base, skirbi-theme, skirbi-transform, skirbi-components,
|
|
44
|
+
* skirbi-app;
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* Layer contract:
|
|
48
|
+
*
|
|
49
|
+
* | Layer | Purpose |
|
|
50
|
+
* | --- | --- |
|
|
51
|
+
* | `skirbi-base` | Opt-in gated structural, typography, and accessibility defaults. |
|
|
52
|
+
* | `skirbi-theme` | Pinta defaults and theme-author overrides. |
|
|
53
|
+
* | `skirbi-transform` | Derived colors and final tokens. |
|
|
54
|
+
* | `skirbi-components` | Light recipes for Semtic elements. |
|
|
55
|
+
* | `skirbi-app` | Application overrides. Always comes last. |
|
|
56
|
+
*/
|
|
38
57
|
|
|
39
58
|
@layer skirbi-base, skirbi-theme, skirbi-transform, skirbi-components,
|
|
40
59
|
skirbi-app;
|
|
41
60
|
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @styles pinta.skirbi-theme @@skirbi-theme
|
|
64
|
+
* @description
|
|
65
|
+
*
|
|
66
|
+
* The `skirbi-theme` cascade layer contains Pinta's default theme contract.
|
|
67
|
+
*
|
|
68
|
+
* This layer is where Pinta defines the default knobs for:
|
|
69
|
+
*
|
|
70
|
+
* - foreground helpers
|
|
71
|
+
* - color families
|
|
72
|
+
* - background transforms
|
|
73
|
+
* - page and surface sources
|
|
74
|
+
* - motion
|
|
75
|
+
* - typography
|
|
76
|
+
* - terminal accents
|
|
77
|
+
* - button recipes
|
|
78
|
+
* - status colors
|
|
79
|
+
* - dark-mode defaults
|
|
80
|
+
*
|
|
81
|
+
* Theme authors should override these values in their own CSS inside the same
|
|
82
|
+
* cascade layer.
|
|
83
|
+
*
|
|
84
|
+
* @codestart css
|
|
85
|
+
* @@layer skirbi-theme {
|
|
86
|
+
* [skirbi-theme="client"] {
|
|
87
|
+
* --skirbi-primary-main: #355c7d;
|
|
88
|
+
* --skirbi-secondary-main: #00c9b5;
|
|
89
|
+
* }
|
|
90
|
+
* }
|
|
91
|
+
* @codeend
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @styles pinta.skirbi-theme-tokens @@skirbi-theme tokens
|
|
96
|
+
* @description
|
|
97
|
+
*
|
|
98
|
+
* Public tokens defined by the `skirbi-theme` cascade layer.
|
|
99
|
+
*
|
|
100
|
+
* These are the knobs theme authors are expected to override first.
|
|
101
|
+
* Derived and final tokens may exist elsewhere, but this page focuses on the
|
|
102
|
+
* defaults provided by the theme layer itself.
|
|
103
|
+
*
|
|
104
|
+
* ## Foreground helpers
|
|
105
|
+
*
|
|
106
|
+
* - `--skirbi-on-dark`
|
|
107
|
+
* - Default: `#ffffff`
|
|
108
|
+
* - Foreground helper for dark surfaces.
|
|
109
|
+
* - `--skirbi-on-light`
|
|
110
|
+
* - Default: `#0f172a`
|
|
111
|
+
* - Foreground helper for light surfaces.
|
|
112
|
+
*
|
|
113
|
+
* ## Color families
|
|
114
|
+
*
|
|
115
|
+
* - `--skirbi-primary-main`
|
|
116
|
+
* - Default: `#0f172a`
|
|
117
|
+
* - Primary brand color.
|
|
118
|
+
* - `--skirbi-primary-soft`
|
|
119
|
+
* - Default: derived from `--skirbi-primary-main`.
|
|
120
|
+
* - Softer primary value.
|
|
121
|
+
* - `--skirbi-primary-strong`
|
|
122
|
+
* - Default: derived from `--skirbi-primary-main`.
|
|
123
|
+
* - Stronger primary value.
|
|
124
|
+
* - `--skirbi-primary-contrast`
|
|
125
|
+
* - Default: `var(--skirbi-on-dark)`.
|
|
126
|
+
* - Foreground used on primary surfaces.
|
|
127
|
+
* - `--skirbi-secondary-main`
|
|
128
|
+
* - Default: `#06b6d4`
|
|
129
|
+
* - Secondary brand or accent color.
|
|
130
|
+
* - `--skirbi-secondary-soft`
|
|
131
|
+
* - Default: derived from `--skirbi-secondary-main`.
|
|
132
|
+
* - Softer secondary value.
|
|
133
|
+
* - `--skirbi-secondary-strong`
|
|
134
|
+
* - Default: derived from `--skirbi-secondary-main`.
|
|
135
|
+
* - Stronger secondary value.
|
|
136
|
+
* - `--skirbi-secondary-contrast`
|
|
137
|
+
* - Default: `var(--skirbi-on-dark)`.
|
|
138
|
+
* - Foreground used on secondary surfaces.
|
|
139
|
+
* - `--skirbi-tertiary-main`
|
|
140
|
+
* - Default: `#f8fafc`
|
|
141
|
+
* - Supporting surface/helper color.
|
|
142
|
+
* - `--skirbi-tertiary-soft`
|
|
143
|
+
* - Default: derived from `--skirbi-tertiary-main`.
|
|
144
|
+
* - Softer tertiary value.
|
|
145
|
+
* - `--skirbi-tertiary-strong`
|
|
146
|
+
* - Default: derived from `--skirbi-tertiary-main`.
|
|
147
|
+
* - Stronger tertiary value.
|
|
148
|
+
* - `--skirbi-tertiary-contrast`
|
|
149
|
+
* - Default: `var(--skirbi-on-light)`.
|
|
150
|
+
* - Foreground used on tertiary surfaces.
|
|
151
|
+
* - `--skirbi-quaternary-main`
|
|
152
|
+
* - Default: `#475569`
|
|
153
|
+
* - Supporting muted/helper color.
|
|
154
|
+
* - `--skirbi-quaternary-soft`
|
|
155
|
+
* - Default: derived from `--skirbi-quaternary-main`.
|
|
156
|
+
* - Softer quaternary value.
|
|
157
|
+
* - `--skirbi-quaternary-strong`
|
|
158
|
+
* - Default: derived from `--skirbi-quaternary-main`.
|
|
159
|
+
* - Stronger quaternary value.
|
|
160
|
+
* - `--skirbi-quaternary-contrast`
|
|
161
|
+
* - Default: `var(--skirbi-on-dark)`.
|
|
162
|
+
* - Foreground used on quaternary surfaces.
|
|
163
|
+
*
|
|
164
|
+
* ## Deprecated aliases
|
|
165
|
+
*
|
|
166
|
+
* These aliases are kept for compatibility. New themes should prefer `soft`
|
|
167
|
+
* and `strong`.
|
|
168
|
+
*
|
|
169
|
+
* - `--skirbi-primary-light`
|
|
170
|
+
* - Alias for `--skirbi-primary-soft`.
|
|
171
|
+
* - `--skirbi-primary-dark`
|
|
172
|
+
* - Alias for `--skirbi-primary-strong`.
|
|
173
|
+
* - `--skirbi-secondary-light`
|
|
174
|
+
* - Alias for `--skirbi-secondary-soft`.
|
|
175
|
+
* - `--skirbi-secondary-dark`
|
|
176
|
+
* - Alias for `--skirbi-secondary-strong`.
|
|
177
|
+
* - `--skirbi-tertiary-light`
|
|
178
|
+
* - Alias for `--skirbi-tertiary-soft`.
|
|
179
|
+
* - `--skirbi-tertiary-dark`
|
|
180
|
+
* - Alias for `--skirbi-tertiary-strong`.
|
|
181
|
+
* - `--skirbi-quaternary-light`
|
|
182
|
+
* - Alias for `--skirbi-quaternary-soft`.
|
|
183
|
+
* - `--skirbi-quaternary-dark`
|
|
184
|
+
* - Alias for `--skirbi-quaternary-strong`.
|
|
185
|
+
*
|
|
186
|
+
* ## Background transforms
|
|
187
|
+
*
|
|
188
|
+
* - `--skirbi-bg-transform`
|
|
189
|
+
* - Default: `wash`.
|
|
190
|
+
* - Background transform mode.
|
|
191
|
+
* - `--skirbi-wash-perc`
|
|
192
|
+
* - Default: `8%`.
|
|
193
|
+
* - Percentage used for calm page washes.
|
|
194
|
+
* - `--skirbi-reverse-wash-perc`
|
|
195
|
+
* - Default: `85%`.
|
|
196
|
+
* - Percentage used for stronger reverse washes.
|
|
197
|
+
* - `--skirbi-bg-transform-perc`
|
|
198
|
+
* - Default: `var(--skirbi-wash-perc)`.
|
|
199
|
+
* - Active transform percentage consumed by the transform layer.
|
|
200
|
+
*
|
|
201
|
+
* ## Environment and canvas
|
|
202
|
+
*
|
|
203
|
+
* - `--skirbi-theme-mode`
|
|
204
|
+
* - Default: `light`.
|
|
205
|
+
* - Current theme mode marker.
|
|
206
|
+
* - `--skirbi-page-bg-source`
|
|
207
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
208
|
+
* - Source color for the page background derivation.
|
|
209
|
+
* - `--skirbi-page-fg`
|
|
210
|
+
* - Default: `var(--skirbi-on-light)`.
|
|
211
|
+
* - Page foreground color.
|
|
212
|
+
* - `--skirbi-surface-bg-source`
|
|
213
|
+
* - Default: `var(--skirbi-tertiary-main)`.
|
|
214
|
+
* - Source color for surface derivations.
|
|
215
|
+
* - `--skirbi-surface-fg`
|
|
216
|
+
* - Default: `var(--skirbi-on-light)`.
|
|
217
|
+
* - Surface foreground color.
|
|
218
|
+
*
|
|
219
|
+
* ## Surface derivation knobs
|
|
220
|
+
*
|
|
221
|
+
* - `--skirbi-surface-lift`
|
|
222
|
+
* - Default: `8%`.
|
|
223
|
+
* - Amount used to lift surface backgrounds from their source.
|
|
224
|
+
* - `--skirbi-border-lift`
|
|
225
|
+
* - Default: `12%`.
|
|
226
|
+
* - Amount used to derive surface borders.
|
|
227
|
+
* - `--skirbi-muted-lift`
|
|
228
|
+
* - Default: `40%`.
|
|
229
|
+
* - Amount used to derive muted text.
|
|
230
|
+
*
|
|
231
|
+
* ## Motion
|
|
232
|
+
*
|
|
233
|
+
* - `--skirbi-transition-duration`
|
|
234
|
+
* - Default: `180ms`.
|
|
235
|
+
* - Default transition duration.
|
|
236
|
+
* - `--skirbi-transform-duration`
|
|
237
|
+
* - Default: `140ms`.
|
|
238
|
+
* - Default transform transition duration.
|
|
239
|
+
* - `--skirbi-transition-ease`
|
|
240
|
+
* - Default: `cubic-bezier(0.4, 0, 0.2, 1)`.
|
|
241
|
+
* - Default easing curve.
|
|
242
|
+
*
|
|
243
|
+
* ## Typography
|
|
244
|
+
*
|
|
245
|
+
* - `--skirbi-font-sans`
|
|
246
|
+
* - Default: system sans-serif stack.
|
|
247
|
+
* - Default sans font family.
|
|
248
|
+
* - `--skirbi-font-mono`
|
|
249
|
+
* - Default: system monospace stack.
|
|
250
|
+
* - Default monospace font family.
|
|
251
|
+
* - `--skirbi-font-scale`
|
|
252
|
+
* - Default: `1.125`.
|
|
253
|
+
* - Base font scale multiplier.
|
|
254
|
+
* - `--skirbi-line-height`
|
|
255
|
+
* - Default: `1.7`.
|
|
256
|
+
* - Base line-height.
|
|
257
|
+
* - `--skirbi-h1-scale`
|
|
258
|
+
* - Default: `2.5`.
|
|
259
|
+
* - Heading level 1 scale.
|
|
260
|
+
* - `--skirbi-h2-scale`
|
|
261
|
+
* - Default: `1.875`.
|
|
262
|
+
* - Heading level 2 scale.
|
|
263
|
+
* - `--skirbi-h3-scale`
|
|
264
|
+
* - Default: `1.5`.
|
|
265
|
+
* - Heading level 3 scale.
|
|
266
|
+
* - `--skirbi-h4-scale`
|
|
267
|
+
* - Default: `1.25`.
|
|
268
|
+
* - Heading level 4 scale.
|
|
269
|
+
* - `--skirbi-prose-gap`
|
|
270
|
+
* - Default: `1.25rem`.
|
|
271
|
+
* - Default vertical rhythm for prose.
|
|
272
|
+
* - `--skirbi-heading-line-height`
|
|
273
|
+
* - Default: `1.2`.
|
|
274
|
+
* - Heading line-height.
|
|
275
|
+
* - `--skirbi-heading-tracking`
|
|
276
|
+
* - Default: `-0.01em`.
|
|
277
|
+
* - Heading letter spacing.
|
|
278
|
+
*
|
|
279
|
+
* ## Terminal accents
|
|
280
|
+
*
|
|
281
|
+
* - `--skirbi-terminal-dot-close`
|
|
282
|
+
* - Default: `#e27878`.
|
|
283
|
+
* - Close dot color for macOS-style terminals.
|
|
284
|
+
* - `--skirbi-terminal-dot-minimize`
|
|
285
|
+
* - Default: `#e2a478`.
|
|
286
|
+
* - Minimize dot color for macOS-style terminals.
|
|
287
|
+
* - `--skirbi-terminal-dot-maximize`
|
|
288
|
+
* - Default: `#b4be82`.
|
|
289
|
+
* - Maximize dot color for macOS-style terminals.
|
|
290
|
+
*
|
|
291
|
+
* ## Buttons
|
|
292
|
+
*
|
|
293
|
+
* - `--skirbi-button-radius`
|
|
294
|
+
* - Default: `999px`.
|
|
295
|
+
* - Default button radius.
|
|
296
|
+
* - `--skirbi-button-font-family`
|
|
297
|
+
* - Default: `inherit`.
|
|
298
|
+
* - Default button font family.
|
|
299
|
+
* - `--skirbi-button-lead-bg`
|
|
300
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
301
|
+
* - Lead button background.
|
|
302
|
+
* - `--skirbi-button-lead-color`
|
|
303
|
+
* - Default: `var(--skirbi-primary-contrast)`.
|
|
304
|
+
* - Lead button foreground.
|
|
305
|
+
* - `--skirbi-button-lead-hover-bg`
|
|
306
|
+
* - Default: `var(--skirbi-secondary-main)`.
|
|
307
|
+
* - Lead button hover background.
|
|
308
|
+
* - `--skirbi-button-lead-hover-color`
|
|
309
|
+
* - Default: `var(--skirbi-secondary-contrast)`.
|
|
310
|
+
* - Lead button hover foreground.
|
|
311
|
+
* - `--skirbi-button-support-bg`
|
|
312
|
+
* - Default: `transparent`.
|
|
313
|
+
* - Support button background.
|
|
314
|
+
* - `--skirbi-button-support-color`
|
|
315
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
316
|
+
* - Support button foreground.
|
|
317
|
+
* - `--skirbi-button-support-border`
|
|
318
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
319
|
+
* - Support button border.
|
|
320
|
+
* - `--skirbi-button-support-hover-bg`
|
|
321
|
+
* - Default: subtle primary mix.
|
|
322
|
+
* - Support button hover background.
|
|
323
|
+
* - `--skirbi-button-support-hover-color`
|
|
324
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
325
|
+
* - Support button hover foreground.
|
|
326
|
+
* - `--skirbi-button-extra-bg`
|
|
327
|
+
* - Default: `transparent`.
|
|
328
|
+
* - Extra button background.
|
|
329
|
+
* - `--skirbi-button-extra-color`
|
|
330
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
331
|
+
* - Extra button foreground.
|
|
332
|
+
* - `--skirbi-button-extra-border`
|
|
333
|
+
* - Default: `var(--skirbi-surface-border-final)`.
|
|
334
|
+
* - Extra button border.
|
|
335
|
+
* - `--skirbi-button-extra-hover-bg`
|
|
336
|
+
* - Default: subtle primary mix.
|
|
337
|
+
* - Extra button hover background.
|
|
338
|
+
* - `--skirbi-button-extra-hover-color`
|
|
339
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
340
|
+
* - Extra button hover foreground.
|
|
341
|
+
* - `--skirbi-button-extra-hover-border`
|
|
342
|
+
* - Default: `var(--skirbi-primary-main)`.
|
|
343
|
+
* - Extra button hover border.
|
|
344
|
+
* - `--skirbi-button-antagonist-bg`
|
|
345
|
+
* - Default: `transparent`.
|
|
346
|
+
* - Antagonist button background.
|
|
347
|
+
* - `--skirbi-button-antagonist-color`
|
|
348
|
+
* - Default: `var(--skirbi-error-base, #b91c1c)`.
|
|
349
|
+
* - Antagonist button foreground.
|
|
350
|
+
* - `--skirbi-button-antagonist-border`
|
|
351
|
+
* - Default: `var(--skirbi-error-base, #b91c1c)`.
|
|
352
|
+
* - Antagonist button border.
|
|
353
|
+
* - `--skirbi-button-antagonist-hover-bg`
|
|
354
|
+
* - Default: subtle error mix.
|
|
355
|
+
* - Antagonist button hover background.
|
|
356
|
+
* - `--skirbi-button-antagonist-hover-color`
|
|
357
|
+
* - Default: `var(--skirbi-error-base, #b91c1c)`.
|
|
358
|
+
* - Antagonist button hover foreground.
|
|
359
|
+
* - `--skirbi-button-antagonist-strong-bg`
|
|
360
|
+
* - Default: `var(--skirbi-error-base, #b91c1c)`.
|
|
361
|
+
* - Strong antagonist button background.
|
|
362
|
+
* - `--skirbi-button-herald-bg`
|
|
363
|
+
* - Default: `transparent`.
|
|
364
|
+
* - Herald button background.
|
|
365
|
+
* - `--skirbi-button-herald-color`
|
|
366
|
+
* - Default: `var(--skirbi-warn-base, #d97706)`.
|
|
367
|
+
* - Herald button foreground.
|
|
368
|
+
* - `--skirbi-button-herald-border`
|
|
369
|
+
* - Default: `var(--skirbi-warn-base, #d97706)`.
|
|
370
|
+
* - Herald button border.
|
|
371
|
+
* - `--skirbi-button-herald-hover-bg`
|
|
372
|
+
* - Default: subtle warning mix.
|
|
373
|
+
* - Herald button hover background.
|
|
374
|
+
* - `--skirbi-button-herald-hover-color`
|
|
375
|
+
* - Default: `var(--skirbi-warn-base, #d97706)`.
|
|
376
|
+
* - Herald button hover foreground.
|
|
377
|
+
* - `--skirbi-button-herald-strong-bg`
|
|
378
|
+
* - Default: `var(--skirbi-warn-base, #d97706)`.
|
|
379
|
+
* - Strong herald button background.
|
|
380
|
+
*
|
|
381
|
+
* ## Status colors
|
|
382
|
+
*
|
|
383
|
+
* Status colors are semantic, not branding.
|
|
384
|
+
*
|
|
385
|
+
* - `--skirbi-info-base`
|
|
386
|
+
* - Default: `#2f6fed`.
|
|
387
|
+
* - Informational status color.
|
|
388
|
+
* - `--skirbi-success-base`
|
|
389
|
+
* - Default: `#0f766e`.
|
|
390
|
+
* - Success status color.
|
|
391
|
+
* - `--skirbi-warn-base`
|
|
392
|
+
* - Default: `#d97706`.
|
|
393
|
+
* - Warning status color.
|
|
394
|
+
* - `--skirbi-error-base`
|
|
395
|
+
* - Default: `#b91c1c`.
|
|
396
|
+
* - Error status color.
|
|
397
|
+
*
|
|
398
|
+
* ## Dark-mode overrides
|
|
399
|
+
*
|
|
400
|
+
* These values are applied by `[skirbi-theme][skirbi-theme-mode="dark"]`.
|
|
401
|
+
*
|
|
402
|
+
* - `--skirbi-theme-mode`
|
|
403
|
+
* - Dark value: `dark`.
|
|
404
|
+
* - `--skirbi-env-base`
|
|
405
|
+
* - Dark value: `black`.
|
|
406
|
+
* - `--skirbi-page-bg-source`
|
|
407
|
+
* - Dark value: `var(--skirbi-primary-main)`.
|
|
408
|
+
* - `--skirbi-page-fg`
|
|
409
|
+
* - Dark value: `var(--skirbi-primary-contrast)`.
|
|
410
|
+
* - `--skirbi-surface-bg-source`
|
|
411
|
+
* - Dark value: `var(--skirbi-secondary-main)`.
|
|
412
|
+
* - `--skirbi-surface-fg`
|
|
413
|
+
* - Dark value: `var(--skirbi-secondary-contrast)`.
|
|
414
|
+
* - `--skirbi-surface-lift`
|
|
415
|
+
* - Dark value: `12%`.
|
|
416
|
+
* - `--skirbi-border-lift`
|
|
417
|
+
* - Dark value: `18%`.
|
|
418
|
+
*/
|
|
419
|
+
|
|
42
420
|
@layer skirbi-theme {
|
|
43
|
-
|
|
421
|
+
/**
|
|
422
|
+
* @styles pinta.theme-defaults Theme defaults
|
|
423
|
+
* @description
|
|
424
|
+
*
|
|
425
|
+
* Default Pinta theme values.
|
|
426
|
+
*
|
|
427
|
+
* Everything in this section is a default for the default theme only.
|
|
428
|
+
* Theme authors should override these values in the `skirbi-theme` cascade layer.
|
|
429
|
+
*
|
|
430
|
+
* ```css
|
|
431
|
+
* @@layer skirbi-theme {
|
|
432
|
+
* [skirbi-theme="client"] {
|
|
433
|
+
* --skirbi-primary-main: #355c7d;
|
|
434
|
+
* --skirbi-secondary-main: #00c9b5;
|
|
435
|
+
* --skirbi-tertiary-main: #ffecb3;
|
|
436
|
+
* --skirbi-quaternary-main: #0b1b3a;
|
|
437
|
+
* }
|
|
438
|
+
* }
|
|
439
|
+
* ```
|
|
440
|
+
*/
|
|
441
|
+
|
|
442
|
+
/*
|
|
44
443
|
* PINTA DEFAULTS (SHOWCASE)
|
|
45
444
|
*
|
|
46
445
|
* Everything below is a default for the default theme only.
|
|
47
|
-
* Theme authors override these in their own CSS in
|
|
446
|
+
* Theme authors override these in their own CSS in the `skirbi-theme` cascade layer.
|
|
48
447
|
*
|
|
49
448
|
* Where pinta is the default theme, authors are encouraged to create a
|
|
50
449
|
* separate theme:
|
|
@@ -65,7 +464,47 @@
|
|
|
65
464
|
* In your own css file.
|
|
66
465
|
*/
|
|
67
466
|
|
|
467
|
+
/**
|
|
468
|
+
* @styles pinta.theme-activation Theme activation
|
|
469
|
+
* @description
|
|
470
|
+
*
|
|
471
|
+
* Pinta is explicit opt-in.
|
|
472
|
+
*
|
|
473
|
+
* Nothing happens unless `[skirbi-theme]` exists.
|
|
474
|
+
*
|
|
475
|
+
* Examples:
|
|
476
|
+
*
|
|
477
|
+
* - Whole page: `html` with `skirbi-theme`
|
|
478
|
+
* - Subtree: `section` with `skirbi-theme`
|
|
479
|
+
* - Named theme: `html` with `skirbi-theme="client"`
|
|
480
|
+
*
|
|
481
|
+
* The attribute enables the token engine, transforms, and component recipes
|
|
482
|
+
* for the selected element or subtree.
|
|
483
|
+
*/
|
|
484
|
+
|
|
68
485
|
[skirbi-theme] {
|
|
486
|
+
/**
|
|
487
|
+
* @styles pinta.color-families Color families
|
|
488
|
+
* @description
|
|
489
|
+
*
|
|
490
|
+
* Pinta uses color families instead of loose palette slots.
|
|
491
|
+
*
|
|
492
|
+
* Theme authors usually only need to override the `*-main` values. Soft,
|
|
493
|
+
* strong, and contrast values are derived from those main colors by default.
|
|
494
|
+
*
|
|
495
|
+
* | Token | Purpose |
|
|
496
|
+
* | --- | --- |
|
|
497
|
+
* | `--skirbi-primary-main` | Primary brand color. |
|
|
498
|
+
* | `--skirbi-primary-soft` | Softer primary value. |
|
|
499
|
+
* | `--skirbi-primary-strong` | Stronger primary value. |
|
|
500
|
+
* | `--skirbi-primary-contrast` | Text color for primary surfaces. |
|
|
501
|
+
* | `--skirbi-secondary-main` | Secondary brand/accent color. |
|
|
502
|
+
* | `--skirbi-tertiary-main` | Supporting surface/helper color. |
|
|
503
|
+
* | `--skirbi-quaternary-main` | Supporting muted/helper color. |
|
|
504
|
+
* | `--skirbi-on-dark` | Foreground helper for dark surfaces. |
|
|
505
|
+
* | `--skirbi-on-light` | Foreground helper for light surfaces. |
|
|
506
|
+
*/
|
|
507
|
+
|
|
69
508
|
/* Foreground helpers */
|
|
70
509
|
--skirbi-on-dark: #ffffff;
|
|
71
510
|
--skirbi-on-light: #0f172a;
|
|
@@ -110,6 +549,23 @@
|
|
|
110
549
|
--skirbi-quaternary-light: var(--skirbi-quaternary-soft);
|
|
111
550
|
--skirbi-quaternary-dark: var(--skirbi-quaternary-strong);
|
|
112
551
|
|
|
552
|
+
/**
|
|
553
|
+
* @styles pinta.background-transforms Background transforms
|
|
554
|
+
* @description
|
|
555
|
+
*
|
|
556
|
+
* Pinta derives atmospheric backgrounds from brand colors.
|
|
557
|
+
*
|
|
558
|
+
* The background transform controls how strongly page colors are mixed with
|
|
559
|
+
* the current environment color.
|
|
560
|
+
*
|
|
561
|
+
* | Token | Purpose |
|
|
562
|
+
* | --- | --- |
|
|
563
|
+
* | `--skirbi-bg-transform` | Transform mode: `none`, `wash`, or `reverse-wash`. |
|
|
564
|
+
* | `--skirbi-wash-perc` | Percentage used for calm page washes. |
|
|
565
|
+
* | `--skirbi-reverse-wash-perc` | Percentage used for stronger reverse washes. |
|
|
566
|
+
* | `--skirbi-bg-transform-perc` | Active transform percentage used by the transform layer. |
|
|
567
|
+
*/
|
|
568
|
+
|
|
113
569
|
/* Background transforms */
|
|
114
570
|
--skirbi-bg-transform: wash;
|
|
115
571
|
--skirbi-wash-perc: 8%;
|
|
@@ -119,6 +575,27 @@
|
|
|
119
575
|
/* Environment knobs */
|
|
120
576
|
--skirbi-theme-mode: light;
|
|
121
577
|
|
|
578
|
+
/**
|
|
579
|
+
* @styles pinta.surface-tokens Page and surface tokens
|
|
580
|
+
* @description
|
|
581
|
+
*
|
|
582
|
+
* Page and surface tokens define the main visual canvas.
|
|
583
|
+
*
|
|
584
|
+
* Source tokens are chosen by the theme. The transform layer derives the
|
|
585
|
+
* final tokens used by recipes and base styling.
|
|
586
|
+
*
|
|
587
|
+
* | Source token | Final token |
|
|
588
|
+
* | --- | --- |
|
|
589
|
+
* | `--skirbi-page-bg-source` | `--skirbi-page-bg-final` |
|
|
590
|
+
* | `--skirbi-surface-bg-source` | `--skirbi-surface-bg-final` |
|
|
591
|
+
* | `--skirbi-surface-bg-source` | `--skirbi-surface-bg-elevated-final` |
|
|
592
|
+
* | `--skirbi-surface-bg-source` | `--skirbi-surface-border-final` |
|
|
593
|
+
* | `--skirbi-page-fg` | `--skirbi-text-muted-final` |
|
|
594
|
+
*
|
|
595
|
+
* Theme authors may override the final tokens directly when derivation is
|
|
596
|
+
* not enough.
|
|
597
|
+
*/
|
|
598
|
+
|
|
122
599
|
/* Page defaults */
|
|
123
600
|
--skirbi-page-bg-source: var(--skirbi-primary-main);
|
|
124
601
|
--skirbi-page-fg: var(--skirbi-on-light);
|
|
@@ -137,6 +614,27 @@
|
|
|
137
614
|
--skirbi-transform-duration: 140ms;
|
|
138
615
|
--skirbi-transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
|
|
139
616
|
|
|
617
|
+
/**
|
|
618
|
+
* @styles pinta.typography Typography tokens
|
|
619
|
+
* @description
|
|
620
|
+
*
|
|
621
|
+
* Typography is token-driven and only applies inside `[skirbi-theme]`.
|
|
622
|
+
*
|
|
623
|
+
* | Token | Purpose |
|
|
624
|
+
* | --- | --- |
|
|
625
|
+
* | `--skirbi-font-sans` | Default sans-serif font stack. |
|
|
626
|
+
* | `--skirbi-font-mono` | Default monospace font stack. |
|
|
627
|
+
* | `--skirbi-font-scale` | Base font scale multiplier. |
|
|
628
|
+
* | `--skirbi-line-height` | Base line-height. |
|
|
629
|
+
* | `--skirbi-h1-scale` | Heading level 1 scale. |
|
|
630
|
+
* | `--skirbi-h2-scale` | Heading level 2 scale. |
|
|
631
|
+
* | `--skirbi-h3-scale` | Heading level 3 scale. |
|
|
632
|
+
* | `--skirbi-h4-scale` | Heading level 4 scale. |
|
|
633
|
+
* | `--skirbi-prose-gap` | Default block rhythm for prose. |
|
|
634
|
+
* | `--skirbi-heading-line-height` | Heading line-height. |
|
|
635
|
+
* | `--skirbi-heading-tracking` | Heading letter spacing. |
|
|
636
|
+
*/
|
|
637
|
+
|
|
140
638
|
/* Typography knobs */
|
|
141
639
|
--skirbi-font-sans: ui-sans-serif, system-ui, -apple-system,
|
|
142
640
|
"Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji",
|
|
@@ -161,11 +659,38 @@
|
|
|
161
659
|
--skirbi-h4-scale: 1.1;
|
|
162
660
|
}
|
|
163
661
|
|
|
662
|
+
|
|
663
|
+
/* Triptych layout */
|
|
664
|
+
--skirbi-triptych-content: 110ch;
|
|
665
|
+
--skirbi-triptych-aside: 16rem;
|
|
666
|
+
--skirbi-triptych-gap: clamp(1rem, 2vw, 2rem);
|
|
667
|
+
--skirbi-triptych-edge: clamp(1rem, 3vw, 2rem);
|
|
668
|
+
|
|
164
669
|
/* Only in use when terminal-style=macos */
|
|
165
670
|
--skirbi-terminal-dot-close: #e27878;
|
|
166
671
|
--skirbi-terminal-dot-minimize: #e2a478;
|
|
167
672
|
--skirbi-terminal-dot-maximize: #b4be82;
|
|
168
673
|
|
|
674
|
+
/**
|
|
675
|
+
* @styles pinta.button-tokens Button tokens
|
|
676
|
+
* @description
|
|
677
|
+
*
|
|
678
|
+
* Button tokens style native buttons and semantic button-like anchors.
|
|
679
|
+
*
|
|
680
|
+
* The semantic variants are:
|
|
681
|
+
*
|
|
682
|
+
* | Variant | Purpose |
|
|
683
|
+
* | --- | --- |
|
|
684
|
+
* | `[lead]` | Primary action. |
|
|
685
|
+
* | `[support]` | Secondary/supporting action. |
|
|
686
|
+
* | `[extra]` | Low-emphasis extra action. |
|
|
687
|
+
* | `[antagonist]` | Destructive or dangerous action. |
|
|
688
|
+
* | `[herald]` | Warning or attention action. |
|
|
689
|
+
*
|
|
690
|
+
* Use normal CSS for one-off button composition. Keep these tokens for theme
|
|
691
|
+
* level behavior.
|
|
692
|
+
*/
|
|
693
|
+
|
|
169
694
|
/* Button knobs */
|
|
170
695
|
--skirbi-button-radius: 999px;
|
|
171
696
|
--skirbi-button-font-family: inherit;
|
|
@@ -207,7 +732,28 @@
|
|
|
207
732
|
--skirbi-button-herald-hover-color: var(--skirbi-warn-base, #d97706);
|
|
208
733
|
--skirbi-button-herald-strong-bg: var(--skirbi-warn-base, #d97706);
|
|
209
734
|
|
|
210
|
-
|
|
735
|
+
/**
|
|
736
|
+
* @styles pinta.status-colors Status colors
|
|
737
|
+
* @description
|
|
738
|
+
*
|
|
739
|
+
* Status colors are semantic, not branding.
|
|
740
|
+
*
|
|
741
|
+
* They are chosen for readability, contrast, and colorblind resilience.
|
|
742
|
+
* Brand identity belongs in primary, secondary, tertiary, and quaternary
|
|
743
|
+
* families.
|
|
744
|
+
*
|
|
745
|
+
* | Token | Purpose |
|
|
746
|
+
* | --- | --- |
|
|
747
|
+
* | `--skirbi-info-base` | Informational state. |
|
|
748
|
+
* | `--skirbi-success-base` | Success state. |
|
|
749
|
+
* | `--skirbi-warn-base` | Warning state. |
|
|
750
|
+
* | `--skirbi-error-base` | Error/destructive state. |
|
|
751
|
+
*
|
|
752
|
+
* Do not override these casually. If you do, test contrast and colorblind
|
|
753
|
+
* simulations.
|
|
754
|
+
*/
|
|
755
|
+
|
|
756
|
+
/*
|
|
211
757
|
* STATUS COLOR CONTRACT
|
|
212
758
|
*
|
|
213
759
|
* Status colors are intentionally opinionated and semantic.
|
|
@@ -229,6 +775,20 @@
|
|
|
229
775
|
*/
|
|
230
776
|
}
|
|
231
777
|
|
|
778
|
+
/**
|
|
779
|
+
* @styles pinta.theme-modes Theme modes
|
|
780
|
+
* @description
|
|
781
|
+
*
|
|
782
|
+
* Theme mode changes the environment base and surface derivation behavior.
|
|
783
|
+
*
|
|
784
|
+
* ```html
|
|
785
|
+
* <html skirbi-theme skirbi-theme-mode="light">
|
|
786
|
+
* <html skirbi-theme skirbi-theme-mode="dark">
|
|
787
|
+
* ```
|
|
788
|
+
*
|
|
789
|
+
* Mode can be applied to the whole page or to a subtree.
|
|
790
|
+
*/
|
|
791
|
+
|
|
232
792
|
[skirbi-theme][skirbi-theme-mode="dark"] {
|
|
233
793
|
--skirbi-theme-mode: dark;
|
|
234
794
|
--skirbi-env-base: black;
|
|
@@ -242,6 +802,24 @@
|
|
|
242
802
|
|
|
243
803
|
}
|
|
244
804
|
|
|
805
|
+
/**
|
|
806
|
+
* @styles pinta.transform-layer Transform layer
|
|
807
|
+
* @description
|
|
808
|
+
*
|
|
809
|
+
* The transform layer converts source theme values into final tokens.
|
|
810
|
+
*
|
|
811
|
+
* It handles:
|
|
812
|
+
*
|
|
813
|
+
* - environment base selection
|
|
814
|
+
* - background transform modes
|
|
815
|
+
* - page background derivation
|
|
816
|
+
* - surface background derivation
|
|
817
|
+
* - border and muted text derivation
|
|
818
|
+
* - final token fallback chains
|
|
819
|
+
*
|
|
820
|
+
* Most application CSS should consume final tokens, not transformed internals.
|
|
821
|
+
*/
|
|
822
|
+
|
|
245
823
|
@layer skirbi-transform {
|
|
246
824
|
[skirbi-theme] {
|
|
247
825
|
/* Environment pointer (mode-aware) */
|
|
@@ -311,6 +889,24 @@
|
|
|
311
889
|
}
|
|
312
890
|
}
|
|
313
891
|
|
|
892
|
+
/**
|
|
893
|
+
* @styles pinta.base-layer Base layer
|
|
894
|
+
* @description
|
|
895
|
+
*
|
|
896
|
+
* The base layer applies opt-in structural defaults inside `[skirbi-theme]`.
|
|
897
|
+
*
|
|
898
|
+
* It provides:
|
|
899
|
+
*
|
|
900
|
+
* - `box-sizing` defaults
|
|
901
|
+
* - page background and foreground application
|
|
902
|
+
* - heading and prose typography
|
|
903
|
+
* - code block defaults
|
|
904
|
+
* - focus-visible defaults
|
|
905
|
+
* - display defaults for Semtic custom elements
|
|
906
|
+
*
|
|
907
|
+
* These are intentionally light and should be easy to override in normal CSS.
|
|
908
|
+
*/
|
|
909
|
+
|
|
314
910
|
@layer skirbi-base {
|
|
315
911
|
|
|
316
912
|
[skirbi-theme] {
|
|
@@ -454,8 +1050,35 @@
|
|
|
454
1050
|
}
|
|
455
1051
|
}
|
|
456
1052
|
|
|
1053
|
+
/**
|
|
1054
|
+
* @styles pinta.component-recipes Component recipes
|
|
1055
|
+
* @description
|
|
1056
|
+
*
|
|
1057
|
+
* The components layer contains light recipes for Semtic elements.
|
|
1058
|
+
*
|
|
1059
|
+
* Recipes are conservative by design. They give the default theme a useful
|
|
1060
|
+
* starting point without becoming a utility framework or layout system.
|
|
1061
|
+
*
|
|
1062
|
+
* Use normal CSS for composition and one-off layout rules.
|
|
1063
|
+
*/
|
|
1064
|
+
|
|
457
1065
|
@layer skirbi-components {
|
|
458
1066
|
|
|
1067
|
+
/**
|
|
1068
|
+
* @styles pinta.semtic-panel-tile Semtic panel and tile
|
|
1069
|
+
* @description
|
|
1070
|
+
*
|
|
1071
|
+
* Light surface recipes for `<semtic-panel>` and `<semtic-tile>`.
|
|
1072
|
+
*
|
|
1073
|
+
* They use final surface tokens and remain easy to override:
|
|
1074
|
+
*
|
|
1075
|
+
* ```css
|
|
1076
|
+
* semtic-panel[login-card] {
|
|
1077
|
+
* max-width: 28rem;
|
|
1078
|
+
* }
|
|
1079
|
+
* ```
|
|
1080
|
+
*/
|
|
1081
|
+
|
|
459
1082
|
/* semtic-panel / semtic-tile */
|
|
460
1083
|
[skirbi-theme] {
|
|
461
1084
|
:is(semtic-panel, semtic-tile) {
|
|
@@ -490,6 +1113,22 @@
|
|
|
490
1113
|
}
|
|
491
1114
|
}
|
|
492
1115
|
|
|
1116
|
+
/**
|
|
1117
|
+
* @styles pinta.semtic-grid Semtic grid
|
|
1118
|
+
* @description
|
|
1119
|
+
*
|
|
1120
|
+
* Default recipe for `<semtic-grid>`.
|
|
1121
|
+
*
|
|
1122
|
+
* The grid uses CSS variables for the common 80% case:
|
|
1123
|
+
*
|
|
1124
|
+
* | Token | Purpose |
|
|
1125
|
+
* | --- | --- |
|
|
1126
|
+
* | `--skirbi-grid-gap` | Grid gap. |
|
|
1127
|
+
* | `--skirbi-columns` | Number of equal-width columns. |
|
|
1128
|
+
*
|
|
1129
|
+
* For real layouts, prefer normal CSS selectors or classes.
|
|
1130
|
+
*/
|
|
1131
|
+
|
|
493
1132
|
/* semtic-grid */
|
|
494
1133
|
[skirbi-theme] {
|
|
495
1134
|
semtic-grid {
|
|
@@ -502,6 +1141,16 @@
|
|
|
502
1141
|
}
|
|
503
1142
|
}
|
|
504
1143
|
|
|
1144
|
+
/**
|
|
1145
|
+
* @styles pinta.semtic-flex Semtic flex
|
|
1146
|
+
* @description
|
|
1147
|
+
*
|
|
1148
|
+
* Default recipe for `<semtic-flex>`.
|
|
1149
|
+
*
|
|
1150
|
+
* The component maps Semtic attributes to simple flex variables. Use normal
|
|
1151
|
+
* CSS when the layout becomes page-specific.
|
|
1152
|
+
*/
|
|
1153
|
+
|
|
505
1154
|
/* semtic-flex */
|
|
506
1155
|
[skirbi-theme] {
|
|
507
1156
|
semtic-flex {
|
|
@@ -529,6 +1178,17 @@
|
|
|
529
1178
|
}
|
|
530
1179
|
}
|
|
531
1180
|
|
|
1181
|
+
/**
|
|
1182
|
+
* @styles pinta.semtic-stack Semtic stack
|
|
1183
|
+
* @description
|
|
1184
|
+
*
|
|
1185
|
+
* Default vertical stack recipe for `<semtic-stack>`.
|
|
1186
|
+
*
|
|
1187
|
+
* | Token | Purpose |
|
|
1188
|
+
* | --- | --- |
|
|
1189
|
+
* | `--skirbi-stack-gap` | Gap between stacked children. |
|
|
1190
|
+
*/
|
|
1191
|
+
|
|
532
1192
|
/* semtic-stack */
|
|
533
1193
|
[skirbi-theme] {
|
|
534
1194
|
semtic-stack {
|
|
@@ -538,6 +1198,15 @@
|
|
|
538
1198
|
}
|
|
539
1199
|
}
|
|
540
1200
|
|
|
1201
|
+
/**
|
|
1202
|
+
* @styles pinta.semtic-terminal Semtic terminal
|
|
1203
|
+
* @description
|
|
1204
|
+
*
|
|
1205
|
+
* Default terminal/code block recipe for `<semtic-terminal>`.
|
|
1206
|
+
*
|
|
1207
|
+
* Supported terminal styles are `linux`, `macos`, `windows`, and `none`.
|
|
1208
|
+
*/
|
|
1209
|
+
|
|
541
1210
|
/* semtic-terminal */
|
|
542
1211
|
[skirbi-theme] {
|
|
543
1212
|
semtic-terminal {
|
|
@@ -716,6 +1385,15 @@
|
|
|
716
1385
|
}
|
|
717
1386
|
}
|
|
718
1387
|
|
|
1388
|
+
/**
|
|
1389
|
+
* @styles pinta.semtic-aside Semtic aside
|
|
1390
|
+
* @description
|
|
1391
|
+
*
|
|
1392
|
+
* Default recipe for `<semtic-aside>`.
|
|
1393
|
+
*
|
|
1394
|
+
* Supported rendered variants include `note`, `warning`, `info`, and `tip`.
|
|
1395
|
+
*/
|
|
1396
|
+
|
|
719
1397
|
/* semtic-aside */
|
|
720
1398
|
[skirbi-theme] {
|
|
721
1399
|
semtic-aside {
|
|
@@ -738,7 +1416,7 @@
|
|
|
738
1416
|
font-size: 0.85rem;
|
|
739
1417
|
font-weight: 600;
|
|
740
1418
|
letter-spacing: 0.04em;
|
|
741
|
-
color: var(--skirbi-
|
|
1419
|
+
color: var(--skirbi-aside-header-color, var(--skirbi-page-fg));
|
|
742
1420
|
}
|
|
743
1421
|
|
|
744
1422
|
nav a {
|
|
@@ -747,12 +1425,12 @@
|
|
|
747
1425
|
gap: 0.4rem;
|
|
748
1426
|
|
|
749
1427
|
&::before {
|
|
750
|
-
content: var(--skirbi-menu-item-separator, "›");
|
|
1428
|
+
content: var(--skirbi-aside-menu-item-separator, var(--skirbi-menu-item-separator, "›"));
|
|
751
1429
|
opacity: 0.7;
|
|
752
1430
|
}
|
|
753
1431
|
|
|
754
1432
|
&[aria-current="page"] {
|
|
755
|
-
color: var(--skirbi-
|
|
1433
|
+
color: var(--skirbi-aside-current-color, var(--skirbi-page-fg));
|
|
756
1434
|
font-weight: 600;
|
|
757
1435
|
}
|
|
758
1436
|
}
|
|
@@ -781,6 +1459,15 @@
|
|
|
781
1459
|
}
|
|
782
1460
|
}
|
|
783
1461
|
|
|
1462
|
+
/**
|
|
1463
|
+
* @styles pinta.semtic-breadcrumbs Semtic breadcrumbs
|
|
1464
|
+
* @description
|
|
1465
|
+
*
|
|
1466
|
+
* Default breadcrumb recipe for Semtic breadcrumb markup.
|
|
1467
|
+
*
|
|
1468
|
+
* The recipe keeps the breadcrumb compact, muted, and easy to override.
|
|
1469
|
+
*/
|
|
1470
|
+
|
|
784
1471
|
/* semtic-breadcrumbs */
|
|
785
1472
|
[skirbi-theme] {
|
|
786
1473
|
[semtic-breadcrumbs] {
|
|
@@ -878,6 +1565,16 @@
|
|
|
878
1565
|
}
|
|
879
1566
|
}
|
|
880
1567
|
|
|
1568
|
+
/**
|
|
1569
|
+
* @styles pinta.semtic-table Semtic table
|
|
1570
|
+
* @description
|
|
1571
|
+
*
|
|
1572
|
+
* Default table recipe for `<semtic-table>`.
|
|
1573
|
+
*
|
|
1574
|
+
* Includes light styling for captions, sortable headers, search toolbar,
|
|
1575
|
+
* pagination, loading state, default rows, and zebra rows.
|
|
1576
|
+
*/
|
|
1577
|
+
|
|
881
1578
|
/* semtic-table */
|
|
882
1579
|
[skirbi-theme] {
|
|
883
1580
|
semtic-table {
|
|
@@ -1007,6 +1704,15 @@
|
|
|
1007
1704
|
}
|
|
1008
1705
|
}
|
|
1009
1706
|
|
|
1707
|
+
/**
|
|
1708
|
+
* @styles pinta.semtic-nav Semtic nav
|
|
1709
|
+
* @description
|
|
1710
|
+
*
|
|
1711
|
+
* Default navigation recipe for `<semtic-nav>`.
|
|
1712
|
+
*
|
|
1713
|
+
* Includes brand, links, social navigation, and small-screen wrapping rules.
|
|
1714
|
+
*/
|
|
1715
|
+
|
|
1010
1716
|
/* semtic-nav */
|
|
1011
1717
|
[skirbi-theme] {
|
|
1012
1718
|
semtic-nav > nav {
|
|
@@ -1205,6 +1911,15 @@
|
|
|
1205
1911
|
}
|
|
1206
1912
|
}
|
|
1207
1913
|
|
|
1914
|
+
/**
|
|
1915
|
+
* @styles pinta.semtic-sidenav Semtic sidenav
|
|
1916
|
+
* @description
|
|
1917
|
+
*
|
|
1918
|
+
* Default side navigation recipe for `<semtic-sidenav>`.
|
|
1919
|
+
*
|
|
1920
|
+
* Uses a sticky desktop layout and an off-canvas mobile layout.
|
|
1921
|
+
*/
|
|
1922
|
+
|
|
1208
1923
|
/* semtic-sidenav */
|
|
1209
1924
|
[skirbi-theme] {
|
|
1210
1925
|
semtic-sidenav {
|
|
@@ -1687,6 +2402,17 @@
|
|
|
1687
2402
|
}
|
|
1688
2403
|
}
|
|
1689
2404
|
|
|
2405
|
+
/**
|
|
2406
|
+
* @styles pinta.form-controls Form controls
|
|
2407
|
+
* @description
|
|
2408
|
+
*
|
|
2409
|
+
* Default form-control recipes for Semtic input, select, textarea,
|
|
2410
|
+
* checkbox, radio, and toggle components.
|
|
2411
|
+
*
|
|
2412
|
+
* The recipes cover label position, choice control appearance, focus states,
|
|
2413
|
+
* disabled states, and error display.
|
|
2414
|
+
*/
|
|
2415
|
+
|
|
1690
2416
|
/* Form controls (label-position) */
|
|
1691
2417
|
[skirbi-theme] {
|
|
1692
2418
|
semtic-input,
|
|
@@ -1996,6 +2722,15 @@
|
|
|
1996
2722
|
}
|
|
1997
2723
|
}
|
|
1998
2724
|
|
|
2725
|
+
/**
|
|
2726
|
+
* @styles pinta.form-error-position Form error positions
|
|
2727
|
+
* @description
|
|
2728
|
+
*
|
|
2729
|
+
* Layout recipes for Semtic form errors.
|
|
2730
|
+
*
|
|
2731
|
+
* Supported positions include `inline`, `bottom`, `top`, `left`, and `right`.
|
|
2732
|
+
*/
|
|
2733
|
+
|
|
1999
2734
|
/* Form controls (label-error-position) */
|
|
2000
2735
|
[skirbi-theme] {
|
|
2001
2736
|
semtic-input[label-error-position="inline"][label-position="top"],
|
|
@@ -2121,6 +2856,16 @@
|
|
|
2121
2856
|
}
|
|
2122
2857
|
}
|
|
2123
2858
|
|
|
2859
|
+
/**
|
|
2860
|
+
* @styles pinta.buttons Buttons
|
|
2861
|
+
* @description
|
|
2862
|
+
*
|
|
2863
|
+
* Default button and button-like anchor recipes.
|
|
2864
|
+
*
|
|
2865
|
+
* Pinta styles native buttons and semantic action attributes such as
|
|
2866
|
+
* `[lead]`, `[support]`, `[extra]`, `[antagonist]`, and `[herald]`.
|
|
2867
|
+
*/
|
|
2868
|
+
|
|
2124
2869
|
/* Buttons */
|
|
2125
2870
|
[skirbi-theme] {
|
|
2126
2871
|
a[lead],
|
|
@@ -2314,6 +3059,17 @@
|
|
|
2314
3059
|
}
|
|
2315
3060
|
}
|
|
2316
3061
|
|
|
3062
|
+
/**
|
|
3063
|
+
* @styles pinta.semtic-divider Semtic divider
|
|
3064
|
+
* @description
|
|
3065
|
+
*
|
|
3066
|
+
* Default recipe for `<semtic-divider>`.
|
|
3067
|
+
*
|
|
3068
|
+
* | Token | Purpose |
|
|
3069
|
+
* | --- | --- |
|
|
3070
|
+
* | `--skirbi-divider-image` | Background image for the divider. |
|
|
3071
|
+
*/
|
|
3072
|
+
|
|
2317
3073
|
/* semtic-divider */
|
|
2318
3074
|
[skirbi-theme] {
|
|
2319
3075
|
semtic-divider {
|
|
@@ -2400,6 +3156,23 @@
|
|
|
2400
3156
|
}
|
|
2401
3157
|
}
|
|
2402
3158
|
|
|
3159
|
+
/**
|
|
3160
|
+
* @styles pinta.semtic-toast Semtic toast
|
|
3161
|
+
* @description
|
|
3162
|
+
*
|
|
3163
|
+
* Default toast recipe for `<semtic-toast>` and rendered toast items.
|
|
3164
|
+
*
|
|
3165
|
+
* | Token | Purpose |
|
|
3166
|
+
* | --- | --- |
|
|
3167
|
+
* | `--skirbi-toast-inset-block-start` | Top inset. |
|
|
3168
|
+
* | `--skirbi-toast-inset-inline` | Inline inset. |
|
|
3169
|
+
* | `--skirbi-toast-z` | Stacking layer. |
|
|
3170
|
+
* | `--skirbi-toast-gap` | Gap between toast items. |
|
|
3171
|
+
* | `--skirbi-toast-width` | Maximum toast item width. |
|
|
3172
|
+
* | `--skirbi-toast-radius` | Toast item radius. |
|
|
3173
|
+
* | `--skirbi-toast-shadow` | Toast item shadow. |
|
|
3174
|
+
*/
|
|
3175
|
+
|
|
2403
3176
|
[skirbi-theme] {
|
|
2404
3177
|
semtic-toast {
|
|
2405
3178
|
position: fixed;
|
|
@@ -2448,6 +3221,23 @@
|
|
|
2448
3221
|
}
|
|
2449
3222
|
}
|
|
2450
3223
|
|
|
3224
|
+
/**
|
|
3225
|
+
* @styles pinta.semtic-modal Semtic modal
|
|
3226
|
+
* @description
|
|
3227
|
+
*
|
|
3228
|
+
* Default modal recipe for `<semtic-modal>` and `<semtic-back-button-modal>`.
|
|
3229
|
+
*
|
|
3230
|
+
* | Token | Purpose |
|
|
3231
|
+
* | --- | --- |
|
|
3232
|
+
* | `--skirbi-modal-max-width` | Maximum modal width. |
|
|
3233
|
+
* | `--skirbi-modal-width` | Modal width. |
|
|
3234
|
+
* | `--skirbi-modal-radius` | Modal radius. |
|
|
3235
|
+
* | `--skirbi-modal-gap` | Modal content gap. |
|
|
3236
|
+
* | `--skirbi-modal-padding` | Modal panel padding. |
|
|
3237
|
+
* | `--skirbi-modal-backdrop` | Dialog backdrop color. |
|
|
3238
|
+
* | `--skirbi-modal-shadow` | Modal panel shadow. |
|
|
3239
|
+
*/
|
|
3240
|
+
|
|
2451
3241
|
[skirbi-theme] {
|
|
2452
3242
|
semtic-modal,
|
|
2453
3243
|
semtic-back-button-modal {
|
|
@@ -2515,6 +3305,16 @@
|
|
|
2515
3305
|
}
|
|
2516
3306
|
}
|
|
2517
3307
|
|
|
3308
|
+
/**
|
|
3309
|
+
* @styles pinta.semtic-choice-card Semtic choice card
|
|
3310
|
+
* @description
|
|
3311
|
+
*
|
|
3312
|
+
* Default recipe for `<semtic-choice-card>`.
|
|
3313
|
+
*
|
|
3314
|
+
* The recipe styles the rendered panel and mirrors selected state styling from
|
|
3315
|
+
* the host element.
|
|
3316
|
+
*/
|
|
3317
|
+
|
|
2518
3318
|
[skirbi-theme] {
|
|
2519
3319
|
semtic-choice-card,
|
|
2520
3320
|
semtic-choice-card * {
|
|
@@ -2630,6 +3430,16 @@
|
|
|
2630
3430
|
|
|
2631
3431
|
}
|
|
2632
3432
|
|
|
3433
|
+
/**
|
|
3434
|
+
* @styles pinta.semtic-steps Semtic steps
|
|
3435
|
+
* @description
|
|
3436
|
+
*
|
|
3437
|
+
* Default recipe for `<semtic-steps>`.
|
|
3438
|
+
*
|
|
3439
|
+
* The recipe styles step indicators, connecting lines, active state, and
|
|
3440
|
+
* completed state.
|
|
3441
|
+
*/
|
|
3442
|
+
|
|
2633
3443
|
[skirbi-theme] {
|
|
2634
3444
|
semtic-steps {
|
|
2635
3445
|
--step-dot: 2rem;
|
|
@@ -2747,4 +3557,304 @@
|
|
|
2747
3557
|
}
|
|
2748
3558
|
}
|
|
2749
3559
|
}
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* @styles pinta.semtic-article-card Semtic article card
|
|
3563
|
+
* @description
|
|
3564
|
+
*
|
|
3565
|
+
* Default recipe for `<semtic-article-card>`, its rendered content hooks,
|
|
3566
|
+
* hero presentation, and restrained card heading scale.
|
|
3567
|
+
*/
|
|
3568
|
+
|
|
3569
|
+
[skirbi-theme] {
|
|
3570
|
+
semtic-article-card {
|
|
3571
|
+
display: grid;
|
|
3572
|
+
min-inline-size: 0;
|
|
3573
|
+
margin-block: 1rem;
|
|
3574
|
+
|
|
3575
|
+
> [semtic-article-card-link] {
|
|
3576
|
+
display: grid;
|
|
3577
|
+
gap: 0.75rem;
|
|
3578
|
+
align-content: start;
|
|
3579
|
+
block-size: 100%;
|
|
3580
|
+
box-sizing: border-box;
|
|
3581
|
+
padding: 1.5rem;
|
|
3582
|
+
background: color-mix(
|
|
3583
|
+
in srgb,
|
|
3584
|
+
var(--skirbi-primary-main) 8%,
|
|
3585
|
+
white
|
|
3586
|
+
);
|
|
3587
|
+
border: 2px solid var(--skirbi-primary-main);
|
|
3588
|
+
border-radius: 0.75rem;
|
|
3589
|
+
box-shadow: 0 4px 16px rgb(0 0 0 / 0.12);
|
|
3590
|
+
color: var(--skirbi-primary-dark);
|
|
3591
|
+
text-decoration: none;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
[semtic-article-card-header],
|
|
3595
|
+
[semtic-article-card-content] {
|
|
3596
|
+
display: grid;
|
|
3597
|
+
gap: 0.75rem;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
[semtic-article-card-eyebrow] {
|
|
3601
|
+
display: flex;
|
|
3602
|
+
flex-wrap: wrap;
|
|
3603
|
+
gap: 0.5rem;
|
|
3604
|
+
align-items: center;
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
[semtic-article-card-title] {
|
|
3608
|
+
margin: 0;
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
[semtic-article-card-author],
|
|
3612
|
+
[semtic-article-card-date] {
|
|
3613
|
+
font-size: 0.875em;
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3616
|
+
[semtic-article-card-image] {
|
|
3617
|
+
inline-size: 100%;
|
|
3618
|
+
max-block-size: 24rem;
|
|
3619
|
+
object-fit: cover;
|
|
3620
|
+
border-radius: 0.5rem;
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
&[hero] {
|
|
3624
|
+
> [semtic-article-card-link] {
|
|
3625
|
+
padding: 0;
|
|
3626
|
+
overflow: hidden;
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3629
|
+
[semtic-article-card-content] {
|
|
3630
|
+
display: contents;
|
|
3631
|
+
}
|
|
3632
|
+
|
|
3633
|
+
[semtic-article-card-header],
|
|
3634
|
+
[semtic-article-card-content] > :not([semtic-article-card-image]) {
|
|
3635
|
+
margin-inline: 1.5rem;
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3638
|
+
[semtic-article-card-header] {
|
|
3639
|
+
margin-block-start: 1.5rem;
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3642
|
+
[semtic-article-card-content] > :last-child {
|
|
3643
|
+
margin-block-end: 1.5rem;
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
[semtic-article-card-image] {
|
|
3647
|
+
order: -1;
|
|
3648
|
+
border-radius: 0;
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
|
|
3652
|
+
h1 {
|
|
3653
|
+
font-size: clamp(1.5rem, 2vw, 2rem);
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3656
|
+
h2 {
|
|
3657
|
+
font-size: clamp(1.35rem, 1.8vw, 1.75rem);
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3660
|
+
h3 {
|
|
3661
|
+
font-size: clamp(1.2rem, 1.6vw, 1.5rem);
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
h4 {
|
|
3665
|
+
font-size: clamp(1.1rem, 1.4vw, 1.3rem);
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
h5 {
|
|
3669
|
+
font-size: clamp(1rem, 1.2vw, 1.15rem);
|
|
3670
|
+
}
|
|
3671
|
+
|
|
3672
|
+
h6 {
|
|
3673
|
+
font-size: clamp(0.9rem, 1vw, 1rem);
|
|
3674
|
+
}
|
|
3675
|
+
|
|
3676
|
+
:is(h1, h2, h3, h4, h5, h6) {
|
|
3677
|
+
line-height: 1.15;
|
|
3678
|
+
overflow-wrap: anywhere;
|
|
3679
|
+
}
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
semtic-article-summary {
|
|
3683
|
+
display: block;
|
|
3684
|
+
}
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
/**
|
|
3688
|
+
* @styles pinta.semtic-pill-box Semtic pill box
|
|
3689
|
+
* @description
|
|
3690
|
+
*
|
|
3691
|
+
* Default compact pill recipe for `<semtic-pill-box>`, including linked pills.
|
|
3692
|
+
*/
|
|
3693
|
+
|
|
3694
|
+
[skirbi-theme] {
|
|
3695
|
+
semtic-pill-box {
|
|
3696
|
+
display: inline-flex;
|
|
3697
|
+
align-items: center;
|
|
3698
|
+
padding: 0.35rem 0.65rem;
|
|
3699
|
+
border-radius: 999px;
|
|
3700
|
+
background: var(--skirbi-primary-main);
|
|
3701
|
+
color: white;
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
semtic-pill-box[url] {
|
|
3705
|
+
padding: 0;
|
|
3706
|
+
}
|
|
3707
|
+
|
|
3708
|
+
semtic-pill-box[url] > [semtic-pill-box] {
|
|
3709
|
+
display: inline-flex;
|
|
3710
|
+
align-items: center;
|
|
3711
|
+
padding: 0.35rem 0.65rem;
|
|
3712
|
+
color: inherit;
|
|
3713
|
+
text-decoration: none;
|
|
3714
|
+
}
|
|
3715
|
+
}
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* @styles pinta.semtic-grid-triptych Triptych grid
|
|
3719
|
+
* @description
|
|
3720
|
+
*
|
|
3721
|
+
* Three-region grid primitive with a central content column and two side
|
|
3722
|
+
* columns. On narrow screens the regions stack as content, start, then end.
|
|
3723
|
+
*
|
|
3724
|
+
* | Token | Purpose |
|
|
3725
|
+
* | --- | --- |
|
|
3726
|
+
* | `--skirbi-triptych-content` | Maximum content-column width. |
|
|
3727
|
+
* | `--skirbi-triptych-aside` | Width of each side column. |
|
|
3728
|
+
* | `--skirbi-triptych-gap` | Gap between regions. |
|
|
3729
|
+
* | `--skirbi-triptych-edge` | Minimum viewport edge spacing. |
|
|
3730
|
+
*/
|
|
3731
|
+
|
|
3732
|
+
[skirbi-theme] {
|
|
3733
|
+
semtic-grid[triptych] {
|
|
3734
|
+
position: relative;
|
|
3735
|
+
left: 50%;
|
|
3736
|
+
display: grid;
|
|
3737
|
+
grid-template-areas: "start content end";
|
|
3738
|
+
grid-template-columns:
|
|
3739
|
+
minmax(10rem, var(--skirbi-triptych-aside))
|
|
3740
|
+
minmax(0, var(--skirbi-triptych-content))
|
|
3741
|
+
minmax(10rem, var(--skirbi-triptych-aside));
|
|
3742
|
+
gap: var(--skirbi-triptych-gap);
|
|
3743
|
+
align-items: start;
|
|
3744
|
+
inline-size: calc(
|
|
3745
|
+
100vw -
|
|
3746
|
+
var(--skirbi-triptych-edge) -
|
|
3747
|
+
var(--skirbi-triptych-edge)
|
|
3748
|
+
);
|
|
3749
|
+
max-inline-size: calc(
|
|
3750
|
+
var(--skirbi-triptych-content) +
|
|
3751
|
+
var(--skirbi-triptych-aside) +
|
|
3752
|
+
var(--skirbi-triptych-aside) +
|
|
3753
|
+
var(--skirbi-triptych-gap) +
|
|
3754
|
+
var(--skirbi-triptych-gap)
|
|
3755
|
+
);
|
|
3756
|
+
transform: translateX(-50%);
|
|
3757
|
+
|
|
3758
|
+
> :first-child {
|
|
3759
|
+
grid-area: content;
|
|
3760
|
+
inline-size: 100%;
|
|
3761
|
+
min-inline-size: 0;
|
|
3762
|
+
}
|
|
3763
|
+
|
|
3764
|
+
> :nth-child(2) {
|
|
3765
|
+
grid-area: start;
|
|
3766
|
+
min-inline-size: 0;
|
|
3767
|
+
}
|
|
3768
|
+
|
|
3769
|
+
> :nth-child(3) {
|
|
3770
|
+
grid-area: end;
|
|
3771
|
+
min-inline-size: 0;
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3774
|
+
@media (max-width: 768px) {
|
|
3775
|
+
position: static;
|
|
3776
|
+
grid-template-areas:
|
|
3777
|
+
"content"
|
|
3778
|
+
"start"
|
|
3779
|
+
"end";
|
|
3780
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3781
|
+
inline-size: 100%;
|
|
3782
|
+
max-inline-size: none;
|
|
3783
|
+
transform: none;
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
/**
|
|
3789
|
+
* @styles pinta.heading-quote Heading quote
|
|
3790
|
+
* @description
|
|
3791
|
+
*
|
|
3792
|
+
* Tightens a paragraph blockquote immediately following a heading and presents
|
|
3793
|
+
* it as compact italic supporting text.
|
|
3794
|
+
*/
|
|
3795
|
+
|
|
3796
|
+
[skirbi-theme] {
|
|
3797
|
+
:is(h1, h2, h3, h4, h5, h6):has(+ blockquote p) {
|
|
3798
|
+
margin-block-end: 0;
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3801
|
+
:is(h1, h2, h3, h4, h5, h6) + blockquote p {
|
|
3802
|
+
margin-block-start: 0;
|
|
3803
|
+
margin-block-end: 0;
|
|
3804
|
+
margin-inline-start: 1.5rem;
|
|
3805
|
+
padding: 0;
|
|
3806
|
+
line-height: 0.75;
|
|
3807
|
+
font-size: 0.8rem;
|
|
3808
|
+
font-style: italic;
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
/**
|
|
3813
|
+
* @styles pinta.semtic-grid-layout Catalogue grid
|
|
3814
|
+
* @description
|
|
3815
|
+
*
|
|
3816
|
+
* Four-column catalogue grid used when `<semtic-grid>` has a `layout`
|
|
3817
|
+
* attribute. Card-span assignment remains the responsibility of the caller.
|
|
3818
|
+
*/
|
|
3819
|
+
|
|
3820
|
+
[skirbi-theme] {
|
|
3821
|
+
semtic-grid[layout] {
|
|
3822
|
+
display: grid;
|
|
3823
|
+
width: min(100%, 72rem);
|
|
3824
|
+
margin-inline: auto;
|
|
3825
|
+
gap: clamp(1rem, 2vw, 1.5rem);
|
|
3826
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
semtic-grid[layout] > semtic-article-card {
|
|
3830
|
+
box-sizing: border-box;
|
|
3831
|
+
min-width: 0;
|
|
3832
|
+
min-height: 10rem;
|
|
3833
|
+
height: auto;
|
|
3834
|
+
aspect-ratio: auto;
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
semtic-grid[layout] [semtic-article-card-link] {
|
|
3838
|
+
box-sizing: border-box;
|
|
3839
|
+
height: 100%;
|
|
3840
|
+
padding: clamp(1rem, 2vw, 1.75rem);
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
@media (max-width: 60rem) {
|
|
3844
|
+
semtic-grid[layout] {
|
|
3845
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
@media (max-width: 36rem) {
|
|
3850
|
+
semtic-grid[layout] {
|
|
3851
|
+
grid-template-columns: 1fr;
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
semtic-grid[layout] > semtic-article-card {
|
|
3855
|
+
grid-column: 1 / -1;
|
|
3856
|
+
}
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
|
|
2750
3860
|
}
|