Skip to content

Commit 31b8587

Browse files
committed
deploy: 5a258a1
0 parents  commit 31b8587

7,018 files changed

Lines changed: 493678 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.nojekyll

Whitespace-only changes.

assets/reset.css

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.

assets/theme.css

Lines changed: 303 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,303 @@
1+
/*
2+
* @generated by `xds theme build` — do not edit manually.
3+
* Source: src/defaultTheme.ts
4+
* Command: xds theme build src/defaultTheme.ts --out dist/theme.css
5+
* Generated: 2026-06-22T19:58:53.614Z
6+
*/
7+
8+
@layer reset {
9+
@scope ([data-astryx-theme="default"], [data-xds-theme="default"]) to ([data-astryx-theme], [data-xds-theme]) {
10+
:where(h1, h2, h3, h4, h5, h6) {
11+
font-family: var(--font-family-heading);
12+
color: var(--color-text-primary);
13+
}
14+
15+
:where(h1) {
16+
font-size: var(--font-size-2xl);
17+
font-weight: var(--font-weight-semibold);
18+
line-height: 1.3333;
19+
}
20+
21+
:where(h2) {
22+
font-size: var(--font-size-xl);
23+
font-weight: var(--font-weight-semibold);
24+
line-height: 1.4;
25+
}
26+
27+
:where(h3) {
28+
font-size: var(--font-size-lg);
29+
font-weight: var(--font-weight-semibold);
30+
line-height: 1.4118;
31+
}
32+
33+
:where(h4) {
34+
font-size: var(--font-size-base);
35+
font-weight: var(--font-weight-semibold);
36+
line-height: 1.4286;
37+
}
38+
39+
:where(h5) {
40+
font-size: var(--font-size-sm);
41+
font-weight: var(--font-weight-semibold);
42+
line-height: 1.6667;
43+
}
44+
45+
:where(h6) {
46+
font-size: var(--font-size-xs);
47+
font-weight: var(--font-weight-semibold);
48+
line-height: 1.6;
49+
}
50+
51+
:where(p) {
52+
font-family: var(--font-family-body);
53+
font-size: var(--font-size-base);
54+
font-weight: var(--font-weight-normal);
55+
line-height: 1.4286;
56+
color: var(--color-text-primary);
57+
}
58+
59+
:where(small) {
60+
font-size: var(--font-size-sm);
61+
font-weight: var(--font-weight-normal);
62+
line-height: 1.6667;
63+
color: var(--color-text-secondary);
64+
}
65+
66+
:where(code, pre) {
67+
font-family: var(--font-family-code);
68+
font-size: var(--font-size-base);
69+
line-height: 1.4286;
70+
}
71+
72+
:where(hr) {
73+
border: none;
74+
border-top: 1px solid var(--color-border);
75+
}
76+
}
77+
}
78+
79+
@layer xds-theme {
80+
:root { color-scheme: light dark; }
81+
82+
@scope ([data-astryx-theme="default"], [data-xds-theme="default"]) to ([data-astryx-theme], [data-xds-theme]) {
83+
:scope {
84+
--font-size-4xs: 0.375rem;
85+
--font-size-3xs: 0.4375rem;
86+
--font-size-2xs: 0.5rem;
87+
--font-size-xs: 0.625rem;
88+
--font-size-sm: 0.75rem;
89+
--font-size-base: 0.875rem;
90+
--font-size-lg: 1.0625rem;
91+
--font-size-xl: 1.25rem;
92+
--font-size-2xl: 1.5rem;
93+
--font-size-3xl: 1.8125rem;
94+
--font-size-4xl: 2.1875rem;
95+
--font-size-5xl: 2.625rem;
96+
--text-heading-1-size: var(--font-size-2xl);
97+
--text-heading-1-weight: var(--font-weight-semibold);
98+
--text-heading-1-leading: 1.3333;
99+
--text-heading-2-size: var(--font-size-xl);
100+
--text-heading-2-weight: var(--font-weight-semibold);
101+
--text-heading-2-leading: 1.4;
102+
--text-heading-3-size: var(--font-size-lg);
103+
--text-heading-3-weight: var(--font-weight-semibold);
104+
--text-heading-3-leading: 1.4118;
105+
--text-heading-4-size: var(--font-size-base);
106+
--text-heading-4-weight: var(--font-weight-semibold);
107+
--text-heading-4-leading: 1.4286;
108+
--text-heading-5-size: var(--font-size-sm);
109+
--text-heading-5-weight: var(--font-weight-semibold);
110+
--text-heading-5-leading: 1.6667;
111+
--text-heading-6-size: var(--font-size-xs);
112+
--text-heading-6-weight: var(--font-weight-semibold);
113+
--text-heading-6-leading: 1.6;
114+
--text-body-size: var(--font-size-base);
115+
--text-body-weight: var(--font-weight-normal);
116+
--text-body-leading: 1.4286;
117+
--text-large-size: var(--font-size-lg);
118+
--text-large-weight: var(--font-weight-semibold);
119+
--text-large-leading: 1.4118;
120+
--text-label-size: var(--font-size-base);
121+
--text-label-weight: var(--font-weight-medium);
122+
--text-label-leading: 1.4286;
123+
--text-code-size: var(--font-size-base);
124+
--text-code-weight: var(--font-weight-normal);
125+
--text-code-leading: 1.4286;
126+
--text-supporting-size: var(--font-size-sm);
127+
--text-supporting-weight: var(--font-weight-normal);
128+
--text-supporting-leading: 1.6667;
129+
--text-display-1-size: var(--font-size-5xl);
130+
--text-display-1-weight: var(--font-weight-normal);
131+
--text-display-1-leading: 1.2381;
132+
--text-display-2-size: var(--font-size-4xl);
133+
--text-display-2-weight: var(--font-weight-normal);
134+
--text-display-2-leading: 1.2571;
135+
--text-display-3-size: var(--font-size-3xl);
136+
--text-display-3-weight: var(--font-weight-normal);
137+
--text-display-3-leading: 1.3793;
138+
--duration-fast-min: 130ms;
139+
--duration-fast: 175ms;
140+
--duration-fast-max: 235ms;
141+
--duration-medium-min: 310ms;
142+
--duration-medium: 410ms;
143+
--duration-medium-max: 545ms;
144+
--duration-slow-min: 730ms;
145+
--duration-slow: 975ms;
146+
--duration-slow-max: 1300ms;
147+
--color-syntax-keyword: light-dark(#cf222e, #ff7b72);
148+
--color-syntax-string: light-dark(#0a3069, #a5d6ff);
149+
--color-syntax-comment: light-dark(#6e7781, #8b949e);
150+
--color-syntax-number: light-dark(#0550ae, #79c0ff);
151+
--color-syntax-function: light-dark(#8250df, #d2a8ff);
152+
--color-syntax-type: light-dark(#953800, #ffa657);
153+
--color-syntax-variable: light-dark(#24292f, #e6edf3);
154+
--color-syntax-operator: light-dark(#cf222e, #ff7b72);
155+
--color-syntax-constant: light-dark(#0550ae, #79c0ff);
156+
--color-syntax-tag: light-dark(#116329, #7ee787);
157+
--color-syntax-attribute: light-dark(#0550ae, #79c0ff);
158+
--color-syntax-property: light-dark(#0550ae, #79c0ff);
159+
--color-syntax-punctuation: light-dark(#24292f, #c9d1d9);
160+
--color-syntax-background: light-dark(#ffffff, #0d1117);
161+
}
162+
163+
.astryx-heading.level-1, .xds-heading.level-1 {
164+
font-family: var(--font-family-heading);
165+
font-size: var(--text-heading-1-size);
166+
font-weight: var(--text-heading-1-weight);
167+
line-height: var(--text-heading-1-leading);
168+
}
169+
170+
.astryx-heading.level-2, .xds-heading.level-2 {
171+
font-family: var(--font-family-heading);
172+
font-size: var(--text-heading-2-size);
173+
font-weight: var(--text-heading-2-weight);
174+
line-height: var(--text-heading-2-leading);
175+
}
176+
177+
.astryx-heading.level-3, .xds-heading.level-3 {
178+
font-family: var(--font-family-heading);
179+
font-size: var(--text-heading-3-size);
180+
font-weight: var(--text-heading-3-weight);
181+
line-height: var(--text-heading-3-leading);
182+
}
183+
184+
.astryx-heading.level-4, .xds-heading.level-4 {
185+
font-family: var(--font-family-heading);
186+
font-size: var(--text-heading-4-size);
187+
font-weight: var(--text-heading-4-weight);
188+
line-height: var(--text-heading-4-leading);
189+
}
190+
191+
.astryx-heading.level-5, .xds-heading.level-5 {
192+
font-family: var(--font-family-heading);
193+
font-size: var(--text-heading-5-size);
194+
font-weight: var(--text-heading-5-weight);
195+
line-height: var(--text-heading-5-leading);
196+
}
197+
198+
.astryx-heading.level-6, .xds-heading.level-6 {
199+
font-family: var(--font-family-heading);
200+
font-size: var(--text-heading-6-size);
201+
font-weight: var(--text-heading-6-weight);
202+
line-height: var(--text-heading-6-leading);
203+
}
204+
205+
.astryx-text.body, .xds-text.body {
206+
font-family: var(--font-family-body);
207+
font-size: var(--text-body-size);
208+
line-height: var(--text-body-leading);
209+
}
210+
211+
.astryx-text.large, .xds-text.large {
212+
font-family: var(--font-family-body);
213+
font-size: var(--text-large-size);
214+
line-height: var(--text-large-leading);
215+
}
216+
217+
.astryx-text.label, .xds-text.label {
218+
font-family: var(--font-family-body);
219+
font-size: var(--text-label-size);
220+
line-height: var(--text-label-leading);
221+
}
222+
223+
.astryx-text.code, .xds-text.code {
224+
font-family: var(--font-family-code);
225+
font-size: var(--text-code-size);
226+
line-height: var(--text-code-leading);
227+
}
228+
229+
.astryx-text.supporting, .xds-text.supporting {
230+
font-family: var(--font-family-body);
231+
font-size: var(--text-supporting-size);
232+
line-height: var(--text-supporting-leading);
233+
}
234+
235+
.astryx-text.display-1, .xds-text.display-1 {
236+
font-family: var(--font-family-heading);
237+
font-size: var(--text-display-1-size);
238+
line-height: var(--text-display-1-leading);
239+
}
240+
241+
.astryx-text.display-2, .xds-text.display-2 {
242+
font-family: var(--font-family-heading);
243+
font-size: var(--text-display-2-size);
244+
line-height: var(--text-display-2-leading);
245+
}
246+
247+
.astryx-text.display-3, .xds-text.display-3 {
248+
font-family: var(--font-family-heading);
249+
font-size: var(--text-display-3-size);
250+
line-height: var(--text-display-3-leading);
251+
}
252+
253+
.astryx-button.secondary, .xds-button.secondary {
254+
background-color: light-dark(rgba(5, 54, 89, 0.1), rgba(223, 226, 229, 0.2));
255+
}
256+
257+
.astryx-text.primary, .xds-text.primary { color: var(--color-text-primary); }
258+
259+
.astryx-heading.primary, .xds-heading.primary { color: var(--color-text-primary); }
260+
261+
.astryx-text.secondary, .xds-text.secondary { color: var(--color-text-secondary); }
262+
263+
.astryx-heading.secondary, .xds-heading.secondary { color: var(--color-text-secondary); }
264+
265+
.astryx-text.disabled, .xds-text.disabled { color: var(--color-text-disabled); }
266+
267+
.astryx-heading.disabled, .xds-heading.disabled { color: var(--color-text-disabled); }
268+
269+
.astryx-text.placeholder, .xds-text.placeholder { color: var(--color-text-secondary); }
270+
271+
.astryx-heading.placeholder, .xds-heading.placeholder { color: var(--color-text-secondary); }
272+
273+
.astryx-text.active, .xds-text.active { color: var(--color-accent); }
274+
275+
.astryx-heading.active, .xds-heading.active { color: var(--color-accent); }
276+
}
277+
}
278+
279+
@layer xds-theme {
280+
@scope ([data-astryx-theme="default"], [data-xds-theme="default"]) to ([data-astryx-theme], [data-xds-theme]) {
281+
[data-astryx-media="dark"], [data-xds-media="dark"] {
282+
color-scheme: dark;
283+
--color-text-primary: var(--color-on-dark);
284+
--color-icon-primary: var(--color-on-dark);
285+
--color-accent: var(--color-on-dark);
286+
}
287+
288+
:is([data-astryx-media="dark"], [data-xds-media="dark"]) :is(.astryx-button.secondary, .xds-button.secondary) {
289+
background-color: color-mix(in srgb, white 20%, transparent);
290+
}
291+
292+
[data-astryx-media="light"], [data-xds-media="light"] {
293+
color-scheme: light;
294+
--color-text-primary: var(--color-on-light);
295+
--color-icon-primary: var(--color-on-light);
296+
--color-accent: var(--color-on-light);
297+
}
298+
299+
:is([data-astryx-media="light"], [data-xds-media="light"]) :is(.astryx-button.secondary, .xds-button.secondary) {
300+
background-color: color-mix(in srgb, black 10%, transparent);
301+
}
302+
}
303+
}

0 commit comments

Comments
 (0)