-
Notifications
You must be signed in to change notification settings - Fork 16
/
tailwind.config.ts
38 lines (37 loc) · 1.08 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
import defaultTheme from "tailwindcss/defaultTheme";
import typographyPlugin from "@tailwindcss/typography";
import formsPlugin from "@tailwindcss/forms";
import headlessuiPlugin from "@headlessui/tailwindcss";
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
animation: {
"spin-slow": "spin 3s linear infinite",
"spin-50-50": "pausingSpin 10s linear infinite",
},
colors: {
"brand-primary": "rgb(37, 99, 235)",
},
fontFamily: {
sans: [...defaultTheme.fontFamily.sans],
},
keyframes: {
pausingSpin: {
"0%": {
transform: "rotate(0)",
animationTimingFunction: "ease-in-out",
},
"15%,50%": { transform: "rotate(180deg)" },
"50%": {
transform: "rotate(180deg)",
animationTimingFunction: "ease-in-out",
},
"65%,100%": { transform: "rotate(360deg)" },
},
},
},
},
plugins: [formsPlugin, typographyPlugin, headlessuiPlugin],
};