@mooncellwiki/prts-design-tokens 0.1.6 → 0.1.7
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/package.json +1 -1
- package/src/functional/chrome.json5 +5 -3
- package/tokens.css +5 -3
- package/tokens.json +29 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mooncellwiki/prts-design-tokens",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "PRTS Design · 明日方舟网页设计系统的设计令牌:W3C DTCG 格式的 JSON5 源 + CSS 变量版 tokens.css(亮 / 暗 / 跟随系统 / 局部主题)+ 解析后的 tokens.json(每个令牌带 CSS 写法与亮 / 暗解析值)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -26,12 +26,14 @@
|
|
|
26
26
|
"chrome-image-size": { $value: "auto 100%" },
|
|
27
27
|
"chrome-image-repeat": { $value: "no-repeat" },
|
|
28
28
|
"chrome-texture": { $value: ".55", $description: "右侧半调网点强度 0–1(游戏顶栏 img_back / 官网左缘网点),0 关闭" },
|
|
29
|
-
"keyart-image": { $value: "none", $description: "头图(Key Visual
|
|
30
|
-
"keyart-h": { $value: "0px", $description: "
|
|
29
|
+
"keyart-image": { $value: "none", $description: "头图(Key Visual):从页面顶端铺起、垫在页眉与版面背后的一幅通栏画;--ak-keyart-h 为 0 时只在页眉后面透" },
|
|
30
|
+
"keyart-h": { $value: "0px", $description: "页眉之下那段画的高度(画有多高,不是占多高——占位看 -reveal)" },
|
|
31
|
+
"keyart-reveal": { $value: "0px", $description: "留在版面之上、不被压住的一段高度:0 = 头图完全垫在版面背后、不把正文往下推;= --ak-keyart-h 即一条横幅带" },
|
|
32
|
+
"keyart-veil": { $value: "60%", $description: "垫在版面背后那一段蒙的画布色纱:顶端的浓度,往下渐浓到 100%。画面越花调得越高;别低于 50%(侧栏 / 标题压在画上要读得清)" },
|
|
31
33
|
"keyart-position": { $value: "center 30%", $description: "-position / -size 相对整块(页眉高 + -h)计算" },
|
|
32
34
|
"keyart-size": { $value: "cover" },
|
|
33
35
|
"keyart-bg": { $value: "transparent", $description: "画未铺满 / 未加载时的底色;默认透明,没有头图时页眉背后什么也不多画" },
|
|
34
|
-
"keyart-fade": { $value: "96px", $description: "底部渐隐进画布的高度,0
|
|
36
|
+
"keyart-fade": { $value: "96px", $description: "底部渐隐进画布的高度,0 关闭(垫底段另有 -veil 的纱)" },
|
|
35
37
|
"canvas-image": { $value: "none", $description: "页面画布底纹 / 底图(body 背景,叠在 --ak-bg-canvas 之上;现网 body 的 bkg 图位置)" },
|
|
36
38
|
"canvas-position": { $value: "center top" },
|
|
37
39
|
"canvas-size": { $value: "auto" },
|
package/tokens.css
CHANGED
|
@@ -640,12 +640,14 @@ html.skin-theme-clientpref-night,
|
|
|
640
640
|
--ak-chrome-image-size: auto 100%;
|
|
641
641
|
--ak-chrome-image-repeat: no-repeat;
|
|
642
642
|
--ak-chrome-texture: .55; /* 右侧半调网点强度 0–1(游戏顶栏 img_back / 官网左缘网点),0 关闭 */
|
|
643
|
-
--ak-keyart-image: none; /* 头图(Key Visual
|
|
644
|
-
--ak-keyart-h: 0px; /*
|
|
643
|
+
--ak-keyart-image: none; /* 头图(Key Visual):从页面顶端铺起、垫在页眉与版面背后的一幅通栏画;--ak-keyart-h 为 0 时只在页眉后面透 */
|
|
644
|
+
--ak-keyart-h: 0px; /* 页眉之下那段画的高度(画有多高,不是占多高——占位看 -reveal) */
|
|
645
|
+
--ak-keyart-reveal: 0px; /* 留在版面之上、不被压住的一段高度:0 = 头图完全垫在版面背后、不把正文往下推;= --ak-keyart-h 即一条横幅带 */
|
|
646
|
+
--ak-keyart-veil: 60%; /* 垫在版面背后那一段蒙的画布色纱:顶端的浓度,往下渐浓到 100%。画面越花调得越高;别低于 50%(侧栏 / 标题压在画上要读得清) */
|
|
645
647
|
--ak-keyart-position: center 30%; /* -position / -size 相对整块(页眉高 + -h)计算 */
|
|
646
648
|
--ak-keyart-size: cover;
|
|
647
649
|
--ak-keyart-bg: transparent; /* 画未铺满 / 未加载时的底色;默认透明,没有头图时页眉背后什么也不多画 */
|
|
648
|
-
--ak-keyart-fade: 96px; /* 底部渐隐进画布的高度,0
|
|
650
|
+
--ak-keyart-fade: 96px; /* 底部渐隐进画布的高度,0 关闭(垫底段另有 -veil 的纱) */
|
|
649
651
|
--ak-canvas-image: none; /* 页面画布底纹 / 底图(body 背景,叠在 --ak-bg-canvas 之上;现网 body 的 bkg 图位置) */
|
|
650
652
|
--ak-canvas-position: center top;
|
|
651
653
|
--ak-canvas-size: auto;
|
package/tokens.json
CHANGED
|
@@ -3228,7 +3228,7 @@
|
|
|
3228
3228
|
"chrome",
|
|
3229
3229
|
"keyart-image"
|
|
3230
3230
|
],
|
|
3231
|
-
"description": "头图(Key Visual
|
|
3231
|
+
"description": "头图(Key Visual):从页面顶端铺起、垫在页眉与版面背后的一幅通栏画;--ak-keyart-h 为 0 时只在页眉后面透",
|
|
3232
3232
|
"css": "none",
|
|
3233
3233
|
"resolved": {
|
|
3234
3234
|
"light": "none",
|
|
@@ -3241,13 +3241,39 @@
|
|
|
3241
3241
|
"chrome",
|
|
3242
3242
|
"keyart-h"
|
|
3243
3243
|
],
|
|
3244
|
-
"description": "
|
|
3244
|
+
"description": "页眉之下那段画的高度(画有多高,不是占多高——占位看 -reveal)",
|
|
3245
3245
|
"css": "0px",
|
|
3246
3246
|
"resolved": {
|
|
3247
3247
|
"light": "0px",
|
|
3248
3248
|
"dark": "0px"
|
|
3249
3249
|
}
|
|
3250
3250
|
},
|
|
3251
|
+
{
|
|
3252
|
+
"name": "--ak-keyart-reveal",
|
|
3253
|
+
"path": [
|
|
3254
|
+
"chrome",
|
|
3255
|
+
"keyart-reveal"
|
|
3256
|
+
],
|
|
3257
|
+
"description": "留在版面之上、不被压住的一段高度:0 = 头图完全垫在版面背后、不把正文往下推;= --ak-keyart-h 即一条横幅带",
|
|
3258
|
+
"css": "0px",
|
|
3259
|
+
"resolved": {
|
|
3260
|
+
"light": "0px",
|
|
3261
|
+
"dark": "0px"
|
|
3262
|
+
}
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"name": "--ak-keyart-veil",
|
|
3266
|
+
"path": [
|
|
3267
|
+
"chrome",
|
|
3268
|
+
"keyart-veil"
|
|
3269
|
+
],
|
|
3270
|
+
"description": "垫在版面背后那一段蒙的画布色纱:顶端的浓度,往下渐浓到 100%。画面越花调得越高;别低于 50%(侧栏 / 标题压在画上要读得清)",
|
|
3271
|
+
"css": "60%",
|
|
3272
|
+
"resolved": {
|
|
3273
|
+
"light": "60%",
|
|
3274
|
+
"dark": "60%"
|
|
3275
|
+
}
|
|
3276
|
+
},
|
|
3251
3277
|
{
|
|
3252
3278
|
"name": "--ak-keyart-position",
|
|
3253
3279
|
"path": [
|
|
@@ -3292,7 +3318,7 @@
|
|
|
3292
3318
|
"chrome",
|
|
3293
3319
|
"keyart-fade"
|
|
3294
3320
|
],
|
|
3295
|
-
"description": "底部渐隐进画布的高度,0
|
|
3321
|
+
"description": "底部渐隐进画布的高度,0 关闭(垫底段另有 -veil 的纱)",
|
|
3296
3322
|
"css": "96px",
|
|
3297
3323
|
"resolved": {
|
|
3298
3324
|
"light": "96px",
|