-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
110 lines (110 loc) · 2.39 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
module.exports = {
purge: [
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/features/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
],
important: true,
theme: {
fontFamily: {
sans: ["Noto Sans", "sans-serif"],
serif: ["Noto Sans", "serif"],
sarabun: ["Sarabun"],
},
screens: {
xs: "475px",
// => @media (min-width: 640px) { ... }
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
xxl: "1440px",
// => @media (min-width: 1440px) { ... }
},
extend: {
colors: {
gray: {
100: "#495057",
200: "#DDE2E5",
300: "#ACB5BD",
400: "#495057",
500: "#E8E8E8",
600: "#CBCBCB",
700: "#AEAEAE",
800: "#919191",
900: "#6d6e71",
},
"dust-red": {
100: "#FFF1F0",
200: "#FFCCC7",
},
blue: "#0099DB",
"dark-blue": "#0077cc",
"accent-1": "#333",
primary: "#FF0000",
"primary-hover": "#eb0000",
ternary: "#002D40",
secondary: "#FCAF38",
danger: "#FF7C7C",
red: "#FF0000",
yellow: "#ff9b01",
"orange-dark": "#B56E00",
"orange-light2": "#FFD99D",
"orange-light": "#F5D7A9",
},
width: {
80: "20rem",
96: "24rem",
128: "32rem",
192: "48rem",
256: "64rem",
},
height: {
80: "20rem",
96: "24rem",
128: "32rem",
192: "48rem",
256: "64rem",
},
inset: {
xs: "0.5rem",
},
spacing: {
3.5: "0.875rem",
},
margin: {
7: "1.75rem",
14: "3.5rem",
},
borderRadius: {
xl: "0.75rem",
},
opacity: {
80: ".8",
},
minWidth: {
md: "6rem",
lg: "9rem",
},
lineHeight: {
7.5: "1.875rem",
},
fontSize: {
"2base": "2rem",
},
borderRadius: {
xl: "0.75rem",
},
},
},
variants: {
borderStyle: ["hover"],
opacity: ["responsive", "hover", "focus", "active", "group-hover"],
outline: ["focus"],
},
plugins: [],
};