示例工程 59-blog-cards
59-blog-cards/app/tokens.css
点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。
:root {
--ink: #0f172a;
--muted: #64748b;
--paper: #f8fafc;
--surface: #ffffff;
--border: #e2e8f0;
--brand: #4f46e5;
--brand-dark: #4338ca;
--brand-soft: #e0e7ff;
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-12: 3rem;
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-base: 1rem;
--text-lg: 1.125rem;
--text-2xl: 1.75rem;
--text-3xl: 2.25rem;
--radius-sm: 0.5rem;
--radius-md: 0.75rem;
--radius-lg: 1rem;
--shadow-sm: 0 1px 2px rgb(15 23 42 / 8%);
--shadow-md: 0 12px 32px rgb(15 23 42 / 14%);
}