forked from codeinthedarkbrasil/manage-citd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
90 lines (89 loc) · 1.67 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
const radiusAndSpacing = {
1: "8px",
1.5: "12px",
2: "16px",
3: "24px",
4: "32px",
8: "64px",
9: "72px",
10: "80px",
16: "128px",
17: "136px",
}
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
spacing: radiusAndSpacing,
borderRadius: {
...radiusAndSpacing,
full: "9999px",
},
colors: {
"current-color": "currentColor",
primary: {
100: "#2ECB7A",
},
neutral: {
100: "#101217",
200: "#272B35",
300: "#535A6B",
400: "#706F75",
500: "#8B8C8E",
900: "#FFFFFF",
},
danger: {
100: "#A14445",
},
},
fontSize: {
"body-xs": "1.2rem",
"body-sm": "1.4rem",
"body-md": "2.0rem",
"body-lg": "2.4rem",
"title-sm": "2.0rem",
"title-lg": "4.0rem",
},
zIndex: {
hidden: -1,
base: 5,
above: 10,
aboveAll: 15,
},
screens: {
xs: "0px",
sm: "475px",
md: "920px",
lg: "1280px",
xl: "1920px",
},
extend: {
fontFamily: {
sans: ["var(--font-sans)"],
},
width: {
sidebar: "52px",
},
maxWidth: {
wrapper: "924px",
},
keyframes: {
fillAnimation: {
"0%": {
transform: "scale(0)",
},
"50%": {
transform: "scale(1.25)",
},
"100%": {
transform: "scale(1)",
},
},
},
animation: {
fillAnimation: "fillAnimation 300ms forwards",
},
},
},
plugins: [require("tailwindcss-animate")],
}