-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
106 lines (105 loc) · 3.5 KB
/
tailwind.config.ts
File metadata and controls
106 lines (105 loc) · 3.5 KB
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
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
safelist: ["ic-xs", "ic-sm", "ic-md", "ic-md2", "ic-lg", "ic-xl", "ic-2xl"],
theme: {
extend: {
colors: {
black: "#1A1918",
white: "#FFFFFF",
primary: "#1A1918",
default: "#31302F",
secondary: "#A3A3A3",
BgGray350: "rgba(217, 217, 217, 0.2)",
gray: {
100: "#fafafa",
150: "#f7f7f7",
200: "#f2f2f2",
300: "#d1d1d1",
400: "#bababa",
500: "#a3a3a3",
600: "#8c8c8b",
700: "#374151",
800: "#484746",
850: "#373737",
900: "#31302f",
950: "#2d3034",
1000: "#1e1e1e",
1050: "#14171c",
1100: "#101318",
},
red: {
100: "#900b09",
200: "#c00f0c",
300: "#ff4242",
400: "#ff6b6b",
},
purple: {
100: "#6a42db",
200: "#9747ff",
},
},
screens: {
mobile: { max: "743px" },
tablet: { min: "744px", max: "1279px" },
pc: { min: "1280px" },
},
fontSize: {
"title-hero": ["32px", { lineHeight: "46px", fontWeight: "700" }],
"title-page-md": ["40px", { lineHeight: "52px", fontWeight: "700" }],
"title-page-sm": ["32px", { lineHeight: "46px", fontWeight: "700" }],
"title-page-xs": ["28px", { lineHeight: "36px", fontWeight: "700" }],
"heading-lg": ["24px", { lineHeight: "32px", fontWeight: "600" }],
"heading-md": ["20px", { lineHeight: "30px", fontWeight: "700" }],
"heading-sm": ["18px", { lineHeight: "30px", fontWeight: "700" }],
"body-lg": ["18px", { lineHeight: "24px", fontWeight: "600" }],
"body-md": ["16px", { lineHeight: "24px", fontWeight: "500" }],
"body-sm": ["14px", { lineHeight: "20px", fontWeight: "500" }],
caption: ["12px", { lineHeight: "16px", fontWeight: "400" }],
"component-notes-md": [
"12px",
{ lineHeight: "16px", fontWeight: "400" },
],
"component-notes-sm": [
"10px",
{ lineHeight: "14px", fontWeight: "400" },
],
"button-lg": ["16px", { lineHeight: "20px", fontWeight: "700" }],
"button-md": ["14px", { lineHeight: "18px", fontWeight: "700" }],
},
fill: ({ theme }) => theme("colors"),
stroke: ({ theme }) => theme("colors"),
},
keyframes: {
"wave-mask": {
"0%, 100%": {
clipPath: `polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%)`,
},
"50%": {
clipPath: `polygon(0% 60%, 16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%)`,
},
},
},
animation: {
"wave-mask": "wave-mask 2s ease-in-out infinite",
},
},
plugins: [
plugin(function ({ addUtilities }) {
addUtilities({
".ic-xs": { width: "16px", height: "16px" },
".ic-sm": { width: "20px", height: "20px" },
".ic-md": { width: "24px", height: "24px" },
".ic-md2": { width: "28px", height: "28px" },
".ic-lg": { width: "32px", height: "32px" },
".ic-xl": { width: "40px", height: "40px" },
".ic-2xl": { width: "48px", height: "48px" },
});
}),
],
} satisfies Config;