forked from Mentor-Cycle/mentor-cycle-fe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
127 lines (127 loc) · 2.79 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
const { violet, blackA, mauve, green } = require("@radix-ui/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
fontFamily: {
sans: ["Poppins", "sans-serif"],
},
colors: {
transparent: "transparent",
current: "currentColor",
primary: {
"05": "#580505",
"04": "#790404",
"03": "#BA0000",
"02": "#E43D3D",
"01": "#F36B6B",
},
secondary: {
"05": "#0B0C0D",
"04": "#0C0E0F",
"03": "#171818",
"02": "#212324",
"01": "#343434",
},
gray: {
"05": "#3E3E3E",
"04": "#535353",
"03": "#7C7C7C",
"02": "#989898",
"01": "#CECECE",
},
neutral: {
"05": "#E4E4E4",
"04": "#F3EEEE",
"03": "#F3F3F3",
"02": "#F8F8F8",
"01": "#FEFEFE",
},
success: {
"01": "#237C00",
"02": "#3EB80E",
"03": "#E4F9DA",
},
danger: {
"01": "#EA172E",
"02": "#EE4B4B",
"03": "#FCD2D2",
},
info: {
"01": "#1F62A5",
"02": "#61AEE7",
"03": "#C7DEEF",
},
waiting: {
"01": "#F8BA1B",
"02": "#FFD234",
},
link: {
"01": "#3201BE",
"02": "#2420F9",
},
},
extend: {
screens: {
"3xl": "1850px",
xs: "400px",
},
container: {
center: true,
padding: "2rem",
screens: {
...defaultTheme.container.screens,
"2xl": "1280px",
},
},
fontSize: {
xxs: "0.625rem",
"4.5xl": "2.5rem",
},
lineHeight: {
11: "2.75rem",
},
height: {
22: "5.5rem",
},
width: {
22: "5.5rem",
},
margin: {
22: "5.5rem",
},
backgroundImage: {
user: "./src/public/user.jpg",
"header-dashboard": "url('/bg-dashboard.png')",
},
colors: {
...mauve,
...violet,
...green,
...blackA,
},
keyframes: {
overlayShow: {
from: { opacity: 0 },
to: { opacity: 1 },
},
contentShow: {
from: { opacity: 0, transform: "translate(-50%, -48%) scale(0.96)" },
to: { opacity: 1, transform: "translate(-50%, -50%) scale(1)" },
},
},
animation: {
overlayShow: "overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)",
contentShow: "contentShow 150ms cubic-bezier(0.16, 1, 0.3, 1)",
},
},
variants: {
extend: {
lineClamp: ["hover"],
},
},
},
// plugins: [require("@tailwindcss/line-clamp")],
};