-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
106 lines (105 loc) · 2.26 KB
/
tailwind.config.ts
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";
const config: Config = {
darkMode: "class",
content: ["./app/**/*.{js,ts,jsx,tsx,mdx}", "./components/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
fontSize: {
h1: [
"36px",
{
lineHeight: "40px",
fontWeight: 500,
},
],
h2: [
"24px",
{
lineHeight: "32px",
letterSpacing: "1px",
fontWeight: 500,
},
],
h3: [
"18px",
{
lineHeight: "26px",
letterSpacing: "1px",
fontWeight: 500,
},
],
h4: [
"16px",
{
lineHeight: "24px",
letterSpacing: "1px",
},
],
button: [
"17px",
{
lineHeight: "17px",
letterSpacing: "0.5px",
},
],
caption: [
"12px",
{
lineHeight: "16px",
letterSpacing: "0.5px",
},
],
link: [
"18px",
{
lineHeight: "24px",
// fontFamily: "Open Sans",
},
],
body: [
"18px",
{
lineHeight: "24px",
// fontFamily: "Open Sans",
},
],
bodysmall: [
"14px",
{
lineHeight: "22px",
// fontFamily: "Open Sans",
},
],
},
},
colors: {
transparent: "transparent",
current: "currentColor",
purple: "#7F0FBB",
blue: "#4A5EED",
bluedark: "#020243",
red: "#FF2F4A",
"red-700": "#ffcbd1",
orange: "#FFA26B",
cyan: "#4BF3FE",
violet: "#C617FF",
green: "#00C48C",
black: "#020218",
white: "#FFFFFF",
gray: "#3F3356",
},
container: {
center: true,
},
fontFamily: {
sans: ["Poppins", "sans-serif"],
body: ["Open Sans", "sans-serif"],
},
},
plugins: [],
};
export default config;