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