-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
tailwind.config.ts
38 lines (37 loc) · 997 Bytes
/
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
import type { Config } from "tailwindcss"
import typography from "@tailwindcss/typography"
const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}", "./theme.config.tsx"],
theme: {
container: {
center: true,
padding: "1rem",
},
extend: {
colors: {
primary: "#e10098",
"conf-black": "#0e031c",
black: "#1b1b1b",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
animation: {
scroll:
"scroll var(--animation-duration, 40s) var(--animation-direction, forwards) linear infinite",
},
keyframes: {
scroll: {
to: {
transform: "translate(calc(-50% - .5rem))",
},
},
},
},
},
plugins: [typography],
darkMode: ["class", 'html[class~="dark"]'],
}
export default config