-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
74 lines (74 loc) · 2.24 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
dark: {
DEFAULT: "#0D0E0F",
card: "#121314",
container: "#111213",
primary: "#FFFFFF",
secondary: "#727272",
tertiary: "#3C3C3C",
},
light: {
DEFAULT: "",
secondary: "#262626",
},
brand: {
DEFAULT: "#FAB000",
light: "#FDD679",
deep: "#B78504",
},
ui: {
errorAccent: "#FCBABA",
errorBg: "#BF1D1D",
successAccent: "#CEFFD7",
successBg: "#37CB4F",
infoAccent: "#C2F0FF",
infoBg: "#0096DB",
neutralAccent: "#D9D9D9",
neutralBg: "#666666",
},
misc: {
starknet: "#EC796B",
},
},
fontFamily: {
sans: ["IBM Plex Sans", "sans-serif"],
},
fontSize: {
// BASE
base: ["15px", { lineHeight: "1.2" }],
// HEADING
h1: ["6.5rem", { lineHeight: "1.2", fontWeight: "600" }], // 96px = 6.5rem, Semibold (600)
h2: ["4rem", { lineHeight: "1.2", fontWeight: "600" }], // 60px = 4rem, Semibold (600)
h3: ["3.2rem", { lineHeight: "1.2", fontWeight: "600" }], // 48px = 3.2rem, Semibold (600)
h4: ["2.134rem", { lineHeight: "1.2", fontWeight: "600" }], // 32px = 2.134rem, Semibold (600)
h5: ["1.6rem", { lineHeight: "1.2", fontWeight: "600" }], // 24px = 1.6rem, Semibold (600)
h6: ["1.334rem", { lineHeight: "1.2", fontWeight: "600" }], // 20px = 1.334rem, Semibold (600)
// PARAGRAPH
p3: ["1rem", { lineHeight: "1.2", fontWeight: "400" }],
p4: ["0.8rem", { lineHeight: "1.2", fontWeight: "400" }],
// LABEL
l1: ["0.75rem", { lineHeight: "0.9", fontWeight: "400" }],
l2: ["0.625rem", { lineHeight: "0.75", fontWeight: "400" }],
},
fontWeight: {
extrabold: 800,
bold: 700,
semibold: 500,
regular: 400,
light: 300,
},
spacing: {
0: "0px",
big: "880px",
sidebar: "360px",
priceprotect: "958px",
},
},
},
plugins: [],
};