-
Notifications
You must be signed in to change notification settings - Fork 56
/
tailwind.config.js
72 lines (69 loc) · 1.44 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
60
61
62
63
64
65
66
67
68
69
70
71
72
const colors = require("tailwindcss/colors");
const keyframes = {
width: {
"0%": { width: "0%" },
"100%": { transform: "100%" },
},
};
module.exports = {
important: true,
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: "media",
theme: {
extend: {
flex: {
auto: "2 1 auto",
},
keyframes,
animation: {
width: "width 2s ease-out infinite",
},
},
transitionDuration: {
fast: "300ms",
DEFAULT: "500ms",
slow: "700ms",
},
fontFamily: {
primary: ["Nunito Sans", "sans-serif"],
},
boxShadow: {
DEFAULT: "0 -2px 10px rgba(0, 0, 0, 1)",
none: "none",
},
fontWeight: {
light: 300,
normal: 400,
bold: 600,
},
colors: {
transparent: "transparent",
current: "currentColor",
white: "#FFF",
black: "#121212",
accent: "rgba(149,90,231,100)",
gray: {
light: "#979797",
DEFAULT: "rgba(216, 216, 216, 0.17)",
dark: "#202020",
},
success: {
light: "rgba(61,255,206,.19)",
DEFAULT: "#3DFFCE",
},
danger: {
light: "rgba(207,87,87,.17)",
DEFAULT: "#FF7777",
},
info: {
DEFAULT: "#5A52FF",
},
},
},
variants: {
extend: {
visibility: ["group-hover"],
},
},
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")],
};