diff --git a/src/frontend/client/src/pages/_gallery/GalleryApp.tsx b/src/frontend/client/src/pages/_gallery/GalleryApp.tsx index dce03c0a5..3d35a0a35 100644 --- a/src/frontend/client/src/pages/_gallery/GalleryApp.tsx +++ b/src/frontend/client/src/pages/_gallery/GalleryApp.tsx @@ -77,7 +77,7 @@ export default function GalleryApp() { key={p.id} onClick={() => setActiveId(p.id)} className={cn( - 'flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-body-sm transition-colors', + 'flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-body transition-colors', activeId === p.id ? 'bg-blue-500/[0.08] font-medium text-text-primary' : 'text-muted-foreground hover:bg-muted/60', diff --git a/src/frontend/client/src/pages/_gallery/components/kit.tsx b/src/frontend/client/src/pages/_gallery/components/kit.tsx index db113c73b..4c4e4e6d1 100644 --- a/src/frontend/client/src/pages/_gallery/components/kit.tsx +++ b/src/frontend/client/src/pages/_gallery/components/kit.tsx @@ -49,7 +49,7 @@ export function ComponentPage({

何时使用 / 规则