-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
62 lines (54 loc) · 1.36 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
sm: "640px",
md: "728px",
lg: "903px",
xlg: "1023px",
},
extend: {
typography: ({ theme }) => ({
indigo: {
css: {
"--tw-prose-links": theme("colors.indigo[400]"),
"--tw-prose-invert-links": theme("colors.indigo[400]"),
},
},
}),
keyframes: {
shudder: {
from: { transform: "rotate(-0.1deg)" },
to: { transform: "rotate(0.1deg)" },
},
},
animation: {
shudder: "0.01s shudder infinite alternate linear",
},
colors: {
primary: "#17171f",
},
},
},
plugins: [
plugin(function ({ addVariant, addUtilities }) {
addUtilities({
".text-shadow-lg": {
"text-shadow": "rgb(212, 212, 212) 0px 0px 10px",
},
".flex-col-center": {
display: "flex",
"flex-direction": "column",
"justify-content": "center",
"align-items": "center",
},
});
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
}),
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
],
};