mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-02 15:52:26 +08:00
Initial commit
This commit is contained in:
84
frontend/tailwind.config.js
Normal file
84
frontend/tailwind.config.js
Normal file
@@ -0,0 +1,84 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
darkMode: ["class"],
|
||||
content: [
|
||||
"./index.html",
|
||||
"./src/**/*.{vue,js,ts,jsx,tsx}",
|
||||
],
|
||||
theme: {
|
||||
container: {
|
||||
center: true,
|
||||
padding: "2rem",
|
||||
screens: {
|
||||
"2xl": "1400px",
|
||||
},
|
||||
},
|
||||
extend: {
|
||||
colors: {
|
||||
border: "var(--border)",
|
||||
input: "var(--input)",
|
||||
ring: "var(--ring)",
|
||||
background: "var(--background)",
|
||||
foreground: "var(--foreground)",
|
||||
primary: {
|
||||
DEFAULT: "var(--primary)",
|
||||
foreground: "var(--primary-foreground)",
|
||||
},
|
||||
secondary: {
|
||||
DEFAULT: "var(--secondary)",
|
||||
foreground: "var(--secondary-foreground)",
|
||||
},
|
||||
destructive: {
|
||||
DEFAULT: "var(--destructive)",
|
||||
foreground: "var(--destructive-foreground)",
|
||||
},
|
||||
muted: {
|
||||
DEFAULT: "var(--muted)",
|
||||
foreground: "var(--muted-foreground)",
|
||||
},
|
||||
accent: {
|
||||
DEFAULT: "var(--accent)",
|
||||
foreground: "var(--accent-foreground)",
|
||||
},
|
||||
popover: {
|
||||
DEFAULT: "var(--popover)",
|
||||
foreground: "var(--popover-foreground)",
|
||||
},
|
||||
card: {
|
||||
DEFAULT: "var(--card)",
|
||||
foreground: "var(--card-foreground)",
|
||||
},
|
||||
// Claude 配色
|
||||
slate: {
|
||||
dark: "var(--slate-dark)",
|
||||
medium: "var(--slate-medium)",
|
||||
light: "var(--slate-light)",
|
||||
},
|
||||
cloud: {
|
||||
dark: "var(--cloud-dark)",
|
||||
medium: "var(--cloud-medium)",
|
||||
light: "var(--cloud-light)",
|
||||
},
|
||||
ivory: {
|
||||
dark: "var(--ivory-dark)",
|
||||
medium: "var(--ivory-medium)",
|
||||
light: "var(--ivory-light)",
|
||||
},
|
||||
"book-cloth": "var(--book-cloth)",
|
||||
kraft: "var(--kraft)",
|
||||
manilla: "var(--manilla)",
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ["var(--sans-serif)", "system-ui", "-apple-system", "BlinkMacSystemFont", "PingFang SC", "sans-serif"],
|
||||
serif: ["var(--serif)", "Songti SC", "STSong", "serif"],
|
||||
mono: ["var(--monospace)", "SFMono-Regular", "Menlo", "Monaco", "monospace"],
|
||||
},
|
||||
borderRadius: {
|
||||
lg: "var(--radius)",
|
||||
md: "calc(var(--radius) - 2px)",
|
||||
sm: "calc(var(--radius) - 4px)",
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [require("tailwindcss-animate")],
|
||||
}
|
||||
Reference in New Issue
Block a user