dsh-theme-gallery 0.2.0 → 0.3.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/README.md +66 -30
- package/lib/client.js +1189 -33
- package/lib/index.js +3 -3
- package/lib/themes/hu-po-mao-mi.json +290 -0
- package/lib/themes/hu-zi-a-huang.json +290 -0
- package/package.json +7 -4
- package/schema/theme.schema.json +3 -3
package/lib/index.js
CHANGED
|
@@ -76,8 +76,8 @@ export const ReadingSchema = z.object({
|
|
|
76
76
|
* the scenery belongs to the skin, not to the app.
|
|
77
77
|
*/
|
|
78
78
|
export const AmbientSchema = z.object({
|
|
79
|
-
kind: z.union(['shan', 'dream', 'caiyun', 'dongyun', 'junyue', 'jiexin', 'fengchen']).required()
|
|
80
|
-
.description('Which
|
|
79
|
+
kind: z.union(['shan', 'dream', 'caiyun', 'dongyun', 'junyue', 'jiexin', 'fengchen', 'humao', 'ahuang']).required()
|
|
80
|
+
.description('Which scene to draw. shan=山青婷彩, dream=梦海游鱼, caiyun=营慕彩云, dongyun=江畔冬云, junyue=徐山军月, jiexin=佩安杰心, fengchen=光彩凤晨, humao=琥珀猫咪(原创), ahuang=虎子阿黄(原创).'),
|
|
81
81
|
petals: z.number().min(0).max(20)
|
|
82
82
|
.description('"shan" only: how many falling petals to seed.'),
|
|
83
83
|
bubbles: z.number().min(0).max(24)
|
|
@@ -93,7 +93,7 @@ export const AmbientSchema = z.object({
|
|
|
93
93
|
snow: z.number().min(0).max(30)
|
|
94
94
|
.description('"dongyun" only: how many snowflakes to seed.'),
|
|
95
95
|
dust: z.number().min(0).max(20)
|
|
96
|
-
.description('"jiexin" only: how many drifting dust motes
|
|
96
|
+
.description('"jiexin" / "humao" / "ahuang" only: how many drifting motes to seed — incense dust, amber sun motes, or dandelion fluff.'),
|
|
97
97
|
feathers: z.number().min(0).max(16)
|
|
98
98
|
.description('"fengchen" only: how many falling phoenix feathers to seed.'),
|
|
99
99
|
dew: z.number().min(0).max(30)
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "hu-po-mao-mi",
|
|
4
|
+
"label": "琥珀猫咪",
|
|
5
|
+
"description": "琥珀暖光,双猫伴读 —— 原创宠物主题:两只虎斑短毛猫守着洒满阳光的窗台",
|
|
6
|
+
"colorScheme": "light",
|
|
7
|
+
"tokens": {
|
|
8
|
+
"--dsw-alias-bg-base": {
|
|
9
|
+
"light": "linear-gradient(to bottom,#FEFBF5 0%,#FBF2E3 55%,#F8EDD8 100%)",
|
|
10
|
+
"dark": "linear-gradient(to bottom,#FEFBF5 0%,#FBF2E3 55%,#F8EDD8 100%)"
|
|
11
|
+
},
|
|
12
|
+
"--dsw-alias-bg-layer-1": {
|
|
13
|
+
"light": "#FEFCF7",
|
|
14
|
+
"dark": "#FEFCF7"
|
|
15
|
+
},
|
|
16
|
+
"--dsw-alias-bg-layer-2": {
|
|
17
|
+
"light": "#FFFFFF",
|
|
18
|
+
"dark": "#FFFFFF"
|
|
19
|
+
},
|
|
20
|
+
"--dsw-alias-bg-layer-3": {
|
|
21
|
+
"light": "#FFFFFF",
|
|
22
|
+
"dark": "#FFFFFF"
|
|
23
|
+
},
|
|
24
|
+
"--dsw-alias-bg-overlay": {
|
|
25
|
+
"light": "#F3E5CD",
|
|
26
|
+
"dark": "#F3E5CD"
|
|
27
|
+
},
|
|
28
|
+
"--dsw-alias-bg-skeleton": {
|
|
29
|
+
"light": "#9C5F2414",
|
|
30
|
+
"dark": "#9C5F2414"
|
|
31
|
+
},
|
|
32
|
+
"--dsw-alias-bg-module-platform": {
|
|
33
|
+
"light": "#F3E5CD",
|
|
34
|
+
"dark": "#F3E5CD"
|
|
35
|
+
},
|
|
36
|
+
"--dsw-alias-bg-multi-select": {
|
|
37
|
+
"light": "#F3E5CD",
|
|
38
|
+
"dark": "#F3E5CD"
|
|
39
|
+
},
|
|
40
|
+
"--dsw-alias-border-l1": {
|
|
41
|
+
"light": "#9C5F240F",
|
|
42
|
+
"dark": "#9C5F240F"
|
|
43
|
+
},
|
|
44
|
+
"--dsw-alias-border-l2": {
|
|
45
|
+
"light": "#9C5F2421",
|
|
46
|
+
"dark": "#9C5F2421"
|
|
47
|
+
},
|
|
48
|
+
"--dsw-alias-border-l3": {
|
|
49
|
+
"light": "#9C5F242E",
|
|
50
|
+
"dark": "#9C5F242E"
|
|
51
|
+
},
|
|
52
|
+
"--dsw-alias-border-l4": {
|
|
53
|
+
"light": "#9C5F243D",
|
|
54
|
+
"dark": "#9C5F243D"
|
|
55
|
+
},
|
|
56
|
+
"--dsw-alias-brand-primary": {
|
|
57
|
+
"light": "#9C5F24",
|
|
58
|
+
"dark": "#9C5F24"
|
|
59
|
+
},
|
|
60
|
+
"--dsw-alias-brand-primary-invert": {
|
|
61
|
+
"light": "#FFFFFF",
|
|
62
|
+
"dark": "#FFFFFF"
|
|
63
|
+
},
|
|
64
|
+
"--dsw-alias-brand-text": {
|
|
65
|
+
"light": "#9C5F24",
|
|
66
|
+
"dark": "#9C5F24"
|
|
67
|
+
},
|
|
68
|
+
"--dsw-alias-label-primary": {
|
|
69
|
+
"light": "#453019",
|
|
70
|
+
"dark": "#453019"
|
|
71
|
+
},
|
|
72
|
+
"--dsw-alias-label-primary-bluish": {
|
|
73
|
+
"light": "#453019",
|
|
74
|
+
"dark": "#453019"
|
|
75
|
+
},
|
|
76
|
+
"--dsw-alias-label-secondary": {
|
|
77
|
+
"light": "#6A4E2F",
|
|
78
|
+
"dark": "#6A4E2F"
|
|
79
|
+
},
|
|
80
|
+
"--dsw-alias-label-tertiary": {
|
|
81
|
+
"light": "#8C6F4C",
|
|
82
|
+
"dark": "#8C6F4C"
|
|
83
|
+
},
|
|
84
|
+
"--dsw-alias-label-caption": {
|
|
85
|
+
"light": "#8C6F4C",
|
|
86
|
+
"dark": "#8C6F4C"
|
|
87
|
+
},
|
|
88
|
+
"--dsw-alias-label-dimmed": {
|
|
89
|
+
"light": "#B49C7F",
|
|
90
|
+
"dark": "#B49C7F"
|
|
91
|
+
},
|
|
92
|
+
"--dsw-alias-label-primary-dimmed": {
|
|
93
|
+
"light": "#6A4E2F",
|
|
94
|
+
"dark": "#6A4E2F"
|
|
95
|
+
},
|
|
96
|
+
"--dsw-alias-label-primary-foreground": {
|
|
97
|
+
"light": "#FFFFFF",
|
|
98
|
+
"dark": "#FFFFFF"
|
|
99
|
+
},
|
|
100
|
+
"--dsw-alias-label-primary-inverted": {
|
|
101
|
+
"light": "#FFFFFF",
|
|
102
|
+
"dark": "#FFFFFF"
|
|
103
|
+
},
|
|
104
|
+
"--dsw-alias-link": {
|
|
105
|
+
"light": "#CA6924",
|
|
106
|
+
"dark": "#CA6924"
|
|
107
|
+
},
|
|
108
|
+
"--dsw-alias-interactive-bg-hover": {
|
|
109
|
+
"light": "#9C5F2414",
|
|
110
|
+
"dark": "#9C5F2414"
|
|
111
|
+
},
|
|
112
|
+
"--dsw-alias-interactive-bg-active": {
|
|
113
|
+
"light": "#CA69242E",
|
|
114
|
+
"dark": "#CA69242E"
|
|
115
|
+
},
|
|
116
|
+
"--dsw-alias-interactive-bg-hover-solid": {
|
|
117
|
+
"light": "#F3E5CD",
|
|
118
|
+
"dark": "#F3E5CD"
|
|
119
|
+
},
|
|
120
|
+
"--dsw-alias-interactive-bg-hover-accent": {
|
|
121
|
+
"light": "#CA69243D",
|
|
122
|
+
"dark": "#CA69243D"
|
|
123
|
+
},
|
|
124
|
+
"--dsw-alias-button-primary-fill": {
|
|
125
|
+
"light": "#9C5F24",
|
|
126
|
+
"dark": "#9C5F24"
|
|
127
|
+
},
|
|
128
|
+
"--dsw-alias-button-primary-hover": {
|
|
129
|
+
"light": "#B0702F",
|
|
130
|
+
"dark": "#B0702F"
|
|
131
|
+
},
|
|
132
|
+
"--dsw-alias-button-primary-dimmed": {
|
|
133
|
+
"light": "#9C5F2447",
|
|
134
|
+
"dark": "#9C5F2447"
|
|
135
|
+
},
|
|
136
|
+
"--dsw-alias-button-ghost-active-fill": {
|
|
137
|
+
"light": "#CA692429",
|
|
138
|
+
"dark": "#CA692429"
|
|
139
|
+
},
|
|
140
|
+
"--dsw-alias-button-ghost-active-border": {
|
|
141
|
+
"light": "#CA6924",
|
|
142
|
+
"dark": "#CA6924"
|
|
143
|
+
},
|
|
144
|
+
"--dsw-alias-button-ghost-active-hover": {
|
|
145
|
+
"light": "#CA692447",
|
|
146
|
+
"dark": "#CA692447"
|
|
147
|
+
},
|
|
148
|
+
"--dsw-alias-button-info-fill": {
|
|
149
|
+
"light": "#B0702F",
|
|
150
|
+
"dark": "#B0702F"
|
|
151
|
+
},
|
|
152
|
+
"--dsw-alias-button-info-hover": {
|
|
153
|
+
"light": "#9C5F24",
|
|
154
|
+
"dark": "#9C5F24"
|
|
155
|
+
},
|
|
156
|
+
"--dsw-alias-button-elevated-fill": {
|
|
157
|
+
"light": "#FFFFFF",
|
|
158
|
+
"dark": "#FFFFFF"
|
|
159
|
+
},
|
|
160
|
+
"--dsw-alias-button-floating-fill": {
|
|
161
|
+
"light": "#FFFFFF",
|
|
162
|
+
"dark": "#FFFFFF"
|
|
163
|
+
},
|
|
164
|
+
"--dsw-alias-button-floating-hover": {
|
|
165
|
+
"light": "#FDF8F0",
|
|
166
|
+
"dark": "#FDF8F0"
|
|
167
|
+
},
|
|
168
|
+
"--dsw-alias-button-contrast-fill": {
|
|
169
|
+
"light": "#453019",
|
|
170
|
+
"dark": "#453019"
|
|
171
|
+
},
|
|
172
|
+
"--dsw-alias-markdown-code-block": {
|
|
173
|
+
"light": "#F7EEDF",
|
|
174
|
+
"dark": "#F7EEDF"
|
|
175
|
+
},
|
|
176
|
+
"--dsw-alias-markdown-code-block-banner": {
|
|
177
|
+
"light": "#F0E3CB",
|
|
178
|
+
"dark": "#F0E3CB"
|
|
179
|
+
},
|
|
180
|
+
"--dsw-alias-markdown-inline-code": {
|
|
181
|
+
"light": "#F3E9D6",
|
|
182
|
+
"dark": "#F3E9D6"
|
|
183
|
+
},
|
|
184
|
+
"--dsw-alias-markdown-citation": {
|
|
185
|
+
"light": "#F3E9D6",
|
|
186
|
+
"dark": "#F3E9D6"
|
|
187
|
+
},
|
|
188
|
+
"--dsw-alias-markdown-tag": {
|
|
189
|
+
"light": "#F3E9D6",
|
|
190
|
+
"dark": "#F3E9D6"
|
|
191
|
+
},
|
|
192
|
+
"--dsw-alias-markdown-placeholder": {
|
|
193
|
+
"light": "#F0E3CB",
|
|
194
|
+
"dark": "#F0E3CB"
|
|
195
|
+
},
|
|
196
|
+
"--dsw-alias-markdown-code-segment-selected": {
|
|
197
|
+
"light": "#CA692429",
|
|
198
|
+
"dark": "#CA692429"
|
|
199
|
+
},
|
|
200
|
+
"--dsw-alias-markdown-code-segment-unselected": {
|
|
201
|
+
"light": "#F7EEDF",
|
|
202
|
+
"dark": "#F7EEDF"
|
|
203
|
+
},
|
|
204
|
+
"--dsw-alias-scrollbar-bg-l1": {
|
|
205
|
+
"light": "#9C5F2429",
|
|
206
|
+
"dark": "#9C5F2429"
|
|
207
|
+
},
|
|
208
|
+
"--dsw-alias-scrollbar-bg-l2": {
|
|
209
|
+
"light": "#9C5F2438",
|
|
210
|
+
"dark": "#9C5F2438"
|
|
211
|
+
},
|
|
212
|
+
"--dsw-alias-scrollbar-hover-l1": {
|
|
213
|
+
"light": "#9C5F2452",
|
|
214
|
+
"dark": "#9C5F2452"
|
|
215
|
+
},
|
|
216
|
+
"--dsw-alias-scrollbar-hover-l2": {
|
|
217
|
+
"light": "#9C5F2466",
|
|
218
|
+
"dark": "#9C5F2466"
|
|
219
|
+
},
|
|
220
|
+
"--dsw-alias-tooltip-bg": {
|
|
221
|
+
"light": "#453019",
|
|
222
|
+
"dark": "#453019"
|
|
223
|
+
},
|
|
224
|
+
"--dsw-alias-toast-bg": {
|
|
225
|
+
"light": "#FFFFFF",
|
|
226
|
+
"dark": "#FFFFFF"
|
|
227
|
+
},
|
|
228
|
+
"--dsw-alias-state-error-primary": {
|
|
229
|
+
"light": "#C65B6A",
|
|
230
|
+
"dark": "#C65B6A"
|
|
231
|
+
},
|
|
232
|
+
"--dsw-alias-state-error-secondary": {
|
|
233
|
+
"light": "#DB5A6B",
|
|
234
|
+
"dark": "#DB5A6B"
|
|
235
|
+
},
|
|
236
|
+
"--dsw-alias-state-success-primary": {
|
|
237
|
+
"light": "#21A675",
|
|
238
|
+
"dark": "#21A675"
|
|
239
|
+
},
|
|
240
|
+
"--dsw-alias-state-success-secondary": {
|
|
241
|
+
"light": "#9C5F24",
|
|
242
|
+
"dark": "#9C5F24"
|
|
243
|
+
},
|
|
244
|
+
"--dsw-alias-state-success-tertiary": {
|
|
245
|
+
"light": "#CFBA9C",
|
|
246
|
+
"dark": "#CFBA9C"
|
|
247
|
+
},
|
|
248
|
+
"--dsw-alias-state-warn-primary": {
|
|
249
|
+
"light": "#B97F3A",
|
|
250
|
+
"dark": "#B97F3A"
|
|
251
|
+
},
|
|
252
|
+
"--dsw-alias-state-warn-secondary": {
|
|
253
|
+
"light": "#D9A45E",
|
|
254
|
+
"dark": "#D9A45E"
|
|
255
|
+
},
|
|
256
|
+
"--dsw-alias-state-warn-tertiary": {
|
|
257
|
+
"light": "#EFDCC0",
|
|
258
|
+
"dark": "#EFDCC0"
|
|
259
|
+
},
|
|
260
|
+
"--dsw-alias-state-warn-label": {
|
|
261
|
+
"light": "#8A5A22",
|
|
262
|
+
"dark": "#8A5A22"
|
|
263
|
+
},
|
|
264
|
+
"--dsw-alias-state-business-primary": {
|
|
265
|
+
"light": "#CA6924",
|
|
266
|
+
"dark": "#CA6924"
|
|
267
|
+
},
|
|
268
|
+
"--dsw-alias-state-business-tertiary": {
|
|
269
|
+
"light": "#E29C45",
|
|
270
|
+
"dark": "#E29C45"
|
|
271
|
+
},
|
|
272
|
+
"--dsw-specific-sidebar-fill": {
|
|
273
|
+
"light": "linear-gradient(to bottom,#FBF0DE 0%,#F5E3C6 20%,#EDD5AE 36%,#E3C593 50%,#D8B57D 62%,#CBA468 74%,#C69E5F 86%,#BB904F 100%)",
|
|
274
|
+
"dark": "linear-gradient(to bottom,#FBF0DE 0%,#F5E3C6 20%,#EDD5AE 36%,#E3C593 50%,#D8B57D 62%,#CBA468 74%,#C69E5F 86%,#BB904F 100%)"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"reading": {
|
|
278
|
+
"colorScheme": "light",
|
|
279
|
+
"bg": "#FFFFFF",
|
|
280
|
+
"alpha": 0.62,
|
|
281
|
+
"blur": 3,
|
|
282
|
+
"maxWidth": 640
|
|
283
|
+
},
|
|
284
|
+
"accent": "#CA6924",
|
|
285
|
+
"ambient": {
|
|
286
|
+
"kind": "humao",
|
|
287
|
+
"dust": 6
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
]
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "hu-zi-a-huang",
|
|
4
|
+
"label": "虎子阿黄",
|
|
5
|
+
"description": "麦香田园,黄犬相迎 —— 原创宠物主题:中黄田园犬「虎子阿黄」摇着尾巴守在田埂上",
|
|
6
|
+
"colorScheme": "light",
|
|
7
|
+
"tokens": {
|
|
8
|
+
"--dsw-alias-bg-base": {
|
|
9
|
+
"light": "linear-gradient(to bottom,#FEFDF6 0%,#FBF5E0 55%,#F7EFD0 100%)",
|
|
10
|
+
"dark": "linear-gradient(to bottom,#FEFDF6 0%,#FBF5E0 55%,#F7EFD0 100%)"
|
|
11
|
+
},
|
|
12
|
+
"--dsw-alias-bg-layer-1": {
|
|
13
|
+
"light": "#FEFCF4",
|
|
14
|
+
"dark": "#FEFCF4"
|
|
15
|
+
},
|
|
16
|
+
"--dsw-alias-bg-layer-2": {
|
|
17
|
+
"light": "#FFFFFF",
|
|
18
|
+
"dark": "#FFFFFF"
|
|
19
|
+
},
|
|
20
|
+
"--dsw-alias-bg-layer-3": {
|
|
21
|
+
"light": "#FFFFFF",
|
|
22
|
+
"dark": "#FFFFFF"
|
|
23
|
+
},
|
|
24
|
+
"--dsw-alias-bg-overlay": {
|
|
25
|
+
"light": "#F4EAD0",
|
|
26
|
+
"dark": "#F4EAD0"
|
|
27
|
+
},
|
|
28
|
+
"--dsw-alias-bg-skeleton": {
|
|
29
|
+
"light": "#896C3914",
|
|
30
|
+
"dark": "#896C3914"
|
|
31
|
+
},
|
|
32
|
+
"--dsw-alias-bg-module-platform": {
|
|
33
|
+
"light": "#F4EAD0",
|
|
34
|
+
"dark": "#F4EAD0"
|
|
35
|
+
},
|
|
36
|
+
"--dsw-alias-bg-multi-select": {
|
|
37
|
+
"light": "#F4EAD0",
|
|
38
|
+
"dark": "#F4EAD0"
|
|
39
|
+
},
|
|
40
|
+
"--dsw-alias-border-l1": {
|
|
41
|
+
"light": "#896C390F",
|
|
42
|
+
"dark": "#896C390F"
|
|
43
|
+
},
|
|
44
|
+
"--dsw-alias-border-l2": {
|
|
45
|
+
"light": "#896C3921",
|
|
46
|
+
"dark": "#896C3921"
|
|
47
|
+
},
|
|
48
|
+
"--dsw-alias-border-l3": {
|
|
49
|
+
"light": "#896C392E",
|
|
50
|
+
"dark": "#896C392E"
|
|
51
|
+
},
|
|
52
|
+
"--dsw-alias-border-l4": {
|
|
53
|
+
"light": "#896C393D",
|
|
54
|
+
"dark": "#896C393D"
|
|
55
|
+
},
|
|
56
|
+
"--dsw-alias-brand-primary": {
|
|
57
|
+
"light": "#896C39",
|
|
58
|
+
"dark": "#896C39"
|
|
59
|
+
},
|
|
60
|
+
"--dsw-alias-brand-primary-invert": {
|
|
61
|
+
"light": "#FFFFFF",
|
|
62
|
+
"dark": "#FFFFFF"
|
|
63
|
+
},
|
|
64
|
+
"--dsw-alias-brand-text": {
|
|
65
|
+
"light": "#896C39",
|
|
66
|
+
"dark": "#896C39"
|
|
67
|
+
},
|
|
68
|
+
"--dsw-alias-label-primary": {
|
|
69
|
+
"light": "#3B3018",
|
|
70
|
+
"dark": "#3B3018"
|
|
71
|
+
},
|
|
72
|
+
"--dsw-alias-label-primary-bluish": {
|
|
73
|
+
"light": "#3B3018",
|
|
74
|
+
"dark": "#3B3018"
|
|
75
|
+
},
|
|
76
|
+
"--dsw-alias-label-secondary": {
|
|
77
|
+
"light": "#5D4E2B",
|
|
78
|
+
"dark": "#5D4E2B"
|
|
79
|
+
},
|
|
80
|
+
"--dsw-alias-label-tertiary": {
|
|
81
|
+
"light": "#857451",
|
|
82
|
+
"dark": "#857451"
|
|
83
|
+
},
|
|
84
|
+
"--dsw-alias-label-caption": {
|
|
85
|
+
"light": "#857451",
|
|
86
|
+
"dark": "#857451"
|
|
87
|
+
},
|
|
88
|
+
"--dsw-alias-label-dimmed": {
|
|
89
|
+
"light": "#B2A47E",
|
|
90
|
+
"dark": "#B2A47E"
|
|
91
|
+
},
|
|
92
|
+
"--dsw-alias-label-primary-dimmed": {
|
|
93
|
+
"light": "#5D4E2B",
|
|
94
|
+
"dark": "#5D4E2B"
|
|
95
|
+
},
|
|
96
|
+
"--dsw-alias-label-primary-foreground": {
|
|
97
|
+
"light": "#FFFFFF",
|
|
98
|
+
"dark": "#FFFFFF"
|
|
99
|
+
},
|
|
100
|
+
"--dsw-alias-label-primary-inverted": {
|
|
101
|
+
"light": "#FFFFFF",
|
|
102
|
+
"dark": "#FFFFFF"
|
|
103
|
+
},
|
|
104
|
+
"--dsw-alias-link": {
|
|
105
|
+
"light": "#AE7000",
|
|
106
|
+
"dark": "#AE7000"
|
|
107
|
+
},
|
|
108
|
+
"--dsw-alias-interactive-bg-hover": {
|
|
109
|
+
"light": "#896C3914",
|
|
110
|
+
"dark": "#896C3914"
|
|
111
|
+
},
|
|
112
|
+
"--dsw-alias-interactive-bg-active": {
|
|
113
|
+
"light": "#F0C2392E",
|
|
114
|
+
"dark": "#F0C2392E"
|
|
115
|
+
},
|
|
116
|
+
"--dsw-alias-interactive-bg-hover-solid": {
|
|
117
|
+
"light": "#F4EAD0",
|
|
118
|
+
"dark": "#F4EAD0"
|
|
119
|
+
},
|
|
120
|
+
"--dsw-alias-interactive-bg-hover-accent": {
|
|
121
|
+
"light": "#F0C2393D",
|
|
122
|
+
"dark": "#F0C2393D"
|
|
123
|
+
},
|
|
124
|
+
"--dsw-alias-button-primary-fill": {
|
|
125
|
+
"light": "#896C39",
|
|
126
|
+
"dark": "#896C39"
|
|
127
|
+
},
|
|
128
|
+
"--dsw-alias-button-primary-hover": {
|
|
129
|
+
"light": "#A88462",
|
|
130
|
+
"dark": "#A88462"
|
|
131
|
+
},
|
|
132
|
+
"--dsw-alias-button-primary-dimmed": {
|
|
133
|
+
"light": "#896C3947",
|
|
134
|
+
"dark": "#896C3947"
|
|
135
|
+
},
|
|
136
|
+
"--dsw-alias-button-ghost-active-fill": {
|
|
137
|
+
"light": "#F0C23929",
|
|
138
|
+
"dark": "#F0C23929"
|
|
139
|
+
},
|
|
140
|
+
"--dsw-alias-button-ghost-active-border": {
|
|
141
|
+
"light": "#F0C239",
|
|
142
|
+
"dark": "#F0C239"
|
|
143
|
+
},
|
|
144
|
+
"--dsw-alias-button-ghost-active-hover": {
|
|
145
|
+
"light": "#F0C23947",
|
|
146
|
+
"dark": "#F0C23947"
|
|
147
|
+
},
|
|
148
|
+
"--dsw-alias-button-info-fill": {
|
|
149
|
+
"light": "#A88462",
|
|
150
|
+
"dark": "#A88462"
|
|
151
|
+
},
|
|
152
|
+
"--dsw-alias-button-info-hover": {
|
|
153
|
+
"light": "#896C39",
|
|
154
|
+
"dark": "#896C39"
|
|
155
|
+
},
|
|
156
|
+
"--dsw-alias-button-elevated-fill": {
|
|
157
|
+
"light": "#FFFFFF",
|
|
158
|
+
"dark": "#FFFFFF"
|
|
159
|
+
},
|
|
160
|
+
"--dsw-alias-button-floating-fill": {
|
|
161
|
+
"light": "#FFFFFF",
|
|
162
|
+
"dark": "#FFFFFF"
|
|
163
|
+
},
|
|
164
|
+
"--dsw-alias-button-floating-hover": {
|
|
165
|
+
"light": "#FCF8EC",
|
|
166
|
+
"dark": "#FCF8EC"
|
|
167
|
+
},
|
|
168
|
+
"--dsw-alias-button-contrast-fill": {
|
|
169
|
+
"light": "#3B3018",
|
|
170
|
+
"dark": "#3B3018"
|
|
171
|
+
},
|
|
172
|
+
"--dsw-alias-markdown-code-block": {
|
|
173
|
+
"light": "#F8F1DC",
|
|
174
|
+
"dark": "#F8F1DC"
|
|
175
|
+
},
|
|
176
|
+
"--dsw-alias-markdown-code-block-banner": {
|
|
177
|
+
"light": "#F1E7C6",
|
|
178
|
+
"dark": "#F1E7C6"
|
|
179
|
+
},
|
|
180
|
+
"--dsw-alias-markdown-inline-code": {
|
|
181
|
+
"light": "#F4EAD0",
|
|
182
|
+
"dark": "#F4EAD0"
|
|
183
|
+
},
|
|
184
|
+
"--dsw-alias-markdown-citation": {
|
|
185
|
+
"light": "#F4EAD0",
|
|
186
|
+
"dark": "#F4EAD0"
|
|
187
|
+
},
|
|
188
|
+
"--dsw-alias-markdown-tag": {
|
|
189
|
+
"light": "#F4EAD0",
|
|
190
|
+
"dark": "#F4EAD0"
|
|
191
|
+
},
|
|
192
|
+
"--dsw-alias-markdown-placeholder": {
|
|
193
|
+
"light": "#F1E7C6",
|
|
194
|
+
"dark": "#F1E7C6"
|
|
195
|
+
},
|
|
196
|
+
"--dsw-alias-markdown-code-segment-selected": {
|
|
197
|
+
"light": "#F0C23929",
|
|
198
|
+
"dark": "#F0C23929"
|
|
199
|
+
},
|
|
200
|
+
"--dsw-alias-markdown-code-segment-unselected": {
|
|
201
|
+
"light": "#F8F1DC",
|
|
202
|
+
"dark": "#F8F1DC"
|
|
203
|
+
},
|
|
204
|
+
"--dsw-alias-scrollbar-bg-l1": {
|
|
205
|
+
"light": "#896C3929",
|
|
206
|
+
"dark": "#896C3929"
|
|
207
|
+
},
|
|
208
|
+
"--dsw-alias-scrollbar-bg-l2": {
|
|
209
|
+
"light": "#896C3938",
|
|
210
|
+
"dark": "#896C3938"
|
|
211
|
+
},
|
|
212
|
+
"--dsw-alias-scrollbar-hover-l1": {
|
|
213
|
+
"light": "#896C3952",
|
|
214
|
+
"dark": "#896C3952"
|
|
215
|
+
},
|
|
216
|
+
"--dsw-alias-scrollbar-hover-l2": {
|
|
217
|
+
"light": "#896C3966",
|
|
218
|
+
"dark": "#896C3966"
|
|
219
|
+
},
|
|
220
|
+
"--dsw-alias-tooltip-bg": {
|
|
221
|
+
"light": "#3B3018",
|
|
222
|
+
"dark": "#3B3018"
|
|
223
|
+
},
|
|
224
|
+
"--dsw-alias-toast-bg": {
|
|
225
|
+
"light": "#FFFFFF",
|
|
226
|
+
"dark": "#FFFFFF"
|
|
227
|
+
},
|
|
228
|
+
"--dsw-alias-state-error-primary": {
|
|
229
|
+
"light": "#C65B6A",
|
|
230
|
+
"dark": "#C65B6A"
|
|
231
|
+
},
|
|
232
|
+
"--dsw-alias-state-error-secondary": {
|
|
233
|
+
"light": "#DB5A6B",
|
|
234
|
+
"dark": "#DB5A6B"
|
|
235
|
+
},
|
|
236
|
+
"--dsw-alias-state-success-primary": {
|
|
237
|
+
"light": "#21A675",
|
|
238
|
+
"dark": "#21A675"
|
|
239
|
+
},
|
|
240
|
+
"--dsw-alias-state-success-secondary": {
|
|
241
|
+
"light": "#896C39",
|
|
242
|
+
"dark": "#896C39"
|
|
243
|
+
},
|
|
244
|
+
"--dsw-alias-state-success-tertiary": {
|
|
245
|
+
"light": "#D1C69C",
|
|
246
|
+
"dark": "#D1C69C"
|
|
247
|
+
},
|
|
248
|
+
"--dsw-alias-state-warn-primary": {
|
|
249
|
+
"light": "#B97F3A",
|
|
250
|
+
"dark": "#B97F3A"
|
|
251
|
+
},
|
|
252
|
+
"--dsw-alias-state-warn-secondary": {
|
|
253
|
+
"light": "#D9A45E",
|
|
254
|
+
"dark": "#D9A45E"
|
|
255
|
+
},
|
|
256
|
+
"--dsw-alias-state-warn-tertiary": {
|
|
257
|
+
"light": "#EFDCC0",
|
|
258
|
+
"dark": "#EFDCC0"
|
|
259
|
+
},
|
|
260
|
+
"--dsw-alias-state-warn-label": {
|
|
261
|
+
"light": "#8A5A22",
|
|
262
|
+
"dark": "#8A5A22"
|
|
263
|
+
},
|
|
264
|
+
"--dsw-alias-state-business-primary": {
|
|
265
|
+
"light": "#F0C239",
|
|
266
|
+
"dark": "#F0C239"
|
|
267
|
+
},
|
|
268
|
+
"--dsw-alias-state-business-tertiary": {
|
|
269
|
+
"light": "#F5D46B",
|
|
270
|
+
"dark": "#F5D46B"
|
|
271
|
+
},
|
|
272
|
+
"--dsw-specific-sidebar-fill": {
|
|
273
|
+
"light": "linear-gradient(to bottom,#FAF3DC 0%,#F4EAC2 20%,#ECDFAB 36%,#E2D191 50%,#D6C078 62%,#C9AF63 74%,#C4A85F 86%,#B89B51 100%)",
|
|
274
|
+
"dark": "linear-gradient(to bottom,#FAF3DC 0%,#F4EAC2 20%,#ECDFAB 36%,#E2D191 50%,#D6C078 62%,#C9AF63 74%,#C4A85F 86%,#B89B51 100%)"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"reading": {
|
|
278
|
+
"colorScheme": "light",
|
|
279
|
+
"bg": "#FFFFFF",
|
|
280
|
+
"alpha": 0.62,
|
|
281
|
+
"blur": 3,
|
|
282
|
+
"maxWidth": 640
|
|
283
|
+
},
|
|
284
|
+
"accent": "#F0C239",
|
|
285
|
+
"ambient": {
|
|
286
|
+
"kind": "ahuang",
|
|
287
|
+
"dust": 5
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-theme-gallery",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "A theme gallery for DeepSeek Harness (DSH): six JSON-defined skins with full-screen coverage and sidebar scenery, plus built-in light/dark cards, switched from the panel under the sidebar's Plugins icon — adding skins needs no code change",
|
|
5
5
|
"author": "renjie2026 (https://github.com/renjie2026)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -51,6 +51,8 @@
|
|
|
51
51
|
"test:order": "node tests/check-declaration-order.mjs",
|
|
52
52
|
"test:tdz": "node tests/check-tdz-order.mjs && node tests/check-tdz-logic.mjs",
|
|
53
53
|
"test:theme": "node tests/check-theme-contribution.mjs",
|
|
54
|
+
"test:cards": "node tests/check-card-order.mjs",
|
|
55
|
+
"test:copy": "node tests/check-copy-consistency-logic.mjs",
|
|
54
56
|
"test:ambient": "node tests/check-ambient-render.mjs",
|
|
55
57
|
"test:boot": "node tests/check-boot-timing.mjs",
|
|
56
58
|
"test:safety": "node tests/check-boot-safety.mjs",
|
|
@@ -60,9 +62,10 @@
|
|
|
60
62
|
"test:scope": "node tests/check-scope-reach.mjs",
|
|
61
63
|
"test:scopelogic": "node tests/check-scope-reach-logic.mjs",
|
|
62
64
|
"test:preview": "node scripts/build-ambient-preview.mjs",
|
|
65
|
+
"preview:panel": "node scripts/build-panel-preview.mjs",
|
|
63
66
|
"test:calls": "node tests/check-undefined-calls.mjs",
|
|
64
67
|
"test:emitguard": "node tests/check-self-emit-guard.mjs && node tests/check-self-emit-guard-logic.mjs",
|
|
65
|
-
"test": "npm run test:schema && npm run test:host && npm run test:store && npm run test:order && npm run test:tdz && npm run test:theme && npm run test:ambient && npm run test:boot && npm run test:safety && npm run test:module && npm run test:bounded && npm run test:bootpath && npm run test:scope && npm run test:scopelogic && npm run test:calls && npm run test:emitguard",
|
|
68
|
+
"test": "npm run test:schema && npm run test:host && npm run test:store && npm run test:order && npm run test:tdz && npm run test:theme && npm run test:cards && npm run test:copy && npm run test:ambient && npm run test:boot && npm run test:safety && npm run test:module && npm run test:bounded && npm run test:bootpath && npm run test:scope && npm run test:scopelogic && npm run test:calls && npm run test:emitguard",
|
|
66
69
|
"prepack": "node scripts/embed-themes.mjs",
|
|
67
70
|
"publish:check": "node scripts/publish-check.mjs",
|
|
68
71
|
"embed-themes": "node scripts/embed-themes.mjs",
|
|
@@ -73,7 +76,7 @@
|
|
|
73
76
|
"skin:enable": "node tools/profile-skin.mjs enable",
|
|
74
77
|
"skin:rollback": "node tools/profile-skin.mjs rollback",
|
|
75
78
|
"watch:renderer": "node tools/watch-renderer.mjs",
|
|
76
|
-
"check": "npm run typecheck && npm run test && npm run embed-themes && npm run preview:ambient",
|
|
79
|
+
"check": "npm run typecheck && npm run test && npm run embed-themes && npm run preview:ambient && npm run preview:panel",
|
|
77
80
|
"prepublishOnly": "npm run publish:check"
|
|
78
81
|
},
|
|
79
82
|
"keywords": [
|
package/schema/theme.schema.json
CHANGED
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"description": "Scenery drawn inside the sidebar column, ported from the source admin system where each theme mounted its own animation component behind the left menu. Only the kinds this plugin ships artwork for are accepted; a theme without this field gets no scenery.",
|
|
75
75
|
"properties": {
|
|
76
76
|
"kind": {
|
|
77
|
-
"enum": ["shan", "dream", "caiyun", "dongyun", "junyue", "jiexin", "fengchen"],
|
|
78
|
-
"description": "Which ported scene to draw: 'shan' is 山青婷彩 (mountains, mist, water, ripples, dragonflies, falling petals); 'dream' is 梦海游鱼 (corner glow, light washes, rising bubbles, glowing motes, swimming cartoon fish, swaying seaweed); 'caiyun' is 营慕彩云 (dusk glow, warm stars, drifting clouds, two marquee cloud-seas, hot-air balloons); 'dongyun' is 江畔冬云 (winter moon, drifting clouds, snow, river with moonlight, ripples, glints, a sampan, reeds); 'junyue' is 徐山军月 (brass stars, full moon, night clouds, meteor, mountain ridges, pines); 'jiexin' is 佩安杰心 (misty hills, zen enso and meditator, incense smoke, dust motes); 'fengchen' is 光彩凤晨 (dawn rays, falling feathers, a flying brush-stroke phoenix, dew)."
|
|
77
|
+
"enum": ["shan", "dream", "caiyun", "dongyun", "junyue", "jiexin", "fengchen", "humao", "ahuang"],
|
|
78
|
+
"description": "Which ported scene to draw: 'shan' is 山青婷彩 (mountains, mist, water, ripples, dragonflies, falling petals); 'dream' is 梦海游鱼 (corner glow, light washes, rising bubbles, glowing motes, swimming cartoon fish, swaying seaweed); 'caiyun' is 营慕彩云 (dusk glow, warm stars, drifting clouds, two marquee cloud-seas, hot-air balloons); 'dongyun' is 江畔冬云 (winter moon, drifting clouds, snow, river with moonlight, ripples, glints, a sampan, reeds); 'junyue' is 徐山军月 (brass stars, full moon, night clouds, meteor, mountain ridges, pines); 'jiexin' is 佩安杰心 (misty hills, zen enso and meditator, incense smoke, dust motes); 'fengchen' is 光彩凤晨 (dawn rays, falling feathers, a flying brush-stroke phoenix, dew); 'humao' is 琥珀猫咪, an original pet scene (warm haze, sunlit sill, a sitting tabby with a swaying tail, a curled sleeping cat breathing, amber dust motes); 'ahuang' is 虎子阿黄, an original pet scene (golden haze, field-path bank, a yellow pastoral dog with a wagging sickle tail and a head tilt, dry grass tufts, a ball, dandelion fluff)."
|
|
79
79
|
},
|
|
80
80
|
"petals": {
|
|
81
81
|
"type": "integer",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"type": "integer",
|
|
118
118
|
"minimum": 0,
|
|
119
119
|
"maximum": 20,
|
|
120
|
-
"description": "'jiexin' only: how many drifting incense dust motes
|
|
120
|
+
"description": "'jiexin' / 'humao' / 'ahuang' only: how many drifting motes to seed — incense dust for jiexin, amber sun motes for humao, dandelion fluff for ahuang."
|
|
121
121
|
},
|
|
122
122
|
"feathers": {
|
|
123
123
|
"type": "integer",
|