-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.ts
60 lines (56 loc) · 1.35 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
import type { Config } from "tailwindcss";
const themes = require("daisyui/src/theming/themes");
themes.light;
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/templates/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
sm: "576px",
md: "960px",
lg: "1180px",
},
extend: {},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("daisyui"),
],
daisyui: {
themes: [
{
light: {
...themes.light,
".hero-content": {
"@apply text-neutral": "",
},
".hero-content .hero-bg-btn-cta": {
"@apply border-neutral text-neutral hover:bg-neutral/20": "",
},
".nav-header": {
"@apply text-neutral": "",
},
},
dark: {
...themes.dark,
".hero-content": {
"@apply text-white": "",
},
".hero-content .hero-bg-btn-cta": {
"@apply border-white text-white hover:bg-white/20": "",
},
".nav-header": {
"@apply text-white": "",
},
},
},
],
},
};
export default config;