-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
134 lines (134 loc) · 3.23 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
128
129
130
131
132
133
134
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
keyframes: {
"toast-in-right": {
"0%, 100%": {
transform: "translateX(calc(100% + 1.5rem))",
},
"50%": {
transform: "translateX(0)",
},
},
"toast-in-left": {
"0%, 100%": {
transform: "translateX(0)",
},
"50%": {
transform: "translateX(calc(-100% - 1.5rem))",
},
},
"toast-in-top": {
"0%, 100%": {
transform: "translateY(calc(100% + 1.5rem))",
},
"50%": {
transform: "translateY(0)",
},
},
"toast-in-bottom": {
"0%, 100%": {
transform: "translateY(0)",
},
"50%": {
transform: "translateY(calc(-100% - 1.5rem))",
},
},
},
width: {
70: "70rem",
37.5: "37.5rem", // 600px;
7.5: "1.875rem", // 600px;
},
maxWidth: {
37.5: "37.5rem", // 600px;
},
maxHeight: {
45: "45rem",
},
minWidth: {
27.5: "27.5rem", // 600px;
},
minHeight: {
35: "35rem",
},
height: {
7.5: "1.875rem", // 600px;
39: "39rem",
40: "40rem",
45: "45rem",
},
borderRadius: {
"3xl": "1.875rem", // 30px
},
spacing: {
74: "74rem",
"2xsmall": "0.375rem", // 6px
xsmall: "0.625rem", // 10px
small: "0.75rem", // 12px
middle: "0.875rem", // 14px
base: "1rem", // 16px
large: "1.25rem", // 20px
xlarge: "2rem", // 32px
"2xlarge": "2.25rem", // 36px
},
fontSize: {
"2xs": [
"0.625rem",
{
lineHeight: "0.75rem",
fontWeight: "400",
},
],
"2xsmall": "0.375rem", // 6px
xsmall: "0.625rem", // 10px
small: "0.75rem", // 12px
middle: "0.875rem", // 14px
base: "1rem", // 16px
large: "1.25rem", // 20px
xlarge: "2rem", // 32px
"2xlarge": "2.25rem", // 36px
},
padding: {
1.875: "1.875rem",
0.468: "0.468rem",
},
colors: {
blue: "#3E73FB",
somago_yellow: "#FFCA31",
black: "#000000",
white: "#FFFFFF",
background_blue: "#0D3FBF",
primary: {
dark_gray: "#3A3A3A",
light_gray: "#F9F9F9",
border_gray: "#D9D9D9",
scroll_gray: "#989898",
},
secondary: {},
background: {},
},
borderWidth: {
DEFAULT: "1px",
0.5: "0.5px",
},
fontFamily: {
inter: ["Inter var", "sans-serif"],
},
},
},
plugins: [
// eslint-disable-next-line global-require, @typescript-eslint/no-var-requires
require("tailwind-scrollbar")({ nocompatible: true }),
require("tailwind-scrollbar-hide"),
require("@tailwindcss/line-clamp"),
require("@tailwindcss/typography"),
],
};