-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
62 lines (61 loc) · 1.35 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
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.tsx"],
plugins: [
plugin(({ addUtilities }) => {
addUtilities(
{
".text-14": { "font-size": "0.875rem", "line-height": "1.125rem" },
".text-16": { "font-size": "1rem", "line-height": "1.25rem" },
".text-20": { "font-size": "1.25rem", "line-height": "1.5rem" },
".text-40": { "font-size": "2.5rem", "line-height": "2.75rem" },
},
{
variants: ["responsive"],
}
);
}),
],
theme: {
extend: {
screens: {
// 768px ~
desktop: {
min: "48rem",
},
// ~ 743px
mobile: {
max: "47.9375rem",
},
// 744px ~ 1023px
tablet: {
max: "63.9375rem",
min: "48rem",
},
},
},
colors: {
border: "rgba(20,20,20,0.16)",
emphasis: "#EA596E",
gradient: {
blue: "#55ACEE",
pink: "#EA596E",
},
gray: "#F0F0F0",
primary: "#202020",
secondary: "#606060",
tertiary: "#A0A0A0",
transparent: "transparent",
},
spacing: {
0: "0",
2: "0.125rem",
4: "0.25rem",
8: "0.5rem",
16: "1rem",
32: "2rem",
48: "3rem",
},
},
};