refactor: 设计系统完整提取为 @stack/design-system 共享包(组件/tokens/类型唯一定义处,双端引用不再拷贝)
- 组件参数化适配双端:MemphisCard href/morph,EntryGuide 数据注入+linkChapter - RouteLine hover 跟随(站点 translateY(-3)、连线 CSS d 平滑插值、直线变斜线)随包回到 design-lab,shelf 场景接线演示 - tokens.css 显式 @source 包内源码——经 node_modules 解析时自动扫描漏类(text-mute 等静默丢失致 4% 画面偏差,已修复并验证) - E2E 新增 hover 跟随契约(静置 L 水平、hover 变斜线、双站点 -3px、卡片同步),28/28 全绿
This commit is contained in:
1 parent
c943a9e94d
commit
65df0ef1d7
40 files changed
+191
-736
No files matched your search
@@ -1,6 +1,5 @@
|
||||
/** 页面公共骨架 */
|
||||
import type { ReactNode } from 'react'
|
||||
import '../styles/tokens.css'
|
||||
|
||||
export function Page({ tag, title, desc, children }: { tag: string; title: string; desc: string; children: ReactNode }) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user