feat(tokens): 下载按钮尺寸提升为正式 token(--iwb-dl-size/radius/inset/gap),宿主与 gallery 共用
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 31s

This commit is contained in:
qiqi committed 2026-12-02 17:31:17 +08:00
1 parent 559945281f
commit f83ed2e08a
3 files changed
+13 -4

No files matched your search

+5
View File
@@ -116,6 +116,11 @@ const SCALE = [
['--iwb-radius-panel', '12px', '面板/工具栏'],
['--iwb-radius-popover', '14px', '浮层/菜单/右键'],
['--iwb-radius-full', '999px', '圆形/药丸'],
// 2026-12-02:下载/浮层「圆形图标按钮」的一组尺寸(宿主 style.css 与 gallery 插件共用同一套变量)
['--iwb-dl-size', '28px', '下载按钮:直径'],
['--iwb-dl-radius', 'var(--iwb-radius-full)', '下载按钮:圆角(胶囊/圆)'],
['--iwb-dl-inset', '8px', '下载按钮:距容器右下角内距'],
['--iwb-dl-gap', '4px', '下载按钮:多按钮之间的间距'],
['--iwb-font-2xs', '10px', '极小标注:徽标角标/画布坐标/缩略图角标(2026-11-24 承认它,此前 29 处裸写)'],
['--iwb-font-xs', '11px', 'M4 字号:状态栏/徽标'],
['--iwb-font-sm', '12px', '标签/次要正文'],