-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
107 lines (105 loc) · 2.52 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
107
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/**/**/*.{js,ts,jsx,tsx,mdx}",
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/landing/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/styles/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "media",
theme: {
cursor: {
pointer: "var(--pointer)",
grab: "var(--grab)",
grabbing: "var(--grabbing)",
},
extend: {
screens: {
xs: "480px",
w1440: "1440px",
w1024: "1024px",
w640: "640px",
"2xl": "1440px",
"3xl": "1536px",
"4xl": "1920px",
"5xl": "2560px",
},
fontSize: {
"heading-sm": [
"1.25rem",
{
lineHeight: "1.25rem",
letterSpacing: "-0.01em",
},
],
"heading-md": [
"1.925rem",
{
lineHeight: "2rem",
letterSpacing: "-0.015em",
},
],
"heading-lg": [
"3.1rem",
{
lineHeight: "3rem",
letterSpacing: "-0.02em",
},
],
body: [
"0.85rem",
{
lineHeight: "1rem",
letterSpacing: "-0.01em",
},
],
caption: [
"0.7rem",
{
lineHeight: "1rem",
letterSpacing: "0.02em",
},
],
code: [
"0.7rem",
{
lineHeight: "0.7rem",
letterSpacing: "0.02em",
},
],
"code--caption": [
"0.65rem",
{
lineHeight: "0.7rem",
letterSpacing: "0.03em",
},
],
},
colors: {
background: "var(--background)",
filament60: "var(--filament-60)",
filament70: "var(--filament-70)",
foreground60: "var(--foreground-60)",
foreground70: "var(--foreground-70)",
foreground: "var(--foreground)",
filament: "var(--filament)",
carbon: "var(--carbon)",
methyl: "var(--methyl)",
plasma: "var(--plasma)",
oxide: "var(--oxide)",
rust: "var(--rust)",
molten: "var(--molten)",
sol: "var(--sol)",
},
fontFamily: {
apparat: ["KMR Apparat", "sans-serif"],
planar: ["GT Planar", "sans-serif"],
mono: ["Cofo Sans Mono", "monospace"],
},
},
},
plugins: [],
} satisfies Config;
export default config;