refactor(design): 组件样式抽成共用的 components.css

- 预览页的组件样式移到 system/components.css,本地字体加载移到 system/fonts-local.css,供预览页和原型共用
- 出处引用限 4 行、选中态加粗;链接按钮去下划线;hidden 属性优先于组件样式
- 规范补充:「已忽略」署名用辅助灰和「–」,不用确认绿

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
YANG JIANKUAN
2026-11-02 22:02:34 +08:00
parent 274a211ac9
commit 700514746f
5 changed files with 202 additions and 184 deletions

View File

@@ -0,0 +1,5 @@
/* 本地预览用字体:从 logo/.work/fonts 加载(不进 git,搭建方法见 logo/logo-spec.md 第 6 节)。
* 没有该目录时自动退回系统字体。正式前端改用 @fontsource 自托管(design-system.md §4.1)。 */
@font-face{font-family:"Noto Serif SC";src:url("../logo/.work/fonts/NotoSerifSC%5Bwght%5D.ttf") format("truetype");font-weight:200 900}
@font-face{font-family:"Barlow Semi Condensed";src:url("../logo/.work/fonts/BarlowSemiCondensed-Medium.ttf") format("truetype");font-weight:500}
@font-face{font-family:"Barlow Semi Condensed";src:url("../logo/.work/fonts/BarlowSemiCondensed-SemiBold.ttf") format("truetype");font-weight:600}