Files
HouseholdBudgetBook/frontend/tailwind.config.ts
T

54 lines
1.3 KiB
TypeScript

import type { Config } from 'tailwindcss'
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'class',
theme: {
extend: {
colors: {
background: '#090b0f',
foreground: '#f8f3e8',
card: '#11151c',
'card-foreground': '#f8f3e8',
popover: '#121720',
'popover-foreground': '#f8f3e8',
border: '#28303a',
input: '#303946',
ring: '#d9b86f',
accent: '#202834',
'accent-foreground': '#fff7e8',
muted: '#87909d',
'muted-foreground': '#aab2bd',
primary: {
DEFAULT: '#d9b86f',
foreground: '#14110a',
},
secondary: {
DEFAULT: '#1b222d',
foreground: '#e9eef5',
},
destructive: {
DEFAULT: '#e05252',
foreground: '#ffffff',
},
income: '#38d39f',
expense: '#ff6b6b',
warning: '#f2b84b',
},
fontFamily: {
sans: ['"PingFang SC"', '"Microsoft YaHei"', 'system-ui', 'sans-serif'],
mono: ['"JetBrains Mono"', 'monospace'],
},
borderRadius: {
lg: '0.5rem',
md: '0.375rem',
sm: '0.25rem',
},
},
},
plugins: [],
} satisfies Config