-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
91 lines (91 loc) · 2.71 KB
/
Copy pathtailwind.config.cjs
File metadata and controls
91 lines (91 loc) · 2.71 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: ["var(--font-montreal)"],
},
colors: {
primary: {
DEFAULT: "#7c3aed", // violet-600 close to brand gradient
foreground: "#ffffff",
},
muted: {
DEFAULT: "#71717a", // zinc-500
foreground: "#e4e4e7", // zinc-200
},
bg: {
DEFAULT: "#0b0b10",
foreground: "#e5e7eb",
},
card: {
DEFAULT: "#111318",
border: "#334155",
},
},
animation: {
"flip-once": "flip 350ms linear normal",
wiggleLeft: "wiggleLeft 20s ease-in-out infinite",
wiggleRight: "wiggleRight 20s ease-in-out infinite",
},
screens: {
xs: "400px",
"2xs": "350px",
},
keyframes: {
flip: {
"0%": { transform: "rotateY(0deg)" },
"50%": { transform: "rotateY(180deg)" },
"100%": { transform: "rotateY(360deg)" },
},
wiggleLeft: {
"0%": {
transform: "translate(0px, 0px) scale(1) rotate(0deg) skew(0deg) ",
borderRadius: "9999px 9999px 9999px 9999px",
},
"33%": {
transform:
"translate(-40px, -20px) scale(0.9) rotate(90deg) skew(10deg)",
borderRadius: "400px 9999px 9999px 2000px",
},
"66%": {
transform:
"translate(-20px, 20px) scale(1.5) rotate(180deg) skew(-10deg)",
borderRadius: "1000px 200px 3000px 9999px",
},
"100%": {
transform: "translate(0px, 0px) scale(1) rotate(0deg) skew(0deg)",
borderRadius: "9999px 9999px 9999px 9999px",
},
},
wiggleRight: {
"0%": {
transform: "translate(0px, 0px) scale(1) rotate(0deg) skew(0deg) ",
borderRadius: "9999px 9999px 9999px 9999px",
},
"33%": {
transform:
"translate(50px, -200px) scale(1.5) rotate(90deg) skew(0deg) ",
borderRadius: "9999px 4000px 9999px 2000px",
},
"66%": {
transform:
"translate(60px, 200px) scale(0.9) rotate(180deg) skew(0deg) ",
borderRadius: "1000px 9999px 3000px 4000px",
},
"100%": {
transform: "translate(0px, 0px) scale(1) rotate(0deg) skew(0deg) ",
borderRadius: "9999px 9999px 9999px 9999px",
},
},
},
},
},
plugins: [
"postcss-import",
"tailwindcss/nesting",
require("@tailwindcss/container-queries"),
],
};