-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
115 lines (113 loc) · 2.39 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
114
115
import daisyui from "daisyui";
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/containers/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
fontFamily: {
dana: "dana",
display: [
'ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
],
},
container: {
center: true,
padding: {
DEFAULT: "0.75rem",
sm: "0.75rem",
lg: "4rem",
},
},
extend: {
colors: {
"primary-focus": "#d81d33",
"success-focus": "#099268",
},
},
},
plugins: [
// require("@tailwindcss/typography"),
daisyui,
plugin(function ({ addBase, theme, addUtilities }) {
addBase({
section: {
paddingTop: theme("padding.3"),
paddingBottom: theme("padding.3"),
display: "flex",
flexDirection: "column",
"@media (min-width: 768px)": {
paddingTop: theme("padding.10"),
paddingBottom: theme("padding.10"),
},
},
svg: {
width: "100%",
height: "100%",
display: "inline-block",
},
});
addUtilities({
".flex-center": {
display: "flex",
alignItems: "center",
justifyContent: "center",
},
".btn": {
minHeight: "auto",
fontWeight: "400",
boxShadow: "none",
},
".prose": {
maxWidth: "100%",
},
});
}),
],
daisyui: {
themes: [
"winter",
"cupcake",
"bumblebee",
"emerald",
"corporate",
"synthwave",
"retro",
"cyberpunk",
"valentine",
"halloween",
"garden",
"forest",
"aqua",
"lofi",
"pastel",
"fantasy",
"wireframe",
"black",
"luxury",
"dracula",
"cmyk",
"autumn",
"business",
"acid",
"lemonade",
"night",
"coffee",
"dim",
"nord",
"sunset",
],
darkTheme: "winter",
base: true,
styled: true,
utils: true,
prefix: "",
logs: true,
themeRoot: ":root",
},
};
export default config;