示例工程 46-architecture

46-architecture/demo-01-structure/tokens.css

css · 0.3 KB

运行:分层与文件

点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。

@layer reset, tokens, base, components, utilities;

@layer tokens {
  :root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-soft: #dbeafe;
  }
}