Files
KimiCodeSwitch/website/tailwind.config.js
T
KimiSwitch Dev 75e48bc4c6 feat(website): 官网企业版视觉升级
- 引入 Geist 字体,去除紫色渐变,克制阴影与交互态
- 导航/卡片/按钮统一企业风格,各区块视觉收敛
2026-08-06 01:56:37 +08:00

51 lines
1.4 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{ts,tsx}"],
theme: {
extend: {
colors: {
background: "hsl(var(--background) / <alpha-value>)",
foreground: "hsl(var(--foreground) / <alpha-value>)",
card: {
DEFAULT: "hsl(var(--card) / <alpha-value>)",
foreground: "hsl(var(--card-foreground) / <alpha-value>)",
},
muted: {
DEFAULT: "hsl(var(--muted) / <alpha-value>)",
foreground: "hsl(var(--muted-foreground) / <alpha-value>)",
},
accent: {
DEFAULT: "hsl(var(--accent) / <alpha-value>)",
foreground: "hsl(var(--accent-foreground) / <alpha-value>)",
},
border: "hsl(var(--border) / <alpha-value>)",
primary: {
DEFAULT: "hsl(var(--primary) / <alpha-value>)",
foreground: "hsl(var(--primary-foreground) / <alpha-value>)",
},
ring: "hsl(var(--ring) / <alpha-value>)",
},
fontFamily: {
sans: [
"Geist",
"-apple-system",
"BlinkMacSystemFont",
'"Segoe UI"',
'"PingFang SC"',
'"Hiragino Sans GB"',
'"Microsoft YaHei"',
"sans-serif",
],
mono: [
'"Fira Code"',
"ui-monospace",
"SFMono-Regular",
"Consolas",
"monospace",
],
},
},
},
plugins: [],
};