main
ts 105 lines 2.85 KB
Raw
1 import type { Config } from "tailwindcss";
2
3 export default {
4 darkMode: ["class"],
5 content: ["./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}"],
6 prefix: "",
7 theme: {
8 container: {
9 center: true,
10 padding: "2rem",
11 screens: {
12 "2xl": "1400px",
13 },
14 },
15 extend: {
16 fontFamily: {
17 sans: ['Inter', 'system-ui', 'sans-serif'],
18 },
19 colors: {
20 border: "hsl(var(--border))",
21 input: "hsl(var(--input))",
22 ring: "hsl(var(--ring))",
23 background: "hsl(var(--background))",
24 foreground: "hsl(var(--foreground))",
25 primary: {
26 DEFAULT: "hsl(var(--primary))",
27 foreground: "hsl(var(--primary-foreground))",
28 },
29 secondary: {
30 DEFAULT: "hsl(var(--secondary))",
31 foreground: "hsl(var(--secondary-foreground))",
32 },
33 destructive: {
34 DEFAULT: "hsl(var(--destructive))",
35 foreground: "hsl(var(--destructive-foreground))",
36 },
37 muted: {
38 DEFAULT: "hsl(var(--muted))",
39 foreground: "hsl(var(--muted-foreground))",
40 },
41 accent: {
42 DEFAULT: "hsl(var(--accent))",
43 foreground: "hsl(var(--accent-foreground))",
44 },
45 popover: {
46 DEFAULT: "hsl(var(--popover))",
47 foreground: "hsl(var(--popover-foreground))",
48 },
49 card: {
50 DEFAULT: "hsl(var(--card))",
51 foreground: "hsl(var(--card-foreground))",
52 },
53 toolbar: {
54 bg: "hsl(var(--toolbar-bg))",
55 border: "hsl(var(--toolbar-border))",
56 },
57 nav: {
58 bg: "hsl(var(--nav-bg))",
59 border: "hsl(var(--nav-border))",
60 active: "hsl(var(--nav-active))",
61 },
62 expense: {
63 positive: "hsl(var(--expense-positive))",
64 negative: "hsl(var(--expense-negative))",
65 },
66 },
67 boxShadow: {
68 'sm': 'var(--shadow-sm)',
69 'md': 'var(--shadow-md)',
70 'lg': 'var(--shadow-lg)',
71 },
72 transitionProperty: {
73 'all': 'var(--transition)',
74 },
75 borderRadius: {
76 lg: "var(--radius)",
77 md: "calc(var(--radius) - 2px)",
78 sm: "calc(var(--radius) - 4px)",
79 },
80 keyframes: {
81 "accordion-down": {
82 from: {
83 height: "0",
84 },
85 to: {
86 height: "var(--radix-accordion-content-height)",
87 },
88 },
89 "accordion-up": {
90 from: {
91 height: "var(--radix-accordion-content-height)",
92 },
93 to: {
94 height: "0",
95 },
96 },
97 },
98 animation: {
99 "accordion-down": "accordion-down 0.2s ease-out",
100 "accordion-up": "accordion-up 0.2s ease-out",
101 },
102 },
103 },
104 plugins: [require("tailwindcss-animate")],
105 } satisfies Config;