forked from lukevella/rallly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
47 lines (46 loc) · 1.21 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
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: ["./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}"],
theme: {
extend: {
primary: colors.indigo,
colors: {
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet,
},
keyframes: {
wiggle: {
"0%, 100%": { transform: "rotate(-1deg)" },
"50%": { transform: "rotate(1deg)" },
},
popIn: {
"0%": {
transform: "scale(0.8)",
opacity: "0",
},
"100%": {
transform: "scale(1)",
opacity: "1",
},
},
},
animation: {
wiggle: "wiggle 0.2s ease-in-out",
popIn: "popIn 0.1s ease-out",
},
screens: {
xs: "375px",
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
transitionTimingFunction: {
"in-expo": "cubic-bezier(0.68, -0.6, 0.32, 1.6)",
"out-expo": "cubic-bezier(0.19, 1, 0.22, 1)",
},
},
},
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")],
};