-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
46 lines (45 loc) · 1.09 KB
/
tailwind.config.ts
File metadata and controls
46 lines (45 loc) · 1.09 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
import type { Config } from "tailwindcss";
import tailwindcssAnimate from "tailwindcss-animate";
const config: Config = {
darkMode: "media",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: 'var(--background)',
foreground: {
DEFAULT: 'var(--foreground)',
light: 'var(--foreground-light)',
},
primary: {
DEFAULT: "var(--primary)",
700: "var(--primary-700)",
},
secondary: {
DEFAULT: "var(--secondary)",
},
accent: {
DEFAULT: "var(--primary-700)",
},
sectionBg: {
DEFAULT: "var(--section-bg)",
}
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
}
},
fontFamily: {
inter: ["var(--font-inter)", "sans-serif"],
roboto: ["var(--font-roboto)", "sans-serif"],
},
},
plugins: [tailwindcssAnimate],
};
export default config;