121 lines
3.4 KiB
TypeScript
121 lines
3.4 KiB
TypeScript
import type { Config } from "tailwindcss";
|
|
|
|
const config: Config = {
|
|
darkMode: ["class"],
|
|
content: [
|
|
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
|
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
|
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
|
],
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ["Inter", "system-ui", "-apple-system", "sans-serif"],
|
|
},
|
|
colors: {
|
|
border: "hsl(var(--border))",
|
|
input: "hsl(var(--input))",
|
|
ring: "hsl(var(--ring))",
|
|
background: "hsl(var(--background))",
|
|
foreground: "hsl(var(--foreground))",
|
|
primary: {
|
|
DEFAULT: "hsl(var(--primary))",
|
|
foreground: "hsl(var(--primary-foreground))",
|
|
50: "#ecfdf5",
|
|
100: "#d1fae5",
|
|
200: "#a7f3d0",
|
|
300: "#6ee7b7",
|
|
400: "#34d399",
|
|
500: "#10b981",
|
|
600: "#059669",
|
|
700: "#047857",
|
|
800: "#065f46",
|
|
900: "#064e3b",
|
|
},
|
|
secondary: {
|
|
DEFAULT: "hsl(var(--secondary))",
|
|
foreground: "hsl(var(--secondary-foreground))",
|
|
50: "#fff7ed",
|
|
100: "#ffedd5",
|
|
200: "#fed7aa",
|
|
300: "#fdba74",
|
|
400: "#fb923c",
|
|
500: "#f97316",
|
|
600: "#ea580c",
|
|
700: "#c2410c",
|
|
800: "#9a3412",
|
|
900: "#7c2d12",
|
|
},
|
|
destructive: {
|
|
DEFAULT: "hsl(var(--destructive))",
|
|
foreground: "hsl(var(--destructive-foreground))",
|
|
},
|
|
muted: {
|
|
DEFAULT: "hsl(var(--muted))",
|
|
foreground: "hsl(var(--muted-foreground))",
|
|
},
|
|
accent: {
|
|
DEFAULT: "hsl(var(--accent))",
|
|
foreground: "hsl(var(--accent-foreground))",
|
|
},
|
|
popover: {
|
|
DEFAULT: "hsl(var(--popover))",
|
|
foreground: "hsl(var(--popover-foreground))",
|
|
},
|
|
card: {
|
|
DEFAULT: "hsl(var(--card))",
|
|
foreground: "hsl(var(--card-foreground))",
|
|
},
|
|
surface: "#FFFFFF",
|
|
geo: {
|
|
bg: "#FAFBFC",
|
|
border: "#E5E7EB",
|
|
text: {
|
|
primary: "#111827",
|
|
secondary: "#6B7280",
|
|
muted: "#9CA3AF",
|
|
},
|
|
green: "#10B981",
|
|
orange: "#F97316",
|
|
nav: "#FFFFFF",
|
|
"nav-hover": "#F3F4F6",
|
|
"nav-active": "#10B981",
|
|
"nav-text": "#374151",
|
|
"nav-text-active": "#059669",
|
|
"nav-active-bg": "#ECFDF5",
|
|
},
|
|
},
|
|
borderRadius: {
|
|
sm: "8px",
|
|
md: "12px",
|
|
lg: "16px",
|
|
xl: "20px",
|
|
"2xl": "24px",
|
|
},
|
|
boxShadow: {
|
|
sm: "0 1px 3px 0 rgba(0,0,0,0.06), 0 1px 2px -1px rgba(0,0,0,0.04)",
|
|
md: "0 4px 12px 0 rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05)",
|
|
lg: "0 8px 24px 0 rgba(0,0,0,0.08), 0 4px 8px -4px rgba(0,0,0,0.06)",
|
|
hover: "0 12px 32px 0 rgba(0,0,0,0.10), 0 6px 12px -4px rgba(0,0,0,0.08)",
|
|
card: "0 1px 3px rgba(0,0,0,0.04)",
|
|
"card-hover": "0 4px 12px rgba(0,0,0,0.06)",
|
|
},
|
|
transitionDuration: {
|
|
DEFAULT: "200ms",
|
|
fast: "150ms",
|
|
normal: "200ms",
|
|
slow: "300ms",
|
|
},
|
|
spacing: {
|
|
"4.5": "1.125rem",
|
|
"13": "3.25rem",
|
|
"15": "3.75rem",
|
|
"18": "4.5rem",
|
|
"22": "5.5rem",
|
|
},
|
|
},
|
|
},
|
|
plugins: [require("tailwindcss-animate")],
|
|
};
|
|
export default config;
|