@astryxdesign/theme-butter 0.0.0-bootstrap.0 → 0.0.15
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/LICENSE +21 -0
- package/README.md +55 -1
- package/dist/butter.d.ts +11 -0
- package/dist/butter.js +198 -0
- package/dist/butter.variants.d.ts +112 -0
- package/dist/butterTheme.d.ts +344 -0
- package/dist/butterTheme.d.ts.map +1 -0
- package/dist/chunk-KRFM4EWN.mjs +66 -0
- package/dist/icons.d.ts +3 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +63 -0
- package/dist/icons.mjs +6 -0
- package/dist/source.d.ts +3 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +918 -0
- package/dist/source.mjs +855 -0
- package/dist/theme.css +773 -0
- package/package.json +56 -5
- package/src/butterTheme.ts +916 -0
- package/src/icons.tsx +77 -0
- package/src/source.ts +4 -0
package/dist/theme.css
ADDED
|
@@ -0,0 +1,773 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @generated by `astryx theme build` — do not edit manually.
|
|
3
|
+
* Source: src/butterTheme.ts
|
|
4
|
+
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
+
* Generated: 2026-06-24T18:16:24.163Z
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@layer reset {
|
|
9
|
+
@scope ([data-astryx-theme="butter"]) to ([data-astryx-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.4545;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:where(h3) {
|
|
28
|
+
font-size: var(--font-size-lg);
|
|
29
|
+
font-weight: var(--font-weight-bold);
|
|
30
|
+
line-height: 1.5556;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:where(h4) {
|
|
34
|
+
font-size: var(--font-size-base);
|
|
35
|
+
font-weight: var(--font-weight-bold);
|
|
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.4545;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:where(h6) {
|
|
46
|
+
font-size: var(--font-size-xs);
|
|
47
|
+
font-weight: var(--font-weight-semibold);
|
|
48
|
+
line-height: 1.7778;
|
|
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: 12px;
|
|
61
|
+
font-weight: var(--font-weight-normal);
|
|
62
|
+
line-height: 1.4545;
|
|
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 astryx-theme {
|
|
80
|
+
:root { color-scheme: light dark; }
|
|
81
|
+
|
|
82
|
+
@scope ([data-astryx-theme="butter"]) to ([data-astryx-theme]) {
|
|
83
|
+
:scope {
|
|
84
|
+
--font-size-4xs: 0.3125rem;
|
|
85
|
+
--font-size-3xs: 0.375rem;
|
|
86
|
+
--font-size-2xs: 0.4375rem;
|
|
87
|
+
--font-size-xs: 0.5625rem;
|
|
88
|
+
--font-size-sm: 0.6875rem;
|
|
89
|
+
--font-size-base: 0.875rem;
|
|
90
|
+
--font-size-lg: 1.125rem;
|
|
91
|
+
--font-size-xl: 1.375rem;
|
|
92
|
+
--font-size-2xl: 1.6875rem;
|
|
93
|
+
--font-size-3xl: 2.125rem;
|
|
94
|
+
--font-size-4xl: 2.6875rem;
|
|
95
|
+
--font-size-5xl: 3.3125rem;
|
|
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.4545;
|
|
102
|
+
--text-heading-3-size: var(--font-size-lg);
|
|
103
|
+
--text-heading-3-weight: var(--font-weight-bold);
|
|
104
|
+
--text-heading-3-leading: 1.5556;
|
|
105
|
+
--text-heading-4-size: var(--font-size-base);
|
|
106
|
+
--text-heading-4-weight: var(--font-weight-bold);
|
|
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.4545;
|
|
111
|
+
--text-heading-6-size: var(--font-size-xs);
|
|
112
|
+
--text-heading-6-weight: var(--font-weight-semibold);
|
|
113
|
+
--text-heading-6-leading: 1.7778;
|
|
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.5556;
|
|
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: 12px;
|
|
127
|
+
--text-supporting-weight: var(--font-weight-normal);
|
|
128
|
+
--text-supporting-leading: 1.4545;
|
|
129
|
+
--text-display-1-size: var(--font-size-5xl);
|
|
130
|
+
--text-display-1-weight: var(--font-weight-normal);
|
|
131
|
+
--text-display-1-leading: 1.283;
|
|
132
|
+
--text-display-2-size: var(--font-size-4xl);
|
|
133
|
+
--text-display-2-weight: var(--font-weight-normal);
|
|
134
|
+
--text-display-2-leading: 1.2093;
|
|
135
|
+
--text-display-3-size: var(--font-size-3xl);
|
|
136
|
+
--text-display-3-weight: var(--font-weight-normal);
|
|
137
|
+
--text-display-3-leading: 1.2941;
|
|
138
|
+
--duration-fast-min: 95ms;
|
|
139
|
+
--duration-fast: 125ms;
|
|
140
|
+
--duration-fast-max: 165ms;
|
|
141
|
+
--duration-medium-min: 225ms;
|
|
142
|
+
--duration-medium: 300ms;
|
|
143
|
+
--duration-medium-max: 400ms;
|
|
144
|
+
--duration-slow-min: 525ms;
|
|
145
|
+
--duration-slow: 700ms;
|
|
146
|
+
--duration-slow-max: 935ms;
|
|
147
|
+
--font-family-body: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
148
|
+
--font-family-heading: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
149
|
+
--font-family-code: "JetBrains Mono", "SF Mono", Monaco, Consolas, monospace;
|
|
150
|
+
--color-syntax-keyword: light-dark(#52237b, #ddb9f6);
|
|
151
|
+
--color-syntax-string: light-dark(#004800, #a5d29d);
|
|
152
|
+
--color-syntax-comment: light-dark(#605f52, #adac9e);
|
|
153
|
+
--color-syntax-number: light-dark(#622e00, #f2bd81);
|
|
154
|
+
--color-syntax-function: light-dark(#203a6c, #bdc5eb);
|
|
155
|
+
--color-syntax-type: light-dark(#52237b, #ddb9f6);
|
|
156
|
+
--color-syntax-variable: light-dark(#605f52, #adac9e);
|
|
157
|
+
--color-syntax-operator: light-dark(#605f52, #adac9e);
|
|
158
|
+
--color-syntax-constant: light-dark(#622e00, #f2bd81);
|
|
159
|
+
--color-syntax-tag: light-dark(#6d211c, #f4b8ae);
|
|
160
|
+
--color-syntax-attribute: light-dark(#413e00, #d6c957);
|
|
161
|
+
--color-syntax-property: light-dark(#00482d, #94d3bb);
|
|
162
|
+
--color-syntax-punctuation: light-dark(#605f52, #adac9e);
|
|
163
|
+
--color-syntax-background: light-dark(#FDFBE4, #131107);
|
|
164
|
+
--color-accent: light-dark(#225BFF, #FDEE8C);
|
|
165
|
+
--color-accent-muted: light-dark(#225BFF33, #FDEE8C40);
|
|
166
|
+
--color-neutral: light-dark(#1d1c110F, #f3f2e21A);
|
|
167
|
+
--color-background-surface: light-dark(#FFFFFF, #2E2117);
|
|
168
|
+
--color-background-body: light-dark(#FDFBE4, #261A13);
|
|
169
|
+
--color-overlay: light-dark(#1d1c1180, #261A13cc);
|
|
170
|
+
--color-overlay-hover: light-dark(#1d1c110D, #f3f2e20D);
|
|
171
|
+
--color-overlay-pressed: light-dark(#1d1c111A, #f3f2e21A);
|
|
172
|
+
--color-background-muted: light-dark(#f3f2e2, #3A2A1F);
|
|
173
|
+
--color-text-primary: light-dark(#1d1c11, #f3f2e2);
|
|
174
|
+
--color-text-secondary: light-dark(#605f52, #adac9e);
|
|
175
|
+
--color-text-disabled: light-dark(#adac9e, #605f52);
|
|
176
|
+
--color-text-accent: light-dark(#225BFF, #FDEE8C);
|
|
177
|
+
--color-on-dark: #ffffff;
|
|
178
|
+
--color-on-light: #1d1c11;
|
|
179
|
+
--color-on-accent: light-dark(#ffffff, #1d1c11);
|
|
180
|
+
--color-on-success: light-dark(#ccff88, #0b2e00);
|
|
181
|
+
--color-on-error: light-dark(#ffe3de, #600000);
|
|
182
|
+
--color-on-warning: light-dark(#ffeec3, #3b2200);
|
|
183
|
+
--color-icon-accent: light-dark(#225BFF, #FDEE8C);
|
|
184
|
+
--color-icon-primary: light-dark(#1d1c11, #f3f2e2);
|
|
185
|
+
--color-icon-secondary: light-dark(#605f52, #adac9e);
|
|
186
|
+
--color-icon-disabled: light-dark(#adac9e, #605f52);
|
|
187
|
+
--color-background-card: light-dark(#FFFFFF, #3A2A1F);
|
|
188
|
+
--color-background-popover: light-dark(#FFFFFF, #3A2A1F);
|
|
189
|
+
--color-background-inverted: light-dark(#1d1c11, #FDFBE4);
|
|
190
|
+
--color-error: light-dark(#771210, #ffb4a6);
|
|
191
|
+
--color-error-muted: light-dark(#77121033, #ffb4a640);
|
|
192
|
+
--color-warning: light-dark(#543700, #f7be00);
|
|
193
|
+
--color-warning-muted: light-dark(#54370033, #f7be0040);
|
|
194
|
+
--color-success: light-dark(#004700, #99d94b);
|
|
195
|
+
--color-success-muted: light-dark(#00470033, #99d94b40);
|
|
196
|
+
--color-border: light-dark(#e5e3d4, #f3f2e21A);
|
|
197
|
+
--color-border-emphasized: light-dark(#C7C4B2, #939184);
|
|
198
|
+
--color-skeleton: light-dark(#e5e3d4, #49473b);
|
|
199
|
+
--color-shadow: light-dark(#1d1c111A, #0000004D);
|
|
200
|
+
--color-tint-hover: light-dark(black, white);
|
|
201
|
+
--size-element-sm: 32px;
|
|
202
|
+
--size-element-md: 40px;
|
|
203
|
+
--size-element-lg: 48px;
|
|
204
|
+
--color-background-blue: light-dark(#dbe1ff, #dbe1ff);
|
|
205
|
+
--color-border-blue: light-dark(#bdc5eb, #bdc5eb);
|
|
206
|
+
--color-icon-blue: light-dark(#203a6c, #203a6c);
|
|
207
|
+
--color-text-blue: light-dark(#203a6c, #203a6c);
|
|
208
|
+
--color-background-cyan: light-dark(#a9eff0, #a9eff0);
|
|
209
|
+
--color-border-cyan: light-dark(#8dd2d3, #8dd2d3);
|
|
210
|
+
--color-icon-cyan: light-dark(#004649, #004649);
|
|
211
|
+
--color-text-cyan: light-dark(#004649, #004649);
|
|
212
|
+
--color-background-gray: light-dark(#f0edd4, #f0edd4);
|
|
213
|
+
--color-border-gray: light-dark(#d6d3b8, #d6d3b8);
|
|
214
|
+
--color-icon-gray: light-dark(#4a4732, #4a4732);
|
|
215
|
+
--color-text-gray: light-dark(#4a4732, #4a4732);
|
|
216
|
+
--color-background-green: light-dark(#c1efb8, #c1efb8);
|
|
217
|
+
--color-border-green: light-dark(#a5d29d, #a5d29d);
|
|
218
|
+
--color-icon-green: light-dark(#004800, #004800);
|
|
219
|
+
--color-text-green: light-dark(#004800, #004800);
|
|
220
|
+
--color-background-orange: light-dark(#ffdcb6, #ffdcb6);
|
|
221
|
+
--color-border-orange: light-dark(#f2bd81, #f2bd81);
|
|
222
|
+
--color-icon-orange: light-dark(#622e00, #622e00);
|
|
223
|
+
--color-text-orange: light-dark(#622e00, #622e00);
|
|
224
|
+
--color-background-pink: light-dark(#ffd5fb, #ffd5fb);
|
|
225
|
+
--color-border-pink: light-dark(#f0b3e8, #f0b3e8);
|
|
226
|
+
--color-icon-pink: light-dark(#6c0a68, #6c0a68);
|
|
227
|
+
--color-text-pink: light-dark(#6c0a68, #6c0a68);
|
|
228
|
+
--color-background-purple: light-dark(#f2daff, #f2daff);
|
|
229
|
+
--color-border-purple: light-dark(#ddb9f6, #ddb9f6);
|
|
230
|
+
--color-icon-purple: light-dark(#52237b, #52237b);
|
|
231
|
+
--color-text-purple: light-dark(#52237b, #52237b);
|
|
232
|
+
--color-background-red: light-dark(#ffdad3, #ffdad3);
|
|
233
|
+
--color-border-red: light-dark(#f4b8ae, #f4b8ae);
|
|
234
|
+
--color-icon-red: light-dark(#6d211c, #6d211c);
|
|
235
|
+
--color-text-red: light-dark(#6d211c, #6d211c);
|
|
236
|
+
--color-background-teal: light-dark(#b0f0d7, #b0f0d7);
|
|
237
|
+
--color-border-teal: light-dark(#94d3bb, #94d3bb);
|
|
238
|
+
--color-icon-teal: light-dark(#00482d, #00482d);
|
|
239
|
+
--color-text-teal: light-dark(#00482d, #00482d);
|
|
240
|
+
--color-background-yellow: light-dark(#feee7b, #feee7b);
|
|
241
|
+
--color-border-yellow: light-dark(#d6c957, #d6c957);
|
|
242
|
+
--color-icon-yellow: light-dark(#413e00, #413e00);
|
|
243
|
+
--color-text-yellow: light-dark(#413e00, #413e00);
|
|
244
|
+
--radius-none: 0.125rem;
|
|
245
|
+
--radius-inner: 0.375rem;
|
|
246
|
+
--radius-element: 0.5rem;
|
|
247
|
+
--radius-container: 0.75rem;
|
|
248
|
+
--radius-page: 1.5rem;
|
|
249
|
+
--radius-full: 9999px;
|
|
250
|
+
--shadow-low: 0 2px 4px #1d1c110D, 0 4px 8px #1d1c111A;
|
|
251
|
+
--shadow-med: 0 2px 4px #1d1c110D, 0 4px 12px #1d1c111A;
|
|
252
|
+
--shadow-high: 0 4px 6px #1d1c111A, 0 12px 24px #1d1c1126;
|
|
253
|
+
--shadow-inset-hover: inset 0px 0px 0px 2px #79786a30;
|
|
254
|
+
--shadow-inset-selected: inset 0px 0px 0px 2px #79786a50;
|
|
255
|
+
--shadow-inset-success: inset 0px 0px 0px 2px #00470030;
|
|
256
|
+
--shadow-inset-warning: inset 0px 0px 0px 2px #54370030;
|
|
257
|
+
--shadow-inset-error: inset 0px 0px 0px 2px #77121030;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.astryx-heading.level-1 {
|
|
261
|
+
font-family: var(--font-family-heading);
|
|
262
|
+
font-size: var(--text-heading-1-size);
|
|
263
|
+
font-weight: var(--text-heading-1-weight);
|
|
264
|
+
line-height: var(--text-heading-1-leading);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.astryx-heading.level-2 {
|
|
268
|
+
font-family: var(--font-family-heading);
|
|
269
|
+
font-size: var(--text-heading-2-size);
|
|
270
|
+
font-weight: var(--text-heading-2-weight);
|
|
271
|
+
line-height: var(--text-heading-2-leading);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.astryx-heading.level-3 {
|
|
275
|
+
font-family: var(--font-family-heading);
|
|
276
|
+
font-size: var(--text-heading-3-size);
|
|
277
|
+
font-weight: var(--text-heading-3-weight);
|
|
278
|
+
line-height: var(--text-heading-3-leading);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.astryx-heading.level-4 {
|
|
282
|
+
font-family: var(--font-family-heading);
|
|
283
|
+
font-size: var(--text-heading-4-size);
|
|
284
|
+
font-weight: var(--text-heading-4-weight);
|
|
285
|
+
line-height: var(--text-heading-4-leading);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.astryx-heading.level-5 {
|
|
289
|
+
font-family: var(--font-family-heading);
|
|
290
|
+
font-size: var(--text-heading-5-size);
|
|
291
|
+
font-weight: var(--text-heading-5-weight);
|
|
292
|
+
line-height: var(--text-heading-5-leading);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.astryx-heading.level-6 {
|
|
296
|
+
font-family: var(--font-family-heading);
|
|
297
|
+
font-size: var(--text-heading-6-size);
|
|
298
|
+
font-weight: var(--text-heading-6-weight);
|
|
299
|
+
line-height: var(--text-heading-6-leading);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.astryx-text.body {
|
|
303
|
+
font-family: var(--font-family-body);
|
|
304
|
+
font-size: var(--text-body-size);
|
|
305
|
+
line-height: var(--text-body-leading);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.astryx-text.large {
|
|
309
|
+
font-family: var(--font-family-body);
|
|
310
|
+
font-size: var(--text-large-size);
|
|
311
|
+
line-height: var(--text-large-leading);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.astryx-text.label {
|
|
315
|
+
font-family: var(--font-family-body);
|
|
316
|
+
font-size: var(--text-label-size);
|
|
317
|
+
line-height: var(--text-label-leading);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.astryx-text.code {
|
|
321
|
+
font-family: var(--font-family-code);
|
|
322
|
+
font-size: var(--text-code-size);
|
|
323
|
+
line-height: var(--text-code-leading);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.astryx-text.supporting {
|
|
327
|
+
font-family: var(--font-family-body);
|
|
328
|
+
font-size: var(--text-supporting-size);
|
|
329
|
+
line-height: var(--text-supporting-leading);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.astryx-text.display-1 {
|
|
333
|
+
font-family: Sarina, "Brush Script MT", "Snell Roundhand", cursive;
|
|
334
|
+
font-size: var(--text-display-1-size);
|
|
335
|
+
line-height: var(--text-display-1-leading);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.astryx-text.display-2 {
|
|
339
|
+
font-family: Sarina, "Brush Script MT", "Snell Roundhand", cursive;
|
|
340
|
+
font-size: var(--text-display-2-size);
|
|
341
|
+
line-height: var(--text-display-2-leading);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.astryx-text.display-3 {
|
|
345
|
+
font-family: Sarina, "Brush Script MT", "Snell Roundhand", cursive;
|
|
346
|
+
font-size: var(--text-display-3-size);
|
|
347
|
+
line-height: var(--text-display-3-leading);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.astryx-top-nav-heading {
|
|
351
|
+
color: light-dark(#225BFF, #FDEE8C);
|
|
352
|
+
--color-text-primary: light-dark(#225BFF, #FDEE8C);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.astryx-top-nav-item {
|
|
356
|
+
color: light-dark(#6E92FF, #FDEE8CCC);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.astryx-top-nav-item.selected {
|
|
360
|
+
color: light-dark(#225BFF, #FDEE8C);
|
|
361
|
+
background-color: transparent;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.astryx-top-nav-item.selected:hover {
|
|
365
|
+
background-color: var(--color-overlay-hover);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.astryx-top-nav-item.selected:active {
|
|
369
|
+
background-color: var(--color-overlay-pressed);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.astryx-button {
|
|
373
|
+
padding-block: var(--spacing-3);
|
|
374
|
+
padding-inline: var(--spacing-4);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.astryx-button.secondary {
|
|
378
|
+
background-color: transparent;
|
|
379
|
+
border-width: 1.5px;
|
|
380
|
+
border-style: solid;
|
|
381
|
+
border-color: light-dark(#225BFF, #FDEE8C);
|
|
382
|
+
color: light-dark(#225BFF, #FDEE8C);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.astryx-button.secondary:hover {
|
|
386
|
+
background-color: light-dark(#225BFF14, #FDEE8C14);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.astryx-button.ghost {
|
|
390
|
+
color: light-dark(#225BFF, #FDEE8C);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.astryx-button.destructive {
|
|
394
|
+
background-color: light-dark(#ffdad3, #f4b8ae);
|
|
395
|
+
color: light-dark(#550000, #6d211c);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.astryx-badge {
|
|
399
|
+
height: 30px;
|
|
400
|
+
padding-block: 0;
|
|
401
|
+
padding-inline: var(--spacing-3);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.astryx-badge.info {
|
|
405
|
+
background-color: #4883fd;
|
|
406
|
+
color: #ffffff;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.astryx-badge.neutral {
|
|
410
|
+
background-color: #ffee7b;
|
|
411
|
+
color: #225BFF;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.astryx-badge.success {
|
|
415
|
+
background-color: #91D143;
|
|
416
|
+
color: #1d1c11;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.astryx-badge.warning {
|
|
420
|
+
background-color: #ffc502;
|
|
421
|
+
color: #1d1c11;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.astryx-badge.error {
|
|
425
|
+
background-color: #fc473b;
|
|
426
|
+
color: #ffffff;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.astryx-banner.info {
|
|
430
|
+
--color-accent-muted: #4883fd;
|
|
431
|
+
--color-text-primary: #ffffff;
|
|
432
|
+
--color-text-secondary: #ffffff;
|
|
433
|
+
--color-accent: #ffffff;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.astryx-banner.success {
|
|
437
|
+
--color-success-muted: #91D143;
|
|
438
|
+
--color-text-primary: #1d1c11;
|
|
439
|
+
--color-text-secondary: #1d1c11;
|
|
440
|
+
--color-success: #1d1c11;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.astryx-banner.warning {
|
|
444
|
+
--color-warning-muted: #ffc502;
|
|
445
|
+
--color-text-primary: #1d1c11;
|
|
446
|
+
--color-text-secondary: #1d1c11;
|
|
447
|
+
--color-warning: #1d1c11;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.astryx-banner.error {
|
|
451
|
+
--color-error-muted: #fc473b;
|
|
452
|
+
--color-text-primary: #ffffff;
|
|
453
|
+
--color-text-secondary: #ffffff;
|
|
454
|
+
--color-error: #ffffff;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.astryx-card {
|
|
458
|
+
border-radius: var(--radius-container);
|
|
459
|
+
--astryx-card-padding: var(--spacing-4);
|
|
460
|
+
--_card-radius: var(--radius-container);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.astryx-card.info {
|
|
464
|
+
--color-text-primary: #1d1c11;
|
|
465
|
+
--color-text-secondary: #605f52;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.astryx-card.success {
|
|
469
|
+
--color-text-primary: #1d1c11;
|
|
470
|
+
--color-text-secondary: #605f52;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.astryx-card.warning {
|
|
474
|
+
--color-text-primary: #1d1c11;
|
|
475
|
+
--color-text-secondary: #605f52;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.astryx-card.error {
|
|
479
|
+
--color-text-primary: #1d1c11;
|
|
480
|
+
--color-text-secondary: #605f52;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.astryx-card.blue {
|
|
484
|
+
--color-text-primary: #1d1c11;
|
|
485
|
+
--color-text-secondary: #605f52;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.astryx-card.cyan {
|
|
489
|
+
--color-text-primary: #1d1c11;
|
|
490
|
+
--color-text-secondary: #605f52;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.astryx-card.gray {
|
|
494
|
+
--color-text-primary: #1d1c11;
|
|
495
|
+
--color-text-secondary: #605f52;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.astryx-card.green {
|
|
499
|
+
--color-text-primary: #1d1c11;
|
|
500
|
+
--color-text-secondary: #605f52;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.astryx-card.orange {
|
|
504
|
+
--color-text-primary: #1d1c11;
|
|
505
|
+
--color-text-secondary: #605f52;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.astryx-card.pink {
|
|
509
|
+
--color-text-primary: #1d1c11;
|
|
510
|
+
--color-text-secondary: #605f52;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.astryx-card.purple {
|
|
514
|
+
--color-text-primary: #1d1c11;
|
|
515
|
+
--color-text-secondary: #605f52;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.astryx-card.red {
|
|
519
|
+
--color-text-primary: #1d1c11;
|
|
520
|
+
--color-text-secondary: #605f52;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.astryx-card.teal {
|
|
524
|
+
--color-text-primary: #1d1c11;
|
|
525
|
+
--color-text-secondary: #605f52;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.astryx-card.yellow {
|
|
529
|
+
--color-text-primary: #1d1c11;
|
|
530
|
+
--color-text-secondary: #605f52;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.astryx-card.muted {
|
|
534
|
+
--color-text-primary: #1d1c11;
|
|
535
|
+
--color-text-secondary: #605f52;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.astryx-section {
|
|
539
|
+
--astryx-section-padding: var(--spacing-4);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.astryx-progressbar-track {
|
|
543
|
+
background-color: light-dark(#e5e3d4, #725538);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.astryx-progressbar-fill.success {
|
|
547
|
+
background-color: #91D143;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.astryx-progressbar-fill.warning {
|
|
551
|
+
background-color: #ffc502;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.astryx-progressbar-fill.error {
|
|
555
|
+
background-color: #fc473b;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.astryx-field-status.success {
|
|
559
|
+
background-color: #91D143;
|
|
560
|
+
color: #1d1c11;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.astryx-field-status.warning {
|
|
564
|
+
background-color: #ffc502;
|
|
565
|
+
color: #1d1c11;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.astryx-field-status.error {
|
|
569
|
+
background-color: #fc473b;
|
|
570
|
+
color: #ffffff;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.astryx-text-input {
|
|
574
|
+
padding-block: var(--spacing-2);
|
|
575
|
+
padding-inline: var(--spacing-3);
|
|
576
|
+
border-color: var(--color-border);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.astryx-text-input.success {
|
|
580
|
+
--color-success: #91D143;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.astryx-text-input.warning {
|
|
584
|
+
--color-warning: #ffc502;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.astryx-text-input.error {
|
|
588
|
+
--color-error: #fc473b;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.astryx-textarea {
|
|
592
|
+
padding-block: var(--spacing-2);
|
|
593
|
+
padding-inline: var(--spacing-3);
|
|
594
|
+
border-color: var(--color-border);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.astryx-textarea.success {
|
|
598
|
+
--color-success: #91D143;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.astryx-textarea.warning {
|
|
602
|
+
--color-warning: #ffc502;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.astryx-textarea.error {
|
|
606
|
+
--color-error: #fc473b;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.astryx-number-input {
|
|
610
|
+
padding-block: var(--spacing-2);
|
|
611
|
+
padding-inline: var(--spacing-3);
|
|
612
|
+
border-color: var(--color-border);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.astryx-number-input.success {
|
|
616
|
+
--color-success: #91D143;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.astryx-number-input.warning {
|
|
620
|
+
--color-warning: #ffc502;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.astryx-number-input.error {
|
|
624
|
+
--color-error: #fc473b;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.astryx-date-input {
|
|
628
|
+
padding-block: var(--spacing-2);
|
|
629
|
+
padding-inline: var(--spacing-3);
|
|
630
|
+
border-color: var(--color-border);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.astryx-date-input.success {
|
|
634
|
+
--color-success: #91D143;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.astryx-date-input.warning {
|
|
638
|
+
--color-warning: #ffc502;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.astryx-date-input.error {
|
|
642
|
+
--color-error: #fc473b;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.astryx-time-input {
|
|
646
|
+
padding-block: var(--spacing-2);
|
|
647
|
+
padding-inline: var(--spacing-3);
|
|
648
|
+
border-color: var(--color-border);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.astryx-time-input.success {
|
|
652
|
+
--color-success: #91D143;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.astryx-time-input.warning {
|
|
656
|
+
--color-warning: #ffc502;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.astryx-time-input.error {
|
|
660
|
+
--color-error: #fc473b;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.astryx-selector {
|
|
664
|
+
padding-block: var(--spacing-2);
|
|
665
|
+
padding-inline: var(--spacing-3);
|
|
666
|
+
border-color: var(--color-border);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
.astryx-selector.success {
|
|
670
|
+
--color-success: #91D143;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.astryx-selector.warning {
|
|
674
|
+
--color-warning: #ffc502;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.astryx-selector.error {
|
|
678
|
+
--color-error: #fc473b;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.astryx-multi-selector {
|
|
682
|
+
padding-block: var(--spacing-2);
|
|
683
|
+
padding-inline: var(--spacing-3);
|
|
684
|
+
border-color: var(--color-border);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.astryx-multi-selector.success {
|
|
688
|
+
--color-success: #91D143;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.astryx-multi-selector.warning {
|
|
692
|
+
--color-warning: #ffc502;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.astryx-multi-selector.error {
|
|
696
|
+
--color-error: #fc473b;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.astryx-typeahead {
|
|
700
|
+
padding-block: var(--spacing-2);
|
|
701
|
+
padding-inline: var(--spacing-3);
|
|
702
|
+
border-color: var(--color-border);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.astryx-typeahead.success {
|
|
706
|
+
--color-success: #91D143;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.astryx-typeahead.warning {
|
|
710
|
+
--color-warning: #ffc502;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.astryx-typeahead.error {
|
|
714
|
+
--color-error: #fc473b;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.astryx-tokenizer {
|
|
718
|
+
padding-block: var(--spacing-2);
|
|
719
|
+
padding-inline: var(--spacing-3);
|
|
720
|
+
border-color: var(--color-border);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.astryx-tokenizer.success {
|
|
724
|
+
--color-success: #91D143;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.astryx-tokenizer.warning {
|
|
728
|
+
--color-warning: #ffc502;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.astryx-tokenizer.error {
|
|
732
|
+
--color-error: #fc473b;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.astryx-text.primary { color: var(--color-text-primary); }
|
|
736
|
+
|
|
737
|
+
.astryx-heading.primary { color: var(--color-text-primary); }
|
|
738
|
+
|
|
739
|
+
.astryx-text.secondary { color: var(--color-text-secondary); }
|
|
740
|
+
|
|
741
|
+
.astryx-heading.secondary { color: var(--color-text-secondary); }
|
|
742
|
+
|
|
743
|
+
.astryx-text.disabled { color: var(--color-text-disabled); }
|
|
744
|
+
|
|
745
|
+
.astryx-heading.disabled { color: var(--color-text-disabled); }
|
|
746
|
+
|
|
747
|
+
.astryx-text.placeholder { color: var(--color-text-secondary); }
|
|
748
|
+
|
|
749
|
+
.astryx-heading.placeholder { color: var(--color-text-secondary); }
|
|
750
|
+
|
|
751
|
+
.astryx-text.active { color: var(--color-accent); }
|
|
752
|
+
|
|
753
|
+
.astryx-heading.active { color: var(--color-accent); }
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
@layer astryx-theme {
|
|
758
|
+
@scope ([data-astryx-theme="butter"]) to ([data-astryx-theme]) {
|
|
759
|
+
[data-astryx-media="dark"] {
|
|
760
|
+
color-scheme: dark;
|
|
761
|
+
--color-text-primary: var(--color-on-dark);
|
|
762
|
+
--color-icon-primary: var(--color-on-dark);
|
|
763
|
+
--color-accent: var(--color-on-dark);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
[data-astryx-media="light"] {
|
|
767
|
+
color-scheme: light;
|
|
768
|
+
--color-text-primary: var(--color-on-light);
|
|
769
|
+
--color-icon-primary: var(--color-on-light);
|
|
770
|
+
--color-accent: var(--color-on-light);
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|