@guildofgleks/ui 21.6.1 → 21.7.1
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/AGENTS.md +135 -55
- package/CHANGELOG.md +229 -0
- package/README.md +81 -15
- package/TOKENS.md +9 -9
- package/fesm2022/guildofgleks-ui.mjs +188 -1322
- package/fesm2022/guildofgleks-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/button.css +11 -32
- package/styles/presets/bevel.css +82 -0
- package/styles/presets/ledger.css +66 -0
- package/styles/presets/material.css +111 -0
- package/styles/presets/one-dark.css +27 -5
- package/styles/presets/one-light.css +17 -4
- package/styles/presets/parchment.css +63 -0
- package/styles/presets/parchment.fonts.css +29 -0
- package/styles/presets/primeng.css +121 -0
- package/styles/presets/slate.css +26 -8
- package/styles/presets/terminal.css +72 -0
- package/styles/presets/terminal.fonts.css +26 -0
- package/styles/theme.css +696 -592
- package/types/guildofgleks-ui.d.ts +35 -26
package/styles/theme.css
CHANGED
|
@@ -19,25 +19,6 @@
|
|
|
19
19
|
* No component stylesheet declares a `--gog-*` default of its own — everything a
|
|
20
20
|
* component paints resolves to a token below.
|
|
21
21
|
*
|
|
22
|
-
* ── The pre-21.5.0 spellings, and why they sit in a fallback ─────────────────────
|
|
23
|
-
* Three prefixes were abbreviations of a component's name, which is the one thing a
|
|
24
|
-
* consumer cannot guess: `--gog-btn-*`, `--gog-ms-*`, `--gog-confirm-*`. 21.5.0 spells them
|
|
25
|
-
* out — `--gog-button-*`, `--gog-multiselect-*`, `--gog-confirmation-dialog-*` — and keeps
|
|
26
|
-
* the old ones working by putting each one in its replacement's fallback:
|
|
27
|
-
*
|
|
28
|
-
* --gog-button-md-padding: var(--gog-btn-md-padding, 0.75rem 1.25rem);
|
|
29
|
-
*
|
|
30
|
-
* The spelled-out name is the declaration; the old name is declared nowhere, so a consumer
|
|
31
|
-
* who set it still feeds the component from wherever they set it, in every scope. Do not
|
|
32
|
-
* "simplify" this into an alias declared beside the original (`--gog-button-x: var(--gog-btn-x)`):
|
|
33
|
-
* the derived block re-declares itself inside every nested `[data-theme]`, so that shape
|
|
34
|
-
* silently discards a root-level override of the *new* name inside any themed subtree. That
|
|
35
|
-
* was measured, not theorised.
|
|
36
|
-
*
|
|
37
|
-
* @deprecated since 21.5.0 (2026-08-19) — use the spelled-out prefixes. Removed in 21.7.0.
|
|
38
|
-
* Removing them is deleting the `var(--gog-btn-…, )` wrapper from each declaration below;
|
|
39
|
-
* nothing else moves.
|
|
40
|
-
*
|
|
41
22
|
* ── Why there are two blocks, and which one to add a token to ────────────────────
|
|
42
23
|
* A custom property's `var()` references are substituted on the element that *declares*
|
|
43
24
|
* it, not where it is read. So `--gog-button-primary-bg: var(--gog-accent-color)` declared on
|
|
@@ -76,14 +57,57 @@
|
|
|
76
57
|
--gog-text-2xl: 2rem;
|
|
77
58
|
--gog-text-3xl: 3rem;
|
|
78
59
|
|
|
79
|
-
/*
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
60
|
+
/* The "emphasis" casing character — labels, buttons, section and table headers all shout
|
|
61
|
+
the same way by default. Not every uppercase/1px-tracking declaration in this file reads
|
|
62
|
+
these two: only the ones that genuinely share this idea do. A few (gog-tabs among them)
|
|
63
|
+
stay their own literal on purpose, because normal case or a different tracking reads
|
|
64
|
+
better there — see docs/themes.md, iteration 1, for the full audit of what did and did
|
|
65
|
+
not qualify. */
|
|
66
|
+
--gog-text-transform: uppercase;
|
|
67
|
+
--gog-letter-spacing: 1px;
|
|
68
|
+
|
|
69
|
+
/* ── Spacing & geometry ───────────────────────────────────────────────────────
|
|
70
|
+
|
|
71
|
+
`--gog-density` is the whole spacing system in one number. It multiplies every step
|
|
72
|
+
of the scale below, and every component padding and gap derives from that scale, so
|
|
73
|
+
a theme makes the entire library compact or roomy without naming a single component:
|
|
74
|
+
|
|
75
|
+
[data-theme='compact'] { --gog-density: 0.75; }
|
|
76
|
+
|
|
77
|
+
This is the density half of docs/themes.md's character layer — the same idea as
|
|
78
|
+
--gog-radius for corners. Before it existed, 177 component paddings and gaps were
|
|
79
|
+
literals in two different units, and a theme that wanted tighter controls had to
|
|
80
|
+
re-list all of them; check-tokens.mjs rule G now fails a build that adds another.
|
|
81
|
+
|
|
82
|
+
The steps are named for their pixel value at density 1, because a t-shirt scale
|
|
83
|
+
stops being readable somewhere around the fourth size and this one has fourteen.
|
|
84
|
+
The five original t-shirt names are kept as aliases: they are public API, they are
|
|
85
|
+
what `theme-starter.css` and every existing consumer theme use, and they cost
|
|
86
|
+
nothing to keep.
|
|
87
|
+
|
|
88
|
+
Only the multiplier itself lives here — the scale is in the derived block below,
|
|
89
|
+
because every step reads this token and so has to re-resolve inside each theme
|
|
90
|
+
scope. A step declared here would be computed once against :root's density and a
|
|
91
|
+
[data-theme] subtree would inherit that number, not its own. */
|
|
92
|
+
--gog-density: 1;
|
|
93
|
+
|
|
94
|
+
/* The ground a *raised* surface paints. Equal to the plain surface by default, because on a
|
|
95
|
+
light theme elevation reads as a shadow and the surface itself does not change.
|
|
96
|
+
|
|
97
|
+
On a dark theme a shadow has nothing to darken — 21.7.1 found `elevated` and `outlined`
|
|
98
|
+
cards rendering identically under `data-theme="dark"`, both a thin ring on the same fill.
|
|
99
|
+
Dark themes therefore lift this token instead, which is how elevation has to be expressed
|
|
100
|
+
when the page is already near-black. Each dark theme sets it; light themes leave it alone. */
|
|
85
101
|
|
|
86
102
|
--gog-radius: 8px;
|
|
103
|
+
/* Three border-weight tiers, not one: --gog-control-border-width (2px) is form fields,
|
|
104
|
+
--gog-panel-border-width (1px) is raised/floating surfaces (card, dialog, dropdown panel,
|
|
105
|
+
tooltip — see README.md's note on --gog-panel-*), and this pair is everything smaller and
|
|
106
|
+
inline — chip, tag, badge, toggle, table rows, tabs, calendar cells. It happens to share
|
|
107
|
+
panel's value today; kept separate anyway; a theme wanting thick floating panels but thin
|
|
108
|
+
inline chips (or the reverse) needs the two independently settable. */
|
|
109
|
+
--gog-border-width: 1px;
|
|
110
|
+
--gog-border-style: solid;
|
|
87
111
|
--gog-panel-border-width: 1px;
|
|
88
112
|
--gog-panel-border-style: solid;
|
|
89
113
|
|
|
@@ -104,13 +128,9 @@
|
|
|
104
128
|
Five-tier scale: xsm/slg bookend the original sm/md/lg (restored below to
|
|
105
129
|
their pre-compaction numbers) as new extremes for extra-tight or extra-roomy
|
|
106
130
|
layouts. */
|
|
107
|
-
--gog-control-padding-y: 10px;
|
|
108
|
-
--gog-control-padding-x: 14px;
|
|
109
|
-
--gog-control-icon-offset: 10px;
|
|
110
131
|
--gog-control-border-width: 2px;
|
|
111
132
|
--gog-control-border-style: solid;
|
|
112
133
|
|
|
113
|
-
--gog-control-checkbox-padding: 6px;
|
|
114
134
|
--gog-control-checkbox-box-size-xsm: 12px;
|
|
115
135
|
--gog-control-checkbox-box-size-sm: 18px;
|
|
116
136
|
--gog-control-checkbox-box-size-md: 24px;
|
|
@@ -129,29 +149,22 @@
|
|
|
129
149
|
|
|
130
150
|
/* ── Button sizing ─────────────────────────────────────────────────────────── */
|
|
131
151
|
|
|
132
|
-
/* ── Field sizing (input / select / multiselect share one scale) ─────────────
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
152
|
+
/* ── Field sizing (input / select / multiselect share one scale) ─────────────
|
|
153
|
+
The offsets are spacing and follow --gog-density with everything else; the glyph
|
|
154
|
+
box does not, because an icon that shrinks with the padding stops being legible
|
|
155
|
+
well before the padding stops being usable. Only the offsets move.
|
|
156
|
+
|
|
157
|
+
Each inset is the text's start edge: one offset before the glyph, the glyph, one
|
|
158
|
+
offset after. It was five hand-measured literals (docs/iteration-8-plan.md tuned
|
|
159
|
+
them in a browser) that happened to satisfy that identity, so nothing here moves
|
|
160
|
+
at density 1 — but a literal cannot follow the density knob, and at 0.75 the text
|
|
161
|
+
used to keep a 36px inset against 7px of padding. Stated as the sum it always was,
|
|
162
|
+
it just works. */
|
|
163
|
+
--gog-field-icon-glyph-xsm: 12px;
|
|
164
|
+
--gog-field-icon-glyph-sm: 14px;
|
|
165
|
+
--gog-field-icon-glyph: 16px;
|
|
142
166
|
|
|
143
|
-
--gog-field-md-icon-inset: 36px;
|
|
144
|
-
|
|
145
|
-
--gog-field-lg-padding-y: 14px;
|
|
146
|
-
--gog-field-lg-padding-x: 18px;
|
|
147
|
-
--gog-field-lg-icon-offset: 14px;
|
|
148
|
-
--gog-field-lg-icon-inset: 44px;
|
|
149
|
-
|
|
150
|
-
--gog-field-slg-padding-y: 18px;
|
|
151
|
-
--gog-field-slg-padding-x: 22px;
|
|
152
167
|
--gog-field-slg-font-size: 1.25rem;
|
|
153
|
-
--gog-field-slg-icon-offset: 18px;
|
|
154
|
-
--gog-field-slg-icon-inset: 52px;
|
|
155
168
|
|
|
156
169
|
/* ── Float label geometry (input / textarea / select / multiselect) ─────────
|
|
157
170
|
One scale for every field that can float its label. Each control reads these
|
|
@@ -163,7 +176,6 @@
|
|
|
163
176
|
kept clear for the 'over' variant. */
|
|
164
177
|
--gog-field-float-label-reserve: 14px;
|
|
165
178
|
--gog-field-float-label-in-top: 6px;
|
|
166
|
-
--gog-field-float-label-over-gap: 8px;
|
|
167
179
|
--gog-field-float-label-over-reserve: 1.4em;
|
|
168
180
|
|
|
169
181
|
/* ── Icon & spinner ───────────────────────────────────────────────────────── */
|
|
@@ -179,8 +191,6 @@
|
|
|
179
191
|
/* ── Toast stack ──────────────────────────────────────────────────────────── */
|
|
180
192
|
--gog-toast-min-width: 280px;
|
|
181
193
|
--gog-toast-max-width: 400px;
|
|
182
|
-
--gog-toast-gap: 10px;
|
|
183
|
-
--gog-toast-stack-padding: 16px;
|
|
184
194
|
--gog-toast-z-index: 9999;
|
|
185
195
|
--gog-toast-enter-distance: 110%;
|
|
186
196
|
--gog-toast-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
|
|
@@ -193,32 +203,36 @@
|
|
|
193
203
|
|
|
194
204
|
/* ── Light palette (also the no-data-theme default) ───────────────────────── */
|
|
195
205
|
color-scheme: light;
|
|
196
|
-
/*
|
|
197
|
-
--gog-background-color: #f7f3eb; /*
|
|
198
|
-
--gog-surface-color: #ffffff; /*
|
|
199
|
-
--gog-hover-color: #f0e7d7; /*
|
|
200
|
-
--gog-border-color: #d8c7ad; /*
|
|
201
|
-
|
|
202
|
-
/*
|
|
203
|
-
--gog-text-color: #17120c; /*
|
|
206
|
+
/* Backgrounds and surfaces */
|
|
207
|
+
--gog-background-color: #f7f3eb; /* Warm parchment page ground */
|
|
208
|
+
--gog-surface-color: #ffffff; /* Bleached parchment for cards — lighter than the page on purpose, so the two tiers read apart */
|
|
209
|
+
--gog-hover-color: #f0e7d7; /* Hover state — soft wax */
|
|
210
|
+
--gog-border-color: #d8c7ad; /* Aged brass rule */
|
|
211
|
+
|
|
212
|
+
/* Type — old oak-gall ink */
|
|
213
|
+
--gog-text-color: #17120c; /* Deep ink — clears WCAG AAA against both surfaces */
|
|
204
214
|
--gog-accent-text-color: #ffffff;
|
|
205
|
-
--gog-muted-text-color: #63503c; /*
|
|
215
|
+
--gog-muted-text-color: #63503c; /* Muted kiln ink */
|
|
206
216
|
|
|
207
|
-
/*
|
|
217
|
+
/* Brand and accents — guild gold leaf */
|
|
208
218
|
--gog-primary-color: #17120c;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
219
|
+
/* Deep guild gold. Darkened from #9e6f00 in 21.7.0: white on the old value was 4.44:1,
|
|
220
|
+
just under WCAG AA's 4.5, and its hover fill was 2.87:1 — the hover was the worse half.
|
|
221
|
+
The hover is now *darker* than the rest state rather than brighter, because gold light
|
|
222
|
+
enough to read as "a brighter gleam" cannot carry white text at all. */
|
|
223
|
+
--gog-accent-color: #926600;
|
|
224
|
+
--gog-accent-bright: #7a5500;
|
|
225
|
+
--gog-accent-dim: #735100; /* Dark bronze */
|
|
226
|
+
--gog-accent-pale: #f8f1df; /* Pale wash beneath the gold */
|
|
213
227
|
--gog-secondary-color: #6b5328;
|
|
214
228
|
|
|
215
|
-
/*
|
|
216
|
-
--gog-success-color: #216e4e; /*
|
|
217
|
-
--gog-danger-color: #a7232b; /*
|
|
218
|
-
--gog-warning-color: #c45100; /*
|
|
219
|
-
--gog-info-color: #2b5c8f; /*
|
|
229
|
+
/* Semantic colours, kept in the alchemical family */
|
|
230
|
+
--gog-success-color: #216e4e; /* Emerald */
|
|
231
|
+
--gog-danger-color: #a7232b; /* Ruby */
|
|
232
|
+
--gog-warning-color: #c45100; /* Dark amber */
|
|
233
|
+
--gog-info-color: #2b5c8f; /* Lapis */
|
|
220
234
|
|
|
221
|
-
/*
|
|
235
|
+
/* Soft, deep shadow — old leather */
|
|
222
236
|
--gog-panel-shadow: 0 4px 20px rgba(23, 18, 12, 0.08), 0 1px 3px rgba(23, 18, 12, 0.04);
|
|
223
237
|
--gog-spinner-overlay-bg: rgba(247, 243, 235, 0.85);
|
|
224
238
|
}
|
|
@@ -227,32 +241,36 @@
|
|
|
227
241
|
[data-theme='light'] {
|
|
228
242
|
color-scheme: light;
|
|
229
243
|
|
|
230
|
-
/*
|
|
231
|
-
--gog-background-color: #f7f3eb; /*
|
|
232
|
-
--gog-surface-color: #ffffff; /*
|
|
233
|
-
--gog-hover-color: #f0e7d7; /*
|
|
234
|
-
--gog-border-color: #d8c7ad; /*
|
|
244
|
+
/* Backgrounds and surfaces */
|
|
245
|
+
--gog-background-color: #f7f3eb; /* Warm parchment page ground */
|
|
246
|
+
--gog-surface-color: #ffffff; /* Bleached parchment for cards — lighter than the page on purpose, so the two tiers read apart */
|
|
247
|
+
--gog-hover-color: #f0e7d7; /* Hover state — soft wax */
|
|
248
|
+
--gog-border-color: #d8c7ad; /* Aged brass rule */
|
|
235
249
|
|
|
236
|
-
/*
|
|
237
|
-
--gog-text-color: #17120c; /*
|
|
250
|
+
/* Type — old oak-gall ink */
|
|
251
|
+
--gog-text-color: #17120c; /* Deep ink — clears WCAG AAA against both surfaces */
|
|
238
252
|
--gog-accent-text-color: #ffffff;
|
|
239
|
-
--gog-muted-text-color: #63503c; /*
|
|
253
|
+
--gog-muted-text-color: #63503c; /* Muted kiln ink */
|
|
240
254
|
|
|
241
|
-
/*
|
|
255
|
+
/* Brand and accents — guild gold leaf */
|
|
242
256
|
--gog-primary-color: #17120c;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
257
|
+
/* Deep guild gold. Darkened from #9e6f00 in 21.7.0: white on the old value was 4.44:1,
|
|
258
|
+
just under WCAG AA's 4.5, and its hover fill was 2.87:1 — the hover was the worse half.
|
|
259
|
+
The hover is now *darker* than the rest state rather than brighter, because gold light
|
|
260
|
+
enough to read as "a brighter gleam" cannot carry white text at all. */
|
|
261
|
+
--gog-accent-color: #926600;
|
|
262
|
+
--gog-accent-bright: #7a5500;
|
|
263
|
+
--gog-accent-dim: #735100; /* Dark bronze */
|
|
264
|
+
--gog-accent-pale: #f8f1df; /* Pale wash beneath the gold */
|
|
247
265
|
--gog-secondary-color: #6b5328;
|
|
248
266
|
|
|
249
|
-
/*
|
|
250
|
-
--gog-success-color: #216e4e; /*
|
|
251
|
-
--gog-danger-color: #a7232b; /*
|
|
252
|
-
--gog-warning-color: #c45100; /*
|
|
253
|
-
--gog-info-color: #2b5c8f; /*
|
|
267
|
+
/* Semantic colours, kept in the alchemical family */
|
|
268
|
+
--gog-success-color: #216e4e; /* Emerald */
|
|
269
|
+
--gog-danger-color: #a7232b; /* Ruby */
|
|
270
|
+
--gog-warning-color: #c45100; /* Dark amber */
|
|
271
|
+
--gog-info-color: #2b5c8f; /* Lapis */
|
|
254
272
|
|
|
255
|
-
/*
|
|
273
|
+
/* Soft, deep shadow — old leather */
|
|
256
274
|
--gog-panel-shadow: 0 4px 20px rgba(23, 18, 12, 0.08), 0 1px 3px rgba(23, 18, 12, 0.04);
|
|
257
275
|
--gog-spinner-overlay-bg: rgba(247, 243, 235, 0.85);
|
|
258
276
|
}
|
|
@@ -261,32 +279,52 @@
|
|
|
261
279
|
[data-theme='dark'] {
|
|
262
280
|
color-scheme: dark;
|
|
263
281
|
|
|
264
|
-
/*
|
|
265
|
-
--gog-background-color: #0d0b08; /*
|
|
266
|
-
--gog-surface-color: #16120e; /*
|
|
267
|
-
--gog-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
--gog-
|
|
282
|
+
/* Backgrounds and surfaces */
|
|
283
|
+
--gog-background-color: #0d0b08; /* Deep forge obsidian */
|
|
284
|
+
--gog-surface-color: #16120e; /* Dark fired iron — cards */
|
|
285
|
+
/* Lifted, not shadowed — see --gog-elevated-surface-color. Deliberately a step above
|
|
286
|
+
--gog-hover-color, not equal to it: hover and the header strips are a light lift, elevation
|
|
287
|
+
is a bigger one, and the first attempt gave all three the same value. */
|
|
288
|
+
--gog-hover-color: #241d17; /* Hover state */
|
|
289
|
+
--gog-border-color: #3d3122; /* Aged chased bronze */
|
|
290
|
+
|
|
291
|
+
/* Type — glowing ivory */
|
|
292
|
+
--gog-text-color: #f3ebd8; /* Soft luminous parchment */
|
|
272
293
|
--gog-accent-text-color: #0d0b08;
|
|
273
|
-
--gog-muted-text-color: #9e8d76; /*
|
|
294
|
+
--gog-muted-text-color: #9e8d76; /* Muted bronze */
|
|
274
295
|
|
|
275
|
-
/*
|
|
296
|
+
/* Brand and accents — the alchemist's glowing gold */
|
|
276
297
|
--gog-primary-color: #f3ebd8;
|
|
277
|
-
--gog-accent-color: #fbbf24; /*
|
|
278
|
-
--gog-accent-bright: #fde047; /*
|
|
279
|
-
--gog-accent-dim: #b48310; /*
|
|
280
|
-
--gog-accent-pale: #2b210c; /*
|
|
298
|
+
--gog-accent-color: #fbbf24; /* Plasma amber */
|
|
299
|
+
--gog-accent-bright: #fde047; /* Bright gold ray */
|
|
300
|
+
--gog-accent-dim: #b48310; /* Muted gold */
|
|
301
|
+
--gog-accent-pale: #2b210c; /* Dark gold reflection */
|
|
281
302
|
--gog-secondary-color: #d4a373;
|
|
282
303
|
|
|
283
|
-
/*
|
|
284
|
-
--gog-success-color: #34d399; /*
|
|
285
|
-
--gog-danger-color: #f87171; /*
|
|
286
|
-
--gog-warning-color: #fbbf24; /*
|
|
287
|
-
--gog-info-color: #38bdf8; /*
|
|
304
|
+
/* Semantics */
|
|
305
|
+
--gog-success-color: #34d399; /* Glowing emerald */
|
|
306
|
+
--gog-danger-color: #f87171; /* Glowing ruby */
|
|
307
|
+
--gog-warning-color: #fbbf24; /* Amber */
|
|
308
|
+
--gog-info-color: #38bdf8; /* Sapphire */
|
|
288
309
|
|
|
289
310
|
--gog-panel-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--gog-border-color);
|
|
311
|
+
/* `elevated` drops the 1px ring `--gog-panel-shadow` carries for real overlays (dialog,
|
|
312
|
+
dropdown, tooltip), because that ring is exactly what `outlined` draws — with it, the two
|
|
313
|
+
card/panel variants render identically on a dark ground. The blur stays; the ring goes,
|
|
314
|
+
so outlined has an edge and elevated does not. Light themes need none of this: their
|
|
315
|
+
shadow has no ring and reads on its own. */
|
|
316
|
+
/* `elevated` cannot use `--gog-panel-shadow` here. That shadow carries a `0 0 0 1px` ring so
|
|
317
|
+
overlays keep an edge against the page, and the ring is exactly what `outlined` draws — with
|
|
318
|
+
it the two variants render identically. Dropping the ring and keeping the 30px black blur was
|
|
319
|
+
worse: black blurred over a near-black page reads as smudge rather than lift.
|
|
320
|
+
|
|
321
|
+
So elevation is stated the way a dark UI actually states it — a hairline of light along the
|
|
322
|
+
top edge, where a raised surface would catch it, over a tighter, darker shadow that stays
|
|
323
|
+
close to the element instead of hazing the page. */
|
|
324
|
+
--gog-card-elevated-shadow:
|
|
325
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 6px rgba(0, 0, 0, 0.55);
|
|
326
|
+
--gog-panel-elevated-shadow:
|
|
327
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 2px 6px rgba(0, 0, 0, 0.55);
|
|
290
328
|
--gog-spinner-overlay-bg: rgba(13, 11, 8, 0.85);
|
|
291
329
|
}
|
|
292
330
|
|
|
@@ -300,11 +338,67 @@
|
|
|
300
338
|
/* ── Derived foundation tokens ───────────────────────────────────────────────
|
|
301
339
|
Split out of the literal block above because they read other tokens: they have
|
|
302
340
|
to re-resolve inside each theme scope. */
|
|
341
|
+
--gog-space-2: calc(2px * var(--gog-density));
|
|
342
|
+
--gog-space-4: calc(4px * var(--gog-density));
|
|
343
|
+
--gog-space-6: calc(6px * var(--gog-density));
|
|
344
|
+
--gog-space-8: calc(8px * var(--gog-density));
|
|
345
|
+
--gog-space-10: calc(10px * var(--gog-density));
|
|
346
|
+
--gog-space-12: calc(12px * var(--gog-density));
|
|
347
|
+
--gog-space-14: calc(14px * var(--gog-density));
|
|
348
|
+
--gog-space-16: calc(16px * var(--gog-density));
|
|
349
|
+
--gog-space-18: calc(18px * var(--gog-density));
|
|
350
|
+
--gog-space-20: calc(20px * var(--gog-density));
|
|
351
|
+
--gog-space-24: calc(24px * var(--gog-density));
|
|
352
|
+
--gog-space-28: calc(28px * var(--gog-density));
|
|
353
|
+
--gog-space-32: calc(32px * var(--gog-density));
|
|
354
|
+
--gog-space-48: calc(48px * var(--gog-density));
|
|
355
|
+
--gog-space-xs: var(--gog-space-4);
|
|
356
|
+
--gog-space-sm: var(--gog-space-8);
|
|
357
|
+
--gog-space-md: var(--gog-space-16);
|
|
358
|
+
--gog-space-lg: var(--gog-space-24);
|
|
359
|
+
--gog-space-2xl: var(--gog-space-48);
|
|
360
|
+
--gog-control-padding-y: var(--gog-space-10);
|
|
361
|
+
--gog-control-padding-x: var(--gog-space-14);
|
|
362
|
+
--gog-control-checkbox-padding: var(--gog-space-6);
|
|
363
|
+
--gog-field-xsm-padding-y: var(--gog-space-4);
|
|
364
|
+
--gog-field-xsm-padding-x: var(--gog-space-8);
|
|
365
|
+
--gog-field-sm-padding-y: var(--gog-space-6);
|
|
366
|
+
--gog-field-sm-padding-x: var(--gog-space-10);
|
|
367
|
+
--gog-field-lg-padding-y: var(--gog-space-14);
|
|
368
|
+
--gog-field-lg-padding-x: var(--gog-space-18);
|
|
369
|
+
--gog-field-slg-padding-y: var(--gog-space-18);
|
|
370
|
+
--gog-field-slg-padding-x: var(--gog-space-20);
|
|
371
|
+
--gog-field-float-label-over-gap: var(--gog-space-8);
|
|
372
|
+
--gog-toast-gap: var(--gog-space-10);
|
|
373
|
+
--gog-toast-stack-padding: var(--gog-space-16);
|
|
374
|
+
--gog-field-xsm-icon-offset: var(--gog-space-6);
|
|
375
|
+
--gog-field-sm-icon-offset: var(--gog-space-8);
|
|
376
|
+
--gog-field-lg-icon-offset: var(--gog-space-14);
|
|
377
|
+
--gog-field-slg-icon-offset: var(--gog-space-18);
|
|
378
|
+
--gog-control-icon-offset: var(--gog-space-10);
|
|
379
|
+
--gog-elevated-surface-color: var(--gog-surface-color);
|
|
303
380
|
--gog-panel-radius: calc(var(--gog-radius) + 8px);
|
|
304
381
|
--gog-field-xsm-font-size: var(--gog-text-xs);
|
|
305
382
|
--gog-field-sm-font-size: var(--gog-text-sm);
|
|
306
383
|
--gog-field-md-padding-y: var(--gog-control-padding-y);
|
|
307
384
|
--gog-field-md-padding-x: var(--gog-control-padding-x);
|
|
385
|
+
|
|
386
|
+
/* offset + glyph + offset — see the icon-chrome comment in the literal block above. */
|
|
387
|
+
--gog-field-xsm-icon-inset: calc(
|
|
388
|
+
var(--gog-field-xsm-icon-offset) * 2 + var(--gog-field-icon-glyph-xsm)
|
|
389
|
+
);
|
|
390
|
+
--gog-field-sm-icon-inset: calc(
|
|
391
|
+
var(--gog-field-sm-icon-offset) * 2 + var(--gog-field-icon-glyph-sm)
|
|
392
|
+
);
|
|
393
|
+
--gog-field-md-icon-inset: calc(
|
|
394
|
+
var(--gog-field-md-icon-offset) * 2 + var(--gog-field-icon-glyph)
|
|
395
|
+
);
|
|
396
|
+
--gog-field-lg-icon-inset: calc(
|
|
397
|
+
var(--gog-field-lg-icon-offset) * 2 + var(--gog-field-icon-glyph)
|
|
398
|
+
);
|
|
399
|
+
--gog-field-slg-icon-inset: calc(
|
|
400
|
+
var(--gog-field-slg-icon-offset) * 2 + var(--gog-field-icon-glyph)
|
|
401
|
+
);
|
|
308
402
|
--gog-field-md-font-size: var(--gog-text-md);
|
|
309
403
|
--gog-field-md-icon-offset: var(--gog-control-icon-offset);
|
|
310
404
|
--gog-field-lg-font-size: var(--gog-text-lg);
|
|
@@ -324,13 +418,13 @@
|
|
|
324
418
|
--gog-accordion-border-style: var(--gog-control-border-style);
|
|
325
419
|
--gog-accordion-text-color: var(--gog-text-color);
|
|
326
420
|
--gog-accordion-accent-color: var(--gog-accent-color);
|
|
327
|
-
--gog-accordion-hover-bg:
|
|
328
|
-
--gog-accordion-hover-ring:
|
|
421
|
+
--gog-accordion-hover-bg: var(--gog-hover-color);
|
|
422
|
+
--gog-accordion-hover-ring: var(--gog-accent-dim);
|
|
329
423
|
--gog-accordion-focus-ring-width: var(--gog-focus-ring-width);
|
|
330
424
|
--gog-accordion-body-color: var(--gog-text-color);
|
|
331
425
|
--gog-accordion-body-line-height: 1.6;
|
|
332
|
-
--gog-accordion-header-text-transform:
|
|
333
|
-
--gog-accordion-header-gap:
|
|
426
|
+
--gog-accordion-header-text-transform: var(--gog-text-transform);
|
|
427
|
+
--gog-accordion-header-gap: var(--gog-space-12);
|
|
334
428
|
--gog-accordion-disabled-opacity: 0.5;
|
|
335
429
|
--gog-accordion-transition-duration: var(--gog-duration-base);
|
|
336
430
|
--gog-accordion-body-transition-duration: var(--gog-duration-slow);
|
|
@@ -340,68 +434,73 @@
|
|
|
340
434
|
opt in per-instance or theme-wide by overriding these two. */
|
|
341
435
|
--gog-accordion-radius: 0px;
|
|
342
436
|
--gog-accordion-body-radius: 0px;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
437
|
+
/* The header carries its own ground and the body does not. Both were `transparent` until
|
|
438
|
+
21.7.1, which made every open item one continuous band: header and content painted the
|
|
439
|
+
surrounding surface, and the only thing between two open items was a hairline in the accent
|
|
440
|
+
colour. With several open at once nobody could tell where one ended and the next began.
|
|
441
|
+
|
|
442
|
+
Only the header changed. The body stays transparent on purpose, so an accordion dropped on
|
|
443
|
+
a coloured surface still sits on that colour rather than punching a hole in it. */
|
|
444
|
+
--gog-accordion-header-bg: var(--gog-hover-color);
|
|
445
|
+
--gog-accordion-body-bg: transparent;
|
|
347
446
|
/* Per-size metrics. `lg` is the default size. */
|
|
348
|
-
--gog-accordion-xsm-padding-y:
|
|
349
|
-
--gog-accordion-xsm-padding-x:
|
|
447
|
+
--gog-accordion-xsm-padding-y: var(--gog-space-4);
|
|
448
|
+
--gog-accordion-xsm-padding-x: var(--gog-space-8);
|
|
350
449
|
--gog-accordion-xsm-font-size: var(--gog-text-xs);
|
|
351
450
|
--gog-accordion-xsm-letter-spacing: 0.2px;
|
|
352
|
-
--gog-accordion-xsm-content-gap:
|
|
451
|
+
--gog-accordion-xsm-content-gap: var(--gog-space-2);
|
|
353
452
|
--gog-accordion-xsm-body-font-size: var(--gog-text-xs);
|
|
354
453
|
--gog-accordion-xsm-body-line-height: 1.5;
|
|
355
|
-
--gog-accordion-xsm-body-padding-top:
|
|
356
|
-
--gog-accordion-xsm-body-padding-bottom:
|
|
454
|
+
--gog-accordion-xsm-body-padding-top: var(--gog-space-4);
|
|
455
|
+
--gog-accordion-xsm-body-padding-bottom: var(--gog-space-6);
|
|
357
456
|
--gog-accordion-xsm-chevron-size: 11px;
|
|
358
457
|
--gog-accordion-xsm-chevron-font-size: 10px;
|
|
359
458
|
|
|
360
|
-
--gog-accordion-sm-padding-y:
|
|
361
|
-
--gog-accordion-sm-padding-x:
|
|
459
|
+
--gog-accordion-sm-padding-y: var(--gog-space-6);
|
|
460
|
+
--gog-accordion-sm-padding-x: var(--gog-space-10);
|
|
362
461
|
--gog-accordion-sm-font-size: var(--gog-text-xs);
|
|
363
462
|
--gog-accordion-sm-letter-spacing: 0.4px;
|
|
364
|
-
--gog-accordion-sm-content-gap:
|
|
463
|
+
--gog-accordion-sm-content-gap: var(--gog-space-2);
|
|
365
464
|
--gog-accordion-sm-body-font-size: var(--gog-text-xs);
|
|
366
465
|
--gog-accordion-sm-body-line-height: var(--gog-accordion-body-line-height);
|
|
367
|
-
--gog-accordion-sm-body-padding-top:
|
|
368
|
-
--gog-accordion-sm-body-padding-bottom:
|
|
466
|
+
--gog-accordion-sm-body-padding-top: var(--gog-space-6);
|
|
467
|
+
--gog-accordion-sm-body-padding-bottom: var(--gog-space-8);
|
|
369
468
|
--gog-accordion-sm-chevron-size: 13px;
|
|
370
469
|
--gog-accordion-sm-chevron-font-size: 12px;
|
|
371
470
|
|
|
372
|
-
--gog-accordion-md-padding-y:
|
|
373
|
-
--gog-accordion-md-padding-x:
|
|
471
|
+
--gog-accordion-md-padding-y: var(--gog-space-10);
|
|
472
|
+
--gog-accordion-md-padding-x: var(--gog-space-14);
|
|
374
473
|
--gog-accordion-md-font-size: var(--gog-text-xs);
|
|
375
474
|
--gog-accordion-md-letter-spacing: 0.8px;
|
|
376
|
-
--gog-accordion-md-content-gap:
|
|
475
|
+
--gog-accordion-md-content-gap: var(--gog-space-2);
|
|
377
476
|
--gog-accordion-md-body-font-size: var(--gog-text-sm);
|
|
378
477
|
--gog-accordion-md-body-line-height: var(--gog-accordion-body-line-height);
|
|
379
|
-
--gog-accordion-md-body-padding-top:
|
|
380
|
-
--gog-accordion-md-body-padding-bottom:
|
|
478
|
+
--gog-accordion-md-body-padding-top: var(--gog-space-8);
|
|
479
|
+
--gog-accordion-md-body-padding-bottom: var(--gog-space-12);
|
|
381
480
|
--gog-accordion-md-chevron-size: 15px;
|
|
382
481
|
--gog-accordion-md-chevron-font-size: 14px;
|
|
383
482
|
|
|
384
|
-
--gog-accordion-lg-padding-y:
|
|
385
|
-
--gog-accordion-lg-padding-x:
|
|
483
|
+
--gog-accordion-lg-padding-y: var(--gog-space-14);
|
|
484
|
+
--gog-accordion-lg-padding-x: var(--gog-space-16);
|
|
386
485
|
--gog-accordion-lg-font-size: var(--gog-text-sm);
|
|
387
486
|
--gog-accordion-lg-letter-spacing: 0.8px;
|
|
388
|
-
--gog-accordion-lg-content-gap:
|
|
487
|
+
--gog-accordion-lg-content-gap: var(--gog-space-4);
|
|
389
488
|
--gog-accordion-lg-body-font-size: var(--gog-text-md);
|
|
390
489
|
--gog-accordion-lg-body-line-height: var(--gog-accordion-body-line-height);
|
|
391
|
-
--gog-accordion-lg-body-padding-top:
|
|
392
|
-
--gog-accordion-lg-body-padding-bottom:
|
|
490
|
+
--gog-accordion-lg-body-padding-top: var(--gog-space-12);
|
|
491
|
+
--gog-accordion-lg-body-padding-bottom: var(--gog-space-16);
|
|
393
492
|
--gog-accordion-lg-chevron-size: 18px;
|
|
394
493
|
--gog-accordion-lg-chevron-font-size: 16px;
|
|
395
494
|
|
|
396
|
-
--gog-accordion-slg-padding-y:
|
|
397
|
-
--gog-accordion-slg-padding-x:
|
|
495
|
+
--gog-accordion-slg-padding-y: var(--gog-space-18);
|
|
496
|
+
--gog-accordion-slg-padding-x: var(--gog-space-18);
|
|
398
497
|
--gog-accordion-slg-font-size: var(--gog-text-md);
|
|
399
498
|
--gog-accordion-slg-letter-spacing: 0.8px;
|
|
400
|
-
--gog-accordion-slg-content-gap:
|
|
499
|
+
--gog-accordion-slg-content-gap: var(--gog-space-4);
|
|
401
500
|
--gog-accordion-slg-body-font-size: var(--gog-text-lg);
|
|
402
501
|
--gog-accordion-slg-body-line-height: var(--gog-accordion-body-line-height);
|
|
403
|
-
--gog-accordion-slg-body-padding-top:
|
|
404
|
-
--gog-accordion-slg-body-padding-bottom:
|
|
502
|
+
--gog-accordion-slg-body-padding-top: var(--gog-space-16);
|
|
503
|
+
--gog-accordion-slg-body-padding-bottom: var(--gog-space-20);
|
|
405
504
|
--gog-accordion-slg-chevron-size: 20px;
|
|
406
505
|
--gog-accordion-slg-chevron-font-size: 18px;
|
|
407
506
|
|
|
@@ -425,113 +524,84 @@
|
|
|
425
524
|
`--gog-button-bg`, `--gog-button-color`, `--gog-button-border`, `--gog-button-shadow`,
|
|
426
525
|
`--gog-button-hover-bg`, `--gog-button-hover-shadow`, `--gog-button-padding` and
|
|
427
526
|
`--gog-button-font-size` are intentionally NOT declared — they are the per-instance
|
|
428
|
-
escape hatch the variant/size classes fall back through.
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
--gog-button-xsm-
|
|
435
|
-
--gog-button-sm-
|
|
436
|
-
--gog-button-md-
|
|
437
|
-
--gog-button-lg-
|
|
438
|
-
--gog-button-slg-
|
|
439
|
-
|
|
440
|
-
--gog-button-
|
|
441
|
-
--gog-button-
|
|
442
|
-
--gog-button-
|
|
443
|
-
--gog-button-
|
|
444
|
-
|
|
445
|
-
--gog-button-
|
|
446
|
-
--gog-button-
|
|
447
|
-
--gog-button-
|
|
448
|
-
--gog-button-
|
|
449
|
-
--gog-button-
|
|
450
|
-
--gog-button-
|
|
451
|
-
--gog-button-
|
|
452
|
-
--gog-button-
|
|
453
|
-
--gog-button-
|
|
454
|
-
--gog-button-
|
|
455
|
-
--gog-button-
|
|
456
|
-
|
|
457
|
-
--gog-button-
|
|
458
|
-
--gog-button-
|
|
459
|
-
--gog-button-
|
|
460
|
-
--gog-button-
|
|
461
|
-
|
|
462
|
-
--gog-button-primary-
|
|
463
|
-
--gog-button-primary-
|
|
464
|
-
--gog-btn-primary-color,
|
|
465
|
-
var(--gog-accent-text-color, var(--gog-primary-color))
|
|
466
|
-
);
|
|
467
|
-
--gog-button-primary-border: var(--gog-btn-primary-border, transparent);
|
|
468
|
-
--gog-button-primary-shadow: var(--gog-btn-primary-shadow, none);
|
|
469
|
-
--gog-button-primary-hover-bg: var(--gog-btn-primary-hover-bg, var(--gog-accent-bright));
|
|
470
|
-
--gog-button-primary-hover-color: var(
|
|
471
|
-
--gog-btn-primary-hover-color,
|
|
472
|
-
var(--gog-button-primary-color)
|
|
473
|
-
);
|
|
474
|
-
--gog-button-primary-hover-shadow: var(
|
|
475
|
-
--gog-btn-primary-hover-shadow,
|
|
476
|
-
0 0 16px color-mix(in srgb, var(--gog-accent-bright) 45%, transparent)
|
|
477
|
-
);
|
|
527
|
+
escape hatch the variant/size classes fall back through. */
|
|
528
|
+
--gog-button-xsm-padding: var(--gog-space-4) var(--gog-space-8);
|
|
529
|
+
--gog-button-sm-padding: var(--gog-space-8) var(--gog-space-14);
|
|
530
|
+
--gog-button-md-padding: var(--gog-space-12) var(--gog-space-20);
|
|
531
|
+
--gog-button-lg-padding: var(--gog-space-16) var(--gog-space-24);
|
|
532
|
+
--gog-button-slg-padding: var(--gog-space-20) var(--gog-space-28);
|
|
533
|
+
--gog-button-xsm-font-size: 0.75rem;
|
|
534
|
+
--gog-button-sm-font-size: 0.875rem;
|
|
535
|
+
--gog-button-md-font-size: 1rem;
|
|
536
|
+
--gog-button-lg-font-size: 1.125rem;
|
|
537
|
+
--gog-button-slg-font-size: 1.25rem;
|
|
538
|
+
|
|
539
|
+
--gog-button-font-family: var(--gog-font-heading);
|
|
540
|
+
--gog-button-font-weight: 900;
|
|
541
|
+
--gog-button-letter-spacing: var(--gog-letter-spacing);
|
|
542
|
+
--gog-button-text-transform: var(--gog-text-transform);
|
|
543
|
+
--gog-button-line-height: 1;
|
|
544
|
+
--gog-button-gap: var(--gog-space-sm);
|
|
545
|
+
--gog-button-radius: var(--gog-radius);
|
|
546
|
+
--gog-button-border-width: var(--gog-control-border-width);
|
|
547
|
+
--gog-button-border-style: var(--gog-control-border-style);
|
|
548
|
+
--gog-button-transition-duration: var(--gog-duration-base);
|
|
549
|
+
--gog-button-focus-ring-width: var(--gog-focus-ring-width);
|
|
550
|
+
--gog-button-focus-ring-offset: 3px;
|
|
551
|
+
--gog-button-active-scale: 0.97;
|
|
552
|
+
--gog-button-disabled-opacity: var(--gog-disabled-opacity);
|
|
553
|
+
--gog-button-loading-opacity: 0.7;
|
|
554
|
+
--gog-button-spinner-max-size: 70%;
|
|
555
|
+
|
|
556
|
+
--gog-button-primary-bg: var(--gog-accent-color);
|
|
557
|
+
--gog-button-primary-color: var(--gog-accent-text-color, var(--gog-primary-color));
|
|
558
|
+
--gog-button-primary-border: transparent;
|
|
559
|
+
--gog-button-primary-shadow: none;
|
|
560
|
+
--gog-button-primary-hover-bg: var(--gog-accent-bright);
|
|
561
|
+
--gog-button-primary-hover-color: var(--gog-button-primary-color);
|
|
562
|
+
--gog-button-primary-hover-shadow: 0 0 16px var(--gog-accent-pale);
|
|
478
563
|
/* The label's colour, not the page's. `--gog-text-color` is the colour of text on the page
|
|
479
564
|
background, and a filled button is not the page background — on the dark theme that put pale
|
|
480
565
|
parchment on bright amber, which read as a washed-out spinner beside a near-black label. */
|
|
481
|
-
--gog-button-primary-spinner-color: var(
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
);
|
|
485
|
-
|
|
486
|
-
--gog-button-secondary-
|
|
487
|
-
--gog-button-secondary-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
);
|
|
491
|
-
--gog-button-secondary-border: var(--gog-btn-secondary-border, transparent);
|
|
492
|
-
--gog-button-secondary-shadow: var(--gog-btn-secondary-shadow, none);
|
|
493
|
-
--gog-button-secondary-hover-bg: var(--gog-btn-secondary-hover-bg, var(--gog-accent-color));
|
|
494
|
-
--gog-button-secondary-hover-color: var(
|
|
495
|
-
--gog-btn-secondary-hover-color,
|
|
496
|
-
var(--gog-button-secondary-color)
|
|
497
|
-
);
|
|
498
|
-
--gog-button-secondary-hover-shadow: var(--gog-btn-secondary-hover-shadow, none);
|
|
566
|
+
--gog-button-primary-spinner-color: var(--gog-button-primary-color);
|
|
567
|
+
|
|
568
|
+
--gog-button-secondary-bg: var(--gog-secondary-color);
|
|
569
|
+
--gog-button-secondary-color: var(--gog-accent-text-color, var(--gog-primary-color));
|
|
570
|
+
--gog-button-secondary-border: transparent;
|
|
571
|
+
--gog-button-secondary-shadow: none;
|
|
572
|
+
--gog-button-secondary-hover-bg: var(--gog-accent-color);
|
|
573
|
+
--gog-button-secondary-hover-color: var(--gog-button-secondary-color);
|
|
574
|
+
--gog-button-secondary-hover-shadow: none;
|
|
499
575
|
/* Same reasoning as primary: the other filled variant, the same mismatch. */
|
|
500
|
-
--gog-button-secondary-spinner-color: var(
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
);
|
|
504
|
-
|
|
505
|
-
--gog-button-outline-
|
|
506
|
-
--gog-button-outline-
|
|
507
|
-
--gog-button-outline-
|
|
508
|
-
--gog-button-outline-shadow:
|
|
509
|
-
--gog-button-outline-
|
|
510
|
-
|
|
511
|
-
--gog-button-
|
|
512
|
-
--gog-button-
|
|
513
|
-
|
|
514
|
-
--gog-button-ghost-
|
|
515
|
-
--gog-button-ghost-
|
|
516
|
-
--gog-button-ghost-
|
|
517
|
-
--gog-button-ghost-shadow:
|
|
518
|
-
--gog-button-ghost-
|
|
519
|
-
--gog-btn-ghost-hover-bg,
|
|
520
|
-
color-mix(in srgb, var(--gog-accent-color) 12%, transparent)
|
|
521
|
-
);
|
|
522
|
-
--gog-button-ghost-hover-color: var(--gog-btn-ghost-hover-color, var(--gog-button-ghost-color));
|
|
523
|
-
--gog-button-ghost-hover-shadow: var(--gog-btn-ghost-hover-shadow, none);
|
|
524
|
-
--gog-button-ghost-spinner-color: var(--gog-btn-ghost-spinner-color, var(--gog-accent-color));
|
|
576
|
+
--gog-button-secondary-spinner-color: var(--gog-button-secondary-color);
|
|
577
|
+
|
|
578
|
+
--gog-button-outline-bg: transparent;
|
|
579
|
+
--gog-button-outline-color: var(--gog-accent-color);
|
|
580
|
+
--gog-button-outline-border: var(--gog-accent-color);
|
|
581
|
+
--gog-button-outline-shadow: none;
|
|
582
|
+
--gog-button-outline-hover-bg: var(--gog-accent-color);
|
|
583
|
+
--gog-button-outline-hover-color: var(--gog-primary-color);
|
|
584
|
+
--gog-button-outline-hover-shadow: none;
|
|
585
|
+
--gog-button-outline-spinner-color: var(--gog-accent-color);
|
|
586
|
+
|
|
587
|
+
--gog-button-ghost-bg: transparent;
|
|
588
|
+
--gog-button-ghost-color: var(--gog-accent-color);
|
|
589
|
+
--gog-button-ghost-border: transparent;
|
|
590
|
+
--gog-button-ghost-shadow: none;
|
|
591
|
+
--gog-button-ghost-hover-bg: var(--gog-hover-color);
|
|
592
|
+
--gog-button-ghost-hover-color: var(--gog-button-ghost-color);
|
|
593
|
+
--gog-button-ghost-hover-shadow: none;
|
|
594
|
+
--gog-button-ghost-spinner-color: var(--gog-accent-color);
|
|
525
595
|
|
|
526
596
|
/* ── Button toggle group ───────────────────────────────────────────────────
|
|
527
597
|
`--gog-button-toggle-bg`, `-color`, `-padding` and `-font-size` are intentionally NOT
|
|
528
598
|
declared — they are the per-instance escape hatch the size classes fall back through.
|
|
529
|
-
Padding/font-size reuse the `--gog-
|
|
599
|
+
Padding/font-size reuse the `--gog-button-<size>-*` scale so a toggle group and a
|
|
530
600
|
`<gog-button>` at the same `size` line up in a toolbar. */
|
|
531
601
|
--gog-button-toggle-font-family: var(--gog-font-heading);
|
|
532
602
|
--gog-button-toggle-font-weight: 700;
|
|
533
603
|
--gog-button-toggle-letter-spacing: 0.5px;
|
|
534
|
-
--gog-button-toggle-text-transform:
|
|
604
|
+
--gog-button-toggle-text-transform: var(--gog-text-transform);
|
|
535
605
|
--gog-button-toggle-line-height: 1;
|
|
536
606
|
--gog-button-toggle-gap: var(--gog-space-sm);
|
|
537
607
|
--gog-button-toggle-icon-size: 1.1em;
|
|
@@ -559,14 +629,14 @@
|
|
|
559
629
|
/* Caps the host at its month grid instead of letting the header spread to the container.
|
|
560
630
|
`100%` restores the pre-21.5.0 full-width behaviour. */
|
|
561
631
|
--gog-calendar-max-width: max-content;
|
|
562
|
-
--gog-calendar-padding:
|
|
563
|
-
--gog-calendar-header-gap:
|
|
632
|
+
--gog-calendar-padding: var(--gog-space-12);
|
|
633
|
+
--gog-calendar-header-gap: var(--gog-space-4);
|
|
564
634
|
--gog-calendar-header-margin: 8px;
|
|
565
|
-
--gog-calendar-months-gap:
|
|
635
|
+
--gog-calendar-months-gap: var(--gog-space-16);
|
|
566
636
|
--gog-calendar-title-color: var(--gog-text-color);
|
|
567
637
|
--gog-calendar-title-font-weight: 700;
|
|
568
638
|
--gog-calendar-nav-size: 28px;
|
|
569
|
-
--gog-calendar-nav-radius:
|
|
639
|
+
--gog-calendar-nav-radius: calc(var(--gog-radius) - 2px);
|
|
570
640
|
--gog-calendar-nav-bg: transparent;
|
|
571
641
|
--gog-calendar-nav-color: var(--gog-muted-text-color);
|
|
572
642
|
--gog-calendar-nav-hover-bg: var(--gog-hover-color);
|
|
@@ -574,14 +644,14 @@
|
|
|
574
644
|
--gog-calendar-nav-icon-size: 0.8rem;
|
|
575
645
|
/* Pulls the two chevrons of a year step together so they read as one control. */
|
|
576
646
|
--gog-calendar-nav-icon-overlap: -0.35em;
|
|
577
|
-
--gog-calendar-weekday-padding:
|
|
647
|
+
--gog-calendar-weekday-padding: var(--gog-space-4) 0;
|
|
578
648
|
--gog-calendar-weekday-color: var(--gog-muted-text-color);
|
|
579
649
|
--gog-calendar-weekday-font-size: var(--gog-text-xs);
|
|
580
650
|
--gog-calendar-weekday-font-weight: 600;
|
|
581
|
-
--gog-calendar-weekday-text-transform:
|
|
582
|
-
--gog-calendar-day-radius:
|
|
583
|
-
--gog-calendar-day-border-width:
|
|
584
|
-
--gog-calendar-day-border-style:
|
|
651
|
+
--gog-calendar-weekday-text-transform: var(--gog-text-transform);
|
|
652
|
+
--gog-calendar-day-radius: calc(var(--gog-radius) - 2px);
|
|
653
|
+
--gog-calendar-day-border-width: var(--gog-border-width);
|
|
654
|
+
--gog-calendar-day-border-style: var(--gog-border-style);
|
|
585
655
|
--gog-calendar-day-rest-bg: transparent;
|
|
586
656
|
--gog-calendar-day-rest-color: var(--gog-text-color);
|
|
587
657
|
--gog-calendar-day-hover-bg: var(--gog-hover-color);
|
|
@@ -593,7 +663,7 @@
|
|
|
593
663
|
--gog-calendar-selected-font-weight: 700;
|
|
594
664
|
/* The wash between the two ends of a range: same hue, low enough to read as a band rather
|
|
595
665
|
than as a second selection. */
|
|
596
|
-
--gog-calendar-range-bg:
|
|
666
|
+
--gog-calendar-range-bg: var(--gog-accent-pale);
|
|
597
667
|
--gog-calendar-range-color: var(--gog-text-color);
|
|
598
668
|
--gog-calendar-disabled-opacity: var(--gog-disabled-opacity);
|
|
599
669
|
--gog-calendar-transition-duration: var(--gog-duration-fast);
|
|
@@ -603,13 +673,13 @@
|
|
|
603
673
|
--gog-calendar-divider-width: 1px;
|
|
604
674
|
--gog-calendar-divider-style: solid;
|
|
605
675
|
--gog-calendar-divider-color: var(--gog-border-color);
|
|
606
|
-
--gog-calendar-time-gap:
|
|
676
|
+
--gog-calendar-time-gap: var(--gog-space-6);
|
|
607
677
|
--gog-calendar-time-margin: 10px;
|
|
608
678
|
--gog-calendar-time-input-width: 3.5rem;
|
|
609
|
-
--gog-calendar-time-input-padding:
|
|
679
|
+
--gog-calendar-time-input-padding: var(--gog-space-4) var(--gog-space-6);
|
|
610
680
|
--gog-calendar-time-input-bg: var(--gog-background-color);
|
|
611
|
-
--gog-calendar-action-padding:
|
|
612
|
-
--gog-calendar-footer-gap:
|
|
681
|
+
--gog-calendar-action-padding: var(--gog-space-4) var(--gog-space-10);
|
|
682
|
+
--gog-calendar-footer-gap: var(--gog-space-8);
|
|
613
683
|
--gog-calendar-xsm-font-size: var(--gog-text-xs);
|
|
614
684
|
--gog-calendar-xsm-day-size: 24px;
|
|
615
685
|
--gog-calendar-sm-font-size: var(--gog-text-sm);
|
|
@@ -641,17 +711,17 @@
|
|
|
641
711
|
--gog-card-outlined-bg: var(--gog-surface-color);
|
|
642
712
|
--gog-card-outlined-border-color: var(--gog-border-color);
|
|
643
713
|
--gog-card-outlined-shadow: none;
|
|
644
|
-
--gog-card-elevated-bg: var(--gog-surface-color);
|
|
714
|
+
--gog-card-elevated-bg: var(--gog-elevated-surface-color);
|
|
645
715
|
--gog-card-elevated-border-color: transparent;
|
|
646
716
|
/* The shared surface shadow, so a card sits at the same elevation as a dialog or a
|
|
647
717
|
dropdown panel instead of inventing a second house style for "raised". */
|
|
648
718
|
--gog-card-elevated-shadow: var(--gog-panel-shadow);
|
|
649
|
-
--gog-card-filled-bg:
|
|
719
|
+
--gog-card-filled-bg: var(--gog-accent-pale);
|
|
650
720
|
--gog-card-filled-border-color: transparent;
|
|
651
721
|
--gog-card-filled-shadow: none;
|
|
652
722
|
|
|
653
723
|
/* Hover and focus only ever show on a card that holds a `gogCardLink`. */
|
|
654
|
-
--gog-card-hover-border-color:
|
|
724
|
+
--gog-card-hover-border-color: var(--gog-accent-dim);
|
|
655
725
|
--gog-card-hover-shadow: var(--gog-panel-shadow);
|
|
656
726
|
--gog-card-focus-ring: var(--gog-accent-color);
|
|
657
727
|
--gog-card-focus-ring-width: var(--gog-focus-ring-width);
|
|
@@ -662,27 +732,27 @@
|
|
|
662
732
|
--gog-card-footer-gap: var(--gog-space-sm);
|
|
663
733
|
--gog-card-footer-padding-top: var(--gog-space-sm);
|
|
664
734
|
|
|
665
|
-
--gog-card-xsm-padding-y:
|
|
666
|
-
--gog-card-xsm-padding-x:
|
|
667
|
-
--gog-card-xsm-gap:
|
|
668
|
-
--gog-card-sm-padding-y:
|
|
669
|
-
--gog-card-sm-padding-x:
|
|
735
|
+
--gog-card-xsm-padding-y: var(--gog-space-8);
|
|
736
|
+
--gog-card-xsm-padding-x: var(--gog-space-10);
|
|
737
|
+
--gog-card-xsm-gap: var(--gog-space-6);
|
|
738
|
+
--gog-card-sm-padding-y: var(--gog-space-12);
|
|
739
|
+
--gog-card-sm-padding-x: var(--gog-space-14);
|
|
670
740
|
--gog-card-sm-gap: var(--gog-space-sm);
|
|
671
741
|
--gog-card-md-padding-y: var(--gog-space-md);
|
|
672
|
-
--gog-card-md-padding-x:
|
|
673
|
-
--gog-card-md-gap:
|
|
674
|
-
--gog-card-lg-padding-y:
|
|
742
|
+
--gog-card-md-padding-x: var(--gog-space-20);
|
|
743
|
+
--gog-card-md-gap: var(--gog-space-12);
|
|
744
|
+
--gog-card-lg-padding-y: var(--gog-space-20);
|
|
675
745
|
--gog-card-lg-padding-x: var(--gog-space-lg);
|
|
676
|
-
--gog-card-lg-gap:
|
|
677
|
-
--gog-card-slg-padding-y:
|
|
678
|
-
--gog-card-slg-padding-x:
|
|
746
|
+
--gog-card-lg-gap: var(--gog-space-14);
|
|
747
|
+
--gog-card-slg-padding-y: var(--gog-space-28);
|
|
748
|
+
--gog-card-slg-padding-x: var(--gog-space-32);
|
|
679
749
|
--gog-card-slg-gap: var(--gog-space-md);
|
|
680
750
|
|
|
681
751
|
/* ── Checkbox ──────────────────────────────────────────────────────────────
|
|
682
752
|
Box/label/icon size and padding come from the `--gog-control-checkbox-*` scale;
|
|
683
753
|
checkbox.component.ts maps the `size` input onto the host. */
|
|
684
754
|
--gog-checkbox-font-family: var(--gog-font-body);
|
|
685
|
-
--gog-checkbox-gap:
|
|
755
|
+
--gog-checkbox-gap: var(--gog-space-10);
|
|
686
756
|
--gog-checkbox-radius: var(--gog-radius);
|
|
687
757
|
--gog-checkbox-border-width: var(--gog-control-border-width);
|
|
688
758
|
--gog-checkbox-border-style: var(--gog-control-border-style);
|
|
@@ -693,7 +763,7 @@
|
|
|
693
763
|
--gog-checkbox-icon-color: var(--gog-accent-text-color, var(--gog-primary-color));
|
|
694
764
|
--gog-checkbox-label-color: var(--gog-muted-text-color);
|
|
695
765
|
--gog-checkbox-label-line-height: 1.3;
|
|
696
|
-
--gog-checkbox-focus-ring:
|
|
766
|
+
--gog-checkbox-focus-ring: var(--gog-accent-pale);
|
|
697
767
|
--gog-checkbox-focus-ring-width: var(--gog-focus-ring-width);
|
|
698
768
|
--gog-checkbox-focus-ring-offset: var(--gog-focus-ring-offset);
|
|
699
769
|
--gog-checkbox-disabled-opacity: var(--gog-disabled-opacity);
|
|
@@ -706,12 +776,12 @@
|
|
|
706
776
|
Box/label size reuse the `--gog-control-checkbox-*` scale (see Checkbox above);
|
|
707
777
|
radio-group.component.ts maps the `size` input onto the host the same way. */
|
|
708
778
|
--gog-radio-font-family: var(--gog-font-body);
|
|
709
|
-
--gog-radio-group-gap:
|
|
779
|
+
--gog-radio-group-gap: var(--gog-space-10);
|
|
710
780
|
--gog-radio-group-label-size: var(--gog-text-sm);
|
|
711
781
|
--gog-radio-group-label-color: var(--gog-muted-text-color);
|
|
712
|
-
--gog-radio-group-option-gap:
|
|
713
|
-
--gog-radio-group-option-gap-horizontal:
|
|
714
|
-
--gog-radio-gap:
|
|
782
|
+
--gog-radio-group-option-gap: var(--gog-space-8);
|
|
783
|
+
--gog-radio-group-option-gap-horizontal: var(--gog-space-20);
|
|
784
|
+
--gog-radio-gap: var(--gog-space-10);
|
|
715
785
|
--gog-radio-border-width: var(--gog-control-border-width);
|
|
716
786
|
--gog-radio-border-style: var(--gog-control-border-style);
|
|
717
787
|
--gog-radio-border-color: var(--gog-accent-dim);
|
|
@@ -722,7 +792,7 @@
|
|
|
722
792
|
--gog-radio-dot-size-ratio: 0.45;
|
|
723
793
|
--gog-radio-label-color: var(--gog-muted-text-color);
|
|
724
794
|
--gog-radio-label-line-height: 1.3;
|
|
725
|
-
--gog-radio-focus-ring:
|
|
795
|
+
--gog-radio-focus-ring: var(--gog-accent-pale);
|
|
726
796
|
--gog-radio-focus-ring-width: var(--gog-focus-ring-width);
|
|
727
797
|
--gog-radio-focus-ring-offset: var(--gog-focus-ring-offset);
|
|
728
798
|
--gog-radio-disabled-opacity: var(--gog-disabled-opacity);
|
|
@@ -735,11 +805,11 @@
|
|
|
735
805
|
`--gog-chip-font-size`/`-padding-*`/`-gap`/`-avatar-size`/`-icon-size`/
|
|
736
806
|
`-remove-size` are left undeclared as the per-instance escape hatch. */
|
|
737
807
|
--gog-chip-font-family: inherit;
|
|
738
|
-
--gog-chip-bg:
|
|
739
|
-
--gog-chip-hover-bg:
|
|
808
|
+
--gog-chip-bg: var(--gog-surface-color);
|
|
809
|
+
--gog-chip-hover-bg: var(--gog-hover-color);
|
|
740
810
|
--gog-chip-border: var(--gog-border-color);
|
|
741
|
-
--gog-chip-border-width:
|
|
742
|
-
--gog-chip-border-style:
|
|
811
|
+
--gog-chip-border-width: var(--gog-border-width);
|
|
812
|
+
--gog-chip-border-style: var(--gog-border-style);
|
|
743
813
|
--gog-chip-color: var(--gog-text-color);
|
|
744
814
|
--gog-chip-font-weight: 500;
|
|
745
815
|
--gog-chip-line-height: 1.2;
|
|
@@ -755,41 +825,41 @@
|
|
|
755
825
|
--gog-chip-focus-ring-offset: var(--gog-focus-ring-offset);
|
|
756
826
|
|
|
757
827
|
--gog-chip-xsm-font-size: 0.6875rem;
|
|
758
|
-
--gog-chip-xsm-padding-block:
|
|
759
|
-
--gog-chip-xsm-padding-inline:
|
|
760
|
-
--gog-chip-xsm-gap:
|
|
828
|
+
--gog-chip-xsm-padding-block: var(--gog-space-4);
|
|
829
|
+
--gog-chip-xsm-padding-inline: var(--gog-space-6);
|
|
830
|
+
--gog-chip-xsm-gap: var(--gog-space-4);
|
|
761
831
|
--gog-chip-xsm-avatar-size: 0.875rem;
|
|
762
832
|
--gog-chip-xsm-icon-size: 0.6875rem;
|
|
763
833
|
--gog-chip-xsm-remove-size: 0.75rem;
|
|
764
834
|
|
|
765
835
|
--gog-chip-sm-font-size: 0.75rem;
|
|
766
|
-
--gog-chip-sm-padding-block:
|
|
767
|
-
--gog-chip-sm-padding-inline:
|
|
768
|
-
--gog-chip-sm-gap:
|
|
836
|
+
--gog-chip-sm-padding-block: var(--gog-space-4);
|
|
837
|
+
--gog-chip-sm-padding-inline: var(--gog-space-8);
|
|
838
|
+
--gog-chip-sm-gap: var(--gog-space-6);
|
|
769
839
|
--gog-chip-sm-avatar-size: 1rem;
|
|
770
840
|
--gog-chip-sm-icon-size: 0.75rem;
|
|
771
841
|
--gog-chip-sm-remove-size: 0.875rem;
|
|
772
842
|
|
|
773
843
|
--gog-chip-md-font-size: 0.875rem;
|
|
774
|
-
--gog-chip-md-padding-block:
|
|
775
|
-
--gog-chip-md-padding-inline:
|
|
776
|
-
--gog-chip-md-gap:
|
|
844
|
+
--gog-chip-md-padding-block: var(--gog-space-8);
|
|
845
|
+
--gog-chip-md-padding-inline: var(--gog-space-12);
|
|
846
|
+
--gog-chip-md-gap: var(--gog-space-8);
|
|
777
847
|
--gog-chip-md-avatar-size: 1.25rem;
|
|
778
848
|
--gog-chip-md-icon-size: 0.875rem;
|
|
779
849
|
--gog-chip-md-remove-size: 1rem;
|
|
780
850
|
|
|
781
851
|
--gog-chip-lg-font-size: 1rem;
|
|
782
|
-
--gog-chip-lg-padding-block:
|
|
783
|
-
--gog-chip-lg-padding-inline:
|
|
784
|
-
--gog-chip-lg-gap:
|
|
852
|
+
--gog-chip-lg-padding-block: var(--gog-space-10);
|
|
853
|
+
--gog-chip-lg-padding-inline: var(--gog-space-14);
|
|
854
|
+
--gog-chip-lg-gap: var(--gog-space-10);
|
|
785
855
|
--gog-chip-lg-avatar-size: 1.5rem;
|
|
786
856
|
--gog-chip-lg-icon-size: 1rem;
|
|
787
857
|
--gog-chip-lg-remove-size: 1.125rem;
|
|
788
858
|
|
|
789
859
|
--gog-chip-slg-font-size: 1.125rem;
|
|
790
|
-
--gog-chip-slg-padding-block:
|
|
791
|
-
--gog-chip-slg-padding-inline:
|
|
792
|
-
--gog-chip-slg-gap:
|
|
860
|
+
--gog-chip-slg-padding-block: var(--gog-space-12);
|
|
861
|
+
--gog-chip-slg-padding-inline: var(--gog-space-16);
|
|
862
|
+
--gog-chip-slg-gap: var(--gog-space-12);
|
|
793
863
|
--gog-chip-slg-avatar-size: 1.75rem;
|
|
794
864
|
--gog-chip-slg-icon-size: 1.125rem;
|
|
795
865
|
--gog-chip-slg-remove-size: 1.25rem;
|
|
@@ -813,32 +883,29 @@
|
|
|
813
883
|
--gog-dialog-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
|
|
814
884
|
--gog-dialog-min-width: 320px;
|
|
815
885
|
--gog-dialog-max-height: 90vh;
|
|
816
|
-
--gog-dialog-header-padding:
|
|
817
|
-
--gog-dialog-header-gap:
|
|
886
|
+
--gog-dialog-header-padding: var(--gog-space-16) var(--gog-space-20) var(--gog-space-14);
|
|
887
|
+
--gog-dialog-header-gap: var(--gog-space-12);
|
|
818
888
|
--gog-dialog-header-border-color: var(--gog-border-color);
|
|
819
|
-
--gog-dialog-body-padding:
|
|
889
|
+
--gog-dialog-body-padding: var(--gog-space-20);
|
|
820
890
|
--gog-dialog-body-max-height: calc(var(--gog-dialog-max-height) - 60px);
|
|
821
891
|
--gog-dialog-close-size: 2rem;
|
|
822
892
|
--gog-dialog-close-font-size: 0.875rem;
|
|
823
893
|
--gog-dialog-close-color: var(--gog-muted-text-color);
|
|
824
894
|
--gog-dialog-close-hover-color: var(--gog-text-color);
|
|
825
|
-
--gog-dialog-close-hover-bg:
|
|
895
|
+
--gog-dialog-close-hover-bg: var(--gog-hover-color);
|
|
826
896
|
--gog-dialog-close-hover-border: var(--gog-border-color);
|
|
827
897
|
--gog-dialog-close-focus-ring: var(--gog-accent-color);
|
|
828
898
|
--gog-dialog-close-focus-ring-width: var(--gog-focus-ring-width);
|
|
829
899
|
--gog-dialog-close-focus-ring-offset: var(--gog-focus-ring-offset);
|
|
830
900
|
|
|
831
901
|
/* Confirmation dialog */
|
|
832
|
-
--gog-confirmation-dialog-gap: var(--gog-
|
|
833
|
-
--gog-confirmation-dialog-min-width:
|
|
834
|
-
--gog-confirmation-dialog-max-width:
|
|
835
|
-
--gog-confirmation-dialog-color: var(--gog-
|
|
836
|
-
--gog-confirmation-dialog-description-color: var(
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
);
|
|
840
|
-
--gog-confirmation-dialog-actions-gap: var(--gog-confirm-actions-gap, var(--gog-space-sm));
|
|
841
|
-
--gog-confirmation-dialog-actions-offset: var(--gog-confirm-actions-offset, var(--gog-space-sm));
|
|
902
|
+
--gog-confirmation-dialog-gap: var(--gog-space-12);
|
|
903
|
+
--gog-confirmation-dialog-min-width: 320px;
|
|
904
|
+
--gog-confirmation-dialog-max-width: 440px;
|
|
905
|
+
--gog-confirmation-dialog-color: var(--gog-text-color);
|
|
906
|
+
--gog-confirmation-dialog-description-color: var(--gog-muted-text-color);
|
|
907
|
+
--gog-confirmation-dialog-actions-gap: var(--gog-space-sm);
|
|
908
|
+
--gog-confirmation-dialog-actions-offset: var(--gog-space-sm);
|
|
842
909
|
|
|
843
910
|
/* ── Autocomplete ──────────────────────────────────────────────────────────
|
|
844
911
|
A combobox whose trigger is a real text input. Padding/font-size reuse the shared
|
|
@@ -848,12 +915,12 @@
|
|
|
848
915
|
back through. */
|
|
849
916
|
--gog-autocomplete-font-family: var(--gog-font-body);
|
|
850
917
|
--gog-autocomplete-label-font-family: var(--gog-font-heading);
|
|
851
|
-
--gog-autocomplete-gap:
|
|
918
|
+
--gog-autocomplete-gap: var(--gog-space-4);
|
|
852
919
|
--gog-autocomplete-label-color: var(--gog-accent-color);
|
|
853
920
|
--gog-autocomplete-label-font-size: var(--gog-text-sm);
|
|
854
921
|
--gog-autocomplete-label-font-weight: 600;
|
|
855
|
-
--gog-autocomplete-label-letter-spacing:
|
|
856
|
-
--gog-autocomplete-label-text-transform:
|
|
922
|
+
--gog-autocomplete-label-letter-spacing: var(--gog-letter-spacing);
|
|
923
|
+
--gog-autocomplete-label-text-transform: var(--gog-text-transform);
|
|
857
924
|
--gog-autocomplete-field-bg: var(--gog-surface-color);
|
|
858
925
|
--gog-autocomplete-text-color: var(--gog-text-color);
|
|
859
926
|
--gog-autocomplete-placeholder-color: var(--gog-muted-text-color);
|
|
@@ -877,7 +944,7 @@
|
|
|
877
944
|
/* Trailing chrome: spinner and clear button, clear outermost — the arrangement the other
|
|
878
945
|
dropdowns settled on, so all of them line up in a form. */
|
|
879
946
|
--gog-autocomplete-actions-inset: var(--gog-control-icon-offset);
|
|
880
|
-
--gog-autocomplete-actions-gap:
|
|
947
|
+
--gog-autocomplete-actions-gap: var(--gog-space-6);
|
|
881
948
|
/* Right padding on the input, reserving room for the actions above. */
|
|
882
949
|
--gog-autocomplete-actions-reserve: 40px;
|
|
883
950
|
--gog-autocomplete-clear-color: var(--gog-autocomplete-placeholder-color);
|
|
@@ -891,22 +958,18 @@
|
|
|
891
958
|
--gog-autocomplete-panel-border-style: var(--gog-panel-border-style);
|
|
892
959
|
--gog-autocomplete-panel-border-color: var(--gog-border-color);
|
|
893
960
|
--gog-autocomplete-panel-radius: var(--gog-radius);
|
|
894
|
-
--gog-autocomplete-panel-gap:
|
|
961
|
+
--gog-autocomplete-panel-gap: var(--gog-space-2);
|
|
895
962
|
--gog-autocomplete-panel-max-height: 260px;
|
|
896
963
|
/* Ceiling for a content-sized panel, so one very long option cannot span the viewport. */
|
|
897
964
|
--gog-autocomplete-panel-max-width: 420px;
|
|
898
|
-
--gog-autocomplete-options-padding:
|
|
899
|
-
--gog-autocomplete-option-padding:
|
|
900
|
-
--gog-autocomplete-option-radius: 4px;
|
|
901
|
-
--gog-autocomplete-option-gap:
|
|
965
|
+
--gog-autocomplete-options-padding: var(--gog-space-4);
|
|
966
|
+
--gog-autocomplete-option-padding: var(--gog-space-8) var(--gog-space-10);
|
|
967
|
+
--gog-autocomplete-option-radius: calc(var(--gog-radius) - 4px);
|
|
968
|
+
--gog-autocomplete-option-gap: var(--gog-space-10);
|
|
902
969
|
--gog-autocomplete-option-color: var(--gog-text-color);
|
|
903
|
-
--gog-autocomplete-option-hover-bg:
|
|
970
|
+
--gog-autocomplete-option-hover-bg: var(--gog-hover-color);
|
|
904
971
|
--gog-autocomplete-option-hover-color: var(--gog-text-color);
|
|
905
|
-
--gog-autocomplete-option-selected-bg:
|
|
906
|
-
in srgb,
|
|
907
|
-
var(--gog-accent-color) 16%,
|
|
908
|
-
transparent
|
|
909
|
-
);
|
|
972
|
+
--gog-autocomplete-option-selected-bg: var(--gog-accent-pale);
|
|
910
973
|
--gog-autocomplete-option-selected-color: var(--gog-accent-color);
|
|
911
974
|
/* Estimated row height fed into the panel's up/down placement math; not itself a real
|
|
912
975
|
layout property, so it has no effect unless the JS reads it. */
|
|
@@ -927,12 +990,12 @@
|
|
|
927
990
|
sideways only. */
|
|
928
991
|
--gog-badge-size: 1.25rem;
|
|
929
992
|
--gog-badge-dot-size: 0.5rem;
|
|
930
|
-
--gog-badge-padding-inline:
|
|
993
|
+
--gog-badge-padding-inline: var(--gog-space-4);
|
|
931
994
|
--gog-badge-radius: 999px;
|
|
932
995
|
/* How far the badge hangs outside its host's corner. */
|
|
933
996
|
--gog-badge-offset: 6px;
|
|
934
997
|
--gog-badge-border-width: 0;
|
|
935
|
-
--gog-badge-border-style:
|
|
998
|
+
--gog-badge-border-style: var(--gog-border-style);
|
|
936
999
|
--gog-badge-border-color: transparent;
|
|
937
1000
|
/* Above the host's own chrome but below any overlay panel (--gog-dropdown-z is 300). */
|
|
938
1001
|
--gog-badge-z: 1;
|
|
@@ -953,11 +1016,11 @@
|
|
|
953
1016
|
back through. */
|
|
954
1017
|
--gog-datepicker-font-family: var(--gog-font-body);
|
|
955
1018
|
--gog-datepicker-label-font-family: var(--gog-font-heading);
|
|
956
|
-
--gog-datepicker-gap:
|
|
1019
|
+
--gog-datepicker-gap: var(--gog-space-4);
|
|
957
1020
|
--gog-datepicker-label-color: var(--gog-accent-color);
|
|
958
1021
|
--gog-datepicker-label-font-size: var(--gog-text-sm);
|
|
959
|
-
--gog-datepicker-label-letter-spacing:
|
|
960
|
-
--gog-datepicker-label-text-transform:
|
|
1022
|
+
--gog-datepicker-label-letter-spacing: var(--gog-letter-spacing);
|
|
1023
|
+
--gog-datepicker-label-text-transform: var(--gog-text-transform);
|
|
961
1024
|
--gog-datepicker-field-bg: var(--gog-surface-color);
|
|
962
1025
|
--gog-datepicker-text-color: var(--gog-text-color);
|
|
963
1026
|
--gog-datepicker-placeholder-color: var(--gog-muted-text-color);
|
|
@@ -978,7 +1041,7 @@
|
|
|
978
1041
|
--gog-datepicker-error-font-size: var(--gog-text-xs);
|
|
979
1042
|
--gog-datepicker-min-width: 150px;
|
|
980
1043
|
--gog-datepicker-actions-inset: var(--gog-control-icon-offset);
|
|
981
|
-
--gog-datepicker-actions-gap:
|
|
1044
|
+
--gog-datepicker-actions-gap: var(--gog-space-6);
|
|
982
1045
|
/* Right padding on the input, reserving room for the calendar and clear buttons. */
|
|
983
1046
|
--gog-datepicker-actions-reserve: 40px;
|
|
984
1047
|
--gog-datepicker-icon-color: var(--gog-accent-color);
|
|
@@ -992,7 +1055,7 @@
|
|
|
992
1055
|
--gog-datepicker-panel-border-style: var(--gog-panel-border-style);
|
|
993
1056
|
--gog-datepicker-panel-border-color: var(--gog-border-color);
|
|
994
1057
|
--gog-datepicker-panel-radius: var(--gog-radius);
|
|
995
|
-
--gog-datepicker-panel-gap:
|
|
1058
|
+
--gog-datepicker-panel-gap: var(--gog-space-2);
|
|
996
1059
|
/* The dropdown surface. Inline mode is `gog-calendar` itself, so it sizes from
|
|
997
1060
|
`--gog-calendar-max-width` rather than from this. */
|
|
998
1061
|
--gog-datepicker-panel-width: max-content;
|
|
@@ -1028,11 +1091,11 @@
|
|
|
1028
1091
|
/* ── Input field ───────────────────────────────────────────────────────────── */
|
|
1029
1092
|
--gog-input-font-family: var(--gog-font-body);
|
|
1030
1093
|
--gog-input-label-font-family: var(--gog-font-heading);
|
|
1031
|
-
--gog-input-gap:
|
|
1094
|
+
--gog-input-gap: var(--gog-space-4);
|
|
1032
1095
|
--gog-input-label-color: var(--gog-accent-color);
|
|
1033
1096
|
--gog-input-label-font-size: var(--gog-text-sm);
|
|
1034
|
-
--gog-input-label-letter-spacing:
|
|
1035
|
-
--gog-input-label-text-transform:
|
|
1097
|
+
--gog-input-label-letter-spacing: var(--gog-letter-spacing);
|
|
1098
|
+
--gog-input-label-text-transform: var(--gog-text-transform);
|
|
1036
1099
|
--gog-input-field-bg: var(--gog-surface-color);
|
|
1037
1100
|
--gog-input-field-border: var(--gog-accent-dim);
|
|
1038
1101
|
--gog-input-field-border-width: var(--gog-control-border-width);
|
|
@@ -1041,7 +1104,7 @@
|
|
|
1041
1104
|
--gog-input-field-color: var(--gog-text-color);
|
|
1042
1105
|
--gog-input-placeholder-color: var(--gog-muted-text-color);
|
|
1043
1106
|
--gog-input-focus-border: var(--gog-accent-color);
|
|
1044
|
-
--gog-input-focus-ring:
|
|
1107
|
+
--gog-input-focus-ring: var(--gog-accent-pale);
|
|
1045
1108
|
--gog-input-focus-glow: 0 0 8px var(--gog-input-focus-ring);
|
|
1046
1109
|
--gog-input-focus-ring-width: var(--gog-focus-ring-width);
|
|
1047
1110
|
--gog-input-focus-ring-offset: var(--gog-focus-ring-offset);
|
|
@@ -1050,11 +1113,11 @@
|
|
|
1050
1113
|
--gog-input-error-offset: 2px;
|
|
1051
1114
|
--gog-input-icon-color: var(--gog-muted-text-color);
|
|
1052
1115
|
--gog-input-icon-hover-color: var(--gog-accent-color);
|
|
1053
|
-
--gog-input-icon-action-radius: 4px;
|
|
1116
|
+
--gog-input-icon-action-radius: calc(var(--gog-radius) - 4px);
|
|
1054
1117
|
--gog-input-icon-focus-ring-width: 2px;
|
|
1055
1118
|
/* Number field's spin buttons — a subtle fill on hover, since they sit flush against the
|
|
1056
1119
|
field's own border rather than floating with their own padding like the other icons. */
|
|
1057
|
-
--gog-input-spin-hover-bg:
|
|
1120
|
+
--gog-input-spin-hover-bg: var(--gog-hover-color);
|
|
1058
1121
|
--gog-input-disabled-opacity: var(--gog-disabled-opacity);
|
|
1059
1122
|
--gog-input-transition-duration: var(--gog-duration-base);
|
|
1060
1123
|
/* Float label — also used by gog-textarea, which shares the --gog-input-* block. */
|
|
@@ -1074,7 +1137,7 @@
|
|
|
1074
1137
|
--gog-textarea-resize-grip-color: var(--gog-input-field-border);
|
|
1075
1138
|
--gog-textarea-resize-grip-opacity: 0.8;
|
|
1076
1139
|
--gog-textarea-resize-grip-stripe-width: 1.5px;
|
|
1077
|
-
--gog-textarea-resize-grip-stripe-gap:
|
|
1140
|
+
--gog-textarea-resize-grip-stripe-gap: var(--gog-space-2);
|
|
1078
1141
|
--gog-textarea-resize-grip-offset: 3px;
|
|
1079
1142
|
/*
|
|
1080
1143
|
Both default to 0 and are overwritten per instance, as an inline style on the field, from
|
|
@@ -1101,149 +1164,87 @@
|
|
|
1101
1164
|
--gog-input-float-label-over-gap: var(--gog-field-float-label-over-gap);
|
|
1102
1165
|
--gog-input-float-label-over-reserve: var(--gog-field-float-label-over-reserve);
|
|
1103
1166
|
|
|
1104
|
-
/* ── Multiselect ─────────────────────────────────────────────────────────────
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
--gog-multiselect-
|
|
1111
|
-
--gog-multiselect-label-font-
|
|
1112
|
-
--gog-multiselect-
|
|
1113
|
-
--gog-multiselect-
|
|
1114
|
-
--gog-multiselect-
|
|
1115
|
-
--gog-multiselect-
|
|
1116
|
-
--gog-multiselect-
|
|
1117
|
-
--gog-multiselect-
|
|
1118
|
-
--gog-multiselect-
|
|
1119
|
-
--gog-multiselect-field-
|
|
1120
|
-
--gog-multiselect-
|
|
1121
|
-
--gog-multiselect-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
);
|
|
1125
|
-
--gog-multiselect-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
);
|
|
1129
|
-
--gog-multiselect-
|
|
1130
|
-
--gog-multiselect-
|
|
1131
|
-
--gog-multiselect-
|
|
1132
|
-
--gog-multiselect-
|
|
1133
|
-
--gog-multiselect-
|
|
1134
|
-
--gog-multiselect-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
);
|
|
1138
|
-
--gog-multiselect-
|
|
1139
|
-
--gog-multiselect-focus-ring-width: var(--gog-ms-focus-ring-width, var(--gog-focus-ring-width));
|
|
1140
|
-
--gog-multiselect-focus-ring-offset: var(
|
|
1141
|
-
--gog-ms-focus-ring-offset,
|
|
1142
|
-
var(--gog-focus-ring-offset)
|
|
1143
|
-
);
|
|
1144
|
-
--gog-multiselect-error-color: var(--gog-ms-error-color, var(--gog-danger-color));
|
|
1145
|
-
--gog-multiselect-error-font-size: var(--gog-ms-error-font-size, var(--gog-text-xs));
|
|
1146
|
-
--gog-multiselect-error-offset: var(--gog-ms-error-offset, 2px);
|
|
1147
|
-
--gog-multiselect-border-color: var(--gog-ms-border-color, var(--gog-accent-color));
|
|
1148
|
-
--gog-multiselect-panel-bg: var(--gog-ms-panel-bg, var(--gog-surface-color));
|
|
1149
|
-
--gog-multiselect-panel-border: var(--gog-ms-panel-border, var(--gog-accent-color));
|
|
1150
|
-
--gog-multiselect-panel-shadow: var(--gog-ms-panel-shadow, var(--gog-panel-shadow));
|
|
1151
|
-
--gog-multiselect-panel-max-height: var(--gog-ms-panel-max-height, 260px);
|
|
1152
|
-
--gog-multiselect-panel-offset: var(--gog-ms-panel-offset, 2px);
|
|
1153
|
-
--gog-multiselect-option-hover-bg: var(
|
|
1154
|
-
--gog-ms-option-hover-bg,
|
|
1155
|
-
color-mix(in srgb, var(--gog-accent-color) 10%, transparent)
|
|
1156
|
-
);
|
|
1157
|
-
--gog-multiselect-option-color: var(--gog-ms-option-color, var(--gog-text-color));
|
|
1158
|
-
--gog-multiselect-option-gap-inline: var(--gog-ms-option-gap-inline, 10px);
|
|
1167
|
+
/* ── Multiselect ───────────────────────────────────────────────────────────── */
|
|
1168
|
+
--gog-multiselect-font-family: var(--gog-font-body);
|
|
1169
|
+
--gog-multiselect-label-font-family: var(--gog-font-heading);
|
|
1170
|
+
--gog-multiselect-gap: var(--gog-space-4);
|
|
1171
|
+
--gog-multiselect-option-gap: var(--gog-space-4);
|
|
1172
|
+
--gog-multiselect-options-padding: var(--gog-space-4);
|
|
1173
|
+
--gog-multiselect-label-color: var(--gog-accent-color);
|
|
1174
|
+
--gog-multiselect-label-font-size: var(--gog-text-sm);
|
|
1175
|
+
--gog-multiselect-label-letter-spacing: var(--gog-letter-spacing);
|
|
1176
|
+
--gog-multiselect-label-text-transform: var(--gog-text-transform);
|
|
1177
|
+
--gog-multiselect-field-bg: var(--gog-surface-color);
|
|
1178
|
+
--gog-multiselect-field-border: var(--gog-accent-dim);
|
|
1179
|
+
--gog-multiselect-field-border-width: var(--gog-control-border-width);
|
|
1180
|
+
--gog-multiselect-field-border-style: var(--gog-control-border-style);
|
|
1181
|
+
--gog-multiselect-radius: var(--gog-radius);
|
|
1182
|
+
--gog-multiselect-field-color: var(--gog-text-color);
|
|
1183
|
+
--gog-multiselect-value-color: var(--gog-text-color);
|
|
1184
|
+
--gog-multiselect-placeholder-color: var(--gog-muted-text-color);
|
|
1185
|
+
--gog-multiselect-focus-border: var(--gog-accent-color);
|
|
1186
|
+
--gog-multiselect-focus-ring: var(--gog-accent-pale);
|
|
1187
|
+
--gog-multiselect-focus-glow: 0 0 8px var(--gog-multiselect-focus-ring);
|
|
1188
|
+
--gog-multiselect-focus-ring-width: var(--gog-focus-ring-width);
|
|
1189
|
+
--gog-multiselect-focus-ring-offset: var(--gog-focus-ring-offset);
|
|
1190
|
+
--gog-multiselect-error-color: var(--gog-danger-color);
|
|
1191
|
+
--gog-multiselect-error-font-size: var(--gog-text-xs);
|
|
1192
|
+
--gog-multiselect-error-offset: 2px;
|
|
1193
|
+
--gog-multiselect-border-color: var(--gog-accent-color);
|
|
1194
|
+
--gog-multiselect-panel-bg: var(--gog-surface-color);
|
|
1195
|
+
--gog-multiselect-panel-border: var(--gog-accent-color);
|
|
1196
|
+
--gog-multiselect-panel-shadow: var(--gog-panel-shadow);
|
|
1197
|
+
--gog-multiselect-panel-max-height: 260px;
|
|
1198
|
+
--gog-multiselect-panel-offset: 2px;
|
|
1199
|
+
--gog-multiselect-option-hover-bg: var(--gog-hover-color);
|
|
1200
|
+
--gog-multiselect-option-color: var(--gog-text-color);
|
|
1201
|
+
--gog-multiselect-option-gap-inline: var(--gog-space-10);
|
|
1159
1202
|
/* Estimated row height fed into the panel's up/down placement math; not itself a real
|
|
1160
1203
|
layout property, so it has no effect unless the JS reads it. */
|
|
1161
|
-
--gog-multiselect-option-height:
|
|
1162
|
-
--gog-multiselect-option-radius:
|
|
1163
|
-
--gog-multiselect-option-disabled-opacity:
|
|
1164
|
-
--gog-multiselect-option-transition-duration: var(
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
);
|
|
1168
|
-
--gog-multiselect-checkbox-
|
|
1169
|
-
--gog-multiselect-
|
|
1170
|
-
--gog-multiselect-
|
|
1171
|
-
--gog-multiselect-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
);
|
|
1175
|
-
--gog-multiselect-
|
|
1176
|
-
--gog-multiselect-
|
|
1177
|
-
--gog-multiselect-
|
|
1178
|
-
--gog-multiselect-filter-
|
|
1179
|
-
--gog-multiselect-filter-
|
|
1180
|
-
--gog-multiselect-filter-
|
|
1181
|
-
--gog-multiselect-filter-
|
|
1182
|
-
--gog-multiselect-filter-
|
|
1183
|
-
|
|
1184
|
-
var(--gog-multiselect-control-color)
|
|
1185
|
-
);
|
|
1186
|
-
--gog-multiselect-filter-input-border: var(
|
|
1187
|
-
--gog-ms-filter-input-border,
|
|
1188
|
-
var(--gog-multiselect-control-border)
|
|
1189
|
-
);
|
|
1190
|
-
--gog-multiselect-filter-input-radius: var(--gog-ms-filter-input-radius, var(--gog-radius));
|
|
1191
|
-
--gog-multiselect-filter-border-width: var(
|
|
1192
|
-
--gog-ms-filter-border-width,
|
|
1193
|
-
var(--gog-panel-border-width)
|
|
1194
|
-
);
|
|
1195
|
-
--gog-multiselect-filter-border-style: var(
|
|
1196
|
-
--gog-ms-filter-border-style,
|
|
1197
|
-
var(--gog-panel-border-style)
|
|
1198
|
-
);
|
|
1199
|
-
--gog-multiselect-filter-border-color: var(--gog-ms-filter-border-color, var(--gog-border-color));
|
|
1200
|
-
--gog-multiselect-filter-empty-padding: var(--gog-ms-filter-empty-padding, 10px);
|
|
1201
|
-
--gog-multiselect-filter-empty-color: var(
|
|
1202
|
-
--gog-ms-filter-empty-color,
|
|
1203
|
-
var(--gog-multiselect-placeholder-color)
|
|
1204
|
-
);
|
|
1204
|
+
--gog-multiselect-option-height: 40px;
|
|
1205
|
+
--gog-multiselect-option-radius: calc(var(--gog-radius) - 2px);
|
|
1206
|
+
--gog-multiselect-option-disabled-opacity: 0.5;
|
|
1207
|
+
--gog-multiselect-option-transition-duration: var(--gog-duration-fast);
|
|
1208
|
+
--gog-multiselect-checkbox-border: var(--gog-accent-dim);
|
|
1209
|
+
--gog-multiselect-checkbox-bg: var(--gog-background-color);
|
|
1210
|
+
--gog-multiselect-checkbox-checked-bg: var(--gog-accent-color);
|
|
1211
|
+
--gog-multiselect-checkbox-checked-color: var(--gog-primary-color);
|
|
1212
|
+
--gog-multiselect-controls-gap: var(--gog-space-4);
|
|
1213
|
+
--gog-multiselect-controls-padding: var(--gog-space-6) var(--gog-space-10);
|
|
1214
|
+
--gog-multiselect-actions-gap: var(--gog-space-6);
|
|
1215
|
+
--gog-multiselect-filter-padding: var(--gog-space-6);
|
|
1216
|
+
--gog-multiselect-filter-input-padding-y: var(--gog-space-6);
|
|
1217
|
+
--gog-multiselect-filter-input-padding-x: var(--gog-space-8);
|
|
1218
|
+
--gog-multiselect-filter-input-bg: var(--gog-background-color);
|
|
1219
|
+
--gog-multiselect-filter-input-color: var(--gog-multiselect-field-color);
|
|
1220
|
+
--gog-multiselect-filter-input-border: var(--gog-multiselect-field-border);
|
|
1221
|
+
--gog-multiselect-filter-input-radius: var(--gog-radius);
|
|
1222
|
+
--gog-multiselect-filter-border-width: var(--gog-panel-border-width);
|
|
1223
|
+
--gog-multiselect-filter-border-style: var(--gog-panel-border-style);
|
|
1224
|
+
--gog-multiselect-filter-border-color: var(--gog-border-color);
|
|
1225
|
+
--gog-multiselect-filter-empty-padding: var(--gog-space-10);
|
|
1226
|
+
--gog-multiselect-filter-empty-color: var(--gog-multiselect-placeholder-color);
|
|
1205
1227
|
/* Matches --gog-select-chevron-inset; see the note there. */
|
|
1206
1228
|
/* "+N" badge shown when the selection does not fit on one line. */
|
|
1207
|
-
--gog-multiselect-overflow-color: var(
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
--gog-multiselect-
|
|
1212
|
-
--gog-multiselect-
|
|
1213
|
-
--gog-multiselect-
|
|
1214
|
-
--gog-multiselect-
|
|
1215
|
-
--gog-multiselect-
|
|
1216
|
-
--gog-multiselect-
|
|
1217
|
-
--gog-multiselect-
|
|
1218
|
-
--gog-multiselect-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
);
|
|
1222
|
-
--gog-multiselect-float-label-reserve: var(
|
|
1223
|
-
--gog-ms-float-label-reserve,
|
|
1224
|
-
var(--gog-field-float-label-reserve)
|
|
1225
|
-
);
|
|
1226
|
-
--gog-multiselect-float-label-in-top: var(
|
|
1227
|
-
--gog-ms-float-label-in-top,
|
|
1228
|
-
var(--gog-field-float-label-in-top)
|
|
1229
|
-
);
|
|
1230
|
-
--gog-multiselect-float-label-over-gap: var(
|
|
1231
|
-
--gog-ms-float-label-over-gap,
|
|
1232
|
-
var(--gog-field-float-label-over-gap)
|
|
1233
|
-
);
|
|
1234
|
-
--gog-multiselect-float-label-over-reserve: var(
|
|
1235
|
-
--gog-ms-float-label-over-reserve,
|
|
1236
|
-
var(--gog-field-float-label-over-reserve)
|
|
1237
|
-
);
|
|
1238
|
-
--gog-multiselect-arrow-transition-duration: var(
|
|
1239
|
-
--gog-ms-arrow-transition-duration,
|
|
1240
|
-
var(--gog-duration-slow)
|
|
1241
|
-
);
|
|
1229
|
+
--gog-multiselect-overflow-color: var(--gog-multiselect-placeholder-color);
|
|
1230
|
+
--gog-multiselect-overflow-font-size: var(--gog-text-sm);
|
|
1231
|
+
--gog-multiselect-overflow-gap: var(--gog-space-6);
|
|
1232
|
+
--gog-multiselect-min-width: 120px;
|
|
1233
|
+
--gog-multiselect-panel-max-width: 420px;
|
|
1234
|
+
--gog-multiselect-actions-inset: var(--gog-control-icon-offset);
|
|
1235
|
+
--gog-multiselect-clear-radius: 2px;
|
|
1236
|
+
--gog-multiselect-disabled-opacity: var(--gog-disabled-opacity);
|
|
1237
|
+
--gog-multiselect-transition-duration: var(--gog-duration-base);
|
|
1238
|
+
--gog-multiselect-float-label-reserve: var(--gog-field-float-label-reserve);
|
|
1239
|
+
--gog-multiselect-float-label-in-top: var(--gog-field-float-label-in-top);
|
|
1240
|
+
--gog-multiselect-float-label-over-gap: var(--gog-field-float-label-over-gap);
|
|
1241
|
+
--gog-multiselect-float-label-over-reserve: var(--gog-field-float-label-over-reserve);
|
|
1242
|
+
--gog-multiselect-arrow-transition-duration: var(--gog-duration-slow);
|
|
1242
1243
|
/* Icon geometry, expressed as a ratio of the control's font size. */
|
|
1243
|
-
--gog-multiselect-clear-icon-ratio:
|
|
1244
|
-
--gog-multiselect-arrow-icon-ratio:
|
|
1245
|
-
--gog-multiselect-mark-size-ratio:
|
|
1246
|
-
--gog-multiselect-mark-icon-ratio:
|
|
1244
|
+
--gog-multiselect-clear-icon-ratio: 0.7;
|
|
1245
|
+
--gog-multiselect-arrow-icon-ratio: 0.875;
|
|
1246
|
+
--gog-multiselect-mark-size-ratio: 1.2375;
|
|
1247
|
+
--gog-multiselect-mark-icon-ratio: 1.125;
|
|
1247
1248
|
|
|
1248
1249
|
/* ── Menu ──────────────────────────────────────────────────────────────────
|
|
1249
1250
|
The command menu opened by `[gogMenuTrigger]`. Metrics follow the dropdown panel's, so a
|
|
@@ -1256,8 +1257,8 @@
|
|
|
1256
1257
|
--gog-menu-radius: var(--gog-panel-radius);
|
|
1257
1258
|
--gog-menu-shadow: var(--gog-dialog-shadow);
|
|
1258
1259
|
--gog-menu-font-family: var(--gog-font-body);
|
|
1259
|
-
--gog-menu-padding:
|
|
1260
|
-
--gog-menu-gap:
|
|
1260
|
+
--gog-menu-padding: var(--gog-space-4);
|
|
1261
|
+
--gog-menu-gap: var(--gog-space-2);
|
|
1261
1262
|
--gog-menu-offset: 4px;
|
|
1262
1263
|
--gog-menu-min-width: 180px;
|
|
1263
1264
|
--gog-menu-max-width: 320px;
|
|
@@ -1269,7 +1270,7 @@
|
|
|
1269
1270
|
--gog-menu-item-hover-bg: var(--gog-hover-color);
|
|
1270
1271
|
--gog-menu-item-hover-color: var(--gog-text-color);
|
|
1271
1272
|
--gog-menu-item-font-size: var(--gog-text-sm);
|
|
1272
|
-
--gog-menu-item-padding:
|
|
1273
|
+
--gog-menu-item-padding: var(--gog-space-8) var(--gog-space-12);
|
|
1273
1274
|
--gog-menu-item-radius: var(--gog-radius);
|
|
1274
1275
|
--gog-menu-item-gap: var(--gog-space-sm);
|
|
1275
1276
|
--gog-menu-item-disabled-opacity: var(--gog-disabled-opacity);
|
|
@@ -1278,7 +1279,7 @@
|
|
|
1278
1279
|
--gog-menu-item-icon-size: 1em;
|
|
1279
1280
|
|
|
1280
1281
|
/* ── Paginator ─────────────────────────────────────────────────────────────── */
|
|
1281
|
-
--gog-paginator-gap:
|
|
1282
|
+
--gog-paginator-gap: var(--gog-space-4);
|
|
1282
1283
|
--gog-paginator-ellipsis-color: var(--gog-muted-text-color);
|
|
1283
1284
|
--gog-paginator-ellipsis-font-size: var(--gog-text-sm);
|
|
1284
1285
|
--gog-paginator-ellipsis-font-family: var(--gog-font-body);
|
|
@@ -1310,9 +1311,9 @@
|
|
|
1310
1311
|
--gog-panel-outlined-bg: var(--gog-surface-color);
|
|
1311
1312
|
--gog-panel-outlined-border-color: var(--gog-border-color);
|
|
1312
1313
|
--gog-panel-outlined-shadow: none;
|
|
1313
|
-
--gog-panel-elevated-bg: var(--gog-surface-color);
|
|
1314
|
+
--gog-panel-elevated-bg: var(--gog-elevated-surface-color);
|
|
1314
1315
|
--gog-panel-elevated-border-color: transparent;
|
|
1315
|
-
--gog-panel-filled-bg:
|
|
1316
|
+
--gog-panel-filled-bg: var(--gog-accent-pale);
|
|
1316
1317
|
--gog-panel-filled-border-color: transparent;
|
|
1317
1318
|
--gog-panel-filled-shadow: none;
|
|
1318
1319
|
|
|
@@ -1320,7 +1321,7 @@
|
|
|
1320
1321
|
--gog-panel-toggle-size: 2rem;
|
|
1321
1322
|
--gog-panel-toggle-radius: var(--gog-radius);
|
|
1322
1323
|
--gog-panel-toggle-color: var(--gog-muted-text-color);
|
|
1323
|
-
--gog-panel-toggle-hover-bg:
|
|
1324
|
+
--gog-panel-toggle-hover-bg: var(--gog-hover-color);
|
|
1324
1325
|
--gog-panel-chevron-size: 1rem;
|
|
1325
1326
|
--gog-panel-focus-ring: var(--gog-accent-color);
|
|
1326
1327
|
--gog-panel-focus-ring-width: var(--gog-focus-ring-width);
|
|
@@ -1331,28 +1332,24 @@
|
|
|
1331
1332
|
--gog-panel-footer-gap: var(--gog-space-sm);
|
|
1332
1333
|
--gog-panel-footer-padding-top: var(--gog-space-sm);
|
|
1333
1334
|
|
|
1334
|
-
--gog-panel-xsm-padding-y:
|
|
1335
|
-
--gog-panel-xsm-padding-x:
|
|
1335
|
+
--gog-panel-xsm-padding-y: var(--gog-space-10);
|
|
1336
|
+
--gog-panel-xsm-padding-x: var(--gog-space-12);
|
|
1336
1337
|
--gog-panel-xsm-gap: var(--gog-space-sm);
|
|
1337
|
-
--gog-panel-sm-padding-y:
|
|
1338
|
+
--gog-panel-sm-padding-y: var(--gog-space-14);
|
|
1338
1339
|
--gog-panel-sm-padding-x: var(--gog-space-md);
|
|
1339
|
-
--gog-panel-sm-gap:
|
|
1340
|
-
--gog-panel-md-padding-y:
|
|
1341
|
-
--gog-panel-md-padding-x:
|
|
1342
|
-
--gog-panel-md-gap:
|
|
1340
|
+
--gog-panel-sm-gap: var(--gog-space-10);
|
|
1341
|
+
--gog-panel-md-padding-y: var(--gog-space-18);
|
|
1342
|
+
--gog-panel-md-padding-x: var(--gog-space-20);
|
|
1343
|
+
--gog-panel-md-gap: var(--gog-space-12);
|
|
1343
1344
|
--gog-panel-lg-padding-y: var(--gog-space-lg);
|
|
1344
|
-
--gog-panel-lg-padding-x:
|
|
1345
|
+
--gog-panel-lg-padding-x: var(--gog-space-28);
|
|
1345
1346
|
--gog-panel-lg-gap: var(--gog-space-md);
|
|
1346
|
-
--gog-panel-slg-padding-y:
|
|
1347
|
-
--gog-panel-slg-padding-x:
|
|
1348
|
-
--gog-panel-slg-gap:
|
|
1347
|
+
--gog-panel-slg-padding-y: var(--gog-space-32);
|
|
1348
|
+
--gog-panel-slg-padding-x: var(--gog-space-32);
|
|
1349
|
+
--gog-panel-slg-gap: var(--gog-space-20);
|
|
1349
1350
|
|
|
1350
1351
|
/* ── Progressbar ──────────────────────────────────────────────────────────── */
|
|
1351
|
-
--gog-progressbar-track-base-bg: color
|
|
1352
|
-
in srgb,
|
|
1353
|
-
var(--gog-text-color) 20%,
|
|
1354
|
-
var(--gog-border-color)
|
|
1355
|
-
);
|
|
1352
|
+
--gog-progressbar-track-base-bg: var(--gog-border-color);
|
|
1356
1353
|
--gog-progressbar-radius: 999px;
|
|
1357
1354
|
--gog-progressbar-transition-duration: var(--gog-duration-slow);
|
|
1358
1355
|
--gog-progressbar-xsm-height: 2px;
|
|
@@ -1369,27 +1366,19 @@
|
|
|
1369
1366
|
--gog-progressbar-indeterminate-easing: cubic-bezier(0.65, 0.05, 0.36, 1);
|
|
1370
1367
|
/* The reduced-motion stand-in for the indeterminate animation. */
|
|
1371
1368
|
--gog-progressbar-stripe-size: 6px;
|
|
1372
|
-
--gog-progressbar-stripe-color:
|
|
1369
|
+
--gog-progressbar-stripe-color: var(--gog-surface-color);
|
|
1373
1370
|
/* The buffer tier is the same hue at low opacity, so it reads as "ahead of the fill"
|
|
1374
1371
|
rather than as a second, competing colour. */
|
|
1375
1372
|
--gog-progressbar-accent-bg: var(--gog-accent-color);
|
|
1376
|
-
--gog-progressbar-accent-buffer-bg:
|
|
1373
|
+
--gog-progressbar-accent-buffer-bg: var(--gog-accent-pale);
|
|
1377
1374
|
--gog-progressbar-success-bg: var(--gog-success-color);
|
|
1378
|
-
--gog-progressbar-success-buffer-bg: color
|
|
1379
|
-
in srgb,
|
|
1380
|
-
var(--gog-success-color) 35%,
|
|
1381
|
-
transparent
|
|
1382
|
-
);
|
|
1375
|
+
--gog-progressbar-success-buffer-bg: var(--gog-border-color);
|
|
1383
1376
|
--gog-progressbar-danger-bg: var(--gog-danger-color);
|
|
1384
|
-
--gog-progressbar-danger-buffer-bg:
|
|
1377
|
+
--gog-progressbar-danger-buffer-bg: var(--gog-border-color);
|
|
1385
1378
|
--gog-progressbar-warning-bg: var(--gog-warning-color);
|
|
1386
|
-
--gog-progressbar-warning-buffer-bg: color
|
|
1387
|
-
in srgb,
|
|
1388
|
-
var(--gog-warning-color) 35%,
|
|
1389
|
-
transparent
|
|
1390
|
-
);
|
|
1379
|
+
--gog-progressbar-warning-buffer-bg: var(--gog-border-color);
|
|
1391
1380
|
--gog-progressbar-info-bg: var(--gog-info-color);
|
|
1392
|
-
--gog-progressbar-info-buffer-bg:
|
|
1381
|
+
--gog-progressbar-info-buffer-bg: var(--gog-border-color);
|
|
1393
1382
|
|
|
1394
1383
|
/* ── Ripple (the `gogRipple` directive; its classes live in ripple.css) ────
|
|
1395
1384
|
`currentColor` rather than a fixed colour on purpose: the wash then reads as the host's
|
|
@@ -1428,17 +1417,17 @@
|
|
|
1428
1417
|
`thin` variant gets more of it since its 6px track leaves the least visible thumb to aim
|
|
1429
1418
|
at; both land the effective hit width in the ~22-24px range generally recommended for a
|
|
1430
1419
|
comfortable pointer target. */
|
|
1431
|
-
--gog-scroll-normal-thumb-hit-padding:
|
|
1432
|
-
--gog-scroll-thin-thumb-hit-padding:
|
|
1420
|
+
--gog-scroll-normal-thumb-hit-padding: var(--gog-space-6);
|
|
1421
|
+
--gog-scroll-thin-thumb-hit-padding: var(--gog-space-8);
|
|
1433
1422
|
|
|
1434
1423
|
/* ── Select ────────────────────────────────────────────────────────────────── */
|
|
1435
1424
|
--gog-select-font-family: var(--gog-font-body);
|
|
1436
1425
|
--gog-select-label-font-family: var(--gog-font-heading);
|
|
1437
|
-
--gog-select-gap:
|
|
1426
|
+
--gog-select-gap: var(--gog-space-4);
|
|
1438
1427
|
--gog-select-label-color: var(--gog-accent-color);
|
|
1439
1428
|
--gog-select-label-font-size: var(--gog-text-sm);
|
|
1440
|
-
--gog-select-label-letter-spacing:
|
|
1441
|
-
--gog-select-label-text-transform:
|
|
1429
|
+
--gog-select-label-letter-spacing: var(--gog-letter-spacing);
|
|
1430
|
+
--gog-select-label-text-transform: var(--gog-text-transform);
|
|
1442
1431
|
--gog-select-field-bg: var(--gog-surface-color);
|
|
1443
1432
|
--gog-select-field-border: var(--gog-accent-dim);
|
|
1444
1433
|
--gog-select-field-border-width: var(--gog-control-border-width);
|
|
@@ -1447,7 +1436,7 @@
|
|
|
1447
1436
|
--gog-select-field-color: var(--gog-text-color);
|
|
1448
1437
|
--gog-select-placeholder-color: var(--gog-muted-text-color);
|
|
1449
1438
|
--gog-select-focus-border: var(--gog-accent-color);
|
|
1450
|
-
--gog-select-focus-ring:
|
|
1439
|
+
--gog-select-focus-ring: var(--gog-accent-pale);
|
|
1451
1440
|
--gog-select-focus-glow: 0 0 8px var(--gog-select-focus-ring);
|
|
1452
1441
|
--gog-select-focus-ring-width: var(--gog-focus-ring-width);
|
|
1453
1442
|
--gog-select-focus-ring-offset: var(--gog-focus-ring-offset);
|
|
@@ -1467,33 +1456,33 @@
|
|
|
1467
1456
|
/* Ceiling for a content-sized panel, so one very long option cannot span the viewport. */
|
|
1468
1457
|
--gog-select-panel-max-width: 420px;
|
|
1469
1458
|
/* Filter box — only rendered when `filter` is on. */
|
|
1470
|
-
--gog-select-filter-padding:
|
|
1471
|
-
--gog-select-filter-input-padding-y:
|
|
1472
|
-
--gog-select-filter-input-padding-x:
|
|
1459
|
+
--gog-select-filter-padding: var(--gog-space-6);
|
|
1460
|
+
--gog-select-filter-input-padding-y: var(--gog-space-6);
|
|
1461
|
+
--gog-select-filter-input-padding-x: var(--gog-space-8);
|
|
1473
1462
|
--gog-select-filter-input-bg: var(--gog-background-color);
|
|
1474
|
-
--gog-select-filter-input-color: var(--gog-select-
|
|
1475
|
-
--gog-select-filter-input-border: var(--gog-select-
|
|
1463
|
+
--gog-select-filter-input-color: var(--gog-select-field-color);
|
|
1464
|
+
--gog-select-filter-input-border: var(--gog-select-field-border);
|
|
1476
1465
|
--gog-select-filter-input-radius: var(--gog-radius);
|
|
1477
1466
|
--gog-select-filter-border-width: var(--gog-panel-border-width);
|
|
1478
1467
|
--gog-select-filter-border-style: var(--gog-panel-border-style);
|
|
1479
1468
|
--gog-select-filter-border-color: var(--gog-select-option-border-color, var(--gog-border-color));
|
|
1480
|
-
--gog-select-filter-empty-padding:
|
|
1469
|
+
--gog-select-filter-empty-padding: var(--gog-space-10);
|
|
1481
1470
|
--gog-select-filter-empty-color: var(--gog-select-placeholder-color);
|
|
1482
1471
|
/* Clear button — only rendered once a value is selected, see `clearable`. */
|
|
1483
1472
|
--gog-select-clear-radius: 2px;
|
|
1484
1473
|
--gog-select-clear-icon-ratio: 0.7;
|
|
1485
|
-
--gog-select-clear-gap:
|
|
1474
|
+
--gog-select-clear-gap: var(--gog-space-6);
|
|
1486
1475
|
--gog-select-clear-color: var(--gog-select-placeholder-color);
|
|
1487
1476
|
--gog-select-clear-hover-color: var(--gog-select-label-color);
|
|
1488
|
-
--gog-select-control-gap:
|
|
1477
|
+
--gog-select-control-gap: var(--gog-space-12);
|
|
1489
1478
|
--gog-select-panel-bg: var(--gog-surface-color);
|
|
1490
1479
|
--gog-select-panel-shadow: var(--gog-panel-shadow);
|
|
1491
1480
|
--gog-select-panel-max-height: 260px;
|
|
1492
1481
|
--gog-select-panel-offset: 2px;
|
|
1493
|
-
--gog-select-option-hover-bg:
|
|
1482
|
+
--gog-select-option-hover-bg: var(--gog-hover-color);
|
|
1494
1483
|
--gog-select-option-selected-color: var(--gog-accent-color);
|
|
1495
1484
|
--gog-select-option-color: var(--gog-text-color);
|
|
1496
|
-
--gog-select-option-gap:
|
|
1485
|
+
--gog-select-option-gap: var(--gog-space-10);
|
|
1497
1486
|
/* Estimated row height fed into the panel's up/down placement math; not itself a real
|
|
1498
1487
|
layout property, so it has no effect unless the JS reads it. */
|
|
1499
1488
|
--gog-select-option-height: 40px;
|
|
@@ -1511,8 +1500,8 @@
|
|
|
1511
1500
|
--gog-select-float-label-over-reserve: var(--gog-field-float-label-over-reserve);
|
|
1512
1501
|
|
|
1513
1502
|
/* ── Skeleton ─────────────────────────────────────────────────────────────── */
|
|
1514
|
-
--gog-skeleton-base:
|
|
1515
|
-
--gog-skeleton-shine:
|
|
1503
|
+
--gog-skeleton-base: var(--gog-hover-color);
|
|
1504
|
+
--gog-skeleton-shine: var(--gog-surface-color);
|
|
1516
1505
|
--gog-skeleton-radius: var(--gog-radius);
|
|
1517
1506
|
--gog-skeleton-square-radius: 0px;
|
|
1518
1507
|
--gog-skeleton-line-radius: calc(var(--gog-skeleton-radius) / 2);
|
|
@@ -1545,11 +1534,11 @@
|
|
|
1545
1534
|
--gog-slider-label-font-family: var(--gog-font-heading);
|
|
1546
1535
|
--gog-slider-value-font-family: var(--gog-font-mono);
|
|
1547
1536
|
--gog-slider-error-font-family: var(--gog-font-body);
|
|
1548
|
-
--gog-slider-gap:
|
|
1537
|
+
--gog-slider-gap: var(--gog-space-6);
|
|
1549
1538
|
--gog-slider-label-color: var(--gog-accent-color);
|
|
1550
1539
|
--gog-slider-label-font-size: var(--gog-text-sm);
|
|
1551
|
-
--gog-slider-label-letter-spacing:
|
|
1552
|
-
--gog-slider-label-text-transform:
|
|
1540
|
+
--gog-slider-label-letter-spacing: var(--gog-letter-spacing);
|
|
1541
|
+
--gog-slider-label-text-transform: var(--gog-text-transform);
|
|
1553
1542
|
--gog-slider-value-color: var(--gog-accent-color);
|
|
1554
1543
|
--gog-slider-value-font-size: var(--gog-text-sm);
|
|
1555
1544
|
--gog-slider-value-min-width: 40px;
|
|
@@ -1567,10 +1556,10 @@
|
|
|
1567
1556
|
* warm gray in both — always visibly distinct from the saturated accent fill, and always
|
|
1568
1557
|
* legible against its own theme's surface.
|
|
1569
1558
|
*/
|
|
1570
|
-
--gog-slider-track-bg:
|
|
1571
|
-
--gog-slider-track-border-width:
|
|
1572
|
-
--gog-slider-track-border-style:
|
|
1573
|
-
/* Transparent by default — same opt-in convention as --gog-
|
|
1559
|
+
--gog-slider-track-bg: var(--gog-border-color);
|
|
1560
|
+
--gog-slider-track-border-width: var(--gog-border-width);
|
|
1561
|
+
--gog-slider-track-border-style: var(--gog-border-style);
|
|
1562
|
+
/* Transparent by default — same opt-in convention as --gog-button-primary-border: the
|
|
1574
1563
|
width/style are always in the box model, but invisible until a theme sets a color. */
|
|
1575
1564
|
--gog-slider-track-border-color: transparent;
|
|
1576
1565
|
/* Bound via `background` (not `background-color`) in slider.component.scss, so this
|
|
@@ -1580,11 +1569,11 @@
|
|
|
1580
1569
|
--gog-slider-thumb-size: 16px;
|
|
1581
1570
|
--gog-slider-thumb-bg: var(--gog-accent-color);
|
|
1582
1571
|
--gog-slider-thumb-border: var(--gog-background-color);
|
|
1583
|
-
--gog-slider-thumb-border-width:
|
|
1572
|
+
--gog-slider-thumb-border-width: var(--gog-control-border-width);
|
|
1584
1573
|
--gog-slider-thumb-radius: 50%;
|
|
1585
|
-
--gog-slider-thumb-shadow:
|
|
1574
|
+
--gog-slider-thumb-shadow: var(--gog-accent-pale);
|
|
1586
1575
|
--gog-slider-thumb-glow-size: 6px;
|
|
1587
|
-
--gog-slider-focus-ring:
|
|
1576
|
+
--gog-slider-focus-ring: var(--gog-accent-pale);
|
|
1588
1577
|
--gog-slider-focus-ring-width: var(--gog-focus-ring-width);
|
|
1589
1578
|
--gog-slider-range-color: var(--gog-muted-text-color);
|
|
1590
1579
|
--gog-slider-range-font-size: var(--gog-text-xs);
|
|
@@ -1627,14 +1616,19 @@
|
|
|
1627
1616
|
--gog-table-font-family: var(--gog-font-body);
|
|
1628
1617
|
--gog-table-header-font-family: var(--gog-font-heading);
|
|
1629
1618
|
--gog-table-numeric-font-family: var(--gog-font-mono);
|
|
1630
|
-
--gog-table-gap:
|
|
1619
|
+
--gog-table-gap: var(--gog-space-12);
|
|
1631
1620
|
--gog-table-border-color: var(--gog-accent-dim);
|
|
1632
|
-
--gog-table-border-width:
|
|
1633
|
-
--gog-table-border-style:
|
|
1634
|
-
--gog-table-row-border-width:
|
|
1621
|
+
--gog-table-border-width: var(--gog-control-border-width);
|
|
1622
|
+
--gog-table-border-style: var(--gog-border-style);
|
|
1623
|
+
--gog-table-row-border-width: var(--gog-border-width);
|
|
1635
1624
|
/* The selection column is sized to its checkbox and never grows with content. */
|
|
1636
1625
|
--gog-table-select-col-width: 44px;
|
|
1637
1626
|
--gog-table-surface: var(--gog-surface-color);
|
|
1627
|
+
/* The header needs its own ground, not the table's. It used to paint `--gog-table-surface`,
|
|
1628
|
+
which is the same colour the body paints, so on a scrolling table with a sticky header the
|
|
1629
|
+
column names slid over rows of identical background and the only thing separating them was
|
|
1630
|
+
the accent colour and the caps — legible on a light theme, not on a dark one. */
|
|
1631
|
+
--gog-table-header-bg: var(--gog-hover-color);
|
|
1638
1632
|
--gog-table-text-color: var(--gog-text-color);
|
|
1639
1633
|
--gog-table-accent-color: var(--gog-accent-color);
|
|
1640
1634
|
--gog-table-accent-bright: var(--gog-accent-bright);
|
|
@@ -1644,38 +1638,38 @@
|
|
|
1644
1638
|
--gog-table-muted-color: var(--gog-muted-text-color);
|
|
1645
1639
|
--gog-table-focus-ring: var(--gog-accent-color);
|
|
1646
1640
|
--gog-table-focus-ring-width: var(--gog-focus-ring-width);
|
|
1647
|
-
--gog-table-header-letter-spacing:
|
|
1648
|
-
--gog-table-header-text-transform:
|
|
1641
|
+
--gog-table-header-letter-spacing: var(--gog-letter-spacing);
|
|
1642
|
+
--gog-table-header-text-transform: var(--gog-text-transform);
|
|
1649
1643
|
--gog-table-num-col-width: 48px;
|
|
1650
|
-
--gog-table-th-inner-gap:
|
|
1644
|
+
--gog-table-th-inner-gap: var(--gog-space-6);
|
|
1651
1645
|
--gog-table-sort-icon-size: 0.9em;
|
|
1652
1646
|
--gog-table-sort-icon-width: 1.1em;
|
|
1653
1647
|
--gog-table-sort-icon-opacity: 0.6;
|
|
1654
|
-
--gog-table-empty-padding:
|
|
1648
|
+
--gog-table-empty-padding: var(--gog-space-24) var(--gog-space-14);
|
|
1655
1649
|
--gog-table-empty-font-size: var(--gog-text-md);
|
|
1656
|
-
--gog-table-loading-padding:
|
|
1650
|
+
--gog-table-loading-padding: var(--gog-space-32) var(--gog-space-14);
|
|
1657
1651
|
--gog-table-loading-opacity: 0.5;
|
|
1658
1652
|
--gog-table-row-transition-duration: var(--gog-duration-fast);
|
|
1659
1653
|
--gog-table-footer-gap: var(--gog-space-sm);
|
|
1660
1654
|
--gog-table-footer-min-height: 32px;
|
|
1661
1655
|
--gog-table-total-font-size: var(--gog-text-xs);
|
|
1662
1656
|
--gog-table-total-letter-spacing: 0.5px;
|
|
1663
|
-
--gog-table-total-text-transform:
|
|
1657
|
+
--gog-table-total-text-transform: var(--gog-text-transform);
|
|
1664
1658
|
--gog-table-num-font-size: var(--gog-text-xs);
|
|
1665
|
-
--gog-table-padding-h:
|
|
1666
|
-
--gog-table-xsm-padding-v:
|
|
1659
|
+
--gog-table-padding-h: var(--gog-space-14);
|
|
1660
|
+
--gog-table-xsm-padding-v: var(--gog-space-2);
|
|
1667
1661
|
--gog-table-xsm-th-font-size: var(--gog-text-xs);
|
|
1668
1662
|
--gog-table-xsm-td-font-size: var(--gog-text-xs);
|
|
1669
|
-
--gog-table-sm-padding-v:
|
|
1663
|
+
--gog-table-sm-padding-v: var(--gog-space-2);
|
|
1670
1664
|
--gog-table-sm-th-font-size: var(--gog-text-xs);
|
|
1671
1665
|
--gog-table-sm-td-font-size: var(--gog-text-xs);
|
|
1672
|
-
--gog-table-md-padding-v:
|
|
1666
|
+
--gog-table-md-padding-v: var(--gog-space-6);
|
|
1673
1667
|
--gog-table-md-th-font-size: var(--gog-text-xs);
|
|
1674
1668
|
--gog-table-md-td-font-size: var(--gog-text-sm);
|
|
1675
|
-
--gog-table-lg-padding-v:
|
|
1669
|
+
--gog-table-lg-padding-v: var(--gog-space-10);
|
|
1676
1670
|
--gog-table-lg-th-font-size: var(--gog-text-sm);
|
|
1677
1671
|
--gog-table-lg-td-font-size: var(--gog-text-md);
|
|
1678
|
-
--gog-table-slg-padding-v:
|
|
1672
|
+
--gog-table-slg-padding-v: var(--gog-space-14);
|
|
1679
1673
|
--gog-table-slg-th-font-size: var(--gog-text-md);
|
|
1680
1674
|
--gog-table-slg-td-font-size: var(--gog-text-lg);
|
|
1681
1675
|
|
|
@@ -1696,8 +1690,8 @@
|
|
|
1696
1690
|
--gog-tabs-rest-color: var(--gog-muted-text-color);
|
|
1697
1691
|
--gog-tabs-hover-color: var(--gog-text-color);
|
|
1698
1692
|
--gog-tabs-active-color: var(--gog-accent-color);
|
|
1699
|
-
--gog-tabs-header-border-width:
|
|
1700
|
-
--gog-tabs-header-border-style:
|
|
1693
|
+
--gog-tabs-header-border-width: var(--gog-border-width);
|
|
1694
|
+
--gog-tabs-header-border-style: var(--gog-border-style);
|
|
1701
1695
|
--gog-tabs-header-border-color: var(--gog-border-color);
|
|
1702
1696
|
--gog-tabs-indicator-color: var(--gog-accent-color);
|
|
1703
1697
|
--gog-tabs-indicator-thickness: 2px;
|
|
@@ -1709,15 +1703,15 @@
|
|
|
1709
1703
|
--gog-tabs-focus-ring-color: var(--gog-accent-color);
|
|
1710
1704
|
--gog-tabs-panel-padding: var(--gog-space-md);
|
|
1711
1705
|
--gog-tabs-panel-color: var(--gog-text-color);
|
|
1712
|
-
--gog-tabs-xsm-padding:
|
|
1706
|
+
--gog-tabs-xsm-padding: var(--gog-space-6) var(--gog-space-10);
|
|
1713
1707
|
--gog-tabs-xsm-font-size: var(--gog-text-xs);
|
|
1714
|
-
--gog-tabs-sm-padding:
|
|
1708
|
+
--gog-tabs-sm-padding: var(--gog-space-8) var(--gog-space-14);
|
|
1715
1709
|
--gog-tabs-sm-font-size: var(--gog-text-sm);
|
|
1716
|
-
--gog-tabs-md-padding:
|
|
1710
|
+
--gog-tabs-md-padding: var(--gog-space-12) var(--gog-space-18);
|
|
1717
1711
|
--gog-tabs-md-font-size: var(--gog-text-md);
|
|
1718
|
-
--gog-tabs-lg-padding:
|
|
1712
|
+
--gog-tabs-lg-padding: var(--gog-space-16) var(--gog-space-24);
|
|
1719
1713
|
--gog-tabs-lg-font-size: var(--gog-text-lg);
|
|
1720
|
-
--gog-tabs-slg-padding:
|
|
1714
|
+
--gog-tabs-slg-padding: var(--gog-space-20) var(--gog-space-28);
|
|
1721
1715
|
--gog-tabs-slg-font-size: var(--gog-text-xl);
|
|
1722
1716
|
|
|
1723
1717
|
/* ── Tag ──────────────────────────────────────────────────────────────────
|
|
@@ -1733,42 +1727,42 @@
|
|
|
1733
1727
|
--gog-tag-color-mix: 82%;
|
|
1734
1728
|
--gog-tag-bg-base: var(--gog-surface-color);
|
|
1735
1729
|
--gog-tag-color-base: black;
|
|
1736
|
-
--gog-tag-border-width:
|
|
1737
|
-
--gog-tag-border-style:
|
|
1738
|
-
--gog-tag-inner-border-width:
|
|
1730
|
+
--gog-tag-border-width: var(--gog-border-width);
|
|
1731
|
+
--gog-tag-border-style: var(--gog-border-style);
|
|
1732
|
+
--gog-tag-inner-border-width: var(--gog-border-width);
|
|
1739
1733
|
--gog-tag-font-weight: 600;
|
|
1740
1734
|
--gog-tag-line-height: 1;
|
|
1741
1735
|
--gog-tag-radius: max(var(--gog-radius), 2px);
|
|
1742
1736
|
--gog-tag-pill-radius: 9999px;
|
|
1743
1737
|
|
|
1744
1738
|
--gog-tag-xsm-font-size: 0.6875rem;
|
|
1745
|
-
--gog-tag-xsm-padding-block:
|
|
1746
|
-
--gog-tag-xsm-padding-inline:
|
|
1747
|
-
--gog-tag-xsm-gap:
|
|
1739
|
+
--gog-tag-xsm-padding-block: var(--gog-space-2);
|
|
1740
|
+
--gog-tag-xsm-padding-inline: var(--gog-space-6);
|
|
1741
|
+
--gog-tag-xsm-gap: var(--gog-space-2);
|
|
1748
1742
|
--gog-tag-xsm-icon-size: 0.6875rem;
|
|
1749
1743
|
|
|
1750
1744
|
--gog-tag-sm-font-size: 0.75rem;
|
|
1751
|
-
--gog-tag-sm-padding-block:
|
|
1752
|
-
--gog-tag-sm-padding-inline:
|
|
1753
|
-
--gog-tag-sm-gap:
|
|
1745
|
+
--gog-tag-sm-padding-block: var(--gog-space-4);
|
|
1746
|
+
--gog-tag-sm-padding-inline: var(--gog-space-8);
|
|
1747
|
+
--gog-tag-sm-gap: var(--gog-space-4);
|
|
1754
1748
|
--gog-tag-sm-icon-size: 0.75rem;
|
|
1755
1749
|
|
|
1756
1750
|
--gog-tag-md-font-size: 0.875rem;
|
|
1757
|
-
--gog-tag-md-padding-block:
|
|
1758
|
-
--gog-tag-md-padding-inline:
|
|
1759
|
-
--gog-tag-md-gap:
|
|
1751
|
+
--gog-tag-md-padding-block: var(--gog-space-6);
|
|
1752
|
+
--gog-tag-md-padding-inline: var(--gog-space-12);
|
|
1753
|
+
--gog-tag-md-gap: var(--gog-space-6);
|
|
1760
1754
|
--gog-tag-md-icon-size: 0.875rem;
|
|
1761
1755
|
|
|
1762
1756
|
--gog-tag-lg-font-size: 1rem;
|
|
1763
|
-
--gog-tag-lg-padding-block:
|
|
1764
|
-
--gog-tag-lg-padding-inline:
|
|
1765
|
-
--gog-tag-lg-gap:
|
|
1757
|
+
--gog-tag-lg-padding-block: var(--gog-space-8);
|
|
1758
|
+
--gog-tag-lg-padding-inline: var(--gog-space-14);
|
|
1759
|
+
--gog-tag-lg-gap: var(--gog-space-8);
|
|
1766
1760
|
--gog-tag-lg-icon-size: 1rem;
|
|
1767
1761
|
|
|
1768
1762
|
--gog-tag-slg-font-size: 1.125rem;
|
|
1769
|
-
--gog-tag-slg-padding-block:
|
|
1770
|
-
--gog-tag-slg-padding-inline:
|
|
1771
|
-
--gog-tag-slg-gap:
|
|
1763
|
+
--gog-tag-slg-padding-block: var(--gog-space-10);
|
|
1764
|
+
--gog-tag-slg-padding-inline: var(--gog-space-16);
|
|
1765
|
+
--gog-tag-slg-gap: var(--gog-space-10);
|
|
1772
1766
|
--gog-tag-slg-icon-size: 1.125rem;
|
|
1773
1767
|
|
|
1774
1768
|
/* ── Toast ────────────────────────────────────────────────────────────────── */
|
|
@@ -1782,18 +1776,18 @@
|
|
|
1782
1776
|
--gog-toast-warning-color: var(--gog-accent-bright);
|
|
1783
1777
|
--gog-toast-info-color: var(--gog-accent-color);
|
|
1784
1778
|
--gog-toast-accent-width: 4px;
|
|
1785
|
-
--gog-toast-padding:
|
|
1779
|
+
--gog-toast-padding: var(--gog-space-12) var(--gog-space-14);
|
|
1786
1780
|
--gog-toast-radius: 0px;
|
|
1787
|
-
--gog-toast-content-gap:
|
|
1781
|
+
--gog-toast-content-gap: var(--gog-space-10);
|
|
1788
1782
|
--gog-toast-main-gap: var(--gog-space-sm);
|
|
1789
|
-
--gog-toast-actions-gap:
|
|
1783
|
+
--gog-toast-actions-gap: var(--gog-space-6);
|
|
1790
1784
|
--gog-toast-message-font-size: var(--gog-text-sm);
|
|
1791
1785
|
--gog-toast-message-line-height: 1.5;
|
|
1792
1786
|
--gog-toast-icon-size: 1rem;
|
|
1793
1787
|
--gog-toast-icon-line-height: 1.4;
|
|
1794
|
-
--gog-toast-action-padding:
|
|
1788
|
+
--gog-toast-action-padding: var(--gog-space-4) var(--gog-space-8);
|
|
1795
1789
|
--gog-toast-action-font-size: 0.75rem;
|
|
1796
|
-
--gog-toast-close-padding:
|
|
1790
|
+
--gog-toast-close-padding: var(--gog-space-2) var(--gog-space-4);
|
|
1797
1791
|
--gog-toast-close-font-size: 0.75rem;
|
|
1798
1792
|
--gog-toast-progress-height: 3px;
|
|
1799
1793
|
--gog-toast-progress-opacity: 30%;
|
|
@@ -1815,11 +1809,11 @@
|
|
|
1815
1809
|
--gog-toggle-font-family: var(--gog-font-body);
|
|
1816
1810
|
--gog-toggle-gap: var(--gog-space-sm);
|
|
1817
1811
|
--gog-toggle-radius: 999px;
|
|
1818
|
-
--gog-toggle-border-width:
|
|
1819
|
-
--gog-toggle-border-style:
|
|
1812
|
+
--gog-toggle-border-width: var(--gog-border-width);
|
|
1813
|
+
--gog-toggle-border-style: var(--gog-border-style);
|
|
1820
1814
|
--gog-toggle-border-color: var(--gog-border-color);
|
|
1821
1815
|
--gog-toggle-on-border-color: var(--gog-accent-color);
|
|
1822
|
-
--gog-toggle-track-off-bg:
|
|
1816
|
+
--gog-toggle-track-off-bg: var(--gog-border-color);
|
|
1823
1817
|
--gog-toggle-track-on-bg: var(--gog-accent-color);
|
|
1824
1818
|
--gog-toggle-thumb-off-bg: var(--gog-surface-color);
|
|
1825
1819
|
--gog-toggle-thumb-on-bg: var(--gog-accent-text-color, var(--gog-primary-color));
|
|
@@ -1836,13 +1830,13 @@
|
|
|
1836
1830
|
--gog-toggle-state-color: var(--gog-accent-text-color, var(--gog-primary-color));
|
|
1837
1831
|
--gog-toggle-state-font-weight: 600;
|
|
1838
1832
|
--gog-toggle-state-letter-spacing: 0.04em;
|
|
1839
|
-
--gog-toggle-state-padding-inline:
|
|
1833
|
+
--gog-toggle-state-padding-inline: var(--gog-space-4);
|
|
1840
1834
|
--gog-toggle-state-offset: 6px;
|
|
1841
1835
|
/* Gap between the wording and the thumb parked at the opposite end. The clearance itself
|
|
1842
1836
|
(thumb size + this) is computed in the component stylesheet, not here: a `var(` to a
|
|
1843
1837
|
size-class token is substituted where it is *declared*, so doing that calc on :root would
|
|
1844
1838
|
freeze it to the md thumb and stop it scaling with `size`. */
|
|
1845
|
-
--gog-toggle-state-thumb-gap:
|
|
1839
|
+
--gog-toggle-state-thumb-gap: var(--gog-space-6);
|
|
1846
1840
|
--gog-toggle-xsm-track-width: 24px;
|
|
1847
1841
|
--gog-toggle-xsm-track-height: 14px;
|
|
1848
1842
|
--gog-toggle-xsm-thumb-size: 10px;
|
|
@@ -1873,7 +1867,7 @@
|
|
|
1873
1867
|
--gog-tooltip-font-family: var(--gog-font-body);
|
|
1874
1868
|
--gog-tooltip-font-size: var(--gog-text-xs);
|
|
1875
1869
|
--gog-tooltip-line-height: 1.4;
|
|
1876
|
-
--gog-tooltip-padding:
|
|
1870
|
+
--gog-tooltip-padding: var(--gog-space-6) var(--gog-space-10);
|
|
1877
1871
|
--gog-tooltip-radius: var(--gog-radius);
|
|
1878
1872
|
--gog-tooltip-max-width: 280px;
|
|
1879
1873
|
/* Caps the gog-scroll wrapping the bubble's content — see tooltip-bubble.component.html.
|
|
@@ -1894,7 +1888,117 @@
|
|
|
1894
1888
|
--gog-tooltip-arrow-size: 5px;
|
|
1895
1889
|
/* Space kept between the trigger and the bubble. Read by the directive itself (not just
|
|
1896
1890
|
CSS) to feed the placement math — see `readPxToken` in `tooltip.directive.ts`. */
|
|
1897
|
-
--gog-tooltip-gap:
|
|
1891
|
+
--gog-tooltip-gap: var(--gog-space-8);
|
|
1898
1892
|
--gog-tooltip-z: 400;
|
|
1899
1893
|
--gog-tooltip-transition-duration: var(--gog-duration-fast);
|
|
1900
1894
|
}
|
|
1895
|
+
|
|
1896
|
+
/*
|
|
1897
|
+
* ── color-mix(), and why it is quarantined here ─────────────────────────────────
|
|
1898
|
+
*
|
|
1899
|
+
* Every token above has a flat value that works in any browser. The richer, mixed value lives
|
|
1900
|
+
* in this block, which a browser without `color-mix()` skips entirely.
|
|
1901
|
+
*
|
|
1902
|
+
* **The usual two-declaration fallback does not work for custom properties, and that is the
|
|
1903
|
+
* whole reason this block exists.** A custom property accepts almost any token stream at parse
|
|
1904
|
+
* time — it is only validated when it is *substituted* — so writing
|
|
1905
|
+
*
|
|
1906
|
+
* --x: var(--gog-hover-color);
|
|
1907
|
+
* --x: color-mix(in srgb, …);
|
|
1908
|
+
*
|
|
1909
|
+
* leaves the second declaration winning even where `color-mix()` means nothing, and `var(--x)`
|
|
1910
|
+
* then resolves to nothing at all. Measured in Chrome (2026-08-30): an element styled that way
|
|
1911
|
+
* with an unsupported function computed `background: rgba(0, 0, 0, 0)` — transparent, not the
|
|
1912
|
+
* earlier value. That is the reported "colours are wrong in Samsung Internet / Firefox": the
|
|
1913
|
+
* declarations were not falling back, they were vanishing.
|
|
1914
|
+
*
|
|
1915
|
+
* `@supports` is the only mechanism that gates a custom property by feature support, because it
|
|
1916
|
+
* is evaluated at parse time rather than at substitution time.
|
|
1917
|
+
*
|
|
1918
|
+
* `color-mix()` shipped in Chrome 111, Firefox 113, Safari 16.2 and Samsung Internet 22.
|
|
1919
|
+
*
|
|
1920
|
+
* **That is not below the support floor — it overlaps it.** Angular 21 supports
|
|
1921
|
+
* `baseline widely available on 2025-10-20`, whose minimums are Chrome 111, Firefox 112 and
|
|
1922
|
+
* Safari 16.4. Firefox 112 is inside that window and has no `color-mix()`, so these fallbacks
|
|
1923
|
+
* are load-bearing for a browser the framework itself supports, not a courtesy to ancient ones.
|
|
1924
|
+
* Below the floor entirely (Samsung Internet on an older Android, which Angular's list does not
|
|
1925
|
+
* mention at all) the library still renders: flat palette colours, less depth, every surface
|
|
1926
|
+
* legible and every focus ring visible.
|
|
1927
|
+
*
|
|
1928
|
+
* The project deliberately declares no `browserslist` — Angular's baseline is the policy, and
|
|
1929
|
+
* stating a lower one only produced "unsupported browsers" warnings on every build.
|
|
1930
|
+
*/
|
|
1931
|
+
@supports (color: color-mix(in srgb, red 50%, blue)) {
|
|
1932
|
+
:root,
|
|
1933
|
+
[data-theme] {
|
|
1934
|
+
--gog-accordion-hover-bg: color-mix(in srgb, var(--gog-accent-dim) 10%, transparent);
|
|
1935
|
+
--gog-accordion-hover-ring: color-mix(in srgb, var(--gog-accent-color) 30%, transparent);
|
|
1936
|
+
--gog-accordion-body-bg: color-mix(in srgb, black 6%, transparent);
|
|
1937
|
+
--gog-button-primary-hover-shadow: 0 0 16px
|
|
1938
|
+
color-mix(in srgb, var(--gog-accent-bright) 45%, transparent);
|
|
1939
|
+
--gog-button-ghost-hover-bg: color-mix(in srgb, var(--gog-accent-color) 12%, transparent);
|
|
1940
|
+
--gog-calendar-range-bg: color-mix(in srgb, var(--gog-accent-color) 16%, transparent);
|
|
1941
|
+
--gog-card-filled-bg: color-mix(in srgb, var(--gog-accent-dim) 8%, var(--gog-surface-color));
|
|
1942
|
+
--gog-card-hover-border-color: color-mix(in srgb, var(--gog-accent-color) 45%, transparent);
|
|
1943
|
+
--gog-checkbox-focus-ring: color-mix(in srgb, var(--gog-accent-color) 25%, transparent);
|
|
1944
|
+
--gog-radio-focus-ring: color-mix(in srgb, var(--gog-accent-color) 25%, transparent);
|
|
1945
|
+
--gog-chip-bg: color-mix(in srgb, var(--gog-surface-color) 88%, var(--gog-hover-color));
|
|
1946
|
+
--gog-chip-hover-bg: color-mix(in srgb, var(--gog-hover-color) 45%, var(--gog-surface-color));
|
|
1947
|
+
--gog-dialog-close-hover-bg: color-mix(in srgb, var(--gog-hover-color) 70%, transparent);
|
|
1948
|
+
--gog-autocomplete-option-hover-bg: color-mix(
|
|
1949
|
+
in srgb,
|
|
1950
|
+
var(--gog-accent-color) 10%,
|
|
1951
|
+
transparent
|
|
1952
|
+
);
|
|
1953
|
+
--gog-autocomplete-option-selected-bg: color-mix(
|
|
1954
|
+
in srgb,
|
|
1955
|
+
var(--gog-accent-color) 16%,
|
|
1956
|
+
transparent
|
|
1957
|
+
);
|
|
1958
|
+
--gog-input-focus-ring: color-mix(in srgb, var(--gog-accent-color) 25%, transparent);
|
|
1959
|
+
--gog-input-spin-hover-bg: color-mix(
|
|
1960
|
+
in srgb,
|
|
1961
|
+
var(--gog-input-icon-hover-color) 12%,
|
|
1962
|
+
transparent
|
|
1963
|
+
);
|
|
1964
|
+
--gog-multiselect-focus-ring: color-mix(in srgb, var(--gog-accent-color) 25%, transparent);
|
|
1965
|
+
--gog-multiselect-option-hover-bg: color-mix(in srgb, var(--gog-accent-color) 10%, transparent);
|
|
1966
|
+
--gog-panel-filled-bg: color-mix(in srgb, var(--gog-accent-dim) 8%, var(--gog-surface-color));
|
|
1967
|
+
--gog-panel-toggle-hover-bg: color-mix(in srgb, var(--gog-hover-color) 70%, transparent);
|
|
1968
|
+
--gog-progressbar-track-base-bg: color-mix(
|
|
1969
|
+
in srgb,
|
|
1970
|
+
var(--gog-text-color) 20%,
|
|
1971
|
+
var(--gog-border-color)
|
|
1972
|
+
);
|
|
1973
|
+
--gog-progressbar-stripe-color: color-mix(in srgb, var(--gog-surface-color) 45%, transparent);
|
|
1974
|
+
--gog-progressbar-accent-buffer-bg: color-mix(
|
|
1975
|
+
in srgb,
|
|
1976
|
+
var(--gog-accent-color) 35%,
|
|
1977
|
+
transparent
|
|
1978
|
+
);
|
|
1979
|
+
--gog-progressbar-success-buffer-bg: color-mix(
|
|
1980
|
+
in srgb,
|
|
1981
|
+
var(--gog-success-color) 35%,
|
|
1982
|
+
transparent
|
|
1983
|
+
);
|
|
1984
|
+
--gog-progressbar-danger-buffer-bg: color-mix(
|
|
1985
|
+
in srgb,
|
|
1986
|
+
var(--gog-danger-color) 35%,
|
|
1987
|
+
transparent
|
|
1988
|
+
);
|
|
1989
|
+
--gog-progressbar-warning-buffer-bg: color-mix(
|
|
1990
|
+
in srgb,
|
|
1991
|
+
var(--gog-warning-color) 35%,
|
|
1992
|
+
transparent
|
|
1993
|
+
);
|
|
1994
|
+
--gog-progressbar-info-buffer-bg: color-mix(in srgb, var(--gog-info-color) 35%, transparent);
|
|
1995
|
+
--gog-select-focus-ring: color-mix(in srgb, var(--gog-accent-color) 25%, transparent);
|
|
1996
|
+
--gog-select-option-hover-bg: color-mix(in srgb, var(--gog-accent-color) 10%, transparent);
|
|
1997
|
+
--gog-skeleton-base: color-mix(in srgb, var(--gog-border-color) 40%, var(--gog-surface-color));
|
|
1998
|
+
--gog-skeleton-shine: color-mix(in srgb, var(--gog-skeleton-base), white 35%);
|
|
1999
|
+
--gog-slider-track-bg: color-mix(in srgb, var(--gog-text-color) 30%, var(--gog-border-color));
|
|
2000
|
+
--gog-slider-thumb-shadow: color-mix(in srgb, var(--gog-accent-bright) 40%, transparent);
|
|
2001
|
+
--gog-slider-focus-ring: color-mix(in srgb, var(--gog-accent-color) 30%, transparent);
|
|
2002
|
+
--gog-toggle-track-off-bg: color-mix(in srgb, var(--gog-text-color) 18%, transparent);
|
|
2003
|
+
}
|
|
2004
|
+
}
|