@astryx-vue/themes 0.2.6 → 0.4.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/butter/badge.css +5 -0
- package/butter/banner.css +29 -0
- package/butter/base.css +16 -89
- package/butter/button.css +6 -0
- package/butter/card.css +81 -0
- package/butter/input.css +13 -10
- package/butter/mobile-type.css +55 -0
- package/butter/progress-bar.css +5 -4
- package/butter/section.css +7 -0
- package/butter/top-nav.css +35 -0
- package/butter.css +4 -0
- package/chocolate/base.css +17 -90
- package/chocolate/button.css +4 -6
- package/chocolate/card.css +1 -0
- package/chocolate/mobile-type.css +55 -0
- package/chocolate/section.css +7 -0
- package/chocolate.css +3 -0
- package/data.css +84 -0
- package/gothic/badge.css +1 -0
- package/gothic/banner.css +32 -0
- package/gothic/base.css +16 -89
- package/gothic/card.css +57 -0
- package/gothic/code.css +5 -4
- package/gothic/section.css +7 -0
- package/gothic.css +2 -0
- package/matcha/base.css +3 -76
- package/matcha/button.css +1 -0
- package/matcha/card.css +2 -0
- package/matcha/section.css +8 -0
- package/matcha.css +2 -0
- package/neutral/alert-dialog.css +2 -2
- package/neutral/avatar-group.css +3 -3
- package/neutral/avatar.css +7 -7
- package/neutral/badge.css +31 -28
- package/neutral/banner.css +57 -10
- package/neutral/base.css +123 -190
- package/neutral/bottom-sheet.css +6 -6
- package/neutral/button.css +15 -5
- package/neutral/card.css +12 -12
- package/neutral/chat.css +1 -1
- package/neutral/checkbox.css +5 -5
- package/neutral/code.css +10 -12
- package/neutral/collapsible.css +4 -4
- package/neutral/context-menu.css +8 -8
- package/neutral/dialog.css +3 -3
- package/neutral/divider.css +3 -3
- package/neutral/dropdown-menu.css +4 -4
- package/neutral/empty-state.css +2 -2
- package/neutral/heading.css +13 -15
- package/neutral/hover-card.css +3 -3
- package/neutral/icon.css +2 -2
- package/neutral/input.css +12 -12
- package/neutral/kbd.css +1 -1
- package/neutral/link.css +3 -3
- package/neutral/list.css +2 -2
- package/neutral/local-tokens.css +29 -0
- package/neutral/mobile-type.css +42 -0
- package/neutral/more-menu.css +9 -9
- package/neutral/overlay.css +1 -1
- package/neutral/popover.css +2 -2
- package/neutral/progress-bar.css +6 -6
- package/neutral/{skeleton.css → section.css} +1 -1
- package/neutral/segmented-control.css +35 -12
- package/neutral/slider.css +3 -3
- package/neutral/spinner.css +4 -4
- package/neutral/status-dot.css +4 -4
- package/neutral/stepper.css +16 -0
- package/neutral/switch.css +3 -3
- package/neutral/text.css +7 -17
- package/neutral/toast.css +1 -1
- package/neutral/toggle-button.css +1 -1
- package/neutral/tooltip.css +3 -3
- package/neutral.css +5 -1
- package/package.json +2 -1
- package/stone/banner.css +29 -0
- package/stone/base.css +16 -89
- package/stone/button.css +5 -6
- package/stone/card.css +1 -0
- package/stone/code.css +5 -4
- package/stone/input.css +7 -6
- package/stone/mobile-type.css +55 -0
- package/stone/progress-bar.css +6 -4
- package/stone/section.css +7 -0
- package/stone/switch.css +1 -1
- package/stone.css +3 -0
- package/y2k/badge.css +5 -0
- package/y2k/banner.css +29 -0
- package/y2k/base.css +6 -79
- package/y2k/button.css +15 -6
- package/y2k/card.css +1 -0
- package/y2k/code.css +5 -4
- package/y2k/section.css +7 -0
- package/y2k/top-nav.css +22 -0
- package/y2k.css +3 -0
package/butter/badge.css
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
[data-astryx-theme='butter'] {
|
|
5
|
+
/* 徽章比核心默认高一档:30px 高、行内留一个间距步。 */
|
|
6
|
+
--astryx-badge-height: 30px;
|
|
7
|
+
--astryx-badge-padding-block: 0;
|
|
8
|
+
--astryx-badge-padding-inline: var(--astryx-spacing-3);
|
|
9
|
+
|
|
5
10
|
--astryx-badge-neutral-background: #ffee7b;
|
|
6
11
|
--astryx-badge-neutral-foreground: #225BFF;
|
|
7
12
|
--astryx-badge-info-background: #4883fd;
|
package/butter/banner.css
CHANGED
|
@@ -13,3 +13,32 @@
|
|
|
13
13
|
--astryx-banner-border: var(--astryx-color-border);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
|
|
17
|
+
/*
|
|
18
|
+
* 醒目底色上,状态条把共享的文字和色相 token 重指到浅色或深色文字。
|
|
19
|
+
*/
|
|
20
|
+
@layer astryx.overrides {
|
|
21
|
+
[data-astryx-theme='butter'] .astryx-banner[data-status='info'] {
|
|
22
|
+
--astryx-color-text-primary: #ffffff;
|
|
23
|
+
--astryx-color-text-secondary: #ffffff;
|
|
24
|
+
--astryx-color-accent: #ffffff;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-astryx-theme='butter'] .astryx-banner[data-status='success'] {
|
|
28
|
+
--astryx-color-text-primary: #1d1c11;
|
|
29
|
+
--astryx-color-text-secondary: #1d1c11;
|
|
30
|
+
--astryx-color-success: #1d1c11;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
[data-astryx-theme='butter'] .astryx-banner[data-status='warning'] {
|
|
34
|
+
--astryx-color-text-primary: #1d1c11;
|
|
35
|
+
--astryx-color-text-secondary: #1d1c11;
|
|
36
|
+
--astryx-color-warning: #1d1c11;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[data-astryx-theme='butter'] .astryx-banner[data-status='error'] {
|
|
40
|
+
--astryx-color-text-primary: #ffffff;
|
|
41
|
+
--astryx-color-text-secondary: #ffffff;
|
|
42
|
+
--astryx-color-error: #ffffff;
|
|
43
|
+
}
|
|
44
|
+
}
|
package/butter/base.css
CHANGED
|
@@ -115,94 +115,21 @@
|
|
|
115
115
|
--astryx-color-icon-yellow: light-dark(#413e00, #413e00);
|
|
116
116
|
--astryx-color-text-yellow: light-dark(#413e00, #413e00);
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
--astryx-
|
|
125
|
-
--astryx-
|
|
126
|
-
--astryx-
|
|
127
|
-
--astryx-
|
|
128
|
-
--astryx-
|
|
129
|
-
--astryx-
|
|
130
|
-
--astryx-
|
|
131
|
-
--astryx-
|
|
132
|
-
--astryx-
|
|
133
|
-
--astryx-color-data-categorical-indigo: light-dark(#6F8AFF, #6F8AFF);
|
|
134
|
-
|
|
135
|
-
--astryx-color-data-neutral: light-dark(#8494A3, #8C939B);
|
|
136
|
-
|
|
137
|
-
--astryx-color-data-blue-5: light-dark(#02165E, #02165E);
|
|
138
|
-
--astryx-color-data-blue-4: light-dark(#004CBC, #004CBC);
|
|
139
|
-
--astryx-color-data-blue-3: light-dark(#2694FE, #2694FE);
|
|
140
|
-
--astryx-color-data-blue-2: light-dark(#78BEFF, #78BEFF);
|
|
141
|
-
--astryx-color-data-blue-1: light-dark(#DBECFF, #DBECFF);
|
|
142
|
-
|
|
143
|
-
--astryx-color-data-shamrock-5: light-dark(#0B603D, #0B603D);
|
|
144
|
-
--astryx-color-data-shamrock-4: light-dark(#138546, #138546);
|
|
145
|
-
--astryx-color-data-shamrock-3: light-dark(#24BB5E, #24BB5E);
|
|
146
|
-
--astryx-color-data-shamrock-2: light-dark(#8EF7AA, #8EF7AA);
|
|
147
|
-
--astryx-color-data-shamrock-1: light-dark(#D6FEE4, #D6FEE4);
|
|
148
|
-
|
|
149
|
-
--astryx-color-data-orange-5: light-dark(#A13F04, #A13F04);
|
|
150
|
-
--astryx-color-data-orange-4: light-dark(#D66100, #D66100);
|
|
151
|
-
--astryx-color-data-orange-3: light-dark(#FD9537, #FD9537);
|
|
152
|
-
--astryx-color-data-orange-2: light-dark(#FDB876, #FDB876);
|
|
153
|
-
--astryx-color-data-orange-1: light-dark(#FFE6CF, #FFE6CF);
|
|
154
|
-
|
|
155
|
-
--astryx-color-data-pink-5: light-dark(#8E1073, #8E1073);
|
|
156
|
-
--astryx-color-data-pink-4: light-dark(#D123A1, #D123A1);
|
|
157
|
-
--astryx-color-data-pink-3: light-dark(#F989D3, #F989D3);
|
|
158
|
-
--astryx-color-data-pink-2: light-dark(#FEADE3, #FEADE3);
|
|
159
|
-
--astryx-color-data-pink-1: light-dark(#FCE3F4, #FCE3F4);
|
|
160
|
-
|
|
161
|
-
--astryx-color-data-purple-5: light-dark(#3E0697, #3E0697);
|
|
162
|
-
--astryx-color-data-purple-4: light-dark(#6B1EFD, #6B1EFD);
|
|
163
|
-
--astryx-color-data-purple-3: light-dark(#9081FF, #9081FF);
|
|
164
|
-
--astryx-color-data-purple-2: light-dark(#B3B0FE, #B3B0FE);
|
|
165
|
-
--astryx-color-data-purple-1: light-dark(#E8E8FB, #E8E8FB);
|
|
166
|
-
|
|
167
|
-
--astryx-color-data-red-5: light-dark(#9D0519, #9D0519);
|
|
168
|
-
--astryx-color-data-red-4: light-dark(#D31130, #D31130);
|
|
169
|
-
--astryx-color-data-red-3: light-dark(#FB7D87, #FB7D87);
|
|
170
|
-
--astryx-color-data-red-2: light-dark(#FFB2B8, #FFB2B8);
|
|
171
|
-
--astryx-color-data-red-1: light-dark(#FEE4E6, #FEE4E6);
|
|
172
|
-
|
|
173
|
-
--astryx-color-data-teal-5: light-dark(#08767D, #08767D);
|
|
174
|
-
--astryx-color-data-teal-4: light-dark(#0C9293, #0C9293);
|
|
175
|
-
--astryx-color-data-teal-3: light-dark(#0DB7AF, #0DB7AF);
|
|
176
|
-
--astryx-color-data-teal-2: light-dark(#6CE6D8, #6CE6D8);
|
|
177
|
-
--astryx-color-data-teal-1: light-dark(#D7FCF8, #D7FCF8);
|
|
178
|
-
|
|
179
|
-
--astryx-color-data-yellow-5: light-dark(#8A5001, #8A5001);
|
|
180
|
-
--astryx-color-data-yellow-4: light-dark(#D69804, #D69804);
|
|
181
|
-
--astryx-color-data-yellow-3: light-dark(#FBCE03, #FBCE03);
|
|
182
|
-
--astryx-color-data-yellow-2: light-dark(#FCEC85, #FCEC85);
|
|
183
|
-
--astryx-color-data-yellow-1: light-dark(#FDF6BA, #FDF6BA);
|
|
184
|
-
|
|
185
|
-
--astryx-color-data-gray-5: light-dark(#25363F, #333338);
|
|
186
|
-
--astryx-color-data-gray-4: light-dark(#5D6C7B, #666A72);
|
|
187
|
-
--astryx-color-data-gray-3: light-dark(#AFB9C4, #B2B8BE);
|
|
188
|
-
--astryx-color-data-gray-2: light-dark(#CCD3DB, #D0D3D6);
|
|
189
|
-
--astryx-color-data-gray-1: light-dark(#F1F4F7, #F2F4F6);
|
|
190
|
-
|
|
191
|
-
--astryx-spacing-0: 0;
|
|
192
|
-
--astryx-spacing-0-5: 2px;
|
|
193
|
-
--astryx-spacing-1: 4px;
|
|
194
|
-
--astryx-spacing-1-5: 6px;
|
|
195
|
-
--astryx-spacing-2: 8px;
|
|
196
|
-
--astryx-spacing-3: 12px;
|
|
197
|
-
--astryx-spacing-4: 16px;
|
|
198
|
-
--astryx-spacing-5: 20px;
|
|
199
|
-
--astryx-spacing-6: 24px;
|
|
200
|
-
--astryx-spacing-7: 28px;
|
|
201
|
-
--astryx-spacing-8: 32px;
|
|
202
|
-
--astryx-spacing-9: 36px;
|
|
203
|
-
--astryx-spacing-10: 40px;
|
|
204
|
-
--astryx-spacing-11: 44px;
|
|
205
|
-
--astryx-spacing-12: 48px;
|
|
118
|
+
--astryx-spacing-0: 0rem;
|
|
119
|
+
--astryx-spacing-0-5: 0.125rem;
|
|
120
|
+
--astryx-spacing-1: 0.25rem;
|
|
121
|
+
--astryx-spacing-1-5: 0.375rem;
|
|
122
|
+
--astryx-spacing-2: 0.5rem;
|
|
123
|
+
--astryx-spacing-3: 0.75rem;
|
|
124
|
+
--astryx-spacing-4: 1rem;
|
|
125
|
+
--astryx-spacing-5: 1.25rem;
|
|
126
|
+
--astryx-spacing-6: 1.5rem;
|
|
127
|
+
--astryx-spacing-7: 1.75rem;
|
|
128
|
+
--astryx-spacing-8: 2rem;
|
|
129
|
+
--astryx-spacing-9: 2.25rem;
|
|
130
|
+
--astryx-spacing-10: 2.5rem;
|
|
131
|
+
--astryx-spacing-11: 2.75rem;
|
|
132
|
+
--astryx-spacing-12: 3rem;
|
|
206
133
|
|
|
207
134
|
--astryx-size-element-sm: 32px;
|
|
208
135
|
--astryx-size-element-md: 40px;
|
|
@@ -245,7 +172,7 @@
|
|
|
245
172
|
--astryx-ease-standard: cubic-bezier(0.24, 1, 0.4, 1);
|
|
246
173
|
|
|
247
174
|
--astryx-font-family-body: Outfit, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
248
|
-
--astryx-font-family-code: 'JetBrains Mono',
|
|
175
|
+
--astryx-font-family-code: 'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;
|
|
249
176
|
--astryx-font-family-heading: Outfit, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
250
177
|
|
|
251
178
|
--astryx-font-size-4xs: 0.3125rem;
|
package/butter/button.css
CHANGED
|
@@ -4,8 +4,14 @@
|
|
|
4
4
|
[data-astryx-theme='butter'] {
|
|
5
5
|
--astryx-button-primary-background: var(--astryx-color-accent);
|
|
6
6
|
--astryx-button-primary-foreground: var(--astryx-color-on-accent);
|
|
7
|
+
--astryx-button-padding-block: var(--astryx-spacing-3);
|
|
8
|
+
--astryx-button-padding-inline: var(--astryx-spacing-4);
|
|
7
9
|
--astryx-button-secondary-background: transparent;
|
|
8
10
|
--astryx-button-secondary-foreground: light-dark(#225BFF, #FDEE8C);
|
|
11
|
+
--astryx-button-secondary-border-width: 1.5px;
|
|
12
|
+
--astryx-button-secondary-border-style: solid;
|
|
13
|
+
--astryx-button-secondary-border-color: light-dark(#225BFF, #FDEE8C);
|
|
14
|
+
--astryx-button-secondary-hover-overlay: light-dark(#225BFF14, #FDEE8C14);
|
|
9
15
|
--astryx-button-ghost-background: transparent;
|
|
10
16
|
--astryx-button-ghost-foreground: light-dark(#225BFF, #FDEE8C);
|
|
11
17
|
--astryx-button-destructive-background: light-dark(#ffdad3, #f4b8ae);
|
package/butter/card.css
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
[data-astryx-theme='butter'] {
|
|
5
5
|
--astryx-card-background: var(--astryx-color-background-card);
|
|
6
|
+
--astryx-card-padding: var(--astryx-spacing-4);
|
|
6
7
|
--astryx-card-muted-background: var(--astryx-color-background-muted);
|
|
7
8
|
--astryx-card-border: var(--astryx-color-border);
|
|
8
9
|
--astryx-card-shadow-low: var(--astryx-shadow-low);
|
|
@@ -21,3 +22,83 @@
|
|
|
21
22
|
--astryx-card-yellow-background: var(--astryx-color-background-yellow);
|
|
22
23
|
}
|
|
23
24
|
}
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* 分类色底上,卡片把共享的文字 token 重指到固定的深色,保证标签可读。
|
|
28
|
+
*/
|
|
29
|
+
@layer astryx.overrides {
|
|
30
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='info'] {
|
|
31
|
+
--astryx-color-text-primary: #1d1c11;
|
|
32
|
+
--astryx-color-text-secondary: #605f52;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='success'] {
|
|
36
|
+
--astryx-color-text-primary: #1d1c11;
|
|
37
|
+
--astryx-color-text-secondary: #605f52;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='warning'] {
|
|
41
|
+
--astryx-color-text-primary: #1d1c11;
|
|
42
|
+
--astryx-color-text-secondary: #605f52;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='error'] {
|
|
46
|
+
--astryx-color-text-primary: #1d1c11;
|
|
47
|
+
--astryx-color-text-secondary: #605f52;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='blue'] {
|
|
51
|
+
--astryx-color-text-primary: #1d1c11;
|
|
52
|
+
--astryx-color-text-secondary: #605f52;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='cyan'] {
|
|
56
|
+
--astryx-color-text-primary: #1d1c11;
|
|
57
|
+
--astryx-color-text-secondary: #605f52;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='gray'] {
|
|
61
|
+
--astryx-color-text-primary: #1d1c11;
|
|
62
|
+
--astryx-color-text-secondary: #605f52;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='green'] {
|
|
66
|
+
--astryx-color-text-primary: #1d1c11;
|
|
67
|
+
--astryx-color-text-secondary: #605f52;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='orange'] {
|
|
71
|
+
--astryx-color-text-primary: #1d1c11;
|
|
72
|
+
--astryx-color-text-secondary: #605f52;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='pink'] {
|
|
76
|
+
--astryx-color-text-primary: #1d1c11;
|
|
77
|
+
--astryx-color-text-secondary: #605f52;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='purple'] {
|
|
81
|
+
--astryx-color-text-primary: #1d1c11;
|
|
82
|
+
--astryx-color-text-secondary: #605f52;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='red'] {
|
|
86
|
+
--astryx-color-text-primary: #1d1c11;
|
|
87
|
+
--astryx-color-text-secondary: #605f52;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='teal'] {
|
|
91
|
+
--astryx-color-text-primary: #1d1c11;
|
|
92
|
+
--astryx-color-text-secondary: #605f52;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='yellow'] {
|
|
96
|
+
--astryx-color-text-primary: #1d1c11;
|
|
97
|
+
--astryx-color-text-secondary: #605f52;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[data-astryx-theme='butter'] .astryx-card[data-variant='muted'] {
|
|
101
|
+
--astryx-color-text-primary: #1d1c11;
|
|
102
|
+
--astryx-color-text-secondary: #605f52;
|
|
103
|
+
}
|
|
104
|
+
}
|
package/butter/input.css
CHANGED
|
@@ -3,19 +3,22 @@
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
[data-astryx-theme='butter'] {
|
|
5
5
|
--astryx-input-background: var(--astryx-color-background-surface);
|
|
6
|
-
--astryx-input-border: var(--astryx-color-border
|
|
6
|
+
--astryx-input-border: var(--astryx-color-border);
|
|
7
|
+
--astryx-input-padding-block: var(--astryx-spacing-2);
|
|
8
|
+
--astryx-input-padding-inline: var(--astryx-spacing-3);
|
|
7
9
|
--astryx-input-focus: var(--astryx-color-accent);
|
|
8
10
|
--astryx-input-height-sm: 28px;
|
|
9
11
|
--astryx-input-height-md: 32px;
|
|
10
12
|
--astryx-input-height-lg: 36px;
|
|
11
|
-
|
|
12
|
-
--astryx-input-error
|
|
13
|
-
--astryx-input-error-
|
|
14
|
-
--astryx-input-
|
|
15
|
-
--astryx-input-warning
|
|
16
|
-
--astryx-input-warning-
|
|
17
|
-
--astryx-input-
|
|
18
|
-
--astryx-input-success
|
|
19
|
-
--astryx-input-success-
|
|
13
|
+
/* 状态描边、状态图标和状态提示条都用状态条那套醒目色。 */
|
|
14
|
+
--astryx-input-error: #fc473b;
|
|
15
|
+
--astryx-input-error-foreground: #ffffff;
|
|
16
|
+
--astryx-input-error-background: #fc473b;
|
|
17
|
+
--astryx-input-warning: #ffc502;
|
|
18
|
+
--astryx-input-warning-foreground: #1d1c11;
|
|
19
|
+
--astryx-input-warning-background: #ffc502;
|
|
20
|
+
--astryx-input-success: #91d143;
|
|
21
|
+
--astryx-input-success-foreground: #1d1c11;
|
|
22
|
+
--astryx-input-success-background: #91d143;
|
|
20
23
|
}
|
|
21
24
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Butter type scale on touch devices.
|
|
3
|
+
*
|
|
4
|
+
* On a coarse pointer below the lg breakpoint the whole ladder is re-derived
|
|
5
|
+
* from a 16px base with a smaller ratio, so body text reaches 16px while the
|
|
6
|
+
* display sizes keep their desktop look. Sizes are re-derived here instead of
|
|
7
|
+
* swapping the base size, because every size token is an absolute rem value.
|
|
8
|
+
*/
|
|
9
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
10
|
+
|
|
11
|
+
@layer astryx.tokens {
|
|
12
|
+
@media (width < 1024px) and (pointer: coarse) {
|
|
13
|
+
[data-astryx-theme='butter'] {
|
|
14
|
+
--astryx-font-size-4xs: 0.375rem;
|
|
15
|
+
--astryx-font-size-3xs: 0.4375rem;
|
|
16
|
+
--astryx-font-size-2xs: 0.5625rem;
|
|
17
|
+
--astryx-font-size-xs: 0.6875rem;
|
|
18
|
+
--astryx-font-size-sm: 0.8125rem;
|
|
19
|
+
--astryx-font-size-base: 1rem;
|
|
20
|
+
--astryx-font-size-lg: 1.25rem;
|
|
21
|
+
--astryx-font-size-xl: 1.5rem;
|
|
22
|
+
--astryx-font-size-2xl: 1.8125rem;
|
|
23
|
+
--astryx-font-size-3xl: 2.25rem;
|
|
24
|
+
--astryx-font-size-4xl: 2.75rem;
|
|
25
|
+
|
|
26
|
+
--astryx-text-heading-1-size: var(--astryx-font-size-2xl);
|
|
27
|
+
--astryx-text-heading-1-leading: 1.3793;
|
|
28
|
+
--astryx-text-heading-2-size: var(--astryx-font-size-xl);
|
|
29
|
+
--astryx-text-heading-2-leading: 1.3333;
|
|
30
|
+
--astryx-text-heading-3-size: var(--astryx-font-size-lg);
|
|
31
|
+
--astryx-text-heading-3-leading: 1.4;
|
|
32
|
+
--astryx-text-heading-4-size: var(--astryx-font-size-base);
|
|
33
|
+
--astryx-text-heading-4-leading: 1.5;
|
|
34
|
+
--astryx-text-heading-5-size: var(--astryx-font-size-sm);
|
|
35
|
+
--astryx-text-heading-5-leading: 1.5385;
|
|
36
|
+
--astryx-text-heading-6-size: var(--astryx-font-size-xs);
|
|
37
|
+
--astryx-text-heading-6-leading: 1.4545;
|
|
38
|
+
--astryx-text-body-size: var(--astryx-font-size-base);
|
|
39
|
+
--astryx-text-body-leading: 1.5;
|
|
40
|
+
--astryx-text-large-size: var(--astryx-font-size-lg);
|
|
41
|
+
--astryx-text-large-leading: 1.4;
|
|
42
|
+
--astryx-text-label-size: var(--astryx-font-size-base);
|
|
43
|
+
--astryx-text-label-leading: 1.5;
|
|
44
|
+
--astryx-text-code-size: var(--astryx-font-size-base);
|
|
45
|
+
--astryx-text-code-leading: 1.5;
|
|
46
|
+
--astryx-text-supporting-size: var(--astryx-font-size-sm);
|
|
47
|
+
--astryx-text-supporting-leading: 1.5385;
|
|
48
|
+
--astryx-text-display-1-size: var(--astryx-font-size-5xl);
|
|
49
|
+
--astryx-text-display-2-size: var(--astryx-font-size-4xl);
|
|
50
|
+
--astryx-text-display-2-leading: 1.2727;
|
|
51
|
+
--astryx-text-display-3-size: var(--astryx-font-size-3xl);
|
|
52
|
+
--astryx-text-display-3-leading: 1.2222;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
package/butter/progress-bar.css
CHANGED
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
--astryx-progress-bar-track-height: 8px;
|
|
6
6
|
--astryx-progress-bar-track-height-sm: 4px;
|
|
7
7
|
--astryx-progress-bar-track-height-lg: 12px;
|
|
8
|
-
--astryx-progress-bar-track-background:
|
|
8
|
+
--astryx-progress-bar-track-background: light-dark(#e5e3d4, #725538);
|
|
9
9
|
--astryx-progress-bar-fill-background: var(--astryx-color-accent);
|
|
10
|
-
|
|
11
|
-
--astryx-progress-bar-
|
|
12
|
-
--astryx-progress-bar-
|
|
10
|
+
/* 填充用和状态条同一套醒目色。 */
|
|
11
|
+
--astryx-progress-bar-success-fill: #91d143;
|
|
12
|
+
--astryx-progress-bar-warning-fill: #ffc502;
|
|
13
|
+
--astryx-progress-bar-error-fill: #fc473b;
|
|
13
14
|
--astryx-progress-bar-info-fill: var(--astryx-color-background-blue);
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* 顶部导航用品牌蓝:标题和选中项是正蓝,未选中项是浅一档的蓝。深色模式下
|
|
5
|
+
* 换成黄油黄。标题的文字在内部元素上读 --astryx-color-text-primary,所以
|
|
6
|
+
* 要连这个 token 一起重指,只改 color 只能染到容器。
|
|
7
|
+
*/
|
|
8
|
+
@layer astryx.overrides {
|
|
9
|
+
[data-astryx-theme='butter'] .astryx-top-nav-heading {
|
|
10
|
+
color: light-dark(#225bff, #fdee8c);
|
|
11
|
+
--astryx-color-text-primary: light-dark(#225bff, #fdee8c);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-astryx-theme='butter'] .astryx-top-nav-item {
|
|
15
|
+
color: light-dark(#6e92ff, #fdee8ccc);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* 选中项不用底色,靠字重和颜色区别;悬停和按压只叠中性层。 */
|
|
19
|
+
[data-astryx-theme='butter'] .astryx-top-nav-item.astryx-nav-item--selected {
|
|
20
|
+
color: light-dark(#225bff, #fdee8c);
|
|
21
|
+
background: transparent;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (hover: hover) {
|
|
25
|
+
[data-astryx-theme='butter'] .astryx-top-nav-item.astryx-nav-item--selected:hover {
|
|
26
|
+
background: var(--astryx-color-overlay-hover);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media not all and (pointer: coarse) {
|
|
31
|
+
[data-astryx-theme='butter'] .astryx-top-nav-item.astryx-nav-item--selected:active {
|
|
32
|
+
background: var(--astryx-color-overlay-pressed);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
package/butter.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* 这个文件由 `pnpm sync` 生成,不要手改。 */
|
|
2
2
|
@import './fonts.css';
|
|
3
|
+
@import './data.css';
|
|
3
4
|
@import './butter/alert-dialog.css';
|
|
4
5
|
@import './butter/avatar.css';
|
|
5
6
|
@import './butter/avatar-group.css';
|
|
@@ -30,12 +31,14 @@
|
|
|
30
31
|
@import './butter/link.css';
|
|
31
32
|
@import './butter/list.css';
|
|
32
33
|
@import './butter/mobile-nav.css';
|
|
34
|
+
@import './butter/mobile-type.css';
|
|
33
35
|
@import './butter/more-menu.css';
|
|
34
36
|
@import './butter/nav-menu.css';
|
|
35
37
|
@import './butter/overlay.css';
|
|
36
38
|
@import './butter/popover.css';
|
|
37
39
|
@import './butter/progress-bar.css';
|
|
38
40
|
@import './butter/radio.css';
|
|
41
|
+
@import './butter/section.css';
|
|
39
42
|
@import './butter/segmented-control.css';
|
|
40
43
|
@import './butter/side-nav.css';
|
|
41
44
|
@import './butter/skeleton.css';
|
|
@@ -49,3 +52,4 @@
|
|
|
49
52
|
@import './butter/toggle-button.css';
|
|
50
53
|
@import './butter/token.css';
|
|
51
54
|
@import './butter/tooltip.css';
|
|
55
|
+
@import './butter/top-nav.css';
|
package/chocolate/base.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Chocolate semantic tokens.
|
|
3
3
|
*
|
|
4
|
-
* Warm brown and cozy beige. Albert Sans for text, Fraunces for headings. Values follow @astryxdesign/theme-chocolate 0.7.
|
|
4
|
+
* Warm brown and cozy beige. Albert Sans for text, Fraunces for headings. Values follow @astryxdesign/theme-chocolate 0.7.1.
|
|
5
5
|
* Names match Neutral, with an --astryx- prefix.
|
|
6
6
|
* A token present in the upstream theme.css replaces the Neutral value.
|
|
7
7
|
* Tokens the theme does not set keep the shared default from Neutral's base.
|
|
@@ -115,94 +115,21 @@
|
|
|
115
115
|
--astryx-color-icon-yellow: light-dark(#FFB600, #ffc940);
|
|
116
116
|
--astryx-color-text-yellow: light-dark(#cc9200, #ffd960);
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
--astryx-
|
|
125
|
-
--astryx-
|
|
126
|
-
--astryx-
|
|
127
|
-
--astryx-
|
|
128
|
-
--astryx-
|
|
129
|
-
--astryx-
|
|
130
|
-
--astryx-
|
|
131
|
-
--astryx-
|
|
132
|
-
--astryx-
|
|
133
|
-
--astryx-color-data-categorical-indigo: light-dark(#6F8AFF, #6F8AFF);
|
|
134
|
-
|
|
135
|
-
--astryx-color-data-neutral: light-dark(#8494A3, #8C939B);
|
|
136
|
-
|
|
137
|
-
--astryx-color-data-blue-5: light-dark(#02165E, #02165E);
|
|
138
|
-
--astryx-color-data-blue-4: light-dark(#004CBC, #004CBC);
|
|
139
|
-
--astryx-color-data-blue-3: light-dark(#2694FE, #2694FE);
|
|
140
|
-
--astryx-color-data-blue-2: light-dark(#78BEFF, #78BEFF);
|
|
141
|
-
--astryx-color-data-blue-1: light-dark(#DBECFF, #DBECFF);
|
|
142
|
-
|
|
143
|
-
--astryx-color-data-shamrock-5: light-dark(#0B603D, #0B603D);
|
|
144
|
-
--astryx-color-data-shamrock-4: light-dark(#138546, #138546);
|
|
145
|
-
--astryx-color-data-shamrock-3: light-dark(#24BB5E, #24BB5E);
|
|
146
|
-
--astryx-color-data-shamrock-2: light-dark(#8EF7AA, #8EF7AA);
|
|
147
|
-
--astryx-color-data-shamrock-1: light-dark(#D6FEE4, #D6FEE4);
|
|
148
|
-
|
|
149
|
-
--astryx-color-data-orange-5: light-dark(#A13F04, #A13F04);
|
|
150
|
-
--astryx-color-data-orange-4: light-dark(#D66100, #D66100);
|
|
151
|
-
--astryx-color-data-orange-3: light-dark(#FD9537, #FD9537);
|
|
152
|
-
--astryx-color-data-orange-2: light-dark(#FDB876, #FDB876);
|
|
153
|
-
--astryx-color-data-orange-1: light-dark(#FFE6CF, #FFE6CF);
|
|
154
|
-
|
|
155
|
-
--astryx-color-data-pink-5: light-dark(#8E1073, #8E1073);
|
|
156
|
-
--astryx-color-data-pink-4: light-dark(#D123A1, #D123A1);
|
|
157
|
-
--astryx-color-data-pink-3: light-dark(#F989D3, #F989D3);
|
|
158
|
-
--astryx-color-data-pink-2: light-dark(#FEADE3, #FEADE3);
|
|
159
|
-
--astryx-color-data-pink-1: light-dark(#FCE3F4, #FCE3F4);
|
|
160
|
-
|
|
161
|
-
--astryx-color-data-purple-5: light-dark(#3E0697, #3E0697);
|
|
162
|
-
--astryx-color-data-purple-4: light-dark(#6B1EFD, #6B1EFD);
|
|
163
|
-
--astryx-color-data-purple-3: light-dark(#9081FF, #9081FF);
|
|
164
|
-
--astryx-color-data-purple-2: light-dark(#B3B0FE, #B3B0FE);
|
|
165
|
-
--astryx-color-data-purple-1: light-dark(#E8E8FB, #E8E8FB);
|
|
166
|
-
|
|
167
|
-
--astryx-color-data-red-5: light-dark(#9D0519, #9D0519);
|
|
168
|
-
--astryx-color-data-red-4: light-dark(#D31130, #D31130);
|
|
169
|
-
--astryx-color-data-red-3: light-dark(#FB7D87, #FB7D87);
|
|
170
|
-
--astryx-color-data-red-2: light-dark(#FFB2B8, #FFB2B8);
|
|
171
|
-
--astryx-color-data-red-1: light-dark(#FEE4E6, #FEE4E6);
|
|
172
|
-
|
|
173
|
-
--astryx-color-data-teal-5: light-dark(#08767D, #08767D);
|
|
174
|
-
--astryx-color-data-teal-4: light-dark(#0C9293, #0C9293);
|
|
175
|
-
--astryx-color-data-teal-3: light-dark(#0DB7AF, #0DB7AF);
|
|
176
|
-
--astryx-color-data-teal-2: light-dark(#6CE6D8, #6CE6D8);
|
|
177
|
-
--astryx-color-data-teal-1: light-dark(#D7FCF8, #D7FCF8);
|
|
178
|
-
|
|
179
|
-
--astryx-color-data-yellow-5: light-dark(#8A5001, #8A5001);
|
|
180
|
-
--astryx-color-data-yellow-4: light-dark(#D69804, #D69804);
|
|
181
|
-
--astryx-color-data-yellow-3: light-dark(#FBCE03, #FBCE03);
|
|
182
|
-
--astryx-color-data-yellow-2: light-dark(#FCEC85, #FCEC85);
|
|
183
|
-
--astryx-color-data-yellow-1: light-dark(#FDF6BA, #FDF6BA);
|
|
184
|
-
|
|
185
|
-
--astryx-color-data-gray-5: light-dark(#25363F, #333338);
|
|
186
|
-
--astryx-color-data-gray-4: light-dark(#5D6C7B, #666A72);
|
|
187
|
-
--astryx-color-data-gray-3: light-dark(#AFB9C4, #B2B8BE);
|
|
188
|
-
--astryx-color-data-gray-2: light-dark(#CCD3DB, #D0D3D6);
|
|
189
|
-
--astryx-color-data-gray-1: light-dark(#F1F4F7, #F2F4F6);
|
|
190
|
-
|
|
191
|
-
--astryx-spacing-0: 0;
|
|
192
|
-
--astryx-spacing-0-5: 2px;
|
|
193
|
-
--astryx-spacing-1: 4px;
|
|
194
|
-
--astryx-spacing-1-5: 6px;
|
|
195
|
-
--astryx-spacing-2: 8px;
|
|
196
|
-
--astryx-spacing-3: 12px;
|
|
197
|
-
--astryx-spacing-4: 16px;
|
|
198
|
-
--astryx-spacing-5: 20px;
|
|
199
|
-
--astryx-spacing-6: 24px;
|
|
200
|
-
--astryx-spacing-7: 28px;
|
|
201
|
-
--astryx-spacing-8: 32px;
|
|
202
|
-
--astryx-spacing-9: 36px;
|
|
203
|
-
--astryx-spacing-10: 40px;
|
|
204
|
-
--astryx-spacing-11: 44px;
|
|
205
|
-
--astryx-spacing-12: 48px;
|
|
118
|
+
--astryx-spacing-0: 0rem;
|
|
119
|
+
--astryx-spacing-0-5: 0.125rem;
|
|
120
|
+
--astryx-spacing-1: 0.25rem;
|
|
121
|
+
--astryx-spacing-1-5: 0.375rem;
|
|
122
|
+
--astryx-spacing-2: 0.5rem;
|
|
123
|
+
--astryx-spacing-3: 0.75rem;
|
|
124
|
+
--astryx-spacing-4: 1rem;
|
|
125
|
+
--astryx-spacing-5: 1.25rem;
|
|
126
|
+
--astryx-spacing-6: 1.5rem;
|
|
127
|
+
--astryx-spacing-7: 1.75rem;
|
|
128
|
+
--astryx-spacing-8: 2rem;
|
|
129
|
+
--astryx-spacing-9: 2.25rem;
|
|
130
|
+
--astryx-spacing-10: 2.5rem;
|
|
131
|
+
--astryx-spacing-11: 2.75rem;
|
|
132
|
+
--astryx-spacing-12: 3rem;
|
|
206
133
|
|
|
207
134
|
--astryx-size-element-sm: 28px;
|
|
208
135
|
--astryx-size-element-md: 32px;
|
|
@@ -245,7 +172,7 @@
|
|
|
245
172
|
--astryx-ease-standard: cubic-bezier(0.24, 1, 0.4, 1);
|
|
246
173
|
|
|
247
174
|
--astryx-font-family-body: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
248
|
-
--astryx-font-family-code: 'JetBrains Mono',
|
|
175
|
+
--astryx-font-family-code: 'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;
|
|
249
176
|
--astryx-font-family-heading: Fraunces, Georgia, 'Times New Roman', Times, serif;
|
|
250
177
|
|
|
251
178
|
--astryx-font-size-4xs: 0.375rem;
|
package/chocolate/button.css
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
--astryx-button-primary-foreground: var(--astryx-color-on-accent);
|
|
7
7
|
--astryx-button-secondary-background: var(--astryx-color-neutral);
|
|
8
8
|
--astryx-button-secondary-foreground: var(--astryx-color-text-primary);
|
|
9
|
+
--astryx-button-radius: var(--astryx-radius-full);
|
|
10
|
+
--astryx-button-secondary-border-width: 1px;
|
|
11
|
+
--astryx-button-secondary-border-style: solid;
|
|
12
|
+
--astryx-button-secondary-border-color: var(--astryx-color-border-emphasized);
|
|
9
13
|
--astryx-button-ghost-background: transparent;
|
|
10
14
|
--astryx-button-ghost-foreground: var(--astryx-color-text-primary);
|
|
11
15
|
--astryx-button-destructive-background: var(--astryx-color-error-muted);
|
|
@@ -22,9 +26,3 @@
|
|
|
22
26
|
--astryx-button-shadow-high: var(--astryx-shadow-high);
|
|
23
27
|
}
|
|
24
28
|
}
|
|
25
|
-
|
|
26
|
-
@layer astryx.components {
|
|
27
|
-
[data-astryx-theme='chocolate'] .astryx-button[data-variant='secondary'] {
|
|
28
|
-
border: 1px solid var(--astryx-color-border-emphasized);
|
|
29
|
-
}
|
|
30
|
-
}
|
package/chocolate/card.css
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--astryx-card-background: var(--astryx-color-background-card);
|
|
6
6
|
--astryx-card-muted-background: var(--astryx-color-background-muted);
|
|
7
7
|
--astryx-card-border: var(--astryx-color-border);
|
|
8
|
+
--astryx-card-padding: var(--astryx-spacing-3);
|
|
8
9
|
--astryx-card-shadow-low: var(--astryx-shadow-low);
|
|
9
10
|
--astryx-card-shadow-med: var(--astryx-shadow-med);
|
|
10
11
|
--astryx-card-shadow-high: var(--astryx-shadow-high);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chocolate type scale on touch devices.
|
|
3
|
+
*
|
|
4
|
+
* On a coarse pointer below the lg breakpoint the whole ladder is re-derived
|
|
5
|
+
* from a 16px base with a smaller ratio, so body text reaches 16px while the
|
|
6
|
+
* display sizes keep their desktop look. Sizes are re-derived here instead of
|
|
7
|
+
* swapping the base size, because every size token is an absolute rem value.
|
|
8
|
+
*/
|
|
9
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
10
|
+
|
|
11
|
+
@layer astryx.tokens {
|
|
12
|
+
@media (width < 1024px) and (pointer: coarse) {
|
|
13
|
+
[data-astryx-theme='chocolate'] {
|
|
14
|
+
--astryx-font-size-4xs: 0.4375rem;
|
|
15
|
+
--astryx-font-size-3xs: 0.5rem;
|
|
16
|
+
--astryx-font-size-2xs: 0.625rem;
|
|
17
|
+
--astryx-font-size-xs: 0.75rem;
|
|
18
|
+
--astryx-font-size-sm: 0.875rem;
|
|
19
|
+
--astryx-font-size-base: 1rem;
|
|
20
|
+
--astryx-font-size-lg: 1.1875rem;
|
|
21
|
+
--astryx-font-size-xl: 1.375rem;
|
|
22
|
+
--astryx-font-size-2xl: 1.625rem;
|
|
23
|
+
--astryx-font-size-3xl: 1.875rem;
|
|
24
|
+
--astryx-font-size-4xl: 2.25rem;
|
|
25
|
+
|
|
26
|
+
--astryx-text-heading-1-size: var(--astryx-font-size-2xl);
|
|
27
|
+
--astryx-text-heading-1-leading: 1.3846;
|
|
28
|
+
--astryx-text-heading-2-size: var(--astryx-font-size-xl);
|
|
29
|
+
--astryx-text-heading-2-leading: 1.4545;
|
|
30
|
+
--astryx-text-heading-3-size: var(--astryx-font-size-lg);
|
|
31
|
+
--astryx-text-heading-3-leading: 1.4737;
|
|
32
|
+
--astryx-text-heading-4-size: var(--astryx-font-size-base);
|
|
33
|
+
--astryx-text-heading-4-leading: 1.5;
|
|
34
|
+
--astryx-text-heading-5-size: var(--astryx-font-size-sm);
|
|
35
|
+
--astryx-text-heading-5-leading: 1.4286;
|
|
36
|
+
--astryx-text-heading-6-size: var(--astryx-font-size-xs);
|
|
37
|
+
--astryx-text-heading-6-leading: 1.6667;
|
|
38
|
+
--astryx-text-body-size: var(--astryx-font-size-base);
|
|
39
|
+
--astryx-text-body-leading: 1.5;
|
|
40
|
+
--astryx-text-large-size: var(--astryx-font-size-lg);
|
|
41
|
+
--astryx-text-large-leading: 1.4737;
|
|
42
|
+
--astryx-text-label-size: var(--astryx-font-size-base);
|
|
43
|
+
--astryx-text-label-leading: 1.5;
|
|
44
|
+
--astryx-text-code-size: var(--astryx-font-size-base);
|
|
45
|
+
--astryx-text-code-leading: 1.5;
|
|
46
|
+
--astryx-text-supporting-size: var(--astryx-font-size-sm);
|
|
47
|
+
--astryx-text-supporting-leading: 1.4286;
|
|
48
|
+
--astryx-text-display-1-size: var(--astryx-font-size-5xl);
|
|
49
|
+
--astryx-text-display-2-size: var(--astryx-font-size-4xl);
|
|
50
|
+
--astryx-text-display-2-leading: 1.2222;
|
|
51
|
+
--astryx-text-display-3-size: var(--astryx-font-size-3xl);
|
|
52
|
+
--astryx-text-display-3-leading: 1.4667;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|