-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
44 lines (43 loc) · 987 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
44 lines (43 loc) · 987 Bytes
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
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
container: {
center: true,
},
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
a: {
color: theme("colors.pink.400"),
fontWeight: theme("font.bold"),
textDecoration: "none",
"&:hover": {
color: theme("colors.pink.400"),
textDecoration: "underline",
},
},
},
},
}),
screens: {
xs: "512px",
},
colors: {
gray: { ...colors.zinc, 750: "#333338" },
zinc: colors.gray,
},
animation: {
"fade-in": "fade-in .2s ease-out",
},
keyframes: {
"fade-in": {
from: { opacity: 0 },
to: { opacity: 1 },
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};