@atom63/styles 0.1.0-beta.6 → 0.1.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -4
- package/generated/atom63.figma-sync.json +10559 -5138
- package/generated/atom63.tokens.json +13034 -7792
- package/package.json +6 -4
- package/src/compat/a63-from-shadcn.css +5 -1
- package/src/compat/shadcn.browser.test.ts +23 -0
- package/src/compat/shadcn.css +133 -17
- package/src/contracts/badge.css +81 -65
- package/src/contracts/badge.resolver.json +145 -62
- package/src/contracts/choice.css +1 -1
- package/src/contracts/choice.tokens.json +1 -1
- package/src/contracts/control.css +14 -8
- package/src/contracts/control.tokens.json +57 -8
- package/src/contracts/environment.css +134 -12
- package/src/contracts/environment.resolver.json +664 -23
- package/src/contracts/field.css +1 -1
- package/src/contracts/field.tokens.json +1 -1
- package/src/contracts/selection.css +2 -0
- package/src/contracts/selection.tokens.json +5 -0
- package/src/contracts/surface.css +4 -0
- package/src/contracts/surface.tokens.json +57 -0
- package/src/tailwind/roles.json +189 -0
- package/src/tailwind/theme.css +210 -22
- package/src/tailwind/utilities.css +17 -0
- package/src/themes/aqua.css +1 -0
- package/src/themes/aqua.resolver.json +6 -0
- package/src/themes/retro.css +1 -0
- package/src/themes/retro.resolver.json +6 -0
- package/src/themes/terminal.css +8 -0
- package/src/themes/terminal.resolver.json +37 -0
- package/src/tokens/brand-action.css +16 -1
- package/src/tokens/brand-action.resolver.json +42 -5
- package/src/tokens/contrast.browser.test.ts +59 -0
- package/src/tokens/density.browser.test.ts +167 -0
- package/src/tokens/figma-parity.browser.test.ts +27 -14
- package/src/tokens/form-factor.browser.test.ts +129 -0
- package/src/tokens/foundation/primitives.css +0 -30
- package/src/tokens/foundation/primitives.tokens.json +0 -212
- package/src/tokens/foundation/radius.css +5 -0
- package/src/tokens/foundation/radius.tokens.json +8 -0
- package/src/tokens/foundation/typography.css +24 -0
- package/src/tokens/foundation/typography.native.css +12 -2
- package/src/tokens/foundation/typography.resolver.json +72 -0
- package/src/tokens/index.css +1 -0
- package/src/tokens/personalization-axes.browser.test.ts +13 -0
- package/src/tokens/semantics.css +251 -4
- package/src/tokens/semantics.resolver.json +1148 -12
- package/src/tokens/surface.css +8 -0
- package/src/tokens/surface.resolver.json +49 -0
- package/src/tokens/swift-parity.browser.test.ts +4 -0
- package/src/tokens/type-roles.css +75 -0
- package/src/tokens/type-roles.resolver.json +366 -0
package/src/tokens/semantics.css
CHANGED
|
@@ -14,6 +14,16 @@
|
|
|
14
14
|
--a63-surface-tint: 0%;
|
|
15
15
|
/* Scrim — the modal/drawer/sheet backdrop veil behind overlays. */
|
|
16
16
|
--a63-scrim: color-mix(in oklch, black 40%, transparent);
|
|
17
|
+
/* A vertical fade to dark under text laid over a photo, such as a title at the foot of a hero image. */
|
|
18
|
+
--a63-gradient-scrim: linear-gradient(
|
|
19
|
+
to bottom,
|
|
20
|
+
transparent,
|
|
21
|
+
color-mix(in oklch, black 60%, transparent)
|
|
22
|
+
);
|
|
23
|
+
/* The dark zone of --a63-gradient-brand-fade: the top share of the hero that stays at brand 700 or darker, where white on-media text and overlay controls reach WCAG AA on every brand. Below it the hero fades into the page, so content there uses the page tokens, on its own panel while the fade is still running. */
|
|
24
|
+
--a63-gradient-brand-fade-dark-zone: 50%;
|
|
25
|
+
/* Shadow color — the ink of drop shadows and the faint edge of a raised knob. Black in every theme and mode; recipes mix it to the strength they need, so they never write a literal color. */
|
|
26
|
+
--a63-shadow-color: var(--color-black-100);
|
|
17
27
|
/* Media stage — behind full-screen photos and video: black in every theme, so letterboxing matches the picture. */
|
|
18
28
|
--a63-media-stage: var(--color-black-100);
|
|
19
29
|
/* Media scrim — the dim behind a video dialog; heavier than --a63-scrim because the video is the only thing on screen. */
|
|
@@ -32,6 +42,54 @@
|
|
|
32
42
|
--a63-on-media-veil: var(--color-black-10);
|
|
33
43
|
/* On media — the veil over a poster while a control on it is shown. */
|
|
34
44
|
--a63-on-media-veil-strong: var(--color-black-20);
|
|
45
|
+
/* Category hues for tags, labels and charts, one per palette hue. `subtle` is a
|
|
46
|
+
14% tint of the hue for chip backgrounds, mixed in oklab so tinted neutrals render
|
|
47
|
+
alike in every engine; `subtle.foreground` is the text on that tint (step 700 or 800
|
|
48
|
+
on light surfaces, 400 on dark). Amber uses the warning ramp. */
|
|
49
|
+
--a63-category-red: var(--color-red-500);
|
|
50
|
+
--a63-category-red-subtle: color-mix(in oklab, var(--a63-category-red) 14%, transparent);
|
|
51
|
+
--a63-category-orange: var(--color-orange-500);
|
|
52
|
+
--a63-category-orange-subtle: color-mix(in oklab, var(--a63-category-orange) 14%, transparent);
|
|
53
|
+
--a63-category-amber: var(--color-warning-500);
|
|
54
|
+
--a63-category-amber-subtle: color-mix(in oklab, var(--a63-category-amber) 14%, transparent);
|
|
55
|
+
--a63-category-yellow: var(--color-yellow-500);
|
|
56
|
+
--a63-category-yellow-subtle: color-mix(in oklab, var(--a63-category-yellow) 14%, transparent);
|
|
57
|
+
--a63-category-lime: var(--color-lime-500);
|
|
58
|
+
--a63-category-lime-subtle: color-mix(in oklab, var(--a63-category-lime) 14%, transparent);
|
|
59
|
+
--a63-category-green: var(--color-green-500);
|
|
60
|
+
--a63-category-green-subtle: color-mix(in oklab, var(--a63-category-green) 14%, transparent);
|
|
61
|
+
--a63-category-emerald: var(--color-emerald-500);
|
|
62
|
+
--a63-category-emerald-subtle: color-mix(in oklab, var(--a63-category-emerald) 14%, transparent);
|
|
63
|
+
--a63-category-teal: var(--color-teal-500);
|
|
64
|
+
--a63-category-teal-subtle: color-mix(in oklab, var(--a63-category-teal) 14%, transparent);
|
|
65
|
+
--a63-category-cyan: var(--color-cyan-500);
|
|
66
|
+
--a63-category-cyan-subtle: color-mix(in oklab, var(--a63-category-cyan) 14%, transparent);
|
|
67
|
+
--a63-category-sky: var(--color-sky-500);
|
|
68
|
+
--a63-category-sky-subtle: color-mix(in oklab, var(--a63-category-sky) 14%, transparent);
|
|
69
|
+
--a63-category-blue: var(--color-blue-500);
|
|
70
|
+
--a63-category-blue-subtle: color-mix(in oklab, var(--a63-category-blue) 14%, transparent);
|
|
71
|
+
--a63-category-indigo: var(--color-indigo-500);
|
|
72
|
+
--a63-category-indigo-subtle: color-mix(in oklab, var(--a63-category-indigo) 14%, transparent);
|
|
73
|
+
--a63-category-violet: var(--color-violet-500);
|
|
74
|
+
--a63-category-violet-subtle: color-mix(in oklab, var(--a63-category-violet) 14%, transparent);
|
|
75
|
+
--a63-category-purple: var(--color-purple-500);
|
|
76
|
+
--a63-category-purple-subtle: color-mix(in oklab, var(--a63-category-purple) 14%, transparent);
|
|
77
|
+
--a63-category-fuchsia: var(--color-fuchsia-500);
|
|
78
|
+
--a63-category-fuchsia-subtle: color-mix(in oklab, var(--a63-category-fuchsia) 14%, transparent);
|
|
79
|
+
--a63-category-pink: var(--color-pink-500);
|
|
80
|
+
--a63-category-pink-subtle: color-mix(in oklab, var(--a63-category-pink) 14%, transparent);
|
|
81
|
+
--a63-category-rose: var(--color-rose-500);
|
|
82
|
+
--a63-category-rose-subtle: color-mix(in oklab, var(--a63-category-rose) 14%, transparent);
|
|
83
|
+
--a63-category-slate: var(--color-slate-500);
|
|
84
|
+
--a63-category-slate-subtle: color-mix(in oklab, var(--a63-category-slate) 14%, transparent);
|
|
85
|
+
--a63-category-gray: var(--color-gray-500);
|
|
86
|
+
--a63-category-gray-subtle: color-mix(in oklab, var(--a63-category-gray) 14%, transparent);
|
|
87
|
+
--a63-category-zinc: var(--color-zinc-500);
|
|
88
|
+
--a63-category-zinc-subtle: color-mix(in oklab, var(--a63-category-zinc) 14%, transparent);
|
|
89
|
+
--a63-category-neutral: var(--color-neutral-500);
|
|
90
|
+
--a63-category-neutral-subtle: color-mix(in oklab, var(--a63-category-neutral) 14%, transparent);
|
|
91
|
+
--a63-category-stone: var(--color-stone-500);
|
|
92
|
+
--a63-category-stone-subtle: color-mix(in oklab, var(--a63-category-stone) 14%, transparent);
|
|
35
93
|
}
|
|
36
94
|
|
|
37
95
|
:root,
|
|
@@ -79,9 +137,25 @@
|
|
|
79
137
|
),
|
|
80
138
|
transparent 20%
|
|
81
139
|
);
|
|
140
|
+
/* The sidebar surface (shadcn `sidebar`): the muted surface in light mode and
|
|
141
|
+
the page surface in dark mode. */
|
|
142
|
+
--a63-surface-sidebar: var(--a63-surface-muted);
|
|
143
|
+
/* A panel set back from the page, such as the command palette's list: the muted surface in light mode and the page surface in dark mode. */
|
|
144
|
+
--a63-surface-recessed: var(--a63-surface-muted);
|
|
145
|
+
/* A hero that fades from the brand into the page: brand 800 at the top, brand 700 at the end of the dark zone (--a63-gradient-brand-fade-dark-zone), then the page color at the bottom. Overlay buttons and on-media labels go in the dark zone only; content over the faded part uses the page tokens. */
|
|
146
|
+
--a63-gradient-brand-fade: linear-gradient(
|
|
147
|
+
to bottom,
|
|
148
|
+
var(--a63-brand-800),
|
|
149
|
+
var(--a63-brand-700) var(--a63-gradient-brand-fade-dark-zone),
|
|
150
|
+
var(--a63-surface-page)
|
|
151
|
+
);
|
|
82
152
|
/* Text */
|
|
83
153
|
--a63-text-primary: var(--surface-light-12);
|
|
84
154
|
--a63-text-secondary: var(--surface-light-11);
|
|
155
|
+
/* The third text grey, lighter than secondary: placeholders, meta and timestamps.
|
|
156
|
+
Seven parts step 11 to three parts step 10, so it keeps WCAG AA 4.5:1 on the page,
|
|
157
|
+
the panel, the field fill and the muted fill of a filled field. */
|
|
158
|
+
--a63-text-tertiary: color-mix(in oklab, var(--surface-light-11) 70%, var(--surface-light-10));
|
|
85
159
|
/* The brand as text (links, accents) on light surfaces; brand.css picks the
|
|
86
160
|
ramp step per brand. Use --a63-action-primary for fills. */
|
|
87
161
|
--a63-text-accent: var(--a63-brand-text);
|
|
@@ -99,7 +173,41 @@
|
|
|
99
173
|
var(--surface-light-5) calc(100% - var(--a63-surface-tint)),
|
|
100
174
|
var(--a63-brand-400) var(--a63-surface-tint)
|
|
101
175
|
);
|
|
102
|
-
/*
|
|
176
|
+
/* The border of a form control a person has to find: text fields, selects,
|
|
177
|
+
checkboxes, radios, switches and slider thumbs. WCAG 1.4.11 needs 3:1 against
|
|
178
|
+
the page, the panel and the field fill; step 10 reaches that on every theme,
|
|
179
|
+
brand and surface (step 9 falls to about 2.97:1). Decorative edges keep
|
|
180
|
+
--a63-border-control. */
|
|
181
|
+
--a63-border-input: color-mix(
|
|
182
|
+
in oklab,
|
|
183
|
+
var(--surface-light-10) calc(100% - var(--a63-surface-tint)),
|
|
184
|
+
var(--a63-brand-500) var(--a63-surface-tint)
|
|
185
|
+
);
|
|
186
|
+
/* Outline controls (the outline Button and the button-group ConnectedPanel): the fill at rest. Dark mode tints it from the control border instead of the panel. */
|
|
187
|
+
--a63-control-outline-background: var(--a63-surface-panel);
|
|
188
|
+
/* Outline controls: the fill on hover and press. */
|
|
189
|
+
--a63-control-outline-hover-background: color-mix(
|
|
190
|
+
in oklab,
|
|
191
|
+
var(--a63-surface-control-hover) 50%,
|
|
192
|
+
transparent
|
|
193
|
+
);
|
|
194
|
+
/* Outline controls: the border on hover and press. */
|
|
195
|
+
--a63-control-outline-hover-border: var(--a63-border-subtle);
|
|
196
|
+
/* The default Alert's fill: none in light mode, a faint control-surface tint in dark mode. */
|
|
197
|
+
--a63-alert-background: transparent;
|
|
198
|
+
/* A choice card (a FieldLabel wrapping a checkbox, radio or switch) when checked: its border. */
|
|
199
|
+
--a63-choice-card-checked-border: color-mix(in oklch, var(--a63-action-primary) 30%, transparent);
|
|
200
|
+
/* A checked choice card's fill. */
|
|
201
|
+
--a63-choice-card-checked-background: color-mix(
|
|
202
|
+
in oklch,
|
|
203
|
+
var(--a63-action-primary) 5%,
|
|
204
|
+
transparent
|
|
205
|
+
);
|
|
206
|
+
/* The keyboard focus ring. WCAG 1.4.11 needs 3:1 against the control and the
|
|
207
|
+
page around it; step 600 reaches that on every brand's light surfaces (the
|
|
208
|
+
translucent 500 it replaced was about 1.4:1). */
|
|
209
|
+
--a63-focus-ring: var(--a63-brand-600);
|
|
210
|
+
/* Action — primary lives in tokens/brand-action.css (brand-ramp scoped).
|
|
103
211
|
Neutral = the default variant's fill; sourced from surfaces (NOT --a63-text-*)
|
|
104
212
|
so a theme can recolor text without turning the default button into a fill. */
|
|
105
213
|
--a63-action-neutral: var(--surface-light-12);
|
|
@@ -107,17 +215,80 @@
|
|
|
107
215
|
--a63-action-danger: var(--color-danger-600);
|
|
108
216
|
--a63-action-danger-hover: color-mix(in oklch, var(--a63-action-danger) 90%, transparent);
|
|
109
217
|
--a63-action-danger-foreground: white;
|
|
218
|
+
--a63-action-danger-subtle: color-mix(in oklab, var(--a63-action-danger) 14%, transparent);
|
|
219
|
+
--a63-action-danger-subtle-foreground: var(--color-danger-700);
|
|
220
|
+
/* A disabled solid or outline action (Button): a neutral fill, so it reads as unavailable rather than as a paler accent. */
|
|
221
|
+
--a63-action-disabled-background: var(--a63-surface-muted);
|
|
222
|
+
/* A disabled action's label and icon: muted text. It stays legible (about 3:1 on the disabled fill) but is exempt from WCAG's 4.5:1. */
|
|
223
|
+
--a63-action-disabled-foreground: var(--surface-light-9);
|
|
224
|
+
/* A disabled action's border. */
|
|
225
|
+
--a63-action-disabled-border: var(--a63-border-subtle);
|
|
110
226
|
/* Status (danger's status role is served by --a63-action-danger). The base is
|
|
111
227
|
the accent used for tinted callouts (bg = mix toward transparent, text/border
|
|
112
228
|
= the accent); -foreground is the text/icon color ON a SOLID status fill.
|
|
113
229
|
Step 600 on light surfaces and 500 on dark ones (the .dark block), so icons
|
|
114
230
|
drawn in the accent reach WCAG's 3:1 for graphics in both modes. */
|
|
115
231
|
--a63-status-info: var(--color-info-600);
|
|
116
|
-
|
|
232
|
+
/* Text and icons on a solid fill of this status. Same auto-contrast step as
|
|
233
|
+
the primary foreground: near-black on bright fills, near-white on dark ones. */
|
|
234
|
+
--a63-status-info-foreground: oklch(
|
|
235
|
+
from var(--a63-status-info) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h
|
|
236
|
+
);
|
|
237
|
+
--a63-status-info-subtle: color-mix(in oklab, var(--a63-status-info) 14%, transparent);
|
|
238
|
+
--a63-status-info-subtle-foreground: var(--color-info-700);
|
|
117
239
|
--a63-status-success: var(--color-success-600);
|
|
118
|
-
|
|
240
|
+
/* Text and icons on a solid fill of this status. Same auto-contrast step as
|
|
241
|
+
the primary foreground: near-black on bright fills, near-white on dark ones. */
|
|
242
|
+
--a63-status-success-foreground: oklch(
|
|
243
|
+
from var(--a63-status-success) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h
|
|
244
|
+
);
|
|
245
|
+
--a63-status-success-subtle: color-mix(in oklab, var(--a63-status-success) 14%, transparent);
|
|
246
|
+
--a63-status-success-subtle-foreground: var(--color-success-700);
|
|
119
247
|
--a63-status-warning: var(--color-warning-600);
|
|
120
|
-
|
|
248
|
+
/* Text and icons on a solid fill of this status. Same auto-contrast step as
|
|
249
|
+
the primary foreground: near-black on bright fills, near-white on dark ones. */
|
|
250
|
+
--a63-status-warning-foreground: oklch(
|
|
251
|
+
from var(--a63-status-warning) clamp(0.15, (0.57 - l) * 1000, 0.985) calc(c * 0.06) h
|
|
252
|
+
);
|
|
253
|
+
--a63-status-warning-subtle: color-mix(in oklab, var(--a63-status-warning) 14%, transparent);
|
|
254
|
+
--a63-status-warning-subtle-foreground: var(--color-warning-800);
|
|
255
|
+
/* Chart series colors. Series 1 is the primary; 2–5 are fixed hues that stay
|
|
256
|
+
distinct from it and from each other (500 on light surfaces, 400 on dark). */
|
|
257
|
+
--a63-chart-1: var(--a63-action-primary);
|
|
258
|
+
--a63-chart-2: var(--color-teal-500);
|
|
259
|
+
--a63-chart-3: var(--color-amber-500);
|
|
260
|
+
--a63-chart-4: var(--color-violet-500);
|
|
261
|
+
--a63-chart-5: var(--color-rose-500);
|
|
262
|
+
--a63-category-red-subtle-foreground: var(--color-red-700);
|
|
263
|
+
--a63-category-orange-subtle-foreground: var(--color-orange-800);
|
|
264
|
+
--a63-category-amber-subtle-foreground: var(--color-warning-800);
|
|
265
|
+
--a63-category-yellow-subtle-foreground: var(--color-yellow-800);
|
|
266
|
+
--a63-category-lime-subtle-foreground: var(--color-lime-800);
|
|
267
|
+
--a63-category-green-subtle-foreground: var(--color-green-800);
|
|
268
|
+
--a63-category-emerald-subtle-foreground: var(--color-emerald-800);
|
|
269
|
+
--a63-category-teal-subtle-foreground: var(--color-teal-800);
|
|
270
|
+
--a63-category-cyan-subtle-foreground: var(--color-cyan-800);
|
|
271
|
+
--a63-category-sky-subtle-foreground: var(--color-sky-700);
|
|
272
|
+
--a63-category-blue-subtle-foreground: var(--color-blue-700);
|
|
273
|
+
--a63-category-indigo-subtle-foreground: var(--color-indigo-700);
|
|
274
|
+
--a63-category-violet-subtle-foreground: var(--color-violet-700);
|
|
275
|
+
--a63-category-purple-subtle-foreground: var(--color-purple-700);
|
|
276
|
+
--a63-category-fuchsia-subtle-foreground: var(--color-fuchsia-700);
|
|
277
|
+
--a63-category-pink-subtle-foreground: var(--color-pink-700);
|
|
278
|
+
--a63-category-rose-subtle-foreground: var(--color-rose-700);
|
|
279
|
+
--a63-category-slate-subtle-foreground: var(--color-slate-700);
|
|
280
|
+
--a63-category-gray-subtle-foreground: var(--color-gray-700);
|
|
281
|
+
--a63-category-zinc-subtle-foreground: var(--color-zinc-700);
|
|
282
|
+
--a63-category-neutral-subtle-foreground: var(--color-neutral-700);
|
|
283
|
+
--a63-category-stone-subtle-foreground: var(--color-stone-700);
|
|
284
|
+
/* A selected or current item in a list, menu, table or grid: a neutral muted fill. */
|
|
285
|
+
--a63-selected-background: var(--a63-surface-muted);
|
|
286
|
+
/* Text and icons of a selected item. */
|
|
287
|
+
--a63-selected-foreground: var(--a63-text-primary);
|
|
288
|
+
/* The opt-in accent selection (tone="accent"): a light wash of the primary. */
|
|
289
|
+
--a63-selected-accent-background: color-mix(in oklch, var(--a63-action-primary) 12%, transparent);
|
|
290
|
+
/* Text and icons of an accent-selected item. */
|
|
291
|
+
--a63-selected-accent-foreground: var(--a63-text-accent);
|
|
121
292
|
}
|
|
122
293
|
|
|
123
294
|
:is(.dark, [data-a63-mode='dark']) {
|
|
@@ -159,8 +330,20 @@
|
|
|
159
330
|
),
|
|
160
331
|
transparent 20%
|
|
161
332
|
);
|
|
333
|
+
--a63-surface-sidebar: var(--a63-surface-page);
|
|
334
|
+
--a63-surface-recessed: var(--a63-surface-page);
|
|
335
|
+
/* A hero that fades from the brand into the page: brand 800 at the top, brand 700 at the end of the dark zone (--a63-gradient-brand-fade-dark-zone), then the page color at the bottom. Overlay buttons and on-media labels go in the dark zone only; content over the faded part uses the page tokens. */
|
|
336
|
+
--a63-gradient-brand-fade: linear-gradient(
|
|
337
|
+
to bottom,
|
|
338
|
+
var(--a63-brand-800),
|
|
339
|
+
var(--a63-brand-700) var(--a63-gradient-brand-fade-dark-zone),
|
|
340
|
+
var(--a63-surface-page)
|
|
341
|
+
);
|
|
162
342
|
--a63-text-primary: var(--surface-dark-12);
|
|
163
343
|
--a63-text-secondary: var(--surface-dark-11);
|
|
344
|
+
/* Three parts step 11 to seven parts step 10: WCAG AA 4.5:1 on the page, the panel,
|
|
345
|
+
the field fill and the muted fill. */
|
|
346
|
+
--a63-text-tertiary: color-mix(in oklab, var(--surface-dark-11) 30%, var(--surface-dark-10));
|
|
164
347
|
/* The primary fill is too dark to read as text on dark surfaces. */
|
|
165
348
|
--a63-text-accent: var(--a63-brand-400);
|
|
166
349
|
/* Danger text on dark surfaces: step 400 reaches WCAG AA 4.5:1 on every theme's
|
|
@@ -176,10 +359,74 @@
|
|
|
176
359
|
var(--surface-dark-7) calc(100% - var(--a63-surface-tint)),
|
|
177
360
|
var(--a63-brand-500) var(--a63-surface-tint)
|
|
178
361
|
);
|
|
362
|
+
/* Step 9 on dark surfaces reaches 3:1 against the page, the panel and the field fill. */
|
|
363
|
+
--a63-border-input: color-mix(
|
|
364
|
+
in oklab,
|
|
365
|
+
var(--surface-dark-9) calc(100% - var(--a63-surface-tint)),
|
|
366
|
+
var(--a63-brand-500) var(--a63-surface-tint)
|
|
367
|
+
);
|
|
368
|
+
--a63-control-outline-background: color-mix(in oklab, var(--a63-border-control) 32%, transparent);
|
|
369
|
+
--a63-control-outline-hover-background: color-mix(
|
|
370
|
+
in oklab,
|
|
371
|
+
var(--a63-border-control) 64%,
|
|
372
|
+
transparent
|
|
373
|
+
);
|
|
374
|
+
--a63-control-outline-hover-border: var(--a63-border-control);
|
|
375
|
+
--a63-alert-background: color-mix(in oklab, var(--a63-surface-control) 32%, transparent);
|
|
376
|
+
--a63-choice-card-checked-border: color-mix(in oklch, var(--a63-action-primary) 20%, transparent);
|
|
377
|
+
--a63-choice-card-checked-background: color-mix(
|
|
378
|
+
in oklch,
|
|
379
|
+
var(--a63-action-primary) 10%,
|
|
380
|
+
transparent
|
|
381
|
+
);
|
|
382
|
+
/* Step 400 on dark surfaces: 600 and some brands' 500 fall below 3:1 there. */
|
|
383
|
+
--a63-focus-ring: var(--a63-brand-400);
|
|
179
384
|
--a63-action-neutral: var(--surface-dark-12);
|
|
180
385
|
--a63-action-neutral-foreground: var(--surface-dark-1);
|
|
181
386
|
--a63-action-danger-hover: color-mix(in oklch, var(--a63-action-danger) 82%, white 8%);
|
|
387
|
+
--a63-action-danger-subtle: color-mix(in oklab, var(--a63-action-danger) 14%, transparent);
|
|
388
|
+
--a63-action-danger-subtle-foreground: var(--color-danger-400);
|
|
389
|
+
--a63-action-disabled-background: var(--a63-surface-muted);
|
|
390
|
+
--a63-action-disabled-foreground: var(--surface-dark-9);
|
|
391
|
+
--a63-action-disabled-border: var(--a63-border-subtle);
|
|
182
392
|
--a63-status-info: var(--color-info-500);
|
|
393
|
+
--a63-status-info-subtle: color-mix(in oklab, var(--a63-status-info) 14%, transparent);
|
|
394
|
+
--a63-status-info-subtle-foreground: var(--color-info-400);
|
|
183
395
|
--a63-status-success: var(--color-success-500);
|
|
396
|
+
--a63-status-success-subtle: color-mix(in oklab, var(--a63-status-success) 14%, transparent);
|
|
397
|
+
--a63-status-success-subtle-foreground: var(--color-success-400);
|
|
184
398
|
--a63-status-warning: var(--color-warning-500);
|
|
399
|
+
--a63-status-warning-subtle: color-mix(in oklab, var(--a63-status-warning) 14%, transparent);
|
|
400
|
+
--a63-status-warning-subtle-foreground: var(--color-warning-400);
|
|
401
|
+
--a63-chart-1: var(--a63-action-primary);
|
|
402
|
+
--a63-chart-2: var(--color-teal-400);
|
|
403
|
+
--a63-chart-3: var(--color-amber-400);
|
|
404
|
+
--a63-chart-4: var(--color-violet-400);
|
|
405
|
+
--a63-chart-5: var(--color-rose-400);
|
|
406
|
+
--a63-category-red-subtle-foreground: var(--color-red-400);
|
|
407
|
+
--a63-category-orange-subtle-foreground: var(--color-orange-400);
|
|
408
|
+
--a63-category-amber-subtle-foreground: var(--color-warning-400);
|
|
409
|
+
--a63-category-yellow-subtle-foreground: var(--color-yellow-400);
|
|
410
|
+
--a63-category-lime-subtle-foreground: var(--color-lime-400);
|
|
411
|
+
--a63-category-green-subtle-foreground: var(--color-green-400);
|
|
412
|
+
--a63-category-emerald-subtle-foreground: var(--color-emerald-400);
|
|
413
|
+
--a63-category-teal-subtle-foreground: var(--color-teal-400);
|
|
414
|
+
--a63-category-cyan-subtle-foreground: var(--color-cyan-400);
|
|
415
|
+
--a63-category-sky-subtle-foreground: var(--color-sky-400);
|
|
416
|
+
--a63-category-blue-subtle-foreground: var(--color-blue-400);
|
|
417
|
+
--a63-category-indigo-subtle-foreground: var(--color-indigo-400);
|
|
418
|
+
--a63-category-violet-subtle-foreground: var(--color-violet-400);
|
|
419
|
+
--a63-category-purple-subtle-foreground: var(--color-purple-400);
|
|
420
|
+
--a63-category-fuchsia-subtle-foreground: var(--color-fuchsia-400);
|
|
421
|
+
--a63-category-pink-subtle-foreground: var(--color-pink-400);
|
|
422
|
+
--a63-category-rose-subtle-foreground: var(--color-rose-400);
|
|
423
|
+
--a63-category-slate-subtle-foreground: var(--color-slate-400);
|
|
424
|
+
--a63-category-gray-subtle-foreground: var(--color-gray-400);
|
|
425
|
+
--a63-category-zinc-subtle-foreground: var(--color-zinc-400);
|
|
426
|
+
--a63-category-neutral-subtle-foreground: var(--color-neutral-400);
|
|
427
|
+
--a63-category-stone-subtle-foreground: var(--color-stone-400);
|
|
428
|
+
--a63-selected-background: var(--a63-surface-muted);
|
|
429
|
+
--a63-selected-foreground: var(--a63-text-primary);
|
|
430
|
+
--a63-selected-accent-background: color-mix(in oklch, var(--a63-action-primary) 12%, transparent);
|
|
431
|
+
--a63-selected-accent-foreground: var(--a63-text-accent);
|
|
185
432
|
}
|