@astryx-vue/themes 0.7.21 → 0.7.22
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/y2k/own-fill.css
ADDED
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.overrides {
|
|
4
|
+
/*
|
|
5
|
+
* 自带填充的部件(卡片、浮层、输入框、菜单……)把主题自己的文字色和链接色重新设一遍,
|
|
6
|
+
* 放在分类色卡片里时不会继承卡片的深色文字。对应原版主题的 OWN_FILL_RULES。
|
|
7
|
+
*/
|
|
8
|
+
[data-astryx-theme='y2k'] .astryx-file-input {
|
|
9
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
10
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
11
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[data-astryx-theme='y2k'] .astryx-selector-field[data-variant='input'] {
|
|
15
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
16
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
17
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
[data-astryx-theme='y2k'] .astryx-multi-selector-control[data-variant='input'] {
|
|
21
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
22
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
23
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-astryx-theme='y2k'] .astryx-card[data-variant='default'] {
|
|
27
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
28
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
29
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-astryx-theme='y2k'] .astryx-card[data-variant='muted'] {
|
|
33
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
34
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
35
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[data-astryx-theme='y2k'] .astryx-section[data-variant='section'] {
|
|
39
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
40
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
41
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-astryx-theme='y2k'] .astryx-section[data-variant='muted'] {
|
|
45
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
46
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
47
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-astryx-theme='y2k'] .astryx-clickable-card[data-variant='default'] {
|
|
51
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
52
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
53
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[data-astryx-theme='y2k'] .astryx-clickable-card[data-variant='muted'] {
|
|
57
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
58
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
59
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-astryx-theme='y2k'] .astryx-selectable-card[data-variant='default'] {
|
|
63
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
64
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
65
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-astryx-theme='y2k'] .astryx-selectable-card[data-variant='muted'] {
|
|
69
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
70
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
71
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[data-astryx-theme='y2k'] .astryx-app-shell[data-variant='surface'] {
|
|
75
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
76
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
77
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[data-astryx-theme='y2k'] .astryx-app-shell[data-variant='section'] {
|
|
81
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
82
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
83
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[data-astryx-theme='y2k'] .astryx-app-shell__header[data-variant='surface'] {
|
|
87
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
88
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
89
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[data-astryx-theme='y2k'] .astryx-app-shell__sidenav[data-variant='surface'] {
|
|
93
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
94
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
95
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
[data-astryx-theme='y2k'] .astryx-layout-panel {
|
|
99
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
100
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
101
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
[data-astryx-theme='y2k'] .astryx-layout-content {
|
|
105
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
106
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
107
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
[data-astryx-theme='y2k'] .astryx-code {
|
|
111
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
112
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
113
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[data-astryx-theme='y2k'] .astryx-avatar {
|
|
117
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
118
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
119
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-astryx-theme='y2k'] .astryx-avatar-group-overflow {
|
|
123
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
124
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
125
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[data-astryx-theme='y2k'] .astryx-segmented-control-item[data-selected='true'] {
|
|
129
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
130
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
131
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[data-astryx-theme='y2k'] .astryx-step-indicator[data-progress='not-started'] {
|
|
135
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
136
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
137
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
[data-astryx-theme='y2k'] .astryx-table tbody tr:nth-child(even of :not([data-expansion-panel])) {
|
|
141
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
142
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
143
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
144
|
+
color: var(--astryx-color-text-primary);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[data-astryx-theme='y2k'] .astryx-banner-content {
|
|
148
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
149
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
150
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
[data-astryx-theme='y2k'] .astryx-input-group-text {
|
|
154
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
155
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
156
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[data-astryx-theme='y2k'] .astryx-text-input {
|
|
160
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
161
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
162
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
[data-astryx-theme='y2k'] .astryx-text-area {
|
|
166
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
167
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
168
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
[data-astryx-theme='y2k'] .astryx-number-input {
|
|
172
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
173
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
174
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
[data-astryx-theme='y2k'] .astryx-date-input {
|
|
178
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
179
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
180
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
[data-astryx-theme='y2k'] .astryx-date-range-input {
|
|
184
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
185
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
186
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
[data-astryx-theme='y2k'] .astryx-time-input {
|
|
190
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
191
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
192
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
[data-astryx-theme='y2k'] .astryx-typeahead {
|
|
196
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
197
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
198
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
[data-astryx-theme='y2k'] .astryx-tokenizer {
|
|
202
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
203
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
204
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
[data-astryx-theme='y2k'] .astryx-selector-listbox {
|
|
208
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
209
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
210
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
[data-astryx-theme='y2k'] .astryx-multi-selector-listbox {
|
|
214
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
215
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
216
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
[data-astryx-theme='y2k'] .astryx-dropdown-menu {
|
|
220
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
221
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
222
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
[data-astryx-theme='y2k'] .astryx-dropdown-menu-radio {
|
|
226
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
227
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
228
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[data-astryx-theme='y2k'] .astryx-context-menu {
|
|
232
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
233
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
234
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
[data-astryx-theme='y2k'] .astryx-popover {
|
|
238
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
239
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
240
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
[data-astryx-theme='y2k'] .astryx-hover-card {
|
|
244
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
245
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
246
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
[data-astryx-theme='y2k'] .astryx-dialog {
|
|
250
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
251
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
252
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
[data-astryx-theme='y2k'] .astryx-drawer {
|
|
256
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
257
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
258
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
[data-astryx-theme='y2k'] .astryx-bottom-sheet {
|
|
262
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
263
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
264
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
[data-astryx-theme='y2k'] .astryx-chat-drawer {
|
|
268
|
+
--astryx-color-text-primary: light-dark(#2d241b, #edeffc);
|
|
269
|
+
--astryx-color-text-secondary: light-dark(#5a5146, #a6acd6);
|
|
270
|
+
--astryx-color-text-accent: light-dark(#2d241b, #edeffc);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@layer astryx.reset, astryx.tokens, astryx.base, astryx.components, astryx.overrides;
|
|
2
|
+
|
|
3
|
+
@layer astryx.overrides {
|
|
4
|
+
/* 选中的行、树节点和单选项底下有一层选中填充,次要文字退一档才够 4.5:1。 */
|
|
5
|
+
[data-astryx-theme='y2k'] .astryx-item[data-selected='true'],
|
|
6
|
+
[data-astryx-theme='y2k'] .astryx-tree-list__content[data-selected='true'],
|
|
7
|
+
[data-astryx-theme='y2k'] .astryx-radio:has(.astryx-radio-native:checked),
|
|
8
|
+
[data-astryx-theme='y2k'] .astryx-file-input[data-mode='dropzone'] {
|
|
9
|
+
--astryx-color-text-secondary: light-dark(#4f453b, #a6acd6);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* 数字角标是同一层填充上的小药丸。 */
|
|
13
|
+
[data-astryx-theme='y2k'] .astryx-citation[data-variant='number'] {
|
|
14
|
+
--astryx-citation-foreground: light-dark(#4f453b, #a6acd6);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* 分类色卡片里,选中态底下的填充和卡片的深色文字一起,次要文字取更深的一档。 */
|
|
18
|
+
[data-astryx-theme='y2k'] .astryx-item[data-selected='true']:where(:is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) :is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) *):not(:where(:is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) :is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) *)) {
|
|
19
|
+
--astryx-color-text-secondary: light-dark(#4f453b, #4a4f6b);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-astryx-theme='y2k'] .astryx-tree-list__content[data-selected='true']:where(:is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) :is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) *):not(:where(:is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) :is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) *)) {
|
|
23
|
+
--astryx-color-text-secondary: light-dark(#4f453b, #4a4f6b);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-astryx-theme='y2k'] .astryx-citation[data-variant='number']:where(:is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) :is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) *):not(:where(:is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) :is(.astryx-card[data-variant='blue'], .astryx-card[data-variant='cyan'], .astryx-card[data-variant='gray'], .astryx-card[data-variant='green'], .astryx-card[data-variant='orange'], .astryx-card[data-variant='pink'], .astryx-card[data-variant='purple'], .astryx-card[data-variant='red'], .astryx-card[data-variant='teal'], .astryx-card[data-variant='yellow']) :is(.astryx-file-input, .astryx-selector-field[data-variant='input'], .astryx-multi-selector-control[data-variant='input'], .astryx-card[data-variant='default'], .astryx-card[data-variant='muted'], .astryx-section[data-variant='section'], .astryx-section[data-variant='muted'], .astryx-clickable-card[data-variant='default'], .astryx-clickable-card[data-variant='muted'], .astryx-selectable-card[data-variant='default'], .astryx-selectable-card[data-variant='muted'], .astryx-app-shell[data-variant='surface'], .astryx-app-shell[data-variant='section'], .astryx-app-shell__header[data-variant='surface'], .astryx-app-shell__sidenav[data-variant='surface'], .astryx-layout-panel, .astryx-layout-content, .astryx-code, .astryx-avatar, .astryx-avatar-group-overflow, .astryx-segmented-control-item[data-selected='true'], .astryx-step-indicator[data-progress='not-started'], .astryx-banner-content, .astryx-input-group-text, .astryx-text-input, .astryx-text-area, .astryx-number-input, .astryx-date-input, .astryx-date-range-input, .astryx-time-input, .astryx-typeahead, .astryx-tokenizer, .astryx-selector-listbox, .astryx-multi-selector-listbox, .astryx-dropdown-menu, .astryx-dropdown-menu-radio, .astryx-context-menu, .astryx-popover, .astryx-hover-card, .astryx-dialog, .astryx-drawer, .astryx-bottom-sheet, .astryx-chat-drawer) *)) {
|
|
27
|
+
--astryx-citation-foreground: light-dark(#4f453b, #4a4f6b);
|
|
28
|
+
}
|
|
29
|
+
}
|
package/y2k/text.css
CHANGED
|
@@ -22,10 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
[data-astryx-theme='y2k'] .astryx-text--type-display-1,
|
|
24
24
|
[data-astryx-theme='y2k'] .astryx-text--type-display-2,
|
|
25
|
-
[data-astryx-theme='y2k'] .astryx-text--type-display-3
|
|
26
|
-
[data-astryx-theme='y2k'] .astryx-heading--type-display-1,
|
|
27
|
-
[data-astryx-theme='y2k'] .astryx-heading--type-display-2,
|
|
28
|
-
[data-astryx-theme='y2k'] .astryx-heading--type-display-3 {
|
|
25
|
+
[data-astryx-theme='y2k'] .astryx-text--type-display-3 {
|
|
29
26
|
font-family: 'Crimson Text', Georgia, 'Times New Roman', Times, serif;
|
|
30
27
|
}
|
|
31
28
|
}
|
package/y2k/token.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@layer astryx.tokens {
|
|
4
4
|
[data-astryx-theme='y2k'] {
|
|
5
5
|
--astryx-token-default-background: var(--astryx-badge-neutral-background);
|
|
6
|
-
--astryx-token-default-foreground: var(--astryx-
|
|
6
|
+
--astryx-token-default-foreground: var(--astryx-color-text-primary);
|
|
7
7
|
--astryx-token-gray-background: var(--astryx-badge-neutral-background);
|
|
8
8
|
--astryx-token-gray-foreground: var(--astryx-badge-neutral-foreground);
|
|
9
9
|
--astryx-token-blue-background: var(--astryx-badge-blue-background);
|
package/y2k.css
CHANGED
|
@@ -34,11 +34,13 @@
|
|
|
34
34
|
@import './y2k/more-menu.css';
|
|
35
35
|
@import './y2k/nav-menu.css';
|
|
36
36
|
@import './y2k/overlay.css';
|
|
37
|
+
@import './y2k/own-fill.css';
|
|
37
38
|
@import './y2k/popover.css';
|
|
38
39
|
@import './y2k/progress-bar.css';
|
|
39
40
|
@import './y2k/radio.css';
|
|
40
41
|
@import './y2k/section.css';
|
|
41
42
|
@import './y2k/segmented-control.css';
|
|
43
|
+
@import './y2k/selected-text.css';
|
|
42
44
|
@import './y2k/side-nav.css';
|
|
43
45
|
@import './y2k/skeleton.css';
|
|
44
46
|
@import './y2k/slider.css';
|