-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (59 loc) · 1.92 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} */
module.exports = {
darkMode: "class",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx,md}",
],
theme: {
extend: {
colors: {
gray: {
DEFAULT: "rgb(var(--app-gray-default) / <alpha-value>)",
50: "rgb(var(--app-gray-50) / <alpha-value>)",
100: "rgb(var(--app-gray-100) / <alpha-value>)",
200: "rgb(var(--app-gray-200) / <alpha-value>)",
300: "rgb(var(--app-gray-300) / <alpha-value>)",
400: "rgb(var(--app-gray-400) / <alpha-value>)",
500: "rgb(var(--app-gray-500) / <alpha-value>)",
600: "rgb(var(--app-gray-600) / <alpha-value>)",
700: "rgb(var(--app-gray-700) / <alpha-value>)",
800: "rgb(var(--app-gray-800) / <alpha-value>)",
900: "rgb(var(--app-gray-900) / <alpha-value>)",
950: "rgb(var(--app-gray-950) / <alpha-value>)",
},
},
keyframes: {
open: {
"0%": {
opacity: 1,
transform: "translateX(100%)",
},
},
close: {
to: {
opacity: 0,
transform: "translateX(100%)",
},
},
waving: {
"0%": { transform: "rotate(0.0deg)" },
"10%": { transform: "rotate(14deg)" },
"20%": { transform: "rotate(-8deg)" },
"30%": { transform: "rotate(14deg)" },
"40%": { transform: "rotate(-4deg)" },
"50%": { transform: "rotate(10.0deg)" },
"60%": { transform: "rotate(0.0deg)" },
"100%": { transform: "rotate(0.0deg)" },
},
},
animation: {
"drawer-open": "open 0.3s ease-in-out",
"drawer-close": "close 0.3s ease-in-out",
"waving-hand": "waving 2s infinite",
},
},
},
plugins: [require("@tailwindcss/typography")],
};