@astryx-vue/themes 0.7.21 → 0.7.23
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/butter/badge.css +8 -8
- package/butter/banner.css +9 -27
- package/butter/base.css +75 -39
- package/butter/button.css +2 -2
- package/butter/chat.css +0 -2
- package/butter/code.css +8 -8
- package/butter/heading.css +1 -4
- package/butter/input.css +3 -3
- package/butter/mobile-type.css +22 -11
- package/butter/own-fill.css +294 -0
- package/butter/selected-text.css +29 -0
- package/butter/text.css +1 -4
- package/butter/token.css +1 -1
- package/butter/top-nav.css +3 -3
- package/butter.css +2 -0
- package/chocolate/badge.css +2 -2
- package/chocolate/banner.css +2 -14
- package/chocolate/base.css +57 -21
- package/chocolate/button.css +2 -2
- package/chocolate/chat.css +0 -2
- package/chocolate/code.css +6 -6
- package/chocolate/input.css +3 -3
- package/chocolate/mobile-type.css +22 -11
- package/chocolate/token.css +1 -1
- package/gothic/banner.css +12 -29
- package/gothic/base.css +61 -25
- package/gothic/chat.css +0 -2
- package/gothic/code.css +6 -6
- package/gothic/heading.css +1 -4
- package/gothic/input.css +3 -3
- package/gothic/own-fill.css +272 -0
- package/gothic/text.css +1 -4
- package/gothic/token.css +1 -1
- package/gothic.css +1 -0
- package/matcha/badge.css +2 -2
- package/matcha/banner.css +2 -14
- package/matcha/base.css +65 -29
- package/matcha/button.css +2 -2
- package/matcha/chat.css +0 -2
- package/matcha/code.css +13 -13
- package/matcha/input.css +3 -3
- package/matcha/token.css +1 -1
- package/neutral/avatar.css +5 -4
- package/neutral/badge.css +6 -7
- package/neutral/banner.css +1 -61
- package/neutral/base.css +55 -18
- package/neutral/button.css +1 -11
- package/neutral/chat.css +0 -2
- package/neutral/code.css +7 -7
- package/neutral/input.css +3 -3
- package/neutral/kbd.css +1 -1
- package/neutral/list.css +2 -2
- package/neutral/local-tokens.css +3 -17
- package/neutral/mobile-type.css +22 -11
- package/neutral/progress-bar.css +4 -4
- package/neutral/segmented-control.css +3 -3
- package/neutral/selected-text.css +27 -0
- package/neutral/slider.css +1 -1
- package/neutral/status-dot.css +5 -4
- package/neutral/token.css +1 -1
- package/neutral.css +1 -0
- package/package.json +1 -1
- package/stone/banner.css +9 -27
- package/stone/base.css +145 -109
- package/stone/chat.css +0 -2
- package/stone/code.css +20 -20
- package/stone/input.css +3 -3
- package/stone/mobile-type.css +22 -11
- package/stone/token.css +1 -1
- package/y2k/banner.css +13 -27
- package/y2k/base.css +113 -77
- package/y2k/chat.css +0 -2
- package/y2k/code.css +19 -19
- package/y2k/heading.css +1 -4
- package/y2k/input.css +3 -3
- package/y2k/own-fill.css +272 -0
- package/y2k/selected-text.css +29 -0
- package/y2k/text.css +1 -4
- package/y2k/token.css +1 -1
- package/y2k.css +2 -0
package/butter/badge.css
CHANGED
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
--astryx-badge-padding-block: 0;
|
|
8
8
|
--astryx-badge-padding-inline: var(--astryx-spacing-3);
|
|
9
9
|
|
|
10
|
-
--astryx-badge-neutral-background: #
|
|
11
|
-
--astryx-badge-neutral-foreground: #
|
|
12
|
-
--astryx-badge-info-background: #
|
|
13
|
-
--astryx-badge-info-foreground: #
|
|
14
|
-
--astryx-badge-success-background: #
|
|
10
|
+
--astryx-badge-neutral-background: #fdee8c;
|
|
11
|
+
--astryx-badge-neutral-foreground: #194ce8;
|
|
12
|
+
--astryx-badge-info-background: #4d82ff;
|
|
13
|
+
--astryx-badge-info-foreground: #1d1c11;
|
|
14
|
+
--astryx-badge-success-background: #7bbf7a;
|
|
15
15
|
--astryx-badge-success-foreground: #1d1c11;
|
|
16
|
-
--astryx-badge-warning-background: #
|
|
16
|
+
--astryx-badge-warning-background: #dfcf5b;
|
|
17
17
|
--astryx-badge-warning-foreground: #1d1c11;
|
|
18
|
-
--astryx-badge-error-background: #
|
|
19
|
-
--astryx-badge-error-foreground: #
|
|
18
|
+
--astryx-badge-error-background: #e56241;
|
|
19
|
+
--astryx-badge-error-foreground: #1d1c11;
|
|
20
20
|
|
|
21
21
|
--astryx-badge-blue-background: var(--astryx-color-background-blue);
|
|
22
22
|
--astryx-badge-blue-foreground: var(--astryx-color-text-blue);
|
package/butter/banner.css
CHANGED
|
@@ -1,44 +1,26 @@
|
|
|
1
1
|
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
-
@layer astryx.tokens {
|
|
3
|
-
[data-astryx-theme='butter'] {
|
|
4
|
-
--astryx-banner-info-background: #4883fd;
|
|
5
|
-
--astryx-banner-info-foreground: #ffffff;
|
|
6
|
-
--astryx-banner-error-background: #fc473b;
|
|
7
|
-
--astryx-banner-error-foreground: #ffffff;
|
|
8
|
-
--astryx-banner-warning-background: #ffc502;
|
|
9
|
-
--astryx-banner-warning-foreground: #1d1c11;
|
|
10
|
-
--astryx-banner-success-background: #91D143;
|
|
11
|
-
--astryx-banner-success-foreground: #1d1c11;
|
|
12
|
-
--astryx-banner-content-background: var(--astryx-color-background-surface);
|
|
13
|
-
--astryx-banner-border: var(--astryx-color-border);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
2
|
|
|
17
3
|
/*
|
|
18
|
-
*
|
|
4
|
+
* 状态条在各状态上重指浅底和浅底上的文字,与上游 banner 的 `status:*` 覆盖一致。
|
|
19
5
|
*/
|
|
20
6
|
@layer astryx.overrides {
|
|
21
7
|
[data-astryx-theme='butter'] .astryx-banner[data-status='info'] {
|
|
22
|
-
--astryx-color-
|
|
23
|
-
--astryx-color-
|
|
24
|
-
--astryx-color-accent: #ffffff;
|
|
8
|
+
--astryx-color-info-muted: #4d82ff;
|
|
9
|
+
--astryx-color-on-info-muted: #1d1c11;
|
|
25
10
|
}
|
|
26
11
|
|
|
27
12
|
[data-astryx-theme='butter'] .astryx-banner[data-status='success'] {
|
|
28
|
-
--astryx-color-
|
|
29
|
-
--astryx-color-
|
|
30
|
-
--astryx-color-success: #1d1c11;
|
|
13
|
+
--astryx-color-success-muted: #7bbf7a;
|
|
14
|
+
--astryx-color-on-success-muted: #1d1c11;
|
|
31
15
|
}
|
|
32
16
|
|
|
33
17
|
[data-astryx-theme='butter'] .astryx-banner[data-status='warning'] {
|
|
34
|
-
--astryx-color-
|
|
35
|
-
--astryx-color-
|
|
36
|
-
--astryx-color-warning: #1d1c11;
|
|
18
|
+
--astryx-color-warning-muted: #dfcf5b;
|
|
19
|
+
--astryx-color-on-warning-muted: #1d1c11;
|
|
37
20
|
}
|
|
38
21
|
|
|
39
22
|
[data-astryx-theme='butter'] .astryx-banner[data-status='error'] {
|
|
40
|
-
--astryx-color-
|
|
41
|
-
--astryx-color-
|
|
42
|
-
--astryx-color-error: #ffffff;
|
|
23
|
+
--astryx-color-error-muted: #e56241;
|
|
24
|
+
--astryx-color-on-error-muted: #1d1c11;
|
|
43
25
|
}
|
|
44
26
|
}
|
package/butter/base.css
CHANGED
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
color: var(--astryx-color-text-primary);
|
|
18
18
|
font-family: var(--astryx-font-family-body);
|
|
19
19
|
font-size: var(--astryx-text-body-size);
|
|
20
|
-
line-height: var(--astryx-text-body-leading);
|
|
21
20
|
|
|
22
21
|
--astryx-color-accent: light-dark(#225BFF, #FDEE8C);
|
|
23
22
|
--astryx-color-accent-muted: light-dark(#225BFF33, #FDEE8C40);
|
|
@@ -47,15 +46,36 @@
|
|
|
47
46
|
--astryx-color-background-inverted: light-dark(#1d1c11, #FDFBE4);
|
|
48
47
|
--astryx-color-background-error-inverted: light-dark(#aa071e, #e3193b);
|
|
49
48
|
|
|
50
|
-
--astryx-color-success: light-dark(#
|
|
51
|
-
--astryx-color-success-muted: light-dark(#
|
|
52
|
-
--astryx-color-on-success: light-dark(#
|
|
53
|
-
--astryx-color-error: light-dark(#
|
|
54
|
-
--astryx-color-error-muted: light-dark(#
|
|
55
|
-
--astryx-color-on-error: light-dark(#
|
|
56
|
-
--astryx-color-warning: light-dark(#
|
|
57
|
-
--astryx-color-warning-muted: light-dark(#
|
|
58
|
-
|
|
49
|
+
--astryx-color-success: light-dark(#004a05, #83bc82);
|
|
50
|
+
--astryx-color-success-muted: light-dark(#004a0533, #83bc8240);
|
|
51
|
+
--astryx-color-on-success: light-dark(#b6e3b4, #013004);
|
|
52
|
+
--astryx-color-error: light-dark(#821b00, #ffc5b5);
|
|
53
|
+
--astryx-color-error-muted: light-dark(#821b0033, #ffc5b540);
|
|
54
|
+
--astryx-color-on-error: light-dark(#ffece7, #4c0700);
|
|
55
|
+
--astryx-color-warning: light-dark(#514700, #cdbe59);
|
|
56
|
+
--astryx-color-warning-muted: light-dark(#51470033, #cdbe5940);
|
|
57
|
+
|
|
58
|
+
/* Status roles: info 填充、状态文字、图标、边框和浅底上的文字(上游 INV11 / INV17)。 */
|
|
59
|
+
--astryx-color-info: light-dark(#225bff, #81a9ff);
|
|
60
|
+
--astryx-color-info-muted: var(--astryx-color-background-blue);
|
|
61
|
+
--astryx-color-on-info: light-dark(#FFFFFF, #1D1C11);
|
|
62
|
+
--astryx-color-text-info: light-dark(#225bff, #81a9ff);
|
|
63
|
+
--astryx-color-text-success: light-dark(#004a05, #a8d4a6);
|
|
64
|
+
--astryx-color-text-warning: light-dark(#443c00, #eedf75);
|
|
65
|
+
--astryx-color-text-error: light-dark(#6f1400, #ffb09b);
|
|
66
|
+
--astryx-color-icon-info: var(--astryx-color-text-info);
|
|
67
|
+
--astryx-color-icon-success: var(--astryx-color-text-success);
|
|
68
|
+
--astryx-color-icon-warning: var(--astryx-color-text-warning);
|
|
69
|
+
--astryx-color-icon-error: var(--astryx-color-text-error);
|
|
70
|
+
--astryx-color-border-info: var(--astryx-color-text-info);
|
|
71
|
+
--astryx-color-border-success: var(--astryx-color-text-success);
|
|
72
|
+
--astryx-color-border-warning: var(--astryx-color-text-warning);
|
|
73
|
+
--astryx-color-border-error: var(--astryx-color-text-error);
|
|
74
|
+
--astryx-color-on-info-muted: var(--astryx-color-text-blue);
|
|
75
|
+
--astryx-color-on-success-muted: light-dark(#004a05, #a8d4a6);
|
|
76
|
+
--astryx-color-on-warning-muted: light-dark(#443c00, #eedf75);
|
|
77
|
+
--astryx-color-on-error-muted: light-dark(#6f1400, #ffd9cf);
|
|
78
|
+
--astryx-color-on-warning: light-dark(#fff7c0, #2c2600);
|
|
59
79
|
|
|
60
80
|
--astryx-color-border: light-dark(#e5e3d4, #f3f2e21A);
|
|
61
81
|
--astryx-color-border-emphasized: light-dark(#C7C4B2, #939184);
|
|
@@ -63,7 +83,7 @@
|
|
|
63
83
|
--astryx-color-skeleton: light-dark(#e5e3d4, #49473b);
|
|
64
84
|
--astryx-color-track: light-dark(#ccd3db, #5a5e66);
|
|
65
85
|
--astryx-color-shadow: light-dark(#1d1c111A, #0000004D);
|
|
66
|
-
--astryx-color-tint-hover: light-dark(
|
|
86
|
+
--astryx-color-tint-hover: light-dark(#000000, #ffffff);
|
|
67
87
|
|
|
68
88
|
--astryx-color-background-blue: light-dark(#dbe1ff, #dbe1ff);
|
|
69
89
|
--astryx-color-border-blue: light-dark(#bdc5eb, #bdc5eb);
|
|
@@ -80,10 +100,10 @@
|
|
|
80
100
|
--astryx-color-icon-gray: light-dark(#4a4732, #4a4732);
|
|
81
101
|
--astryx-color-text-gray: light-dark(#4a4732, #4a4732);
|
|
82
102
|
|
|
83
|
-
--astryx-color-background-green: light-dark(#
|
|
84
|
-
--astryx-color-border-green: light-dark(#
|
|
85
|
-
--astryx-color-icon-green: light-dark(#
|
|
86
|
-
--astryx-color-text-green: light-dark(#
|
|
103
|
+
--astryx-color-background-green: light-dark(#caeec8, #cdedcc);
|
|
104
|
+
--astryx-color-border-green: light-dark(#a2d7a0, #a8d4a6);
|
|
105
|
+
--astryx-color-icon-green: light-dark(#004a05, #063c0a);
|
|
106
|
+
--astryx-color-text-green: light-dark(#004a05, #063c0a);
|
|
87
107
|
|
|
88
108
|
--astryx-color-background-orange: light-dark(#ffdcb6, #ffdcb6);
|
|
89
109
|
--astryx-color-border-orange: light-dark(#f2bd81, #f2bd81);
|
|
@@ -100,20 +120,20 @@
|
|
|
100
120
|
--astryx-color-icon-purple: light-dark(#52237b, #52237b);
|
|
101
121
|
--astryx-color-text-purple: light-dark(#52237b, #52237b);
|
|
102
122
|
|
|
103
|
-
--astryx-color-background-red: light-dark(#
|
|
104
|
-
--astryx-color-border-red: light-dark(#
|
|
105
|
-
--astryx-color-icon-red: light-dark(#
|
|
106
|
-
--astryx-color-text-red: light-dark(#
|
|
123
|
+
--astryx-color-background-red: light-dark(#ffd9cf, #ffd9cf);
|
|
124
|
+
--astryx-color-border-red: light-dark(#ffb09b, #ffb09b);
|
|
125
|
+
--astryx-color-icon-red: light-dark(#6f1400, #6f1400);
|
|
126
|
+
--astryx-color-text-red: light-dark(#6f1400, #6f1400);
|
|
107
127
|
|
|
108
128
|
--astryx-color-background-teal: light-dark(#b0f0d7, #b0f0d7);
|
|
109
129
|
--astryx-color-border-teal: light-dark(#94d3bb, #94d3bb);
|
|
110
130
|
--astryx-color-icon-teal: light-dark(#00482d, #00482d);
|
|
111
131
|
--astryx-color-text-teal: light-dark(#00482d, #00482d);
|
|
112
132
|
|
|
113
|
-
--astryx-color-background-yellow: light-dark(#
|
|
114
|
-
--astryx-color-border-yellow: light-dark(#
|
|
115
|
-
--astryx-color-icon-yellow: light-dark(#
|
|
116
|
-
--astryx-color-text-yellow: light-dark(#
|
|
133
|
+
--astryx-color-background-yellow: light-dark(#f0df72, #eedf75);
|
|
134
|
+
--astryx-color-border-yellow: light-dark(#bfae35, #bcae4e);
|
|
135
|
+
--astryx-color-icon-yellow: light-dark(#443c00, #443c00);
|
|
136
|
+
--astryx-color-text-yellow: light-dark(#443c00, #443c00);
|
|
117
137
|
|
|
118
138
|
--astryx-spacing-0: 0rem;
|
|
119
139
|
--astryx-spacing-0-5: 0.125rem;
|
|
@@ -155,9 +175,9 @@
|
|
|
155
175
|
--astryx-shadow-high: 0 4px 6px #1d1c111A, 0 12px 24px #1d1c1126;
|
|
156
176
|
--astryx-shadow-inset-hover: inset 0px 0px 0px 2px #79786a30;
|
|
157
177
|
--astryx-shadow-inset-selected: inset 0px 0px 0px 2px #79786a50;
|
|
158
|
-
--astryx-shadow-inset-success: inset 0px 0px 0px 2px #
|
|
159
|
-
--astryx-shadow-inset-warning: inset 0px 0px 0px 2px #
|
|
160
|
-
--astryx-shadow-inset-error: inset 0px 0px 0px 2px #
|
|
178
|
+
--astryx-shadow-inset-success: inset 0px 0px 0px 2px #004a0530;
|
|
179
|
+
--astryx-shadow-inset-warning: inset 0px 0px 0px 2px #51470030;
|
|
180
|
+
--astryx-shadow-inset-error: inset 0px 0px 0px 2px #821b0030;
|
|
161
181
|
|
|
162
182
|
--astryx-duration-fast-min: 95ms;
|
|
163
183
|
--astryx-duration-fast: 125ms;
|
|
@@ -168,25 +188,41 @@
|
|
|
168
188
|
--astryx-duration-slow-min: 525ms;
|
|
169
189
|
--astryx-duration-slow: 700ms;
|
|
170
190
|
--astryx-duration-slow-max: 935ms;
|
|
191
|
+
--astryx-duration-exit: var(--astryx-duration-fast);
|
|
171
192
|
|
|
172
193
|
--astryx-ease-standard: cubic-bezier(0.24, 1, 0.4, 1);
|
|
194
|
+
--astryx-ease-entrance: cubic-bezier(0.24, 1, 0.4, 1);
|
|
195
|
+
--astryx-ease-move: cubic-bezier(0.24, 1, 0.4, 1);
|
|
196
|
+
--astryx-ease-exit: cubic-bezier(0.3, 0, 0.6, 0.6);
|
|
173
197
|
|
|
174
198
|
--astryx-font-family-body: Outfit, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
175
199
|
--astryx-font-family-code: 'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;
|
|
176
200
|
--astryx-font-family-heading: Outfit, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
177
201
|
|
|
178
|
-
--
|
|
179
|
-
--astryx-font-size-
|
|
180
|
-
--
|
|
181
|
-
--astryx-font-size-
|
|
182
|
-
--
|
|
183
|
-
--astryx-font-size-
|
|
184
|
-
--
|
|
185
|
-
--astryx-font-size-
|
|
186
|
-
--
|
|
187
|
-
--astryx-font-size-
|
|
188
|
-
--
|
|
189
|
-
--astryx-font-size-
|
|
202
|
+
--_scaled-font-size-4xs: min(calc(0.3125rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
203
|
+
--astryx-font-size-4xs: var(--_scaled-font-size-4xs);
|
|
204
|
+
--_scaled-font-size-3xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
205
|
+
--astryx-font-size-3xs: var(--_scaled-font-size-3xs);
|
|
206
|
+
--_scaled-font-size-2xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
207
|
+
--astryx-font-size-2xs: var(--_scaled-font-size-2xs);
|
|
208
|
+
--_scaled-font-size-xs: min(calc(0.5625rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
209
|
+
--astryx-font-size-xs: var(--_scaled-font-size-xs);
|
|
210
|
+
--_scaled-font-size-sm: min(calc(0.6875rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
211
|
+
--astryx-font-size-sm: var(--_scaled-font-size-sm);
|
|
212
|
+
--_scaled-font-size-base: min(calc(0.875rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
213
|
+
--astryx-font-size-base: var(--_scaled-font-size-base);
|
|
214
|
+
--_scaled-font-size-lg: min(calc(1.125rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
215
|
+
--astryx-font-size-lg: var(--_scaled-font-size-lg);
|
|
216
|
+
--_scaled-font-size-xl: min(calc(1.375rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
217
|
+
--astryx-font-size-xl: var(--_scaled-font-size-xl);
|
|
218
|
+
--_scaled-font-size-2xl: min(calc(1.6875rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
219
|
+
--astryx-font-size-2xl: var(--_scaled-font-size-2xl);
|
|
220
|
+
--_scaled-font-size-3xl: min(calc(2.125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
221
|
+
--astryx-font-size-3xl: var(--_scaled-font-size-3xl);
|
|
222
|
+
--_scaled-font-size-4xl: min(calc(2.6875rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
223
|
+
--astryx-font-size-4xl: var(--_scaled-font-size-4xl);
|
|
224
|
+
--_scaled-font-size-5xl: calc(3.3125rem * var(--_dynamic-type-large-title, 1));
|
|
225
|
+
--astryx-font-size-5xl: var(--_scaled-font-size-5xl);
|
|
190
226
|
|
|
191
227
|
--astryx-font-weight-normal: 400;
|
|
192
228
|
--astryx-font-weight-regular: var(--astryx-font-weight-normal);
|
|
@@ -225,7 +261,7 @@
|
|
|
225
261
|
--astryx-text-code-size: var(--astryx-font-size-base);
|
|
226
262
|
--astryx-text-code-weight: var(--astryx-font-weight-normal);
|
|
227
263
|
--astryx-text-code-leading: 1.4286;
|
|
228
|
-
--astryx-text-supporting-size:
|
|
264
|
+
--astryx-text-supporting-size: calc(0.75rem * var(--_dynamic-type-footnote, 1));
|
|
229
265
|
--astryx-text-supporting-weight: var(--astryx-font-weight-normal);
|
|
230
266
|
--astryx-text-supporting-leading: 1.4545;
|
|
231
267
|
|
package/butter/button.css
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
--astryx-button-secondary-hover-overlay: light-dark(#225BFF14, #FDEE8C14);
|
|
15
15
|
--astryx-button-ghost-background: transparent;
|
|
16
16
|
--astryx-button-ghost-foreground: light-dark(#225BFF, #FDEE8C);
|
|
17
|
-
--astryx-button-destructive-background: light-dark(#
|
|
18
|
-
--astryx-button-destructive-foreground: light-dark(#
|
|
17
|
+
--astryx-button-destructive-background: light-dark(#ffd9cf, #ffb09b);
|
|
18
|
+
--astryx-button-destructive-foreground: light-dark(#3b0200, #6f1400);
|
|
19
19
|
--astryx-button-hover-overlay: var(--astryx-color-overlay-hover);
|
|
20
20
|
--astryx-button-pressed-overlay: var(--astryx-color-overlay-pressed);
|
|
21
21
|
--astryx-button-focus: var(--astryx-color-accent);
|
package/butter/chat.css
CHANGED
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
--astryx-chat-foreground-secondary: var(--astryx-color-text-secondary);
|
|
9
9
|
--astryx-chat-foreground-muted: var(--astryx-color-text-disabled);
|
|
10
10
|
--astryx-chat-bubble-background: var(--astryx-color-neutral);
|
|
11
|
-
--astryx-chat-error: var(--astryx-color-error);
|
|
12
|
-
--astryx-chat-success: var(--astryx-color-success);
|
|
13
11
|
--astryx-chat-accent: var(--astryx-color-accent);
|
|
14
12
|
--astryx-chat-unread-color: var(--astryx-color-border-red);
|
|
15
13
|
--astryx-chat-scroll-background: var(--astryx-color-background-popover);
|
package/butter/code.css
CHANGED
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
|
|
10
10
|
/* CodeBlock card: white surface and a hairline border, matching the
|
|
11
11
|
original block. Inline code keeps the muted chip above. */
|
|
12
|
-
--astryx-code-block-background: light-dark(#
|
|
12
|
+
--astryx-code-block-background: light-dark(#fdfbe4, #131107);
|
|
13
13
|
--astryx-code-block-border: var(--astryx-color-border);
|
|
14
14
|
--astryx-code-block-focus: var(--astryx-color-accent);
|
|
15
|
-
--astryx-code-block-highlight-background:
|
|
15
|
+
--astryx-code-block-highlight-background: var(--astryx-color-accent-muted);
|
|
16
16
|
|
|
17
17
|
/* Syntax colors from the original CodeBlock theme: keyword and type share
|
|
18
18
|
the same purple, strings stay green. */
|
|
19
19
|
--astryx-code-syntax-keyword: light-dark(#52237b, #ddb9f6);
|
|
20
|
-
--astryx-code-syntax-string: light-dark(#
|
|
20
|
+
--astryx-code-syntax-string: light-dark(#004a05, #a8d4a6);
|
|
21
21
|
--astryx-code-syntax-comment: light-dark(#605f52, #adac9e);
|
|
22
22
|
--astryx-code-syntax-number: light-dark(#622e00, #f2bd81);
|
|
23
23
|
--astryx-code-syntax-function: light-dark(#203a6c, #bdc5eb);
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
--astryx-code-syntax-variable: light-dark(#605f52, #adac9e);
|
|
26
26
|
--astryx-code-syntax-operator: light-dark(#605f52, #adac9e);
|
|
27
27
|
--astryx-code-syntax-constant: light-dark(#622e00, #f2bd81);
|
|
28
|
-
--astryx-code-syntax-tag: light-dark(#
|
|
29
|
-
--astryx-code-syntax-attribute: light-dark(#
|
|
28
|
+
--astryx-code-syntax-tag: light-dark(#6f1400, #ffb09b);
|
|
29
|
+
--astryx-code-syntax-attribute: light-dark(#443c00, #bcae4e);
|
|
30
30
|
--astryx-code-syntax-property: light-dark(#00482d, #94d3bb);
|
|
31
31
|
--astryx-code-syntax-punctuation: light-dark(#605f52, #adac9e);
|
|
32
32
|
|
|
33
33
|
--astryx-code-syntax-added: color-mix(in srgb, var(--astryx-color-success-muted) 25%, transparent);
|
|
34
34
|
--astryx-code-syntax-removed: color-mix(in srgb, var(--astryx-color-error-muted) 25%, transparent);
|
|
35
|
-
--astryx-code-syntax-diff-header:
|
|
36
|
-
--astryx-code-syntax-added-marker: var(--astryx-
|
|
37
|
-
--astryx-code-syntax-removed-marker: var(--astryx-
|
|
35
|
+
--astryx-code-syntax-diff-header: transparent;
|
|
36
|
+
--astryx-code-syntax-added-marker: var(--astryx-code-syntax-punctuation);
|
|
37
|
+
--astryx-code-syntax-removed-marker: var(--astryx-code-syntax-punctuation);
|
|
38
38
|
}
|
|
39
39
|
}
|
package/butter/heading.css
CHANGED
|
@@ -26,10 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
[data-astryx-theme='butter'] .astryx-text--type-display-1,
|
|
28
28
|
[data-astryx-theme='butter'] .astryx-text--type-display-2,
|
|
29
|
-
[data-astryx-theme='butter'] .astryx-text--type-display-3
|
|
30
|
-
[data-astryx-theme='butter'] .astryx-heading--type-display-1,
|
|
31
|
-
[data-astryx-theme='butter'] .astryx-heading--type-display-2,
|
|
32
|
-
[data-astryx-theme='butter'] .astryx-heading--type-display-3 {
|
|
29
|
+
[data-astryx-theme='butter'] .astryx-text--type-display-3 {
|
|
33
30
|
font-family: Sarina, 'Brush Script MT', 'Snell Roundhand', cursive;
|
|
34
31
|
}
|
|
35
32
|
}
|
package/butter/input.css
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
--astryx-input-padding-block: var(--astryx-spacing-2);
|
|
8
8
|
--astryx-input-padding-inline: var(--astryx-spacing-3);
|
|
9
9
|
--astryx-input-focus: var(--astryx-color-accent);
|
|
10
|
-
--astryx-input-height-sm:
|
|
11
|
-
--astryx-input-height-md:
|
|
12
|
-
--astryx-input-height-lg:
|
|
10
|
+
--astryx-input-height-sm: var(--astryx-size-element-sm);
|
|
11
|
+
--astryx-input-height-md: var(--astryx-size-element-md);
|
|
12
|
+
--astryx-input-height-lg: var(--astryx-size-element-lg);
|
|
13
13
|
/* 状态描边、状态图标和状态提示条都用状态条那套醒目色。 */
|
|
14
14
|
--astryx-input-error: #fc473b;
|
|
15
15
|
--astryx-input-error-foreground: #ffffff;
|
package/butter/mobile-type.css
CHANGED
|
@@ -11,17 +11,28 @@
|
|
|
11
11
|
@layer astryx.tokens {
|
|
12
12
|
@media (width < 1024px) and (pointer: coarse) {
|
|
13
13
|
[data-astryx-theme='butter'] {
|
|
14
|
-
--
|
|
15
|
-
--astryx-font-size-
|
|
16
|
-
--
|
|
17
|
-
--astryx-font-size-
|
|
18
|
-
--
|
|
19
|
-
--astryx-font-size-
|
|
20
|
-
--
|
|
21
|
-
--astryx-font-size-
|
|
22
|
-
--
|
|
23
|
-
--astryx-font-size-
|
|
24
|
-
--
|
|
14
|
+
--_scaled-font-size-4xs: min(calc(0.375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-3xs));
|
|
15
|
+
--astryx-font-size-4xs: var(--_scaled-font-size-4xs);
|
|
16
|
+
--_scaled-font-size-3xs: min(calc(0.4375rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-2xs));
|
|
17
|
+
--astryx-font-size-3xs: var(--_scaled-font-size-3xs);
|
|
18
|
+
--_scaled-font-size-2xs: min(calc(0.5625rem * var(--_dynamic-type-caption2, 1)), var(--_scaled-font-size-xs));
|
|
19
|
+
--astryx-font-size-2xs: var(--_scaled-font-size-2xs);
|
|
20
|
+
--_scaled-font-size-xs: min(calc(0.6875rem * var(--_dynamic-type-caption1, 1)), var(--_scaled-font-size-sm));
|
|
21
|
+
--astryx-font-size-xs: var(--_scaled-font-size-xs);
|
|
22
|
+
--_scaled-font-size-sm: min(calc(0.8125rem * var(--_dynamic-type-footnote, 1)), var(--_scaled-font-size-base));
|
|
23
|
+
--astryx-font-size-sm: var(--_scaled-font-size-sm);
|
|
24
|
+
--_scaled-font-size-base: min(calc(1rem * var(--_dynamic-type-body, 1)), var(--_scaled-font-size-lg));
|
|
25
|
+
--astryx-font-size-base: var(--_scaled-font-size-base);
|
|
26
|
+
--_scaled-font-size-lg: min(calc(1.25rem * var(--_dynamic-type-title3, 1)), var(--_scaled-font-size-xl));
|
|
27
|
+
--astryx-font-size-lg: var(--_scaled-font-size-lg);
|
|
28
|
+
--_scaled-font-size-xl: min(calc(1.5rem * var(--_dynamic-type-title2, 1)), var(--_scaled-font-size-2xl));
|
|
29
|
+
--astryx-font-size-xl: var(--_scaled-font-size-xl);
|
|
30
|
+
--_scaled-font-size-2xl: min(calc(1.8125rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-3xl));
|
|
31
|
+
--astryx-font-size-2xl: var(--_scaled-font-size-2xl);
|
|
32
|
+
--_scaled-font-size-3xl: min(calc(2.25rem * var(--_dynamic-type-title1, 1)), var(--_scaled-font-size-4xl));
|
|
33
|
+
--astryx-font-size-3xl: var(--_scaled-font-size-3xl);
|
|
34
|
+
--_scaled-font-size-4xl: min(calc(2.75rem * var(--_dynamic-type-large-title, 1)), var(--_scaled-font-size-5xl));
|
|
35
|
+
--astryx-font-size-4xl: var(--_scaled-font-size-4xl);
|
|
25
36
|
|
|
26
37
|
--astryx-text-heading-1-size: var(--astryx-font-size-2xl);
|
|
27
38
|
--astryx-text-heading-1-leading: 1.3793;
|