generated from 2-NOW/react-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
125 lines (124 loc) ยท 2.94 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
const defaultTheme = require("tailwindcss/defaultTheme");
const rem2px = require("./src/utils/tailwindcss/rem2px.cjs");
const addUnit = require("./src/utils/tailwindcss/add-unit.cjs");
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{js,jsx,ts,tsx}", "./index.html"],
theme: {
...rem2px(defaultTheme),
extend: {
width: addUnit(),
height: addUnit(),
padding: addUnit(100, 1),
screens: {
xs: "480px",
"3xl": "1920px",
},
colors: {
gray: {
DEFAULT: "#262C36",
50: "#FFFFFF",
100: "#F6F7F9",
200: "#EFF1F4",
300: "#E0E2E6",
400: "#D3D6DA",
500: "#A1A9B3",
600: "#838B98",
700: "#667080",
800: "#333E4C",
900: "#262C36",
},
red: {
300: "FFB0B9",
400: "#FD6A7E",
500: "#EE324B",
},
blue: {
300: "#C7EAFF",
400: "#A5DDFF",
500: "#0094FF",
},
yellow: {
300: "#FFF3C8",
400: "#FFEAA0",
500: "#F5C547",
},
primary: "#242B37",
secondary: "#333E4C",
teritary: "#667080",
disabled: "#A1A9B3",
oncolor: "#FFFFFF",
negative: "#EE324B",
active: "#338AFF",
},
borderRadius: {
1: "4px",
2: "8px",
3: "12px",
4: "16px",
},
keyframes: {
arrowBlink: {
"0%": { visibility: "visible", zIndex: 10 },
"33%": { visibility: "hidden" },
"66%": { visibility: "hidden" },
"100%": { visibility: "hidden" },
},
fadeIn: {
"0%": {
opacity: 0.3,
},
"100%": {
opacity: 1,
},
},
fadeOut: {
"0%": {
opacity: 1,
},
"100%": {
opacity: 0,
},
},
fadeInUp: {
"0%": {
opacity: 0,
transform: "translateY(2rem)",
},
"100%": {
opacity: 1,
transform: "translateY(0)",
},
},
fadeOutUp: {
"0%": {
opacity: 1,
transform: "translateY(0)",
},
"100%": {
opacity: 0,
transform: "translateY(-2rem)",
},
},
fadeInWithScale: {
"0%": {
opacity: 0.3,
transform: "scale(0.95)",
},
"100%": {
opacity: 1,
transform: "scale(1)",
},
},
},
animation: {
fadeInUp: "fadeInUp 1s ease-in-out",
fadeIn: "fadeIn 1s ease-in-out",
fadeOutUp: "fadeOutUp 1s ease-in-out",
fadeOut: "fadeOut 1s ease-in-out",
fadeInWithScale: "fadeInWithScale 1s ease-in-out",
},
},
},
plugins: [require("tailwind-scrollbar-hide")],
};