@mooncellwiki/prts-design-tokens 0.1.7 → 0.1.9
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 +1 -1
- package/tokens.css +1 -1
- package/tokens.json +4 -4
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.9",
|
|
4
4
|
"description": "PRTS Design · 明日方舟网页设计系统的设计令牌:W3C DTCG 格式的 JSON5 源 + CSS 变量版 tokens.css(亮 / 暗 / 跟随系统 / 局部主题)+ 解析后的 tokens.json(每个令牌带 CSS 写法与亮 / 暗解析值)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"chrome-texture": { $value: ".55", $description: "右侧半调网点强度 0–1(游戏顶栏 img_back / 官网左缘网点),0 关闭" },
|
|
29
29
|
"keyart-image": { $value: "none", $description: "头图(Key Visual):从页面顶端铺起、垫在页眉与版面背后的一幅通栏画;--ak-keyart-h 为 0 时只在页眉后面透" },
|
|
30
30
|
"keyart-h": { $value: "0px", $description: "页眉之下那段画的高度(画有多高,不是占多高——占位看 -reveal)" },
|
|
31
|
-
"keyart-reveal": { $value: "
|
|
31
|
+
"keyart-reveal": { $value: "72px", $description: "留在版面之上、不被压住的一段高度(不超过 --ak-keyart-h,没有头图时不占位):默认留一小条,画先露一口气、版面不贴着页眉;0 = 完全垫在版面背后;= --ak-keyart-h 即一条横幅带" },
|
|
32
32
|
"keyart-veil": { $value: "60%", $description: "垫在版面背后那一段蒙的画布色纱:顶端的浓度,往下渐浓到 100%。画面越花调得越高;别低于 50%(侧栏 / 标题压在画上要读得清)" },
|
|
33
33
|
"keyart-position": { $value: "center 30%", $description: "-position / -size 相对整块(页眉高 + -h)计算" },
|
|
34
34
|
"keyart-size": { $value: "cover" },
|
package/tokens.css
CHANGED
|
@@ -642,7 +642,7 @@ html.skin-theme-clientpref-night,
|
|
|
642
642
|
--ak-chrome-texture: .55; /* 右侧半调网点强度 0–1(游戏顶栏 img_back / 官网左缘网点),0 关闭 */
|
|
643
643
|
--ak-keyart-image: none; /* 头图(Key Visual):从页面顶端铺起、垫在页眉与版面背后的一幅通栏画;--ak-keyart-h 为 0 时只在页眉后面透 */
|
|
644
644
|
--ak-keyart-h: 0px; /* 页眉之下那段画的高度(画有多高,不是占多高——占位看 -reveal) */
|
|
645
|
-
--ak-keyart-reveal:
|
|
645
|
+
--ak-keyart-reveal: 72px; /* 留在版面之上、不被压住的一段高度(不超过 --ak-keyart-h,没有头图时不占位):默认留一小条,画先露一口气、版面不贴着页眉;0 = 完全垫在版面背后;= --ak-keyart-h 即一条横幅带 */
|
|
646
646
|
--ak-keyart-veil: 60%; /* 垫在版面背后那一段蒙的画布色纱:顶端的浓度,往下渐浓到 100%。画面越花调得越高;别低于 50%(侧栏 / 标题压在画上要读得清) */
|
|
647
647
|
--ak-keyart-position: center 30%; /* -position / -size 相对整块(页眉高 + -h)计算 */
|
|
648
648
|
--ak-keyart-size: cover;
|
package/tokens.json
CHANGED
|
@@ -3254,11 +3254,11 @@
|
|
|
3254
3254
|
"chrome",
|
|
3255
3255
|
"keyart-reveal"
|
|
3256
3256
|
],
|
|
3257
|
-
"description": "
|
|
3258
|
-
"css": "
|
|
3257
|
+
"description": "留在版面之上、不被压住的一段高度(不超过 --ak-keyart-h,没有头图时不占位):默认留一小条,画先露一口气、版面不贴着页眉;0 = 完全垫在版面背后;= --ak-keyart-h 即一条横幅带",
|
|
3258
|
+
"css": "72px",
|
|
3259
3259
|
"resolved": {
|
|
3260
|
-
"light": "
|
|
3261
|
-
"dark": "
|
|
3260
|
+
"light": "72px",
|
|
3261
|
+
"dark": "72px"
|
|
3262
3262
|
}
|
|
3263
3263
|
},
|
|
3264
3264
|
{
|