@zenux/dsh-theme-endfield 0.0.0-stage → 1.2.27
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/LICENSE +21 -0
- package/README.md +183 -2
- package/client.js +13923 -0
- package/cordis.patch.yml +17 -0
- package/docs/PR-description.md +141 -0
- package/docs/audio-notifications.md +159 -0
- package/docs/codemap.md +755 -0
- package/docs/contour-scan-bounds.md +24 -0
- package/docs/contour-trail.md +61 -0
- package/docs/contour-worker.md +38 -0
- package/docs/design-language.md +285 -0
- package/docs/engineering-notes.md +1413 -0
- package/docs/features.md +573 -0
- package/docs/glass.md +32 -0
- package/docs/palette/rekindle-red.html +521 -0
- package/docs/palette/submerge-blue.html +530 -0
- package/docs/preview.gif +0 -0
- package/docs/release.md +66 -0
- package/docs/sarkaz-script.md +101 -0
- package/docs/testing.md +536 -0
- package/index.js +1647 -0
- package/lib/audio.js +600 -0
- package/lib/slots.js +105 -0
- package/lib/tone.js +216 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/media/README.md +22 -0
- package/media/audio/loop.m4a +0 -0
- package/media/audio/rest.m4a +0 -0
- package/media/video/A.mp4 +0 -0
- package/media/video/B.mp4 +0 -0
- package/media/video/B_rev.mp4 +0 -0
- package/media/video/C.mp4 +0 -0
- package/package.json +122 -4
- package/sounds/attention.wav +0 -0
- package/sounds/boot.wav +0 -0
- package/sounds/login.wav +0 -0
- package/sounds/turn-done.wav +0 -0
- package/sounds/turn-fail.wav +0 -0
- package/sounds/turn-start.wav +0 -0
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>浸蓝 — Palette Reference 05</title>
|
|
6
|
+
<style>
|
|
7
|
+
:root{
|
|
8
|
+
--accent:#7D6FFF;
|
|
9
|
+
--accent-deep:#8E82FF;
|
|
10
|
+
--accent-onpaper:#2831CC;
|
|
11
|
+
--art:#0A06D0;
|
|
12
|
+
--shimmer:#C6BFFF;
|
|
13
|
+
--base:#101110;
|
|
14
|
+
--l1:#181A18;
|
|
15
|
+
--l2:#1E201D;
|
|
16
|
+
--line1:#343633;
|
|
17
|
+
--line2:#4A4D49;
|
|
18
|
+
--label2:#898D89;
|
|
19
|
+
--label1:#F5F5F0;
|
|
20
|
+
--paper:#E8E8E2;
|
|
21
|
+
--muted:#6E6A66;
|
|
22
|
+
--sans:"Bahnschrift","DIN Alternate","Arial Narrow","Microsoft YaHei",sans-serif;
|
|
23
|
+
--cjk:"Microsoft YaHei","PingFang SC",sans-serif;
|
|
24
|
+
--mono:"Cascadia Mono","Consolas","SF Mono","Courier New",monospace;
|
|
25
|
+
}
|
|
26
|
+
*{margin:0;padding:0;box-sizing:border-box;}
|
|
27
|
+
html,body{background:var(--base);}
|
|
28
|
+
body{
|
|
29
|
+
width:1600px;height:1280px;overflow:hidden;
|
|
30
|
+
color:var(--label1);
|
|
31
|
+
font-family:var(--sans);
|
|
32
|
+
-webkit-font-smoothing:antialiased;
|
|
33
|
+
font-feature-settings:"tnum" 1;
|
|
34
|
+
}
|
|
35
|
+
.sheet{
|
|
36
|
+
position:relative;width:1600px;height:1280px;
|
|
37
|
+
padding:34px 46px 22px;
|
|
38
|
+
background:
|
|
39
|
+
radial-gradient(120% 80% at 76% 2%, rgba(125,111,255,.13), transparent 58%),
|
|
40
|
+
radial-gradient(90% 62% at 4% 98%, rgba(10,6,208,.20), transparent 62%),
|
|
41
|
+
var(--base);
|
|
42
|
+
display:flex;flex-direction:column;
|
|
43
|
+
}
|
|
44
|
+
.sheet::before{
|
|
45
|
+
content:"";position:absolute;inset:0;pointer-events:none;
|
|
46
|
+
background-image:
|
|
47
|
+
linear-gradient(to right, rgba(243,239,233,.032) 1px, transparent 1px),
|
|
48
|
+
linear-gradient(to bottom, rgba(243,239,233,.032) 1px, transparent 1px);
|
|
49
|
+
background-size:48px 48px;
|
|
50
|
+
mask-image:linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.25) 55%, rgba(0,0,0,.7));
|
|
51
|
+
}
|
|
52
|
+
.frame{
|
|
53
|
+
position:absolute;inset:16px;border:1px solid rgba(243,239,233,.16);pointer-events:none;
|
|
54
|
+
}
|
|
55
|
+
.frame::before,.frame::after{content:"";position:absolute;width:26px;height:26px;}
|
|
56
|
+
.frame::before{left:-1px;top:-1px;border-left:2px solid var(--accent);border-top:2px solid var(--accent);}
|
|
57
|
+
.frame::after{right:-1px;bottom:-1px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);}
|
|
58
|
+
|
|
59
|
+
.rail{
|
|
60
|
+
position:absolute;top:0;bottom:0;width:18px;
|
|
61
|
+
font-family:var(--mono);font-size:9px;letter-spacing:.30em;color:rgba(137,141,137,.55);
|
|
62
|
+
display:flex;align-items:center;justify-content:center;
|
|
63
|
+
}
|
|
64
|
+
.rail span{writing-mode:vertical-rl;}
|
|
65
|
+
.rail-l{left:22px;}
|
|
66
|
+
.rail-r{right:22px;}
|
|
67
|
+
|
|
68
|
+
/* ================= header ================= */
|
|
69
|
+
header{
|
|
70
|
+
position:relative;z-index:3;
|
|
71
|
+
display:flex;align-items:center;justify-content:space-between;
|
|
72
|
+
padding-bottom:12px;border-bottom:1px solid var(--line1);
|
|
73
|
+
}
|
|
74
|
+
.brand{display:flex;align-items:center;gap:12px;}
|
|
75
|
+
.mark{width:14px;height:14px;background:var(--accent);}
|
|
76
|
+
.brand b{font-size:13px;letter-spacing:.20em;font-weight:600;}
|
|
77
|
+
.brand i{
|
|
78
|
+
font-style:normal;font-family:var(--mono);font-size:10px;letter-spacing:.18em;
|
|
79
|
+
color:var(--label2);padding-left:12px;border-left:1px solid var(--line2);
|
|
80
|
+
}
|
|
81
|
+
.head-right{display:flex;align-items:center;gap:14px;font-family:var(--mono);font-size:10px;letter-spacing:.16em;color:var(--label2);}
|
|
82
|
+
.head-right em{font-style:normal;color:var(--accent);}
|
|
83
|
+
.head-right .hd-box{border:1px solid var(--line2);padding:4px 8px;color:var(--label1);}
|
|
84
|
+
|
|
85
|
+
/* ================= hero ================= */
|
|
86
|
+
.hero{
|
|
87
|
+
position:relative;z-index:2;overflow:hidden;
|
|
88
|
+
display:grid;grid-template-columns:1fr 486px;gap:34px;
|
|
89
|
+
padding:26px 0 24px;border-bottom:1px solid var(--line1);
|
|
90
|
+
}
|
|
91
|
+
/* The KV's move is type at poster scale; a cropped fragment of it reads as a bug
|
|
92
|
+
instead (that lesson is already in this repo), so the art blue appears here at
|
|
93
|
+
a size that is complete on purpose: a bilingual lockup, the CJK name large and
|
|
94
|
+
the Latin name ghosted in the art's own #0A06D0. */
|
|
95
|
+
.lockup{display:flex;align-items:flex-end;gap:18px;margin-top:14px;}
|
|
96
|
+
.ghost{
|
|
97
|
+
font-size:62px;line-height:1;font-weight:800;letter-spacing:.01em;
|
|
98
|
+
color:var(--art);padding-bottom:16px;white-space:nowrap;
|
|
99
|
+
}
|
|
100
|
+
.hero > div{position:relative;z-index:1;}
|
|
101
|
+
.eyebrow{
|
|
102
|
+
position:relative;display:flex;align-items:center;gap:10px;
|
|
103
|
+
font-family:var(--mono);font-size:10px;letter-spacing:.22em;color:var(--label2);
|
|
104
|
+
}
|
|
105
|
+
.eyebrow s{width:26px;height:1px;background:var(--accent);text-decoration:none;}
|
|
106
|
+
.eyebrow b{color:var(--label1);font-weight:400;}
|
|
107
|
+
h1{
|
|
108
|
+
position:relative;margin:0;
|
|
109
|
+
font-family:var(--cjk);font-weight:700;font-size:142px;line-height:.88;
|
|
110
|
+
letter-spacing:-.045em;
|
|
111
|
+
}
|
|
112
|
+
h1 span{color:var(--accent);}
|
|
113
|
+
h1 u{
|
|
114
|
+
text-decoration:none;display:inline-block;width:20px;height:20px;
|
|
115
|
+
background:var(--accent);margin-left:10px;transform:translateY(-6px);
|
|
116
|
+
}
|
|
117
|
+
.latin{
|
|
118
|
+
display:flex;align-items:center;gap:16px;margin-top:16px;
|
|
119
|
+
font-family:var(--mono);font-size:15px;letter-spacing:.46em;color:var(--label1);
|
|
120
|
+
}
|
|
121
|
+
.latin s{flex:0 0 auto;width:120px;height:1px;background:var(--line2);text-decoration:none;}
|
|
122
|
+
.latin i{font-style:normal;letter-spacing:.14em;font-size:10px;color:var(--label2);}
|
|
123
|
+
.lede{
|
|
124
|
+
margin-top:18px;max-width:648px;
|
|
125
|
+
font-family:var(--cjk);font-size:13.5px;line-height:2.0;color:#BDB6B0;
|
|
126
|
+
}
|
|
127
|
+
.lede b{color:var(--label1);font-weight:700;}
|
|
128
|
+
.lede mark{background:none;color:var(--accent);}
|
|
129
|
+
|
|
130
|
+
/* ---- the plate: art value above, UI value below, with the lift between ---- */
|
|
131
|
+
.plate{
|
|
132
|
+
position:relative;align-self:start;overflow:hidden;
|
|
133
|
+
border:1px solid var(--line2);
|
|
134
|
+
}
|
|
135
|
+
.plate-top{
|
|
136
|
+
display:flex;justify-content:space-between;align-items:center;
|
|
137
|
+
padding:9px 12px;background:var(--l1);border-bottom:1px solid var(--line1);
|
|
138
|
+
font-family:var(--mono);font-size:9.5px;letter-spacing:.20em;color:var(--label2);
|
|
139
|
+
}
|
|
140
|
+
.plate-top b{color:var(--label1);font-weight:400;}
|
|
141
|
+
.band{
|
|
142
|
+
position:relative;height:86px;padding:12px 14px;
|
|
143
|
+
display:flex;align-items:flex-start;justify-content:space-between;
|
|
144
|
+
}
|
|
145
|
+
.band em{
|
|
146
|
+
font-style:normal;font-family:var(--mono);font-size:9px;letter-spacing:.18em;
|
|
147
|
+
display:block;margin-bottom:4px;opacity:.72;
|
|
148
|
+
}
|
|
149
|
+
.band strong{font-family:var(--mono);font-size:27px;letter-spacing:.01em;font-weight:700;}
|
|
150
|
+
.band .rt{text-align:right;font-family:var(--mono);font-size:9px;letter-spacing:.08em;line-height:1.65;}
|
|
151
|
+
.band .rt i{font-style:normal;display:block;font-size:13px;letter-spacing:.02em;margin-bottom:2px;}
|
|
152
|
+
.band-art{background:var(--art);color:#F5F5F0;border-bottom:1px solid rgba(245,245,240,.18);}
|
|
153
|
+
.band-ui{background:var(--accent);color:#101110;}
|
|
154
|
+
.lift{
|
|
155
|
+
display:flex;align-items:center;gap:8px;padding:6px 12px;
|
|
156
|
+
background:var(--l1);border-top:1px solid var(--line1);
|
|
157
|
+
font-family:var(--mono);font-size:8.5px;letter-spacing:.10em;color:var(--label2);
|
|
158
|
+
}
|
|
159
|
+
.lift s{flex:1;height:1px;background:linear-gradient(to right,var(--art),var(--accent));text-decoration:none;}
|
|
160
|
+
.plate-specs{
|
|
161
|
+
display:grid;grid-template-columns:repeat(4,1fr);
|
|
162
|
+
padding:8px 12px 10px;background:var(--l2);
|
|
163
|
+
font-family:var(--mono);font-size:9px;letter-spacing:.10em;color:var(--label2);
|
|
164
|
+
border-top:1px solid var(--line1);
|
|
165
|
+
}
|
|
166
|
+
.plate-specs b{display:block;font-size:12px;letter-spacing:.02em;margin-top:3px;font-weight:700;color:var(--label1);}
|
|
167
|
+
|
|
168
|
+
/* ================= section heads ================= */
|
|
169
|
+
.sec-head{
|
|
170
|
+
display:flex;align-items:baseline;gap:12px;
|
|
171
|
+
margin:16px 0 9px;font-family:var(--mono);font-size:10px;letter-spacing:.20em;color:var(--label2);
|
|
172
|
+
}
|
|
173
|
+
.sec-head b{color:var(--label1);font-weight:400;letter-spacing:.22em;}
|
|
174
|
+
.sec-head s{flex:1;height:1px;background:var(--line1);text-decoration:none;transform:translateY(-3px);}
|
|
175
|
+
.sec-head em{font-style:normal;color:var(--accent);}
|
|
176
|
+
|
|
177
|
+
/* ================= signals ================= */
|
|
178
|
+
.signals{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;}
|
|
179
|
+
.sw{background:var(--l1);border:1px solid var(--line1);}
|
|
180
|
+
.sw-fill{height:86px;position:relative;border-bottom:1px solid rgba(0,0,0,.5);}
|
|
181
|
+
.sw-fill::after{
|
|
182
|
+
content:"";position:absolute;inset:0;
|
|
183
|
+
background-image:linear-gradient(135deg, rgba(255,255,255,.10) 0 1px, transparent 1px 9px);
|
|
184
|
+
opacity:.5;
|
|
185
|
+
}
|
|
186
|
+
.sw-fill .chip{
|
|
187
|
+
position:absolute;left:12px;bottom:10px;font-family:var(--mono);font-size:9px;
|
|
188
|
+
letter-spacing:.12em;padding:2px 5px;
|
|
189
|
+
}
|
|
190
|
+
.sw-meta{padding:9px 12px 10px;}
|
|
191
|
+
.sw-role{display:block;font-family:var(--mono);font-size:8.5px;letter-spacing:.16em;color:var(--label2);}
|
|
192
|
+
.sw-name{display:flex;align-items:baseline;justify-content:space-between;margin-top:4px;}
|
|
193
|
+
.sw-name b{font-family:var(--cjk);font-size:15px;letter-spacing:.02em;font-weight:700;}
|
|
194
|
+
.sw-name span{font-family:var(--mono);font-size:10.5px;letter-spacing:.02em;}
|
|
195
|
+
.sw-note{margin-top:5px;font-family:var(--cjk);font-size:10.5px;color:#A39C96;line-height:1.5;}
|
|
196
|
+
.ratio{
|
|
197
|
+
margin-top:7px;padding-top:6px;border-top:1px solid var(--line1);
|
|
198
|
+
font-family:var(--mono);font-size:9px;letter-spacing:.06em;color:#A39C96;
|
|
199
|
+
display:flex;justify-content:space-between;
|
|
200
|
+
}
|
|
201
|
+
.ratio b{color:var(--label1);font-weight:700;}
|
|
202
|
+
.ratio.fail b{color:var(--accent);}
|
|
203
|
+
|
|
204
|
+
/* ================= neutrals ================= */
|
|
205
|
+
.neutrals{display:grid;grid-template-columns:repeat(8,1fr);gap:0;border:1px solid var(--line1);}
|
|
206
|
+
.n-bar{height:46px;position:relative;}
|
|
207
|
+
.n-bar span{
|
|
208
|
+
position:absolute;left:8px;bottom:5px;font-family:var(--mono);font-size:9px;letter-spacing:.06em;
|
|
209
|
+
}
|
|
210
|
+
.n-meta{padding:6px 8px 7px;border-top:1px solid var(--line1);}
|
|
211
|
+
.n-meta b{display:block;font-family:var(--mono);font-size:8.5px;letter-spacing:.12em;color:var(--label1);font-weight:400;}
|
|
212
|
+
.n-meta i{display:block;font-style:normal;font-family:var(--cjk);font-size:9.5px;color:#A39C96;margin-top:2px;}
|
|
213
|
+
|
|
214
|
+
/* ================= application ================= */
|
|
215
|
+
.apply{display:grid;grid-template-columns:1fr 348px 336px;gap:22px;align-items:start;}
|
|
216
|
+
|
|
217
|
+
.app{border:1px solid var(--line2);background:var(--base);}
|
|
218
|
+
.app-bar{
|
|
219
|
+
display:flex;align-items:center;gap:10px;height:32px;padding:0 10px;
|
|
220
|
+
background:var(--l1);border-bottom:1px solid var(--line1);
|
|
221
|
+
}
|
|
222
|
+
.app-bar .sq{width:10px;height:10px;background:var(--accent);}
|
|
223
|
+
.app-bar b{font-size:10px;letter-spacing:.22em;font-weight:600;}
|
|
224
|
+
.app-bar i{font-style:normal;font-family:var(--mono);font-size:8.5px;letter-spacing:.12em;color:var(--label2);}
|
|
225
|
+
.app-bar .sp{flex:1;}
|
|
226
|
+
.app-bar .dots{font-family:var(--mono);font-size:10px;color:var(--muted);letter-spacing:.1em;}
|
|
227
|
+
.app-body{display:grid;grid-template-columns:196px 1fr;min-height:214px;}
|
|
228
|
+
.side{border-right:1px solid var(--line1);padding:9px 0;background:rgba(24,26,24,.45);}
|
|
229
|
+
.side-t{font-family:var(--mono);font-size:8px;letter-spacing:.20em;color:var(--muted);padding:0 12px 7px;}
|
|
230
|
+
.side-row{
|
|
231
|
+
display:flex;align-items:center;gap:8px;height:28px;padding:0 12px 0 10px;
|
|
232
|
+
font-family:var(--cjk);font-size:11.5px;color:#B9B2AC;border-left:3px solid transparent;
|
|
233
|
+
}
|
|
234
|
+
.side-row s{width:5px;height:5px;background:var(--line2);text-decoration:none;flex:0 0 auto;}
|
|
235
|
+
.side-row.on{background:rgba(125,111,255,.14);border-left-color:var(--accent);color:var(--label1);}
|
|
236
|
+
.side-row.on s{background:var(--accent);}
|
|
237
|
+
.side-row.on em{margin-left:auto;font-family:var(--mono);font-style:normal;font-size:8.5px;letter-spacing:.1em;color:var(--accent);}
|
|
238
|
+
.main{padding:11px 14px;position:relative;}
|
|
239
|
+
.msg-u{
|
|
240
|
+
margin-left:auto;max-width:78%;width:fit-content;
|
|
241
|
+
background:var(--l2);border:1px solid var(--line1);padding:6px 10px;
|
|
242
|
+
font-family:var(--cjk);font-size:11.5px;color:#E4DED7;
|
|
243
|
+
}
|
|
244
|
+
.msg-a{margin-top:11px;border-left:2px solid var(--accent);padding-left:10px;}
|
|
245
|
+
.msg-a h5{
|
|
246
|
+
font-family:var(--mono);font-size:8.5px;letter-spacing:.16em;color:var(--label2);
|
|
247
|
+
font-weight:400;margin-bottom:4px;
|
|
248
|
+
}
|
|
249
|
+
.msg-a p{font-family:var(--cjk);font-size:11.5px;line-height:1.8;color:#C9C2BB;}
|
|
250
|
+
.msg-a p b{color:var(--label1);}
|
|
251
|
+
.btns{display:flex;gap:8px;margin-top:10px;}
|
|
252
|
+
.btn{
|
|
253
|
+
font-family:var(--cjk);font-size:11px;padding:5px 14px;border:1px solid var(--line2);
|
|
254
|
+
color:var(--label1);background:transparent;
|
|
255
|
+
}
|
|
256
|
+
.btn-solid{background:var(--accent);border-color:var(--accent);color:#101110;font-weight:700;position:relative;}
|
|
257
|
+
.btn-solid::after{content:"";position:absolute;inset:-4px;border:1px solid var(--accent);opacity:.55;}
|
|
258
|
+
.btn-ghost{color:#B9B2AC;}
|
|
259
|
+
.status{
|
|
260
|
+
position:absolute;right:14px;bottom:9px;display:flex;align-items:center;gap:7px;
|
|
261
|
+
font-family:var(--mono);font-size:8.5px;letter-spacing:.10em;color:var(--muted);
|
|
262
|
+
}
|
|
263
|
+
.status i{width:5px;height:5px;border-radius:50%;background:var(--accent);display:block;}
|
|
264
|
+
|
|
265
|
+
.papercard{background:var(--paper);color:#101110;padding:13px;border:1px solid #cfc9be;}
|
|
266
|
+
.papercard .pc-top{
|
|
267
|
+
display:flex;justify-content:space-between;align-items:center;
|
|
268
|
+
font-family:var(--mono);font-size:9px;letter-spacing:.16em;color:#6A6460;
|
|
269
|
+
padding-bottom:7px;border-bottom:1px solid #CFC8BC;
|
|
270
|
+
}
|
|
271
|
+
.papercard .pc-top b{color:#101110;font-weight:700;letter-spacing:.18em;}
|
|
272
|
+
.papercard h6{font-family:var(--cjk);font-size:13px;margin-top:9px;font-weight:700;letter-spacing:.01em;}
|
|
273
|
+
.papercard .pc-p{font-family:var(--cjk);font-size:10.5px;line-height:1.7;color:#5C5650;margin-top:5px;}
|
|
274
|
+
.pc-chip{
|
|
275
|
+
margin-top:9px;display:inline-block;background:var(--accent-onpaper);color:var(--paper);
|
|
276
|
+
font-family:var(--cjk);font-size:10.5px;font-weight:700;padding:5px 10px;
|
|
277
|
+
}
|
|
278
|
+
.pc-row{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:8px;}
|
|
279
|
+
.pc-row span{font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;color:#6A6460;}
|
|
280
|
+
.pc-row b{font-family:var(--mono);font-size:8.5px;letter-spacing:.06em;color:#101110;}
|
|
281
|
+
.pc-fail{
|
|
282
|
+
margin-top:8px;padding-top:7px;border-top:1px solid #CFC8BC;
|
|
283
|
+
display:flex;align-items:center;justify-content:space-between;
|
|
284
|
+
font-family:var(--mono);font-size:9px;letter-spacing:.04em;color:#2831CC;
|
|
285
|
+
}
|
|
286
|
+
.pc-fail s{text-decoration:line-through;}
|
|
287
|
+
|
|
288
|
+
.rules{border-left:1px solid var(--line1);padding-left:16px;}
|
|
289
|
+
.rule{display:grid;grid-template-columns:26px 1fr;gap:9px;padding:8px 0;border-bottom:1px solid rgba(52,54,51,.7);}
|
|
290
|
+
.rule:first-child{padding-top:0;}
|
|
291
|
+
.rule:last-child{border-bottom:0;}
|
|
292
|
+
.rule em{font-style:normal;font-family:var(--mono);font-size:10px;letter-spacing:.04em;color:var(--accent);}
|
|
293
|
+
.rule b{display:block;font-family:var(--cjk);font-size:11.5px;font-weight:700;letter-spacing:.01em;}
|
|
294
|
+
.rule p{font-family:var(--cjk);font-size:10px;line-height:1.62;color:#A39C96;margin-top:2px;}
|
|
295
|
+
|
|
296
|
+
/* ================= wash ================= */
|
|
297
|
+
.wash{display:grid;grid-template-columns:repeat(8,1fr);border:1px solid var(--line1);}
|
|
298
|
+
.w{height:56px;position:relative;border-right:1px solid rgba(16,17,16,.6);}
|
|
299
|
+
.w:last-child{border-right:0;}
|
|
300
|
+
.w b{position:absolute;left:9px;top:7px;font-family:var(--mono);font-size:10px;letter-spacing:.04em;font-weight:700;}
|
|
301
|
+
.w i{position:absolute;left:9px;bottom:7px;font-style:normal;font-family:var(--cjk);font-size:9.5px;opacity:.82;}
|
|
302
|
+
|
|
303
|
+
/* ================= footer ================= */
|
|
304
|
+
footer{
|
|
305
|
+
margin-top:auto;padding-top:11px;border-top:1px solid var(--line1);
|
|
306
|
+
display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
|
|
307
|
+
font-family:var(--mono);font-size:9px;letter-spacing:.10em;color:#898D89;
|
|
308
|
+
}
|
|
309
|
+
footer .fleft b{color:var(--label1);font-weight:400;}
|
|
310
|
+
.barcode{display:flex;align-items:flex-end;gap:2px;height:20px;}
|
|
311
|
+
.barcode i{display:block;background:rgba(243,239,233,.55);height:100%;}
|
|
312
|
+
.barcode i:nth-child(3n){height:60%;}
|
|
313
|
+
.barcode i:nth-child(4n){height:80%;}
|
|
314
|
+
.barcode i:nth-child(5n){height:45%;}
|
|
315
|
+
</style>
|
|
316
|
+
</head>
|
|
317
|
+
<body>
|
|
318
|
+
<div class="sheet">
|
|
319
|
+
<div class="frame"></div>
|
|
320
|
+
<div class="rail rail-l"><span>DSH · THEME PALETTE REFERENCE · NO RADIUS</span></div>
|
|
321
|
+
<div class="rail rail-r"><span>MEASURED · WCAG 2.1 RELATIVE LUMINANCE · 05</span></div>
|
|
322
|
+
|
|
323
|
+
<header>
|
|
324
|
+
<div class="brand">
|
|
325
|
+
<span class="mark"></span>
|
|
326
|
+
<b>ARKNIGHTS: ENDFIELD / DSH THEME</b>
|
|
327
|
+
<i>PALETTE SPECIMEN — SERIES 05</i>
|
|
328
|
+
</div>
|
|
329
|
+
<div class="head-right">
|
|
330
|
+
<span>ART <em>#0A06D0</em></span>
|
|
331
|
+
<span>UI <em>#7D6FFF</em></span>
|
|
332
|
+
<span class="hd-box">2026.11.21</span>
|
|
333
|
+
</div>
|
|
334
|
+
</header>
|
|
335
|
+
|
|
336
|
+
<section class="hero">
|
|
337
|
+
<div>
|
|
338
|
+
<div class="eyebrow"><s></s><b>危机合约 / 浸蓝测试作战</b> 取色 · 深水配色</div>
|
|
339
|
+
<div class="lockup">
|
|
340
|
+
<h1>浸<span>蓝</span><u></u></h1>
|
|
341
|
+
<div class="ghost">SUBMERGE</div>
|
|
342
|
+
</div>
|
|
343
|
+
<div class="latin">PALETTE 05 <s></s><i>TOKEN PREFIX · --edge-* · KEY=ABYSS</i></div>
|
|
344
|
+
<p class="lede">
|
|
345
|
+
这张 KV 的蓝是铺满整幅的:字大到成为背景,<b>#0A06D0</b> 压在近黑底上只有 1.76:1——它天生是底,不是芯片。
|
|
346
|
+
做进界面时沿同一支色相抬起,到 <b>#7D6FFF</b> 才点得中。选中、焦点、主操作归它,
|
|
347
|
+
其余交给黑、灰与骨白;<mark>纸面模式下它反而更深</mark>。
|
|
348
|
+
</p>
|
|
349
|
+
</div>
|
|
350
|
+
|
|
351
|
+
<div class="plate">
|
|
352
|
+
<div class="plate-top"><span>SIGNAL PLATE — 01</span><b>LIFT, NOT REPAINT</b></div>
|
|
353
|
+
<div class="band band-art">
|
|
354
|
+
<div><em>KEY ART / KV 铺底</em><strong>#0A06D0</strong></div>
|
|
355
|
+
<div class="rt"><i>1.76:1 ✕</i>对 #101110<br>不可分</div>
|
|
356
|
+
</div>
|
|
357
|
+
<div class="band band-ui">
|
|
358
|
+
<div><em>UI ACCENT / 提亮档</em><strong>#7D6FFF</strong></div>
|
|
359
|
+
<div class="rt"><i>5.04:1 ✓</i>墨字可读<br>L* 26 → 55</div>
|
|
360
|
+
</div>
|
|
361
|
+
<div class="lift"><span>LIFT</span><s></s><span>+29 L*</span></div>
|
|
362
|
+
<div class="plate-specs">
|
|
363
|
+
<div>RGB<b>125 111 255</b></div>
|
|
364
|
+
<div>HUE<b>246°</b></div>
|
|
365
|
+
<div>LUM<b>22.9%</b></div>
|
|
366
|
+
<div>INK ON<b>5.04:1</b></div>
|
|
367
|
+
</div>
|
|
368
|
+
</div>
|
|
369
|
+
</section>
|
|
370
|
+
|
|
371
|
+
<div class="sec-head"><em>01</em><b>主信号 SIGNAL</b><s></s><span>同一支色相,四个亮度:原画蓝做底,提亮档做芯片,纸面回到原画那支</span></div>
|
|
372
|
+
<section class="signals">
|
|
373
|
+
<div class="sw">
|
|
374
|
+
<div class="sw-fill" style="background:#7D6FFF">
|
|
375
|
+
<span class="chip" style="background:#101110;color:#7D6FFF">FILL / ICON</span>
|
|
376
|
+
</div>
|
|
377
|
+
<div class="sw-meta">
|
|
378
|
+
<span class="sw-role">--edge-accent</span>
|
|
379
|
+
<div class="sw-name"><b>浸蓝</b><span>#7D6FFF</span></div>
|
|
380
|
+
<div class="sw-note">实心底、图标、焦点环、光标。从原画蓝抬起 29 个 L*。</div>
|
|
381
|
+
<div class="ratio"><span>on #101110</span><b>5.04:1</b></div>
|
|
382
|
+
</div>
|
|
383
|
+
</div>
|
|
384
|
+
|
|
385
|
+
<div class="sw">
|
|
386
|
+
<div class="sw-fill" style="background:#8E82FF">
|
|
387
|
+
<span class="chip" style="background:#F5F5F0;color:#101110">HOVER</span>
|
|
388
|
+
</div>
|
|
389
|
+
<div class="sw-meta">
|
|
390
|
+
<span class="sw-role">--edge-accent-deep</span>
|
|
391
|
+
<div class="sw-name"><b>点燃一档</b><span>#8E82FF</span></div>
|
|
392
|
+
<div class="sw-note">悬停 / 按下。下压档只有 3.99:1,所以往上走。</div>
|
|
393
|
+
<div class="ratio"><span>ink #101110</span><b>6.12:1</b></div>
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
396
|
+
|
|
397
|
+
<div class="sw">
|
|
398
|
+
<div class="sw-fill" style="background:#2831CC">
|
|
399
|
+
<span class="chip" style="background:#E8E8E2;color:#2831CC">ON PAPER</span>
|
|
400
|
+
</div>
|
|
401
|
+
<div class="sw-meta">
|
|
402
|
+
<span class="sw-role">--edge-accent-onpaper</span>
|
|
403
|
+
<div class="sw-name"><b>纸上蓝</b><span>#2831CC</span></div>
|
|
404
|
+
<div class="sw-note">亮色模式的字色与填充。原画蓝提一档,不是第二支蓝。</div>
|
|
405
|
+
<div class="ratio"><span>on #E8E8E2</span><b>7.11:1</b></div>
|
|
406
|
+
</div>
|
|
407
|
+
</div>
|
|
408
|
+
|
|
409
|
+
<div class="sw">
|
|
410
|
+
<div class="sw-fill" style="background:#C6BFFF">
|
|
411
|
+
<span class="chip" style="background:#101110;color:#C6BFFF">SHIMMER</span>
|
|
412
|
+
</div>
|
|
413
|
+
<div class="sw-meta">
|
|
414
|
+
<span class="sw-role">--edge-status-dark-mid</span>
|
|
415
|
+
<div class="sw-name"><b>亮带</b><span>#C6BFFF</span></div>
|
|
416
|
+
<div class="sw-note">暗色回合状态的流光中段,比主色再亮一档。</div>
|
|
417
|
+
<div class="ratio"><span>on #101110</span><b>10.25:1</b></div>
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
|
|
421
|
+
<div class="sw">
|
|
422
|
+
<div class="sw-fill" style="background:#0A06D0">
|
|
423
|
+
<span class="chip" style="background:#F5F5F0;color:#0A06D0">ART ONLY</span>
|
|
424
|
+
</div>
|
|
425
|
+
<div class="sw-meta">
|
|
426
|
+
<span class="sw-role">--art (不导出为令牌)</span>
|
|
427
|
+
<div class="sw-name"><b>原画蓝</b><span>#0A06D0</span></div>
|
|
428
|
+
<div class="sw-note">KV 的铺底蓝。只做氛围与大字,永不做芯片。</div>
|
|
429
|
+
<div class="ratio fail"><span>vs #101110</span><b>1.76:1 ✕</b></div>
|
|
430
|
+
</div>
|
|
431
|
+
</div>
|
|
432
|
+
</section>
|
|
433
|
+
|
|
434
|
+
<div class="sec-head"><em>02</em><b>中性 NEUTRAL</b><s></s><span>四套配色共用同一组纸墨:配色只换信号,不换底</span></div>
|
|
435
|
+
<section class="neutrals">
|
|
436
|
+
<div class="n"><div class="n-bar" style="background:#101110;border-bottom:1px solid #343633"><span style="color:#A8A29C">#101110</span></div><div class="n-meta"><b>BG / BASE</b><i>焦黑纸底</i></div></div>
|
|
437
|
+
<div class="n"><div class="n-bar" style="background:#181A18"><span style="color:#A8A29C">#181A18</span></div><div class="n-meta"><b>LAYER-1</b><i>面板 / 气泡</i></div></div>
|
|
438
|
+
<div class="n"><div class="n-bar" style="background:#1E201D"><span style="color:#A8A29C">#1E201D</span></div><div class="n-meta"><b>LAYER-2</b><i>沉底块</i></div></div>
|
|
439
|
+
<div class="n"><div class="n-bar" style="background:#343633"><span style="color:#898D89">#343633</span></div><div class="n-meta"><b>LINE-1</b><i>细线 / 分隔</i></div></div>
|
|
440
|
+
<div class="n"><div class="n-bar" style="background:#4A4D49"><span style="color:#C9C2BB">#4A4D49</span></div><div class="n-meta"><b>LINE-2</b><i>重线 / 边框</i></div></div>
|
|
441
|
+
<div class="n"><div class="n-bar" style="background:#898D89"><span style="color:#181A18">#898D89</span></div><div class="n-meta"><b>LABEL-2</b><i>次要文字</i></div></div>
|
|
442
|
+
<div class="n"><div class="n-bar" style="background:#F5F5F0"><span style="color:#4A4D49">#F5F5F0</span></div><div class="n-meta"><b>LABEL-1</b><i>骨白正文</i></div></div>
|
|
443
|
+
<div class="n"><div class="n-bar" style="background:#E8E8E2"><span style="color:#4A4D49">#E8E8E2</span></div><div class="n-meta"><b>PAPER-LIGHT</b><i>亮色纸底</i></div></div>
|
|
444
|
+
</section>
|
|
445
|
+
|
|
446
|
+
<div class="sec-head"><em>03</em><b>落地 APPLICATION</b><s></s><span>蓝只出现在被选中的那一处,其余仍是黑白</span></div>
|
|
447
|
+
<section class="apply">
|
|
448
|
+
<div class="app">
|
|
449
|
+
<div class="app-bar">
|
|
450
|
+
<span class="sq"></span><b>END FIELD</b><i>TALOS-II / SECTOR 05</i>
|
|
451
|
+
<span class="sp"></span><span class="dots">— □ ×</span>
|
|
452
|
+
</div>
|
|
453
|
+
<div class="app-body">
|
|
454
|
+
<div class="side">
|
|
455
|
+
<div class="side-t">SESSIONS</div>
|
|
456
|
+
<div class="side-row"><s></s>排期与配额</div>
|
|
457
|
+
<div class="side-row on"><s></s>浸蓝配色<em>05</em></div>
|
|
458
|
+
<div class="side-row"><s></s>字体与网格</div>
|
|
459
|
+
<div class="side-row"><s></s>动效规范</div>
|
|
460
|
+
<div class="side-row"><s></s>验收清单</div>
|
|
461
|
+
</div>
|
|
462
|
+
<div class="main">
|
|
463
|
+
<div class="msg-u">把信号色换成浸蓝这一套。</div>
|
|
464
|
+
<div class="msg-a">
|
|
465
|
+
<h5>ASSISTANT · 02:41:19 · TNUM</h5>
|
|
466
|
+
<p>已切换。蓝只压在三个位置:<b>选中行、焦点环、主按钮</b>。<br>纸面模式下回到原画蓝 #2831CC。</p>
|
|
467
|
+
<div class="btns">
|
|
468
|
+
<button class="btn btn-solid">确认执行</button>
|
|
469
|
+
<button class="btn btn-ghost">回滚</button>
|
|
470
|
+
</div>
|
|
471
|
+
</div>
|
|
472
|
+
<div class="status"><i></i>STREAMING · 128 t/s · 99.2%</div>
|
|
473
|
+
</div>
|
|
474
|
+
</div>
|
|
475
|
+
</div>
|
|
476
|
+
|
|
477
|
+
<div class="papercard">
|
|
478
|
+
<div class="pc-top"><b>LIGHT / 纸面</b><span>#E8E8E2</span></div>
|
|
479
|
+
<h6>纸面反而更深</h6>
|
|
480
|
+
<p class="pc-p">提亮档在纸上只有 3.05:1,只能做填充;当字必须落回原画蓝提亮后的 #2831CC。</p>
|
|
481
|
+
<div class="pc-chip">纸上蓝 #2831CC</div>
|
|
482
|
+
<div class="pc-row"><span>ink #101110</span><b>15.38:1</b></div>
|
|
483
|
+
<div class="pc-fail"><s>#7D6FFF as text</s><span>3.05:1 ✕</span></div>
|
|
484
|
+
</div>
|
|
485
|
+
|
|
486
|
+
<div class="rules">
|
|
487
|
+
<div class="rule">
|
|
488
|
+
<em>01</em>
|
|
489
|
+
<div><b>蓝要提亮才当芯片</b><p>原画蓝 1.76:1:铺满整幅成立,落在 28px 的芯片上就消失。</p></div>
|
|
490
|
+
</div>
|
|
491
|
+
<div class="rule">
|
|
492
|
+
<em>02</em>
|
|
493
|
+
<div><b>悬停是点燃</b><p>下压档 3.99:1——和重燃赤被否掉的那一档是同一个数,低亮度色相都没有向下余量。</p></div>
|
|
494
|
+
</div>
|
|
495
|
+
<div class="rule">
|
|
496
|
+
<em>03</em>
|
|
497
|
+
<div><b>纸上回到原画蓝</b><p>不是发明第二支蓝,是把原画那支提亮到能写字:7.11:1。</p></div>
|
|
498
|
+
</div>
|
|
499
|
+
<div class="rule">
|
|
500
|
+
<em>04</em>
|
|
501
|
+
<div><b>光晕不动</b><p>唯一一套沿用原品牌蓝 alpha(0.08 / 0.10)的配色:它本来就是这支色相。</p></div>
|
|
502
|
+
</div>
|
|
503
|
+
</div>
|
|
504
|
+
</section>
|
|
505
|
+
|
|
506
|
+
<div class="sec-head"><em>04</em><b>浓度 WASH</b><s></s><span>同一支蓝,八档透明度;只在黑底上叠加,不叠在纸上</span></div>
|
|
507
|
+
<section class="wash">
|
|
508
|
+
<div class="w" style="background:rgba(125,111,255,.04)"><b style="color:#898D89">04%</b><i style="color:#898D89">背景渗透</i></div>
|
|
509
|
+
<div class="w" style="background:rgba(125,111,255,.08)"><b style="color:#C9C2BB">08%</b><i style="color:#C9C2BB">卡片底</i></div>
|
|
510
|
+
<div class="w" style="background:rgba(125,111,255,.12)"><b style="color:#E4DED7">12%</b><i style="color:#E4DED7">选中行</i></div>
|
|
511
|
+
<div class="w" style="background:rgba(125,111,255,.20)"><b style="color:#F5F5F0">20%</b><i style="color:#F5F5F0">描边 / 焦点晕</i></div>
|
|
512
|
+
<div class="w" style="background:rgba(125,111,255,.32)"><b style="color:#F5F5F0">32%</b><i style="color:#F5F5F0">图表填充</i></div>
|
|
513
|
+
<div class="w" style="background:rgba(125,111,255,.48)"><b style="color:#F5F5F0">48%</b><i style="color:#F5F5F0">禁用底</i></div>
|
|
514
|
+
<div class="w" style="background:rgba(125,111,255,.72)"><b style="color:#F5F5F0">72%</b><i style="color:#F5F5F0">浮层压色</i></div>
|
|
515
|
+
<div class="w" style="background:#7D6FFF"><b style="color:#101110">100%</b><i style="color:#101110">主操作 / 实心</i></div>
|
|
516
|
+
</section>
|
|
517
|
+
|
|
518
|
+
<footer>
|
|
519
|
+
<div class="fleft"><b>MEASURED, NOT CHOSEN.</b> 对比度按 WCAG 2.1 相对亮度实算,未取整;原画蓝作芯片与提亮档作字的两个用法已标红划除。</div>
|
|
520
|
+
<div class="barcode">
|
|
521
|
+
<i style="width:2px"></i><i style="width:1px"></i><i style="width:4px"></i><i style="width:1px"></i>
|
|
522
|
+
<i style="width:2px"></i><i style="width:1px"></i><i style="width:3px"></i><i style="width:2px"></i>
|
|
523
|
+
<i style="width:1px"></i><i style="width:4px"></i><i style="width:1px"></i><i style="width:2px"></i>
|
|
524
|
+
<i style="width:1px"></i><i style="width:3px"></i><i style="width:2px"></i><i style="width:1px"></i>
|
|
525
|
+
</div>
|
|
526
|
+
<div>DSH-THEME-ENDFIELD / PALETTE DRAFT 05 / 浸蓝</div>
|
|
527
|
+
</footer>
|
|
528
|
+
</div>
|
|
529
|
+
</body>
|
|
530
|
+
</html>
|
package/docs/preview.gif
ADDED
|
Binary file
|
package/docs/release.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# 发版流程(维护者)
|
|
2
|
+
|
|
3
|
+
每完成一轮任务,**同时**把代码推到 GitHub、把包发到 npm。下面是这个仓库的实际流程
|
|
4
|
+
(2026-12-06 起)。
|
|
5
|
+
|
|
6
|
+
## 硬性前提
|
|
7
|
+
|
|
8
|
+
1. **npm 账号**:`zenux`(包名 `@zenux/dsh-theme-endfield`,scope 就是账号本身)。
|
|
9
|
+
2. **npm 2FA 是 `auth-and-writes`**:每次 `npm publish` 都需要一次性密码/安全密钥审批。
|
|
10
|
+
- 非交互终端(CI、后台 job、管道)下 npm 无法发起审批,只会直接报 `EOTP`;
|
|
11
|
+
- 必须在真实终端(或伪终端)里发布,npm 会打印
|
|
12
|
+
`https://www.npmjs.com/auth/cli/...`,浏览器里用安全密钥/通行密钥批准即可;
|
|
13
|
+
- 没有可用的 Automation/Bypass-2FA token(账号里现存的 granular token
|
|
14
|
+
`bypass_2fa: false`;npm 已收紧 bypass token,2027-01 起连直接发布也会取消)。
|
|
15
|
+
- 以后若想完全免交互,可给包配置 **Trusted Publisher(OIDC)**:npm 包
|
|
16
|
+
Settings → Trusted Publisher → GitHub Actions(`ZJ-Dragon` /
|
|
17
|
+
`dsh-theme-endfield` / `publish.yml`,允许 npm publish),之后推 `v*` tag 由
|
|
18
|
+
`.github/workflows/publish.yml` 自动发布(含 provenance)。
|
|
19
|
+
3. **版本号**:`package.json` 的 version 必须是这轮要发布的新版本(不接受同版本重复发布)。
|
|
20
|
+
|
|
21
|
+
## 一轮任务的固定步骤
|
|
22
|
+
|
|
23
|
+
1. **收尾实现**:功能/修复 + 对应测试都完成(新行为必须有测试;UI 改动过样式表的要
|
|
24
|
+
bump `SHEET_MARKER`)。
|
|
25
|
+
2. **重建产物**:`node scripts/build-host.js && node scripts/build-client.js`
|
|
26
|
+
(以及 `build-sound` / `build-font` 若源码改了它);四个 `--check` 必须绿。
|
|
27
|
+
3. **全量门禁**:
|
|
28
|
+
```bash
|
|
29
|
+
node .github/scripts/syntax-check.js
|
|
30
|
+
node scripts/build-host.js --check
|
|
31
|
+
node scripts/build-client.js --check
|
|
32
|
+
node scripts/build-contour-worker.js --check
|
|
33
|
+
node check.js && node selftest.js
|
|
34
|
+
node .github/scripts/whitespace-check.js
|
|
35
|
+
node .github/scripts/package-check.js
|
|
36
|
+
npx js-yaml@4 cordis.patch.yml > /tmp/patch.json && node .github/scripts/check-patch-yml.js /tmp/patch.json
|
|
37
|
+
CHROME_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" node .github/scripts/run-tests.js test:ci
|
|
38
|
+
```
|
|
39
|
+
4. **版本号 + 提交**:
|
|
40
|
+
- `package.json` 的 version +1(如 1.2.27);
|
|
41
|
+
- 提交分为「功能提交」和「chore(release): vX.Y.Z」两个 commit(便于回溯);
|
|
42
|
+
- `git push origin main`。
|
|
43
|
+
5. **发 npm**(在真实终端里,前台运行以便 npm 弹出审批):
|
|
44
|
+
```bash
|
|
45
|
+
cd <repo>
|
|
46
|
+
npm publish # publishConfig.access=public,无需 --access
|
|
47
|
+
```
|
|
48
|
+
浏览器弹出 `npmjs.com/auth/cli/...` 时用安全密钥批准;成功后核对:
|
|
49
|
+
```bash
|
|
50
|
+
npm view @zenux/dsh-theme-endfield version dist-tags
|
|
51
|
+
```
|
|
52
|
+
6. **GitHub 侧**:push 的 commit 就是发布记录;如果这轮要留 Release,可以
|
|
53
|
+
`git tag vX.Y.Z && git push origin vX.Y.Z`。注意:在 Trusted Publisher 配好之前,
|
|
54
|
+
**不要**推 tag —— `publish.yml` 会尝试 OIDC 发布并失败(red CI)。
|
|
55
|
+
7. **记忆**:把版本、变更要点、发布结果写进 `~/.dsh/memory`(details + daily)。
|
|
56
|
+
|
|
57
|
+
## 安装/升级
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
dsh plugin --profile web add @zenux/dsh-theme-endfield
|
|
61
|
+
# 已安装:升级到 latest
|
|
62
|
+
dsh plugin --profile web update @zenux/dsh-theme-endfield
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
本机 desktop profile 用 `link:` 指向本 checkout(便于边改边测),因此本机发版后只需
|
|
66
|
+
重启 DSH 重新加载;远端用户则走上面的 `add/update`。
|