-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
115 lines (114 loc) · 2.55 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
fontFamily: {
sans: ["Poppins", "sans-serif"],
},
fontSize: {
sm: ["13px", "20px"],
base: ["16px", "24px"],
lg: ["20px", "28px"],
xl: ["25px", "32px"],
"2xl": ["31px", "38px"],
"3xl": ["39px", "48px"],
},
fontWeight: {
normal: 400,
medium: 500,
},
colors: {
transparent: "transparent",
white: "#ffffff",
blue: {
50: "#d5e5f7",
100: "#aaccf0",
200: "#8ab9ea",
300: "#6ba5e4",
// 400: "#...",
500: "#2b7fd9",
600: "#256cb8",
700: "#1e5998",
// 800: "#...",
// 900: "#...",
},
neutral: {
100: "#f5f5f5",
200: "#e5e5e5",
300: "#d4d4d4",
400: "#a3a3a3",
500: "#737373",
600: "#525252",
700: "#404040",
800: "#262626",
900: "#171717",
},
red: {
25: "#FBECEA",
50: "#F7D9D5",
100: "#F0B3AA",
500: "#d9422b",
},
current: "currentColor",
// ...
},
extend: {
screens: {
xs: "512px",
...defaultTheme.screens,
},
width: {
13: "3.25rem", // 52px
30: "7.5rem", // 120px
42: "10.5rem", // 168px
},
height: {
18: "4.5rem", // 72px
},
minWidth: {
0.5: "0.125rem", // 2px
8: "2rem", // 32px
14: "3.5rem", // 56px
16: "4rem", // 64px
20: "5rem", // 80px
22: "5.5rem", // 88px
28: "7rem", // 112px
30: "7.5rem", // 120px
32: "8rem", // 128px
34: "8.5rem", // 136px
36: "9rem", // 144px
},
margin: {
18: "4.5rem", // 72px
},
keyframes: {
dash: {
"0%": {
"stroke-dasharray": "0, 80",
"stroke-dashoffset": "0",
},
"50%": {
"stroke-dasharray": "36, 80",
"stroke-dashoffset": "-14px",
},
"100%": {
"stroke-dasharray": "36, 80",
"stroke-dashoffset": "-50px",
},
},
},
animation: {
dash: "dash 1.5s ease-in-out infinite",
},
},
},
plugins: [
require("@headlessui/tailwindcss"),
require("@tailwindcss/container-queries"),
],
};