forked from urani-trade/urani-swap-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
113 lines (111 loc) · 3.15 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import type { Config } from "tailwindcss";
const config = {
important: true,
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
"./node_modules/flowbite-react/lib/**/*.js",
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
backgroundSize: {
highlight: "200% 100%",
},
backgroundPosition: {
highlight: "100% 0",
},
backgroundImage: {
highlight:
"linear-gradient(90deg, var(--secondary) 50%, rgba(255, 255, 255, 0) 50%)",
},
extend: {
colors: {
"cream-lighter": "var(--cream-50)",
"cream-light": "var(--cream-100)",
cream: "var(--cream-200)",
"cream-dark": "var(--cream-900)",
"cream-darker": "var(--cream-950)",
"purple-light": "var(--purple-200)",
"purple-medium": "var(--purple-400)",
"purple-medium-dark": "var(--purple-800)",
purple: "var(--purple-900)",
"purple-dark": "var(--purple-950)",
"purple-darker": "var(--purple-1000)",
cyan: "var(--cyan-400)",
"cyan-dark": "var(--cyan-700)",
border: "var(--border)",
input: "var(--input)",
ring: "var(--ring)",
background: "var(--background)",
foreground: "var(--foreground)",
primary: {
DEFAULT: "var(--primary)",
foreground: "var(--primary-foreground)",
hover: "var(--primary-hover)",
},
secondary: {
DEFAULT: "var(--secondary)",
foreground: "var(--secondary-foreground)",
hover: "var(--secondary-hover)",
},
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)",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 4px)",
sm: "calc(var(--radius) - 4px)",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
highlight: {
to: {
"background-position": "0 0",
},
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
highlight: "highlight 1s 1 normal forwards",
},
},
},
plugins: [require("tailwindcss-animate"), require("flowbite/plugin")],
} satisfies Config;
export default config;