astryx-dracula 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BRAND.md +77 -0
- package/LICENSE +21 -0
- package/README.md +62 -0
- package/USAGE.md +100 -0
- package/astryx-dracula.d.ts +13 -0
- package/astryx-dracula.js +295 -0
- package/astryx-dracula.variants.d.ts +19 -0
- package/fonts/JetBrainsMono-Regular.woff2 +0 -0
- package/fonts/JetBrainsMono-SemiBold.woff2 +0 -0
- package/icons.tsx +77 -0
- package/package.json +63 -0
- package/theme.css +709 -0
- package/tokens.css +91 -0
package/theme.css
ADDED
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @generated by `astryx theme build` — do not edit manually.
|
|
3
|
+
* Source: astryx-theme.ts
|
|
4
|
+
* Command: astryx theme build astryx-theme.ts --out theme.css
|
|
5
|
+
* CLI: @astryxdesign/cli@0.3.0
|
|
6
|
+
* Core: @astryxdesign/core@0.3.0
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
@layer reset {
|
|
10
|
+
@scope ([data-astryx-theme="astryx-dracula"]) to ([data-astryx-theme]) {
|
|
11
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
12
|
+
font-family: var(--font-family-heading);
|
|
13
|
+
color: var(--color-text-primary);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:where(h1) {
|
|
17
|
+
font-size: var(--font-size-2xl);
|
|
18
|
+
font-weight: var(--font-weight-normal);
|
|
19
|
+
line-height: 1.4545;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:where(h2) {
|
|
23
|
+
font-size: var(--font-size-xl);
|
|
24
|
+
font-weight: var(--font-weight-normal);
|
|
25
|
+
line-height: 1.4737;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:where(h3) {
|
|
29
|
+
font-size: var(--font-size-lg);
|
|
30
|
+
font-weight: var(--font-weight-normal);
|
|
31
|
+
line-height: 1.5;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:where(h4) {
|
|
35
|
+
font-size: var(--font-size-base);
|
|
36
|
+
font-weight: var(--font-weight-normal);
|
|
37
|
+
line-height: 1.5385;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:where(h5) {
|
|
41
|
+
font-size: var(--font-size-sm);
|
|
42
|
+
font-weight: var(--font-weight-normal);
|
|
43
|
+
line-height: 1.4545;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:where(h6) {
|
|
47
|
+
font-size: var(--font-size-xs);
|
|
48
|
+
font-weight: var(--font-weight-normal);
|
|
49
|
+
line-height: 1.7778;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:where(p) {
|
|
53
|
+
font-family: var(--font-family-body);
|
|
54
|
+
font-size: var(--font-size-base);
|
|
55
|
+
font-weight: var(--font-weight-normal);
|
|
56
|
+
line-height: 1.5385;
|
|
57
|
+
color: var(--color-text-primary);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:where(small) {
|
|
61
|
+
font-size: var(--font-size-sm);
|
|
62
|
+
font-weight: var(--font-weight-normal);
|
|
63
|
+
line-height: 1.4545;
|
|
64
|
+
color: var(--color-text-secondary);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:where(code, pre) {
|
|
68
|
+
font-family: var(--font-family-code);
|
|
69
|
+
font-size: var(--font-size-base);
|
|
70
|
+
line-height: 1.5385;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:where(hr) {
|
|
74
|
+
border: none;
|
|
75
|
+
border-top: 1px solid var(--color-border);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@layer astryx-theme {
|
|
81
|
+
:root { color-scheme: light dark; }
|
|
82
|
+
html[data-theme="light"] { color-scheme: light; }
|
|
83
|
+
html[data-theme="dark"] { color-scheme: dark; }
|
|
84
|
+
|
|
85
|
+
@scope ([data-astryx-theme="astryx-dracula"]) to ([data-astryx-theme]) {
|
|
86
|
+
:scope {
|
|
87
|
+
--font-size-4xs: 0.3125rem;
|
|
88
|
+
--font-size-3xs: 0.375rem;
|
|
89
|
+
--font-size-2xs: 0.5rem;
|
|
90
|
+
--font-size-xs: 0.5625rem;
|
|
91
|
+
--font-size-sm: 0.6875rem;
|
|
92
|
+
--font-size-base: 13px;
|
|
93
|
+
--font-size-lg: 1rem;
|
|
94
|
+
--font-size-xl: 1.1875rem;
|
|
95
|
+
--font-size-2xl: 1.375rem;
|
|
96
|
+
--font-size-3xl: 1.6875rem;
|
|
97
|
+
--font-size-4xl: 2rem;
|
|
98
|
+
--font-size-5xl: 2.4375rem;
|
|
99
|
+
--text-heading-1-size: var(--font-size-2xl);
|
|
100
|
+
--text-heading-1-weight: var(--font-weight-normal);
|
|
101
|
+
--text-heading-1-leading: 1.4545;
|
|
102
|
+
--text-heading-2-size: var(--font-size-xl);
|
|
103
|
+
--text-heading-2-weight: var(--font-weight-normal);
|
|
104
|
+
--text-heading-2-leading: 1.4737;
|
|
105
|
+
--text-heading-3-size: var(--font-size-lg);
|
|
106
|
+
--text-heading-3-weight: var(--font-weight-normal);
|
|
107
|
+
--text-heading-3-leading: 1.5;
|
|
108
|
+
--text-heading-4-size: var(--font-size-base);
|
|
109
|
+
--text-heading-4-weight: var(--font-weight-normal);
|
|
110
|
+
--text-heading-4-leading: 1.5385;
|
|
111
|
+
--text-heading-5-size: var(--font-size-sm);
|
|
112
|
+
--text-heading-5-weight: var(--font-weight-normal);
|
|
113
|
+
--text-heading-5-leading: 1.4545;
|
|
114
|
+
--text-heading-6-size: var(--font-size-xs);
|
|
115
|
+
--text-heading-6-weight: var(--font-weight-normal);
|
|
116
|
+
--text-heading-6-leading: 1.7778;
|
|
117
|
+
--text-body-size: var(--font-size-base);
|
|
118
|
+
--text-body-weight: var(--font-weight-normal);
|
|
119
|
+
--text-body-leading: 1.5385;
|
|
120
|
+
--text-large-size: var(--font-size-lg);
|
|
121
|
+
--text-large-weight: var(--font-weight-semibold);
|
|
122
|
+
--text-large-leading: 1.5;
|
|
123
|
+
--text-label-size: var(--font-size-base);
|
|
124
|
+
--text-label-weight: var(--font-weight-medium);
|
|
125
|
+
--text-label-leading: 1.5385;
|
|
126
|
+
--text-code-size: var(--font-size-base);
|
|
127
|
+
--text-code-weight: var(--font-weight-normal);
|
|
128
|
+
--text-code-leading: 1.5385;
|
|
129
|
+
--text-supporting-size: var(--font-size-sm);
|
|
130
|
+
--text-supporting-weight: var(--font-weight-normal);
|
|
131
|
+
--text-supporting-leading: 1.4545;
|
|
132
|
+
--text-display-1-size: var(--font-size-5xl);
|
|
133
|
+
--text-display-1-weight: var(--font-weight-normal);
|
|
134
|
+
--text-display-1-leading: 1.2308;
|
|
135
|
+
--text-display-2-size: var(--font-size-4xl);
|
|
136
|
+
--text-display-2-weight: var(--font-weight-normal);
|
|
137
|
+
--text-display-2-leading: 1.25;
|
|
138
|
+
--text-display-3-size: var(--font-size-3xl);
|
|
139
|
+
--text-display-3-weight: var(--font-weight-normal);
|
|
140
|
+
--text-display-3-leading: 1.3333;
|
|
141
|
+
--duration-fast-min: 130ms;
|
|
142
|
+
--duration-fast: 175ms;
|
|
143
|
+
--duration-fast-max: 235ms;
|
|
144
|
+
--duration-medium-min: 310ms;
|
|
145
|
+
--duration-medium: 410ms;
|
|
146
|
+
--duration-medium-max: 545ms;
|
|
147
|
+
--duration-slow-min: 730ms;
|
|
148
|
+
--duration-slow: 975ms;
|
|
149
|
+
--duration-slow-max: 1300ms;
|
|
150
|
+
--font-family-body: "JetBrains Mono", monospace;
|
|
151
|
+
--font-family-heading: "JetBrains Mono", monospace;
|
|
152
|
+
--font-family-code: "JetBrains Mono", monospace;
|
|
153
|
+
--color-syntax-keyword: #FF79C6;
|
|
154
|
+
--color-syntax-string: #F1FA8C;
|
|
155
|
+
--color-syntax-comment: #6272A4;
|
|
156
|
+
--color-syntax-number: #FFB86C;
|
|
157
|
+
--color-syntax-function: #50FA7B;
|
|
158
|
+
--color-syntax-type: #8BE9FD;
|
|
159
|
+
--color-syntax-variable: #F8F8F2;
|
|
160
|
+
--color-syntax-operator: #FF79C6;
|
|
161
|
+
--color-syntax-constant: #FFB86C;
|
|
162
|
+
--color-syntax-tag: #FF79C6;
|
|
163
|
+
--color-syntax-attribute: #F1FA8C;
|
|
164
|
+
--color-syntax-property: #8BE9FD;
|
|
165
|
+
--color-syntax-punctuation: #F8F8F2;
|
|
166
|
+
--color-syntax-background: #282A36;
|
|
167
|
+
--radius-inner: 4px;
|
|
168
|
+
--radius-element: 5px;
|
|
169
|
+
--radius-container: 5px;
|
|
170
|
+
--radius-page: 5px;
|
|
171
|
+
--font-size-h1: 17px;
|
|
172
|
+
--font-size-h2: 16px;
|
|
173
|
+
--font-size-h3: 15px;
|
|
174
|
+
--font-size-h4: 14px;
|
|
175
|
+
--font-size-h5: 12px;
|
|
176
|
+
--font-size-h6: 11px;
|
|
177
|
+
--shadow-low: 0 2px 4px #191A210D, 0 4px 8px #191A211A;
|
|
178
|
+
--shadow-med: 0 2px 4px #191A210D, 0 4px 12px #191A211A;
|
|
179
|
+
--shadow-high: 0 4px 6px #191A211A, 0 12px 24px #191A2126;
|
|
180
|
+
--shadow-inset-hover: inset 0px 0px 0px 2px #6272A430;
|
|
181
|
+
--shadow-inset-success: inset 0px 0px 0px 2px #50FA7B30;
|
|
182
|
+
--shadow-inset-warning: inset 0px 0px 0px 2px #F1FA8C30;
|
|
183
|
+
--shadow-inset-error: inset 0px 0px 0px 2px #FF555530;
|
|
184
|
+
--color-neutral: light-dark(#F8F8F21A, #F8F8F21A);
|
|
185
|
+
--color-background-inverted: light-dark(#F8F8F2, #F8F8F2);
|
|
186
|
+
--color-background-error-inverted: light-dark(#FFD5CC, #FFD5CC);
|
|
187
|
+
--color-accent-muted: var(--color-background-purple);
|
|
188
|
+
--color-success-muted: var(--color-background-green);
|
|
189
|
+
--color-warning-muted: var(--color-background-yellow);
|
|
190
|
+
--color-error-muted: var(--color-background-red);
|
|
191
|
+
--color-info-muted: var(--color-background-cyan);
|
|
192
|
+
--space-gap: 23px;
|
|
193
|
+
--space-viewport: 15px;
|
|
194
|
+
--widget-content-vertical: 15px;
|
|
195
|
+
--widget-content-horizontal: 17px;
|
|
196
|
+
--widget-gap: 23px;
|
|
197
|
+
--tile-row: 96px;
|
|
198
|
+
--border-radius: 5px;
|
|
199
|
+
--color-background-body: light-dark(#282A36, #282A36);
|
|
200
|
+
--color-background-surface: light-dark(#343746, #343746);
|
|
201
|
+
--color-background-card: light-dark(#343746, #343746);
|
|
202
|
+
--color-background-popover: light-dark(#424450, #424450);
|
|
203
|
+
--color-background-muted: light-dark(#44475A, #44475A);
|
|
204
|
+
--color-overlay: light-dark(#191A21CC, #191A21CC);
|
|
205
|
+
--color-overlay-hover: light-dark(#353747, #353747);
|
|
206
|
+
--color-overlay-pressed: light-dark(#44475A, #44475A);
|
|
207
|
+
--color-border: light-dark(#6272A4, #6272A4);
|
|
208
|
+
--color-border-emphasized: light-dark(#6272A4, #6272A4);
|
|
209
|
+
--color-accent: light-dark(#BD93F9, #BD93F9);
|
|
210
|
+
--color-success: light-dark(#50FA7B, #50FA7B);
|
|
211
|
+
--color-error: light-dark(#FF5555, #FF5555);
|
|
212
|
+
--color-warning: light-dark(#F1FA8C, #F1FA8C);
|
|
213
|
+
--color-info: light-dark(#8BE9FD, #8BE9FD);
|
|
214
|
+
--color-text-primary: light-dark(#F8F8F2, #F8F8F2);
|
|
215
|
+
--color-text-secondary: light-dark(#9AA1BC, #9AA1BC);
|
|
216
|
+
--color-text-disabled: light-dark(#6272A4, #6272A4);
|
|
217
|
+
--color-text-accent: light-dark(#BD93F9, #BD93F9);
|
|
218
|
+
--color-icon-primary: light-dark(#F8F8F2, #F8F8F2);
|
|
219
|
+
--color-icon-secondary: light-dark(#9AA1BC, #9AA1BC);
|
|
220
|
+
--color-icon-disabled: light-dark(#6272A4, #6272A4);
|
|
221
|
+
--color-icon-accent: light-dark(#BD93F9, #BD93F9);
|
|
222
|
+
--color-on-accent: light-dark(#21222C, #21222C);
|
|
223
|
+
--color-on-success: light-dark(#21222C, #21222C);
|
|
224
|
+
--color-on-warning: light-dark(#21222C, #21222C);
|
|
225
|
+
--color-on-error: light-dark(#21222C, #21222C);
|
|
226
|
+
--color-on-info: light-dark(#21222C, #21222C);
|
|
227
|
+
--color-track: light-dark(#6272A4, #6272A4);
|
|
228
|
+
--color-skeleton: light-dark(#6272A4, #6272A4);
|
|
229
|
+
--color-functional-red: light-dark(#DE5735, #DE5735);
|
|
230
|
+
--color-functional-orange: light-dark(#A39514, #A39514);
|
|
231
|
+
--color-functional-green: light-dark(#089108, #089108);
|
|
232
|
+
--color-functional-cyan: light-dark(#0081D6, #0081D6);
|
|
233
|
+
--color-functional-purple: light-dark(#815CD6, #815CD6);
|
|
234
|
+
--color-data-categorical-blue: light-dark(#6272A4, #6272A4);
|
|
235
|
+
--color-data-categorical-orange: light-dark(#FFB86C, #FFB86C);
|
|
236
|
+
--color-data-categorical-purple: light-dark(#BD93F9, #BD93F9);
|
|
237
|
+
--color-data-categorical-green: light-dark(#50FA7B, #50FA7B);
|
|
238
|
+
--color-data-categorical-pink: light-dark(#FF79C6, #FF79C6);
|
|
239
|
+
--color-data-categorical-cyan: light-dark(#8BE9FD, #8BE9FD);
|
|
240
|
+
--color-data-categorical-red: light-dark(#FF5555, #FF5555);
|
|
241
|
+
--color-data-categorical-teal: light-dark(#A4FFFF, #A4FFFF);
|
|
242
|
+
--color-data-categorical-brown: light-dark(#FFB86C, #FFB86C);
|
|
243
|
+
--color-data-categorical-indigo: light-dark(#D6ACFF, #D6ACFF);
|
|
244
|
+
--color-background-blue: light-dark(#6272A41A, #6272A41A);
|
|
245
|
+
--color-border-blue: light-dark(#6272A44D, #6272A44D);
|
|
246
|
+
--color-icon-blue: light-dark(#6272A4, #6272A4);
|
|
247
|
+
--color-text-blue: light-dark(#6272A4, #6272A4);
|
|
248
|
+
--color-background-cyan: light-dark(#8BE9FD1A, #8BE9FD1A);
|
|
249
|
+
--color-border-cyan: light-dark(#8BE9FD4D, #8BE9FD4D);
|
|
250
|
+
--color-icon-cyan: light-dark(#8BE9FD, #8BE9FD);
|
|
251
|
+
--color-text-cyan: light-dark(#8BE9FD, #8BE9FD);
|
|
252
|
+
--color-background-gray: light-dark(#9AA1BC1A, #9AA1BC1A);
|
|
253
|
+
--color-border-gray: light-dark(#9AA1BC4D, #9AA1BC4D);
|
|
254
|
+
--color-icon-gray: light-dark(#9AA1BC, #9AA1BC);
|
|
255
|
+
--color-text-gray: light-dark(#9AA1BC, #9AA1BC);
|
|
256
|
+
--color-background-green: light-dark(#50FA7B1A, #50FA7B1A);
|
|
257
|
+
--color-border-green: light-dark(#50FA7B4D, #50FA7B4D);
|
|
258
|
+
--color-icon-green: light-dark(#50FA7B, #50FA7B);
|
|
259
|
+
--color-text-green: light-dark(#50FA7B, #50FA7B);
|
|
260
|
+
--color-background-orange: light-dark(#FFB86C1A, #FFB86C1A);
|
|
261
|
+
--color-border-orange: light-dark(#FFB86C4D, #FFB86C4D);
|
|
262
|
+
--color-icon-orange: light-dark(#FFB86C, #FFB86C);
|
|
263
|
+
--color-text-orange: light-dark(#FFB86C, #FFB86C);
|
|
264
|
+
--color-background-pink: light-dark(#FF79C61A, #FF79C61A);
|
|
265
|
+
--color-border-pink: light-dark(#FF79C64D, #FF79C64D);
|
|
266
|
+
--color-icon-pink: light-dark(#FF79C6, #FF79C6);
|
|
267
|
+
--color-text-pink: light-dark(#FF79C6, #FF79C6);
|
|
268
|
+
--color-background-purple: light-dark(#BD93F91A, #BD93F91A);
|
|
269
|
+
--color-border-purple: light-dark(#BD93F94D, #BD93F94D);
|
|
270
|
+
--color-icon-purple: light-dark(#BD93F9, #BD93F9);
|
|
271
|
+
--color-text-purple: light-dark(#BD93F9, #BD93F9);
|
|
272
|
+
--color-background-red: light-dark(#FF55551A, #FF55551A);
|
|
273
|
+
--color-border-red: light-dark(#FF55554D, #FF55554D);
|
|
274
|
+
--color-icon-red: light-dark(#FF5555, #FF5555);
|
|
275
|
+
--color-text-red: light-dark(#FF5555, #FF5555);
|
|
276
|
+
--color-background-teal: light-dark(#A4FFFF1A, #A4FFFF1A);
|
|
277
|
+
--color-border-teal: light-dark(#A4FFFF4D, #A4FFFF4D);
|
|
278
|
+
--color-icon-teal: light-dark(#A4FFFF, #A4FFFF);
|
|
279
|
+
--color-text-teal: light-dark(#A4FFFF, #A4FFFF);
|
|
280
|
+
--color-background-yellow: light-dark(#F1FA8C1A, #F1FA8C1A);
|
|
281
|
+
--color-border-yellow: light-dark(#F1FA8C4D, #F1FA8C4D);
|
|
282
|
+
--color-icon-yellow: light-dark(#F1FA8C, #F1FA8C);
|
|
283
|
+
--color-text-yellow: light-dark(#F1FA8C, #F1FA8C);
|
|
284
|
+
--color-data-purple-5: light-dark(hsl(264.71 89.47% 28%), hsl(264.71 89.47% 28%));
|
|
285
|
+
--color-data-purple-4: light-dark(hsl(264.71 89.47% 44%), hsl(264.71 89.47% 44%));
|
|
286
|
+
--color-data-purple-3: light-dark(hsl(264.71 89.47% 60%), hsl(264.71 89.47% 60%));
|
|
287
|
+
--color-data-purple-2: light-dark(hsl(264.71 89.47% 74%), hsl(264.71 89.47% 74%));
|
|
288
|
+
--color-data-purple-1: light-dark(hsl(264.71 89.47% 88%), hsl(264.71 89.47% 88%));
|
|
289
|
+
--color-data-pink-5: light-dark(hsl(325.52 100% 28%), hsl(325.52 100% 28%));
|
|
290
|
+
--color-data-pink-4: light-dark(hsl(325.52 100% 44%), hsl(325.52 100% 44%));
|
|
291
|
+
--color-data-pink-3: light-dark(hsl(325.52 100% 60%), hsl(325.52 100% 60%));
|
|
292
|
+
--color-data-pink-2: light-dark(hsl(325.52 100% 74%), hsl(325.52 100% 74%));
|
|
293
|
+
--color-data-pink-1: light-dark(hsl(325.52 100% 88%), hsl(325.52 100% 88%));
|
|
294
|
+
--color-data-red-5: light-dark(hsl(0 100% 28%), hsl(0 100% 28%));
|
|
295
|
+
--color-data-red-4: light-dark(hsl(0 100% 44%), hsl(0 100% 44%));
|
|
296
|
+
--color-data-red-3: light-dark(hsl(0 100% 60%), hsl(0 100% 60%));
|
|
297
|
+
--color-data-red-2: light-dark(hsl(0 100% 74%), hsl(0 100% 74%));
|
|
298
|
+
--color-data-red-1: light-dark(hsl(0 100% 88%), hsl(0 100% 88%));
|
|
299
|
+
--color-data-orange-5: light-dark(hsl(31.02 100% 28%), hsl(31.02 100% 28%));
|
|
300
|
+
--color-data-orange-4: light-dark(hsl(31.02 100% 44%), hsl(31.02 100% 44%));
|
|
301
|
+
--color-data-orange-3: light-dark(hsl(31.02 100% 60%), hsl(31.02 100% 60%));
|
|
302
|
+
--color-data-orange-2: light-dark(hsl(31.02 100% 74%), hsl(31.02 100% 74%));
|
|
303
|
+
--color-data-orange-1: light-dark(hsl(31.02 100% 88%), hsl(31.02 100% 88%));
|
|
304
|
+
--color-data-yellow-5: light-dark(hsl(64.91 91.67% 28%), hsl(64.91 91.67% 28%));
|
|
305
|
+
--color-data-yellow-4: light-dark(hsl(64.91 91.67% 44%), hsl(64.91 91.67% 44%));
|
|
306
|
+
--color-data-yellow-3: light-dark(hsl(64.91 91.67% 60%), hsl(64.91 91.67% 60%));
|
|
307
|
+
--color-data-yellow-2: light-dark(hsl(64.91 91.67% 74%), hsl(64.91 91.67% 74%));
|
|
308
|
+
--color-data-yellow-1: light-dark(hsl(64.91 91.67% 88%), hsl(64.91 91.67% 88%));
|
|
309
|
+
--color-data-teal-5: light-dark(hsl(190.53 96.61% 28%), hsl(190.53 96.61% 28%));
|
|
310
|
+
--color-data-teal-4: light-dark(hsl(190.53 96.61% 44%), hsl(190.53 96.61% 44%));
|
|
311
|
+
--color-data-teal-3: light-dark(hsl(190.53 96.61% 60%), hsl(190.53 96.61% 60%));
|
|
312
|
+
--color-data-teal-2: light-dark(hsl(190.53 96.61% 74%), hsl(190.53 96.61% 74%));
|
|
313
|
+
--color-data-teal-1: light-dark(hsl(190.53 96.61% 88%), hsl(190.53 96.61% 88%));
|
|
314
|
+
--color-data-blue-5: light-dark(hsl(225.45 26.61% 28%), hsl(225.45 26.61% 28%));
|
|
315
|
+
--color-data-blue-4: light-dark(hsl(225.45 26.61% 44%), hsl(225.45 26.61% 44%));
|
|
316
|
+
--color-data-blue-3: light-dark(hsl(225.45 26.61% 60%), hsl(225.45 26.61% 60%));
|
|
317
|
+
--color-data-blue-2: light-dark(hsl(225.45 26.61% 74%), hsl(225.45 26.61% 74%));
|
|
318
|
+
--color-data-blue-1: light-dark(hsl(225.45 26.61% 88%), hsl(225.45 26.61% 88%));
|
|
319
|
+
--color-data-shamrock-5: light-dark(hsl(135.18 94.44% 28%), hsl(135.18 94.44% 28%));
|
|
320
|
+
--color-data-shamrock-4: light-dark(hsl(135.18 94.44% 44%), hsl(135.18 94.44% 44%));
|
|
321
|
+
--color-data-shamrock-3: light-dark(hsl(135.18 94.44% 60%), hsl(135.18 94.44% 60%));
|
|
322
|
+
--color-data-shamrock-2: light-dark(hsl(135.18 94.44% 74%), hsl(135.18 94.44% 74%));
|
|
323
|
+
--color-data-shamrock-1: light-dark(hsl(135.18 94.44% 88%), hsl(135.18 94.44% 88%));
|
|
324
|
+
--color-data-gray-5: light-dark(hsl(231.43 14.89% 28%), hsl(231.43 14.89% 28%));
|
|
325
|
+
--color-data-gray-4: light-dark(hsl(231.43 14.89% 44%), hsl(231.43 14.89% 44%));
|
|
326
|
+
--color-data-gray-3: light-dark(hsl(231.43 14.89% 60%), hsl(231.43 14.89% 60%));
|
|
327
|
+
--color-data-gray-2: light-dark(hsl(231.43 14.89% 74%), hsl(231.43 14.89% 74%));
|
|
328
|
+
--color-data-gray-1: light-dark(hsl(231.43 14.89% 88%), hsl(231.43 14.89% 88%));
|
|
329
|
+
--color-background: light-dark(#282A36, #282A36);
|
|
330
|
+
--color-widget-background: light-dark(#343746, #343746);
|
|
331
|
+
--color-widget-content-border: light-dark(#6272A4, #6272A4);
|
|
332
|
+
--color-widget-background-highlight: light-dark(#44475A, #44475A);
|
|
333
|
+
--color-separator: light-dark(#44475A, #44475A);
|
|
334
|
+
--color-popover-background: light-dark(#424450, #424450);
|
|
335
|
+
--color-popover-border: light-dark(#6272A4, #6272A4);
|
|
336
|
+
--color-progress-border: light-dark(#44475A, #44475A);
|
|
337
|
+
--color-progress-value: light-dark(#6272A4, #6272A4);
|
|
338
|
+
--color-vertical-progress-value: light-dark(#6272A4, #6272A4);
|
|
339
|
+
--color-graph-gridlines: light-dark(#44475A, #44475A);
|
|
340
|
+
--color-widget-shadow: light-dark(#21222C, #21222C);
|
|
341
|
+
--color-text-highlight: light-dark(#F8F8F2, #F8F8F2);
|
|
342
|
+
--color-text-paragraph: light-dark(#B0B3C4, #B0B3C4);
|
|
343
|
+
--color-text-base: light-dark(#9AA1BC, #9AA1BC);
|
|
344
|
+
--color-text-base-muted: light-dark(#8288A6, #8288A6);
|
|
345
|
+
--color-text-subdue: light-dark(#4C5067, #4C5067);
|
|
346
|
+
--color-current-line: light-dark(#6272A4, #6272A4);
|
|
347
|
+
--color-selection: light-dark(#44475A, #44475A);
|
|
348
|
+
--color-primary: light-dark(#BD93F9, #BD93F9);
|
|
349
|
+
--color-positive: light-dark(#50FA7B, #50FA7B);
|
|
350
|
+
--color-negative: light-dark(#FF5555, #FF5555);
|
|
351
|
+
--color-tag-orange: light-dark(#FFB86C, #FFB86C);
|
|
352
|
+
--color-tag-pink: light-dark(#FF79C6, #FF79C6);
|
|
353
|
+
--color-tag-cyan: light-dark(#8BE9FD, #8BE9FD);
|
|
354
|
+
--color-tag-yellow: light-dark(#F1FA8C, #F1FA8C);
|
|
355
|
+
--color-tag-green: light-dark(#50FA7B, #50FA7B);
|
|
356
|
+
--color-tag-blue: light-dark(#BD93F9, #BD93F9);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.astryx-heading.level-1 {
|
|
360
|
+
font-family: var(--font-family-heading);
|
|
361
|
+
font-size: var(--text-heading-1-size);
|
|
362
|
+
font-weight: var(--text-heading-1-weight);
|
|
363
|
+
line-height: var(--text-heading-1-leading);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.astryx-heading.level-2 {
|
|
367
|
+
font-family: var(--font-family-heading);
|
|
368
|
+
font-size: var(--text-heading-2-size);
|
|
369
|
+
font-weight: var(--text-heading-2-weight);
|
|
370
|
+
line-height: var(--text-heading-2-leading);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.astryx-heading.level-3 {
|
|
374
|
+
font-family: var(--font-family-heading);
|
|
375
|
+
font-size: var(--text-heading-3-size);
|
|
376
|
+
font-weight: var(--text-heading-3-weight);
|
|
377
|
+
line-height: var(--text-heading-3-leading);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.astryx-heading.level-4 {
|
|
381
|
+
font-family: var(--font-family-heading);
|
|
382
|
+
font-size: var(--text-heading-4-size);
|
|
383
|
+
font-weight: var(--text-heading-4-weight);
|
|
384
|
+
line-height: var(--text-heading-4-leading);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.astryx-heading.level-5 {
|
|
388
|
+
font-family: var(--font-family-heading);
|
|
389
|
+
font-size: var(--text-heading-5-size);
|
|
390
|
+
font-weight: var(--text-heading-5-weight);
|
|
391
|
+
line-height: var(--text-heading-5-leading);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.astryx-heading.level-6 {
|
|
395
|
+
font-family: var(--font-family-heading);
|
|
396
|
+
font-size: var(--text-heading-6-size);
|
|
397
|
+
font-weight: var(--text-heading-6-weight);
|
|
398
|
+
line-height: var(--text-heading-6-leading);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.astryx-text.body {
|
|
402
|
+
font-family: var(--font-family-body);
|
|
403
|
+
font-size: var(--text-body-size);
|
|
404
|
+
line-height: var(--text-body-leading);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.astryx-text.large {
|
|
408
|
+
font-family: var(--font-family-body);
|
|
409
|
+
font-size: var(--text-large-size);
|
|
410
|
+
line-height: var(--text-large-leading);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.astryx-text.label {
|
|
414
|
+
font-family: var(--font-family-body);
|
|
415
|
+
font-size: var(--text-label-size);
|
|
416
|
+
line-height: var(--text-label-leading);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.astryx-text.code {
|
|
420
|
+
font-family: var(--font-family-code);
|
|
421
|
+
font-size: var(--text-code-size);
|
|
422
|
+
line-height: var(--text-code-leading);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.astryx-text.supporting {
|
|
426
|
+
font-family: var(--font-family-body);
|
|
427
|
+
font-size: var(--text-supporting-size);
|
|
428
|
+
line-height: var(--text-supporting-leading);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.astryx-text.display-1 {
|
|
432
|
+
font-family: var(--font-family-heading);
|
|
433
|
+
font-size: var(--text-display-1-size);
|
|
434
|
+
line-height: var(--text-display-1-leading);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.astryx-text.display-2 {
|
|
438
|
+
font-family: var(--font-family-heading);
|
|
439
|
+
font-size: var(--text-display-2-size);
|
|
440
|
+
line-height: var(--text-display-2-leading);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.astryx-text.display-3 {
|
|
444
|
+
font-family: var(--font-family-heading);
|
|
445
|
+
font-size: var(--text-display-3-size);
|
|
446
|
+
line-height: var(--text-display-3-leading);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.astryx-link {
|
|
450
|
+
color: var(--color-text-accent);
|
|
451
|
+
text-decoration: underline;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.astryx-link:hover {
|
|
455
|
+
color: var(--color-text-highlight);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.astryx-card {
|
|
459
|
+
background-color: var(--color-widget-background);
|
|
460
|
+
border: 1px solid var(--color-widget-content-border);
|
|
461
|
+
border-radius: var(--border-radius);
|
|
462
|
+
--_card-radius: var(--border-radius);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.astryx-button {
|
|
466
|
+
border-radius: var(--border-radius);
|
|
467
|
+
font-weight: var(--font-weight-normal);
|
|
468
|
+
--_button-radius: var(--border-radius);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.astryx-banner {
|
|
472
|
+
border-radius: var(--border-radius);
|
|
473
|
+
border-width: 1px;
|
|
474
|
+
border-style: solid;
|
|
475
|
+
color: var(--color-text-primary);
|
|
476
|
+
--_banner-radius: var(--border-radius);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.astryx-banner.info {
|
|
480
|
+
--color-accent-muted: var(--color-background-cyan);
|
|
481
|
+
border-color: var(--color-info);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.astryx-banner.success {
|
|
485
|
+
--color-success-muted: var(--color-background-green);
|
|
486
|
+
border-color: var(--color-success);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.astryx-banner.warning {
|
|
490
|
+
--color-warning-muted: var(--color-background-yellow);
|
|
491
|
+
border-color: var(--color-warning);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.astryx-banner.error {
|
|
495
|
+
--color-error-muted: var(--color-background-red);
|
|
496
|
+
border-color: var(--color-error);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.astryx-progressbar-fill.accent {
|
|
500
|
+
background-color: #BD93F9;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.astryx-progressbar-fill.success {
|
|
504
|
+
background-color: #50FA7B;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.astryx-progressbar-fill.warning {
|
|
508
|
+
background-color: #F1FA8C;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.astryx-progressbar-fill.error {
|
|
512
|
+
background-color: #FF5555;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.astryx-text-input.success {
|
|
516
|
+
--color-success: #50FA7B;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.astryx-text-input.warning {
|
|
520
|
+
--color-warning: #F1FA8C;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.astryx-text-input.error {
|
|
524
|
+
--color-error: #FF5555;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.astryx-textarea.success {
|
|
528
|
+
--color-success: #50FA7B;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.astryx-textarea.warning {
|
|
532
|
+
--color-warning: #F1FA8C;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.astryx-textarea.error {
|
|
536
|
+
--color-error: #FF5555;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.astryx-number-input.success {
|
|
540
|
+
--color-success: #50FA7B;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.astryx-number-input.warning {
|
|
544
|
+
--color-warning: #F1FA8C;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.astryx-number-input.error {
|
|
548
|
+
--color-error: #FF5555;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.astryx-date-input.success {
|
|
552
|
+
--color-success: #50FA7B;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.astryx-date-input.warning {
|
|
556
|
+
--color-warning: #F1FA8C;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.astryx-date-input.error {
|
|
560
|
+
--color-error: #FF5555;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.astryx-time-input.success {
|
|
564
|
+
--color-success: #50FA7B;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.astryx-time-input.warning {
|
|
568
|
+
--color-warning: #F1FA8C;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.astryx-time-input.error {
|
|
572
|
+
--color-error: #FF5555;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.astryx-selector.success {
|
|
576
|
+
--color-success: #50FA7B;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.astryx-selector.warning {
|
|
580
|
+
--color-warning: #F1FA8C;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.astryx-selector.error {
|
|
584
|
+
--color-error: #FF5555;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.astryx-multi-selector.success {
|
|
588
|
+
--color-success: #50FA7B;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.astryx-multi-selector.warning {
|
|
592
|
+
--color-warning: #F1FA8C;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.astryx-multi-selector.error {
|
|
596
|
+
--color-error: #FF5555;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.astryx-typeahead.success {
|
|
600
|
+
--color-success: #50FA7B;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.astryx-typeahead.warning {
|
|
604
|
+
--color-warning: #F1FA8C;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.astryx-typeahead.error {
|
|
608
|
+
--color-error: #FF5555;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.astryx-tokenizer.success {
|
|
612
|
+
--color-success: #50FA7B;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.astryx-tokenizer.warning {
|
|
616
|
+
--color-warning: #F1FA8C;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.astryx-tokenizer.error {
|
|
620
|
+
--color-error: #FF5555;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.astryx-switch {
|
|
624
|
+
--color-background-gray: var(--color-skeleton);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.astryx-field-status.success {
|
|
628
|
+
background-color: var(--color-background-green);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.astryx-field-status.warning {
|
|
632
|
+
background-color: var(--color-background-yellow);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.astryx-field-status.error {
|
|
636
|
+
background-color: var(--color-background-red);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.astryx-text.primary { color: var(--color-text-primary); }
|
|
640
|
+
|
|
641
|
+
.astryx-heading.primary { color: var(--color-text-primary); }
|
|
642
|
+
|
|
643
|
+
.astryx-link.primary { color: var(--color-text-primary); }
|
|
644
|
+
|
|
645
|
+
.astryx-text.secondary { color: var(--color-text-secondary); }
|
|
646
|
+
|
|
647
|
+
.astryx-heading.secondary { color: var(--color-text-secondary); }
|
|
648
|
+
|
|
649
|
+
.astryx-link.secondary { color: var(--color-text-secondary); }
|
|
650
|
+
|
|
651
|
+
.astryx-text.disabled { color: var(--color-text-disabled); }
|
|
652
|
+
|
|
653
|
+
.astryx-heading.disabled { color: var(--color-text-disabled); }
|
|
654
|
+
|
|
655
|
+
.astryx-link.disabled { color: var(--color-text-disabled); }
|
|
656
|
+
|
|
657
|
+
.astryx-text.placeholder { color: var(--color-text-secondary); }
|
|
658
|
+
|
|
659
|
+
.astryx-heading.placeholder { color: var(--color-text-secondary); }
|
|
660
|
+
|
|
661
|
+
.astryx-link.placeholder { color: var(--color-text-secondary); }
|
|
662
|
+
|
|
663
|
+
.astryx-text.accent { color: var(--color-text-accent); }
|
|
664
|
+
|
|
665
|
+
.astryx-heading.accent { color: var(--color-text-accent); }
|
|
666
|
+
|
|
667
|
+
.astryx-link.accent { color: var(--color-text-accent); }
|
|
668
|
+
|
|
669
|
+
.astryx-text.size-4xs { font-size: var(--font-size-4xs); }
|
|
670
|
+
|
|
671
|
+
.astryx-text.size-3xs { font-size: var(--font-size-3xs); }
|
|
672
|
+
|
|
673
|
+
.astryx-text.size-2xs { font-size: var(--font-size-2xs); }
|
|
674
|
+
|
|
675
|
+
.astryx-text.xsm { font-size: var(--font-size-xs); }
|
|
676
|
+
|
|
677
|
+
.astryx-text.sm { font-size: var(--font-size-sm); }
|
|
678
|
+
|
|
679
|
+
.astryx-text.base { font-size: var(--font-size-base); }
|
|
680
|
+
|
|
681
|
+
.astryx-text.lg { font-size: var(--font-size-lg); }
|
|
682
|
+
|
|
683
|
+
.astryx-text.xl { font-size: var(--font-size-xl); }
|
|
684
|
+
|
|
685
|
+
.astryx-text.size-2xl { font-size: var(--font-size-2xl); }
|
|
686
|
+
|
|
687
|
+
.astryx-text.size-3xl { font-size: var(--font-size-3xl); }
|
|
688
|
+
|
|
689
|
+
.astryx-text.size-4xl { font-size: var(--font-size-4xl); }
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
@layer astryx-theme {
|
|
694
|
+
@scope ([data-astryx-theme="astryx-dracula"]) to ([data-astryx-theme]) {
|
|
695
|
+
[data-astryx-media="dark"] {
|
|
696
|
+
color-scheme: dark;
|
|
697
|
+
--color-text-primary: var(--color-on-dark);
|
|
698
|
+
--color-icon-primary: var(--color-on-dark);
|
|
699
|
+
--color-accent: var(--color-on-dark);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
[data-astryx-media="light"] {
|
|
703
|
+
color-scheme: light;
|
|
704
|
+
--color-text-primary: var(--color-on-light);
|
|
705
|
+
--color-icon-primary: var(--color-on-light);
|
|
706
|
+
--color-accent: var(--color-on-light);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|