-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
64 lines (61 loc) · 1.25 KB
/
tailwind.config.ts
File metadata and controls
64 lines (61 loc) · 1.25 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
59
60
61
62
63
64
import type { Config } from "tailwindcss";
const { heroui } = require("@heroui/react");
//Themes
import {
opalLight,
opalDark,
softAmberLight,
softAmberDark,
greenSpringLight,
greenSpringDark,
} from "./themes";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}",
],
safelist: [
"text-xs",
"text-sm",
"text-base",
"text-lg",
"text-xl",
"text-2xl",
"text-3xl",
"text-4xl",
"text-5xl",
"text-6xl",
"text-7xl",
"text-8xl",
"text-9xl",
"border-red-400",
"border-default-200",
],
darkMode: ["class", "&:not(.light *)"],
theme: {
screens: {
sm: "600px",
md: "905px",
lg: "1240px",
xl: "1440px",
"2xl": "2560px",
},
},
plugins: [
heroui({
themes: {
light: opalLight,
dark: opalDark,
opal: opalLight,
"opal-dark": opalDark,
"soft-amber": softAmberLight,
"soft-amber-dark": softAmberDark,
"green-spring": greenSpringLight,
"green-spring-dark": greenSpringDark,
},
}),
],
};
export default config;