-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
58 lines (56 loc) · 1.55 KB
/
Copy pathtailwind.config.ts
File metadata and controls
58 lines (56 loc) · 1.55 KB
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
import type { Config } from "tailwindcss";
import tailwindAnimate from "tailwindcss-animate";
const tailwindConfig = {
darkMode: ["class"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx,md}",
"./components/**/*.{js,ts,jsx,tsx,mdx,md}",
"./app/**/*.{js,ts,jsx,tsx,mdx,md}",
"./content/**/*.{js,ts,jsx,tsx,mdx,md}",
],
theme: {
extend: {
screens: {
xs: "380px",
},
colors: {
primary: "#388E3C",
secondary: "#F59E0B",
darkBg: "#102020",
lightBg: "#F9FAFB",
textLight: "#1F2937",
textDark: "#F5F5F5",
sidebar: {
DEFAULT: "hsl(var(--sidebar-background))",
foreground: "hsl(var(--sidebar-foreground))",
primary: "hsl(var(--sidebar-primary))",
"primary-foreground": "hsl(var(--sidebar-primary-foreground))",
accent: "hsl(var(--sidebar-accent))",
"accent-foreground": "hsl(var(--sidebar-accent-foreground))",
border: "hsl(var(--sidebar-border))",
ring: "hsl(var(--sidebar-ring))",
},
},
keyframes: {
open: {
"0%": {
opacity: "1",
transform: "translateX(100%)",
},
},
close: {
to: {
opacity: "0",
transform: "translateX(100%)",
},
},
},
animation: {
"drawer-open": "open 0.3s ease-in-out",
"drawer-close": "close 0.3s ease-in-out",
},
},
},
plugins: [tailwindAnimate],
} satisfies Config;
export default tailwindConfig;