-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
35 lines (33 loc) · 839 Bytes
/
tailwind.config.js
File metadata and controls
35 lines (33 loc) · 839 Bytes
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
/* eslint-env node */
/* eslint-disable @typescript-eslint/no-require-imports */
const { fontFamily } = require("tailwindcss/defaultTheme");
/** @type {import("tailwindcss").Config} */
module.exports = {
mode: "jit",
darkMode: "class",
content: ["./src/**/*.tsx"],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)", ...fontFamily.sans],
},
keyframes: {
shake: {
"0%, 100%": {
transform: "translateX(0)",
},
"10%, 30%, 50%, 70%, 90%": {
transform: "translateX(-10px)",
},
"20%, 40%, 60%, 80%": {
transform: "translateX(10px)",
},
},
},
animation: {
shake: "shake 0.6s ease-in-out 0.25s 1",
},
},
},
plugins: [require("tailwindcss-animate")],
};