forked from bradgarropy/bradgarropy.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (56 loc) · 1.71 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
const typography = require("@tailwindcss/typography")
const config = {
content: [
"src/root.tsx",
"src/routes/**/*.tsx",
"src/components/**/*.tsx",
"src/transformers/**/*.ts",
],
darkMode: "class",
plugins: [typography],
theme: {
extend: {
animation: {
pulse: "pulse 2s infinite ease-out",
},
borderRadius: {
DEFAULT: "0.3rem",
},
borderWidth: {
3: "3px",
5: "5px",
7: "7px",
},
boxShadow: theme => ({
"box": `3px 3px 0 ${theme("colors.black")}`,
"reverse-box": `-3px 3px 0 ${theme("colors.black")}`,
"box-white": `3px 3px 0 ${theme("colors.white")}`,
"reverse-box-white": `-3px 3px 0 ${theme("colors.white")}`,
"link": `inset 0 -2px ${theme("colors.purple.400")}`,
"link-hover": `inset 0 -25px 0 ${theme("colors.purple.400")}`,
}),
gridTemplateColumns: {
hero: "minmax(auto, 15.625rem) auto",
},
keyframes: {
pulse: {
"0%": {
opacity: "100%",
},
"50%": {
opacity: "20%",
},
"100%": {
opacity: "100%",
},
},
},
},
fontFamily: {
text: ["Open Sans", "sans-serif"],
heading: ["Montserrat", "sans-serif"],
},
},
}
export default config