From 4f4a8df74a597b7b30f959ad4bb6a6f0a95852df Mon Sep 17 00:00:00 2001 From: cqh963852 Date: Thu, 8 Oct 2026 15:06:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20design-typography=20=E6=95=B4=E9=A1=B5?= =?UTF-8?q?=E6=97=A0=E6=A0=B7=E5=BC=8F=E2=80=94=E2=80=94tokens=20=E9=9D=A0?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=93=BE=E5=89=AF=E4=BD=9C=E7=94=A8=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=EF=BC=8C=E7=BA=AF=E5=AD=97=E9=98=B6=E9=A1=B5=20import?= =?UTF-8?q?=20=E9=93=BE=E5=8F=AA=E5=89=A9=20type-only=EF=BC=88=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=9C=9F=E6=93=A6=E9=99=A4=EF=BC=89=EF=BC=9B=E4=B8=A4?= =?UTF-8?q?=20app=20=E7=9A=84=20ui.tsx=20=E6=98=BE=E5=BC=8F=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=E5=BC=95=20@stack/design-system=20=E5=85=9C?= =?UTF-8?q?=E5=BA=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/design-lab/src/lib/ui.tsx | 1 + apps/tutorial/src/lib/ui.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/design-lab/src/lib/ui.tsx b/apps/design-lab/src/lib/ui.tsx index 865161b..bc5c1dc 100644 --- a/apps/design-lab/src/lib/ui.tsx +++ b/apps/design-lab/src/lib/ui.tsx @@ -1,4 +1,5 @@ /** 页面公共骨架 */ +import '@stack/design-system' import type { ReactNode } from 'react' export function Page({ tag, title, desc, children }: { tag: string; title: string; desc: string; children: ReactNode }) { diff --git a/apps/tutorial/src/lib/ui.tsx b/apps/tutorial/src/lib/ui.tsx index 36e80c8..9b983c3 100644 --- a/apps/tutorial/src/lib/ui.tsx +++ b/apps/tutorial/src/lib/ui.tsx @@ -1,5 +1,6 @@ /** 教程站页面骨架:站头导航跨页常驻(view-transition-name 共享元素,页间不闪烁)。 * 选中项背景色=该章色(与章头 title 横幅统一);书架/设计册选中为 ink。 */ +import '@stack/design-system' import type { ReactNode } from 'react' import type { ChapterId } from '@stack/design-system' import { CHAPTERS } from './chapters'