@astryxdesign/theme-butter 0.7.11 → 0.7.12-canary.0085c0f
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/dist/butter.d.ts +2 -2
- package/dist/butter.js +3 -4
- package/dist/butter.variants.d.ts +2 -2
- package/dist/butterTheme.d.cts +344 -0
- package/dist/icons.d.cts +2 -0
- package/dist/{source.js → source.cjs} +3 -2
- package/dist/source.d.cts +2 -0
- package/dist/source.d.ts +2 -2
- package/dist/source.mjs +3 -2
- package/dist/theme.css +59 -28
- package/dist/theme.css.d.ts +2 -2
- package/package.json +15 -8
- package/src/butterTheme.ts +2 -2
- package/theme.css.d.ts +3 -0
package/dist/butter.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/// <reference path="./butter.variants.d.ts" />
|
package/dist/butter.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { butterIconRegistry } from "./icons.mjs";
|
|
@@ -60,7 +60,7 @@ export const butterTheme = {
|
|
|
60
60
|
"--text-code-size": "var(--font-size-base)",
|
|
61
61
|
"--text-code-weight": "var(--font-weight-normal)",
|
|
62
62
|
"--text-code-leading": "1.4286",
|
|
63
|
-
"--text-supporting-size": "
|
|
63
|
+
"--text-supporting-size": "0.75rem",
|
|
64
64
|
"--text-supporting-weight": "var(--font-weight-normal)",
|
|
65
65
|
"--text-supporting-leading": "1.4545",
|
|
66
66
|
"--text-display-1-size": "var(--font-size-5xl)",
|
|
@@ -337,7 +337,6 @@ export const butterTheme = {
|
|
|
337
337
|
},
|
|
338
338
|
"button": {
|
|
339
339
|
"base": {
|
|
340
|
-
"paddingBlock": "var(--spacing-3)",
|
|
341
340
|
"paddingInline": "var(--spacing-4)"
|
|
342
341
|
},
|
|
343
342
|
"variant:secondary": {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// Generated by astryx theme build
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
export declare const butterTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
|
2
|
+
/**
|
|
3
|
+
* Frozen released compatibility palettes. These ramps preserve the public
|
|
4
|
+
* `butterPalettes` shape and values for existing consumers; the maintained
|
|
5
|
+
* theme renders selected stops from `butterPalettes.generated.ts` instead.
|
|
6
|
+
* Do not regenerate this object from the private mode-aware palette.
|
|
7
|
+
*
|
|
8
|
+
* Historical source labels for this compatibility snapshot:
|
|
9
|
+
* accent #225BFF neutral #868B99
|
|
10
|
+
* red #ffc3b8 orange #ffc98d yellow #feee7b
|
|
11
|
+
* green #bdebb4 cyan #abf1f1 teal #aeefd6
|
|
12
|
+
* blue #cdd5fc purple #e6c2ff pink #fec0f5
|
|
13
|
+
* error #fc473b warning #ffc502 success #91D143
|
|
14
|
+
*
|
|
15
|
+
* The original snapshot used pastel categorical source labels and vivid semantic
|
|
16
|
+
* source labels. The current maintained theme does not derive from this object.
|
|
17
|
+
*
|
|
18
|
+
* These notes describe the released snapshot and are not regeneration
|
|
19
|
+
* instructions for the maintained theme.
|
|
20
|
+
*/
|
|
21
|
+
export declare const butterPalettes: {
|
|
22
|
+
readonly blue: {
|
|
23
|
+
readonly 0: "#000000";
|
|
24
|
+
readonly 5: "#001041";
|
|
25
|
+
readonly 10: "#001b4c";
|
|
26
|
+
readonly 15: "#002558";
|
|
27
|
+
readonly 20: "#062f63";
|
|
28
|
+
readonly 25: "#203a6c";
|
|
29
|
+
readonly 30: "#324575";
|
|
30
|
+
readonly 35: "#41517d";
|
|
31
|
+
readonly 40: "#505d86";
|
|
32
|
+
readonly 45: "#5f698f";
|
|
33
|
+
readonly 50: "#6d7698";
|
|
34
|
+
readonly 55: "#7a82a6";
|
|
35
|
+
readonly 60: "#878fb3";
|
|
36
|
+
readonly 65: "#949cc1";
|
|
37
|
+
readonly 70: "#a2aacf";
|
|
38
|
+
readonly 75: "#afb7dd";
|
|
39
|
+
readonly 80: "#bdc5eb";
|
|
40
|
+
readonly 85: "#cbd3f9";
|
|
41
|
+
readonly 90: "#dbe1ff";
|
|
42
|
+
readonly 95: "#edf0ff";
|
|
43
|
+
readonly 100: "#ffffff";
|
|
44
|
+
};
|
|
45
|
+
readonly cyan: {
|
|
46
|
+
readonly 0: "#000000";
|
|
47
|
+
readonly 5: "#001d1e";
|
|
48
|
+
readonly 10: "#00262a";
|
|
49
|
+
readonly 15: "#003034";
|
|
50
|
+
readonly 20: "#003a3e";
|
|
51
|
+
readonly 25: "#004649";
|
|
52
|
+
readonly 30: "#005255";
|
|
53
|
+
readonly 35: "#005e61";
|
|
54
|
+
readonly 40: "#006a6d";
|
|
55
|
+
readonly 45: "#1f7678";
|
|
56
|
+
readonly 50: "#3c8183";
|
|
57
|
+
readonly 55: "#4a8e90";
|
|
58
|
+
readonly 60: "#579c9d";
|
|
59
|
+
readonly 65: "#65a9aa";
|
|
60
|
+
readonly 70: "#72b7b8";
|
|
61
|
+
readonly 75: "#80c4c5";
|
|
62
|
+
readonly 80: "#8dd2d3";
|
|
63
|
+
readonly 85: "#9be0e1";
|
|
64
|
+
readonly 90: "#a9eff0";
|
|
65
|
+
readonly 95: "#b7fdfe";
|
|
66
|
+
readonly 100: "#ffffff";
|
|
67
|
+
};
|
|
68
|
+
readonly green: {
|
|
69
|
+
readonly 0: "#000000";
|
|
70
|
+
readonly 5: "#001f00";
|
|
71
|
+
readonly 10: "#002800";
|
|
72
|
+
readonly 15: "#003100";
|
|
73
|
+
readonly 20: "#003c00";
|
|
74
|
+
readonly 25: "#004800";
|
|
75
|
+
readonly 30: "#01530d";
|
|
76
|
+
readonly 35: "#1f5f1f";
|
|
77
|
+
readonly 40: "#346a30";
|
|
78
|
+
readonly 45: "#467640";
|
|
79
|
+
readonly 50: "#578151";
|
|
80
|
+
readonly 55: "#648e5d";
|
|
81
|
+
readonly 60: "#709c6a";
|
|
82
|
+
readonly 65: "#7da976";
|
|
83
|
+
readonly 70: "#8ab783";
|
|
84
|
+
readonly 75: "#98c490";
|
|
85
|
+
readonly 80: "#a5d29d";
|
|
86
|
+
readonly 85: "#b3e0ab";
|
|
87
|
+
readonly 90: "#c1efb8";
|
|
88
|
+
readonly 95: "#cffdc6";
|
|
89
|
+
readonly 100: "#ffffff";
|
|
90
|
+
};
|
|
91
|
+
readonly orange: {
|
|
92
|
+
readonly 0: "#000000";
|
|
93
|
+
readonly 5: "#2d0600";
|
|
94
|
+
readonly 10: "#381200";
|
|
95
|
+
readonly 15: "#461b00";
|
|
96
|
+
readonly 20: "#542400";
|
|
97
|
+
readonly 25: "#622e00";
|
|
98
|
+
readonly 30: "#6d3a00";
|
|
99
|
+
readonly 35: "#794700";
|
|
100
|
+
readonly 40: "#845406";
|
|
101
|
+
readonly 45: "#906121";
|
|
102
|
+
readonly 50: "#9b6e36";
|
|
103
|
+
readonly 55: "#a97b42";
|
|
104
|
+
readonly 60: "#b7874e";
|
|
105
|
+
readonly 65: "#c6945b";
|
|
106
|
+
readonly 70: "#d4a267";
|
|
107
|
+
readonly 75: "#e3af74";
|
|
108
|
+
readonly 80: "#f2bd81";
|
|
109
|
+
readonly 85: "#ffcb8e";
|
|
110
|
+
readonly 90: "#ffdcb6";
|
|
111
|
+
readonly 95: "#ffedda";
|
|
112
|
+
readonly 100: "#ffffff";
|
|
113
|
+
};
|
|
114
|
+
readonly pink: {
|
|
115
|
+
readonly 0: "#000000";
|
|
116
|
+
readonly 5: "#3c003d";
|
|
117
|
+
readonly 10: "#490048";
|
|
118
|
+
readonly 15: "#560054";
|
|
119
|
+
readonly 20: "#62005f";
|
|
120
|
+
readonly 25: "#6c0a68";
|
|
121
|
+
readonly 30: "#762371";
|
|
122
|
+
readonly 35: "#80357a";
|
|
123
|
+
readonly 40: "#894583";
|
|
124
|
+
readonly 45: "#93558c";
|
|
125
|
+
readonly 50: "#9c6496";
|
|
126
|
+
readonly 55: "#aa71a3";
|
|
127
|
+
readonly 60: "#b77eb0";
|
|
128
|
+
readonly 65: "#c58bbe";
|
|
129
|
+
readonly 70: "#d398cc";
|
|
130
|
+
readonly 75: "#e2a6da";
|
|
131
|
+
readonly 80: "#f0b3e8";
|
|
132
|
+
readonly 85: "#ffc1f6";
|
|
133
|
+
readonly 90: "#ffd5fb";
|
|
134
|
+
readonly 95: "#ffeafd";
|
|
135
|
+
readonly 100: "#ffffff";
|
|
136
|
+
};
|
|
137
|
+
readonly purple: {
|
|
138
|
+
readonly 0: "#000000";
|
|
139
|
+
readonly 5: "#1e004f";
|
|
140
|
+
readonly 10: "#2b005c";
|
|
141
|
+
readonly 15: "#390268";
|
|
142
|
+
readonly 20: "#461373";
|
|
143
|
+
readonly 25: "#52237b";
|
|
144
|
+
readonly 30: "#5d3283";
|
|
145
|
+
readonly 35: "#69408b";
|
|
146
|
+
readonly 40: "#744e92";
|
|
147
|
+
readonly 45: "#7f5c9a";
|
|
148
|
+
readonly 50: "#8b6aa2";
|
|
149
|
+
readonly 55: "#9877b0";
|
|
150
|
+
readonly 60: "#a584bd";
|
|
151
|
+
readonly 65: "#b391cb";
|
|
152
|
+
readonly 70: "#c19ed9";
|
|
153
|
+
readonly 75: "#cfabe8";
|
|
154
|
+
readonly 80: "#ddb9f6";
|
|
155
|
+
readonly 85: "#eac8ff";
|
|
156
|
+
readonly 90: "#f2daff";
|
|
157
|
+
readonly 95: "#f9ecff";
|
|
158
|
+
readonly 100: "#ffffff";
|
|
159
|
+
};
|
|
160
|
+
readonly red: {
|
|
161
|
+
readonly 0: "#000000";
|
|
162
|
+
readonly 5: "#3e0000";
|
|
163
|
+
readonly 10: "#490000";
|
|
164
|
+
readonly 15: "#550000";
|
|
165
|
+
readonly 20: "#62100f";
|
|
166
|
+
readonly 25: "#6d211c";
|
|
167
|
+
readonly 30: "#773029";
|
|
168
|
+
readonly 35: "#823f36";
|
|
169
|
+
readonly 40: "#8c4d44";
|
|
170
|
+
readonly 45: "#955b52";
|
|
171
|
+
readonly 50: "#9f6961";
|
|
172
|
+
readonly 55: "#ad766d";
|
|
173
|
+
readonly 60: "#bb837a";
|
|
174
|
+
readonly 65: "#c99087";
|
|
175
|
+
readonly 70: "#d79d94";
|
|
176
|
+
readonly 75: "#e6aba1";
|
|
177
|
+
readonly 80: "#f4b8ae";
|
|
178
|
+
readonly 85: "#ffc7bd";
|
|
179
|
+
readonly 90: "#ffdad3";
|
|
180
|
+
readonly 95: "#ffece8";
|
|
181
|
+
readonly 100: "#ffffff";
|
|
182
|
+
};
|
|
183
|
+
readonly teal: {
|
|
184
|
+
readonly 0: "#000000";
|
|
185
|
+
readonly 5: "#001f00";
|
|
186
|
+
readonly 10: "#00280b";
|
|
187
|
+
readonly 15: "#003216";
|
|
188
|
+
readonly 20: "#003d22";
|
|
189
|
+
readonly 25: "#00482d";
|
|
190
|
+
readonly 30: "#005439";
|
|
191
|
+
readonly 35: "#005f45";
|
|
192
|
+
readonly 40: "#136b52";
|
|
193
|
+
readonly 45: "#30775f";
|
|
194
|
+
readonly 50: "#46826d";
|
|
195
|
+
readonly 55: "#528f79";
|
|
196
|
+
readonly 60: "#5f9d86";
|
|
197
|
+
readonly 65: "#6caa93";
|
|
198
|
+
readonly 70: "#7ab8a0";
|
|
199
|
+
readonly 75: "#87c5ae";
|
|
200
|
+
readonly 80: "#94d3bb";
|
|
201
|
+
readonly 85: "#a2e1c9";
|
|
202
|
+
readonly 90: "#b0f0d7";
|
|
203
|
+
readonly 95: "#befee5";
|
|
204
|
+
readonly 100: "#ffffff";
|
|
205
|
+
};
|
|
206
|
+
readonly yellow: {
|
|
207
|
+
readonly 0: "#000000";
|
|
208
|
+
readonly 5: "#1e1200";
|
|
209
|
+
readonly 10: "#271c00";
|
|
210
|
+
readonly 15: "#2e2700";
|
|
211
|
+
readonly 20: "#373200";
|
|
212
|
+
readonly 25: "#413e00";
|
|
213
|
+
readonly 30: "#4c4a00";
|
|
214
|
+
readonly 35: "#575600";
|
|
215
|
+
readonly 40: "#646200";
|
|
216
|
+
readonly 45: "#726e00";
|
|
217
|
+
readonly 50: "#817a00";
|
|
218
|
+
readonly 55: "#8e860e";
|
|
219
|
+
readonly 60: "#9c9320";
|
|
220
|
+
readonly 65: "#aba02f";
|
|
221
|
+
readonly 70: "#b9ae3d";
|
|
222
|
+
readonly 75: "#c7bb4a";
|
|
223
|
+
readonly 80: "#d6c957";
|
|
224
|
+
readonly 85: "#e5d765";
|
|
225
|
+
readonly 90: "#f4e572";
|
|
226
|
+
readonly 95: "#fff294";
|
|
227
|
+
readonly 100: "#ffffff";
|
|
228
|
+
};
|
|
229
|
+
readonly neutral: {
|
|
230
|
+
readonly 0: "#000000";
|
|
231
|
+
readonly 5: "#051124";
|
|
232
|
+
readonly 10: "#101c2f";
|
|
233
|
+
readonly 15: "#1b263a";
|
|
234
|
+
readonly 20: "#273045";
|
|
235
|
+
readonly 25: "#333b4f";
|
|
236
|
+
readonly 30: "#3f4759";
|
|
237
|
+
readonly 35: "#4b5264";
|
|
238
|
+
readonly 40: "#585e6f";
|
|
239
|
+
readonly 45: "#656a79";
|
|
240
|
+
readonly 50: "#727784";
|
|
241
|
+
readonly 55: "#7f8491";
|
|
242
|
+
readonly 60: "#8c909f";
|
|
243
|
+
readonly 65: "#999eac";
|
|
244
|
+
readonly 70: "#a6abba";
|
|
245
|
+
readonly 75: "#b4b9c7";
|
|
246
|
+
readonly 80: "#c1c6d5";
|
|
247
|
+
readonly 85: "#cfd4e3";
|
|
248
|
+
readonly 90: "#dde2f2";
|
|
249
|
+
readonly 95: "#ebf0ff";
|
|
250
|
+
readonly 100: "#ffffff";
|
|
251
|
+
};
|
|
252
|
+
readonly accent: {
|
|
253
|
+
readonly 0: "#000000";
|
|
254
|
+
readonly 5: "#00085e";
|
|
255
|
+
readonly 10: "#00136c";
|
|
256
|
+
readonly 15: "#001c7e";
|
|
257
|
+
readonly 20: "#002592";
|
|
258
|
+
readonly 25: "#002fa7";
|
|
259
|
+
readonly 30: "#0039be";
|
|
260
|
+
readonly 35: "#0043d7";
|
|
261
|
+
readonly 40: "#004df0";
|
|
262
|
+
readonly 45: "#0759ff";
|
|
263
|
+
readonly 50: "#4a67ff";
|
|
264
|
+
readonly 55: "#6875ff";
|
|
265
|
+
readonly 60: "#8083ff";
|
|
266
|
+
readonly 65: "#9492ff";
|
|
267
|
+
readonly 70: "#a6a1ff";
|
|
268
|
+
readonly 75: "#b6b0ff";
|
|
269
|
+
readonly 80: "#c6bfff";
|
|
270
|
+
readonly 85: "#d5cfff";
|
|
271
|
+
readonly 90: "#e3dfff";
|
|
272
|
+
readonly 95: "#f1efff";
|
|
273
|
+
readonly 100: "#ffffff";
|
|
274
|
+
};
|
|
275
|
+
readonly error: {
|
|
276
|
+
readonly 0: "#000000";
|
|
277
|
+
readonly 5: "#470000";
|
|
278
|
+
readonly 10: "#530000";
|
|
279
|
+
readonly 15: "#600000";
|
|
280
|
+
readonly 20: "#6d0000";
|
|
281
|
+
readonly 25: "#771210";
|
|
282
|
+
readonly 30: "#82261e";
|
|
283
|
+
readonly 35: "#8c372c";
|
|
284
|
+
readonly 40: "#96463b";
|
|
285
|
+
readonly 45: "#a0564a";
|
|
286
|
+
readonly 50: "#a96559";
|
|
287
|
+
readonly 55: "#b77265";
|
|
288
|
+
readonly 60: "#c57e72";
|
|
289
|
+
readonly 65: "#d48b7e";
|
|
290
|
+
readonly 70: "#e2998b";
|
|
291
|
+
readonly 75: "#f1a698";
|
|
292
|
+
readonly 80: "#ffb4a6";
|
|
293
|
+
readonly 85: "#ffc7bc";
|
|
294
|
+
readonly 90: "#ffdad2";
|
|
295
|
+
readonly 95: "#ffece8";
|
|
296
|
+
readonly 100: "#ffffff";
|
|
297
|
+
};
|
|
298
|
+
readonly warning: {
|
|
299
|
+
readonly 0: "#000000";
|
|
300
|
+
readonly 5: "#270c00";
|
|
301
|
+
readonly 10: "#301800";
|
|
302
|
+
readonly 15: "#3b2200";
|
|
303
|
+
readonly 20: "#472c00";
|
|
304
|
+
readonly 25: "#543700";
|
|
305
|
+
readonly 30: "#614200";
|
|
306
|
+
readonly 35: "#6f4d00";
|
|
307
|
+
readonly 40: "#7d5800";
|
|
308
|
+
readonly 45: "#8b6400";
|
|
309
|
+
readonly 50: "#9a7000";
|
|
310
|
+
readonly 55: "#a97d00";
|
|
311
|
+
readonly 60: "#b88900";
|
|
312
|
+
readonly 65: "#c89600";
|
|
313
|
+
readonly 70: "#d8a300";
|
|
314
|
+
readonly 75: "#e7b100";
|
|
315
|
+
readonly 80: "#f7be00";
|
|
316
|
+
readonly 85: "#ffcd51";
|
|
317
|
+
readonly 90: "#ffde9c";
|
|
318
|
+
readonly 95: "#ffeed0";
|
|
319
|
+
readonly 100: "#ffffff";
|
|
320
|
+
};
|
|
321
|
+
readonly success: {
|
|
322
|
+
readonly 0: "#000000";
|
|
323
|
+
readonly 5: "#001a00";
|
|
324
|
+
readonly 10: "#092300";
|
|
325
|
+
readonly 15: "#0b2e00";
|
|
326
|
+
readonly 20: "#043b00";
|
|
327
|
+
readonly 25: "#004700";
|
|
328
|
+
readonly 30: "#005400";
|
|
329
|
+
readonly 35: "#036100";
|
|
330
|
+
readonly 40: "#136e00";
|
|
331
|
+
readonly 45: "#277b00";
|
|
332
|
+
readonly 50: "#448700";
|
|
333
|
+
readonly 55: "#529400";
|
|
334
|
+
readonly 60: "#60a105";
|
|
335
|
+
readonly 65: "#6eaf1d";
|
|
336
|
+
readonly 70: "#7cbd2e";
|
|
337
|
+
readonly 75: "#8bcb3c";
|
|
338
|
+
readonly 80: "#99d94b";
|
|
339
|
+
readonly 85: "#a7e758";
|
|
340
|
+
readonly 90: "#b5f566";
|
|
341
|
+
readonly 95: "#ccff88";
|
|
342
|
+
readonly 100: "#ffffff";
|
|
343
|
+
};
|
|
344
|
+
};
|
package/dist/icons.d.cts
ADDED
|
@@ -322,7 +322,8 @@ var butterTheme = (0, import_theme.defineTheme)({
|
|
|
322
322
|
],
|
|
323
323
|
"--color-tint-hover": [neutral.light[0], neutral.dark[100]],
|
|
324
324
|
// Typography override
|
|
325
|
-
"--text-supporting-size": "
|
|
325
|
+
"--text-supporting-size": "0.75rem",
|
|
326
|
+
// 12px at the default root size
|
|
326
327
|
// Element sizes — slightly taller defaults so the new input padding
|
|
327
328
|
// (--spacing-2 block) has room to breathe.
|
|
328
329
|
"--size-element-sm": "32px",
|
|
@@ -443,8 +444,8 @@ var butterTheme = (0, import_theme.defineTheme)({
|
|
|
443
444
|
// Radius intentionally not pinned, so buttons keep core's
|
|
444
445
|
// `var(--_button-radius, --radius-element)`: standalone buttons stay 8px,
|
|
445
446
|
// while the chat composer (which sets --_button-radius) rounds them fully.
|
|
447
|
+
// Inline padding only. Button sets its own block padding and height.
|
|
446
448
|
base: {
|
|
447
|
-
paddingBlock: "var(--spacing-3)",
|
|
448
449
|
paddingInline: "var(--spacing-4)"
|
|
449
450
|
},
|
|
450
451
|
"variant:secondary": SECONDARY_BUTTON,
|
package/dist/source.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { butterPalettes, butterTheme } from './butterTheme';
|
|
2
|
-
export { butterIconRegistry } from './icons';
|
|
1
|
+
export { butterPalettes, butterTheme } from './butterTheme.js';
|
|
2
|
+
export { butterIconRegistry } from './icons.js';
|
|
3
3
|
//# sourceMappingURL=source.d.ts.map
|
package/dist/source.mjs
CHANGED
|
@@ -324,7 +324,8 @@ var butterTheme = defineTheme({
|
|
|
324
324
|
],
|
|
325
325
|
"--color-tint-hover": [neutral.light[0], neutral.dark[100]],
|
|
326
326
|
// Typography override
|
|
327
|
-
"--text-supporting-size": "
|
|
327
|
+
"--text-supporting-size": "0.75rem",
|
|
328
|
+
// 12px at the default root size
|
|
328
329
|
// Element sizes — slightly taller defaults so the new input padding
|
|
329
330
|
// (--spacing-2 block) has room to breathe.
|
|
330
331
|
"--size-element-sm": "32px",
|
|
@@ -445,8 +446,8 @@ var butterTheme = defineTheme({
|
|
|
445
446
|
// Radius intentionally not pinned, so buttons keep core's
|
|
446
447
|
// `var(--_button-radius, --radius-element)`: standalone buttons stay 8px,
|
|
447
448
|
// while the chat composer (which sets --_button-radius) rounds them fully.
|
|
449
|
+
// Inline padding only. Button sets its own block padding and height.
|
|
448
450
|
base: {
|
|
449
|
-
paddingBlock: "var(--spacing-3)",
|
|
450
451
|
paddingInline: "var(--spacing-4)"
|
|
451
452
|
},
|
|
452
453
|
"variant:secondary": SECONDARY_BUTTON,
|
package/dist/theme.css
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
@layer reset, astryx-base, astryx-theme;
|
|
@@ -86,18 +86,30 @@
|
|
|
86
86
|
|
|
87
87
|
@scope ([data-astryx-theme="butter"]) to ([data-astryx-theme]) {
|
|
88
88
|
:scope {
|
|
89
|
-
--font-size-4xs: 0.3125rem;
|
|
90
|
-
--font-size-
|
|
91
|
-
--font-size-
|
|
92
|
-
--font-size-
|
|
93
|
-
--font-size-
|
|
94
|
-
--font-size-
|
|
95
|
-
--font-size-
|
|
96
|
-
--font-size-
|
|
97
|
-
--font-size-
|
|
98
|
-
--font-size-
|
|
99
|
-
--font-size-
|
|
100
|
-
--font-size-
|
|
89
|
+
--_scaled-font-size-4xs: min(calc(0.3125rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
90
|
+
--font-size-4xs: var(--_scaled-font-size-4xs);
|
|
91
|
+
--_scaled-font-size-3xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
92
|
+
--font-size-3xs: var(--_scaled-font-size-3xs);
|
|
93
|
+
--_scaled-font-size-2xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
94
|
+
--font-size-2xs: var(--_scaled-font-size-2xs);
|
|
95
|
+
--_scaled-font-size-xs: min(calc(0.5625rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
96
|
+
--font-size-xs: var(--_scaled-font-size-xs);
|
|
97
|
+
--_scaled-font-size-sm: min(calc(0.6875rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
98
|
+
--font-size-sm: var(--_scaled-font-size-sm);
|
|
99
|
+
--_scaled-font-size-base: min(calc(0.875rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
100
|
+
--font-size-base: var(--_scaled-font-size-base);
|
|
101
|
+
--_scaled-font-size-lg: min(calc(1.125rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
102
|
+
--font-size-lg: var(--_scaled-font-size-lg);
|
|
103
|
+
--_scaled-font-size-xl: min(calc(1.375rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
104
|
+
--font-size-xl: var(--_scaled-font-size-xl);
|
|
105
|
+
--_scaled-font-size-2xl: min(calc(1.6875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
106
|
+
--font-size-2xl: var(--_scaled-font-size-2xl);
|
|
107
|
+
--_scaled-font-size-3xl: min(calc(2.125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
108
|
+
--font-size-3xl: var(--_scaled-font-size-3xl);
|
|
109
|
+
--_scaled-font-size-4xl: min(calc(2.6875rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
110
|
+
--font-size-4xl: var(--_scaled-font-size-4xl);
|
|
111
|
+
--_scaled-font-size-5xl: calc(3.3125rem * var(--_dynamic-type-large-title, 1));
|
|
112
|
+
--font-size-5xl: var(--_scaled-font-size-5xl);
|
|
101
113
|
--text-heading-1-size: var(--font-size-2xl);
|
|
102
114
|
--text-heading-1-weight: var(--font-weight-semibold);
|
|
103
115
|
--text-heading-1-leading: 1.3333;
|
|
@@ -128,7 +140,7 @@
|
|
|
128
140
|
--text-code-size: var(--font-size-base);
|
|
129
141
|
--text-code-weight: var(--font-weight-normal);
|
|
130
142
|
--text-code-leading: 1.4286;
|
|
131
|
-
--text-supporting-size:
|
|
143
|
+
--text-supporting-size: calc(0.75rem * var(--_dynamic-type-footnote, 1));
|
|
132
144
|
--text-supporting-weight: var(--font-weight-normal);
|
|
133
145
|
--text-supporting-leading: 1.4545;
|
|
134
146
|
--text-display-1-size: var(--font-size-5xl);
|
|
@@ -427,12 +439,19 @@
|
|
|
427
439
|
background-color: var(--color-overlay-hover);
|
|
428
440
|
}
|
|
429
441
|
|
|
442
|
+
@media not all and (pointer: coarse) {
|
|
430
443
|
.astryx-top-nav-item[data-selected="selected"]:active {
|
|
431
444
|
background-color: var(--color-overlay-pressed);
|
|
432
445
|
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
@media (pointer: coarse) {
|
|
449
|
+
.astryx-top-nav-item[data-selected="selected"]:is([data-astryx-press="on"], [data-astryx-press="on"] :where(:not([data-astryx-pressable], [data-astryx-press="on"] [data-astryx-pressable] *)), :where(:not([data-astryx-pressable])):has([data-astryx-press="on"])) {
|
|
450
|
+
background-color: var(--color-overlay-pressed);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
433
453
|
|
|
434
454
|
.astryx-button {
|
|
435
|
-
padding-block: var(--spacing-3);
|
|
436
455
|
padding-inline: var(--spacing-4);
|
|
437
456
|
}
|
|
438
457
|
|
|
@@ -910,18 +929,30 @@
|
|
|
910
929
|
@media (width < 1024px) and (pointer: coarse) {
|
|
911
930
|
@scope ([data-astryx-theme="butter"]) to ([data-astryx-theme]) {
|
|
912
931
|
:scope {
|
|
913
|
-
--font-size-4xs: 0.375rem;
|
|
914
|
-
--font-size-
|
|
915
|
-
--font-size-
|
|
916
|
-
--font-size-
|
|
917
|
-
--font-size-
|
|
918
|
-
--font-size-
|
|
919
|
-
--font-size-
|
|
920
|
-
--font-size-
|
|
921
|
-
--font-size-
|
|
922
|
-
--font-size-
|
|
923
|
-
--font-size-
|
|
924
|
-
--font-size-
|
|
932
|
+
--_scaled-font-size-4xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
933
|
+
--font-size-4xs: var(--_scaled-font-size-4xs);
|
|
934
|
+
--_scaled-font-size-3xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
935
|
+
--font-size-3xs: var(--_scaled-font-size-3xs);
|
|
936
|
+
--_scaled-font-size-2xs: min(calc(0.5625rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
937
|
+
--font-size-2xs: var(--_scaled-font-size-2xs);
|
|
938
|
+
--_scaled-font-size-xs: min(calc(0.6875rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
939
|
+
--font-size-xs: var(--_scaled-font-size-xs);
|
|
940
|
+
--_scaled-font-size-sm: min(calc(0.8125rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
941
|
+
--font-size-sm: var(--_scaled-font-size-sm);
|
|
942
|
+
--_scaled-font-size-base: min(calc(1rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
943
|
+
--font-size-base: var(--_scaled-font-size-base);
|
|
944
|
+
--_scaled-font-size-lg: min(calc(1.25rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
945
|
+
--font-size-lg: var(--_scaled-font-size-lg);
|
|
946
|
+
--_scaled-font-size-xl: min(calc(1.5rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
947
|
+
--font-size-xl: var(--_scaled-font-size-xl);
|
|
948
|
+
--_scaled-font-size-2xl: min(calc(1.8125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
949
|
+
--font-size-2xl: var(--_scaled-font-size-2xl);
|
|
950
|
+
--_scaled-font-size-3xl: min(calc(2.25rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
951
|
+
--font-size-3xl: var(--_scaled-font-size-3xl);
|
|
952
|
+
--_scaled-font-size-4xl: min(calc(2.75rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
953
|
+
--font-size-4xl: var(--_scaled-font-size-4xl);
|
|
954
|
+
--_scaled-font-size-5xl: calc(3.3125rem * var(--_dynamic-type-large-title, 1));
|
|
955
|
+
--font-size-5xl: var(--_scaled-font-size-5xl);
|
|
925
956
|
--text-heading-1-size: var(--font-size-2xl);
|
|
926
957
|
--text-heading-1-weight: var(--font-weight-semibold);
|
|
927
958
|
--text-heading-1-leading: 1.3793;
|
package/dist/theme.css.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.7.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.7.12
|
|
6
|
+
* Core: @astryxdesign/core@0.7.12
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-butter",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.12-canary.0085c0f",
|
|
4
4
|
"displayName": "Butter Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Warm, creamy yellows with a friendly blue accent. Playful enough for consumer surfaces, soft enough to stay readable.",
|
|
@@ -25,13 +25,19 @@
|
|
|
25
25
|
"sideEffects": [
|
|
26
26
|
"**/*.css"
|
|
27
27
|
],
|
|
28
|
-
"
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "./dist/source.cjs",
|
|
29
30
|
"types": "./dist/source.d.ts",
|
|
30
31
|
"exports": {
|
|
31
32
|
".": {
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
"import": {
|
|
34
|
+
"types": "./dist/source.d.ts",
|
|
35
|
+
"default": "./dist/source.mjs"
|
|
36
|
+
},
|
|
37
|
+
"require": {
|
|
38
|
+
"types": "./dist/source.d.cts",
|
|
39
|
+
"default": "./dist/source.cjs"
|
|
40
|
+
}
|
|
35
41
|
},
|
|
36
42
|
"./built": {
|
|
37
43
|
"types": "./dist/butter.d.ts",
|
|
@@ -53,6 +59,7 @@
|
|
|
53
59
|
"palette.config.json",
|
|
54
60
|
"fonts.css",
|
|
55
61
|
"fonts.css.d.ts",
|
|
62
|
+
"theme.css.d.ts",
|
|
56
63
|
"!**/*.test.*",
|
|
57
64
|
"!**/*.spec.js",
|
|
58
65
|
"!**/*.spec.jsx",
|
|
@@ -71,15 +78,15 @@
|
|
|
71
78
|
"lucide-react": "^1.18.0"
|
|
72
79
|
},
|
|
73
80
|
"peerDependencies": {
|
|
74
|
-
"@astryxdesign/core": "0.7.
|
|
81
|
+
"@astryxdesign/core": "0.7.12-canary.0085c0f",
|
|
75
82
|
"react": ">=19"
|
|
76
83
|
},
|
|
77
84
|
"devDependencies": {
|
|
78
|
-
"@astryxdesign/cli": "0.7.
|
|
85
|
+
"@astryxdesign/cli": "0.7.12-canary.0085c0f"
|
|
79
86
|
},
|
|
80
87
|
"module": "./dist/source.mjs",
|
|
81
88
|
"scripts": {
|
|
82
89
|
"api:report": "node ../../../scripts/api-report/cli.mjs --package .",
|
|
83
|
-
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-butter-palette-refs.mjs --check && astryx theme build src/butterTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
|
|
90
|
+
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-butter-palette-refs.mjs --check && astryx theme build src/butterTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/add-declaration-extensions.mjs && node ../../../scripts/emit-commonjs-declarations.mjs dist/source.d.ts && node ../../../scripts/check-fully-specified.mjs"
|
|
84
91
|
}
|
|
85
92
|
}
|
package/src/butterTheme.ts
CHANGED
|
@@ -260,7 +260,7 @@ export const butterTheme = defineTheme({
|
|
|
260
260
|
'--color-tint-hover': [neutral.light[0], neutral.dark[100]],
|
|
261
261
|
|
|
262
262
|
// Typography override
|
|
263
|
-
'--text-supporting-size': '
|
|
263
|
+
'--text-supporting-size': '0.75rem', // 12px at the default root size
|
|
264
264
|
|
|
265
265
|
// Element sizes — slightly taller defaults so the new input padding
|
|
266
266
|
// (--spacing-2 block) has room to breathe.
|
|
@@ -394,8 +394,8 @@ export const butterTheme = defineTheme({
|
|
|
394
394
|
// Radius intentionally not pinned, so buttons keep core's
|
|
395
395
|
// `var(--_button-radius, --radius-element)`: standalone buttons stay 8px,
|
|
396
396
|
// while the chat composer (which sets --_button-radius) rounds them fully.
|
|
397
|
+
// Inline padding only. Button sets its own block padding and height.
|
|
397
398
|
base: {
|
|
398
|
-
paddingBlock: 'var(--spacing-3)',
|
|
399
399
|
paddingInline: 'var(--spacing-4)',
|
|
400
400
|
},
|
|
401
401
|
'variant:secondary': SECONDARY_BUTTON,
|
package/theme.css.d.ts
ADDED