-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
48 lines (47 loc) · 1.24 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
const defaultColors = require("tailwindcss/colors");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./utils/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
primary: defaultColors.indigo,
error: defaultColors.red,
gray: defaultColors.gray,
light: "#fefefe",
dark: "#010101",
},
fontSize: { xxs: "0.6rem" },
gridTemplateColumns: {
"week-view-mobile": "0.75rem repeat(5, minmax(0, 1fr))",
"week-view": "4.5rem repeat(5, minmax(0, 1fr))",
},
keyframes: {
jiggle: {
"0%, 100%": { transform: "rotate(-1deg)" },
"50%": { transform: "rotate(1deg)" },
},
},
animation: {
jiggle: "jiggle 0.2s ease-in-out infinite",
// Default pulse is too slow and too light
pulse: "pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite",
},
keyframes: {
pulse: {
"50%": {
opacity: ".25",
},
},
},
},
},
plugins: [require("@tailwindcss/container-queries")],
darkMode: "class",
};