示例工程 15-tailwind-css-and-design-tokens

15-tailwind-css-and-design-tokens/demo-02-theme-tokens/tokens.css

css · 0.3 KB

@theme {
  --color-primary: #2563eb;
  --color-surface: #ffffff;
  --color-panel: #f8fafc;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-muted: #64748b;
}

.dark {
  --color-primary: #60a5fa;
  --color-surface: #0f172a;
  --color-panel: #1e293b;
  --color-border: #334155;
  --color-text: #e2e8f0;
  --color-muted: #94a3b8;
}