-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
105 lines (103 loc) · 2.83 KB
/
tailwind.config.ts
File metadata and controls
105 lines (103 loc) · 2.83 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
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
noir: {
black: '#000000',
white: '#FFFFFF',
},
gray: {
50: '#FAFAFA',
100: '#F5F5F5',
200: '#E5E5E5',
300: '#D4D4D4',
400: '#A3A3A3',
500: '#737373',
600: '#525252',
700: '#404040',
800: '#262626',
900: '#171717',
},
},
fontFamily: {
mono: [
'JetBrains Mono',
'Fira Code',
'SF Mono',
'Cascadia Code',
'Monaco',
'Menlo',
'Consolas',
'monospace',
],
sans: [
'Inter',
'SF Pro Display',
'-apple-system',
'BlinkMacSystemFont',
'system-ui',
'sans-serif',
],
},
fontSize: {
'display-xl': ['4rem', { lineHeight: '1.1', letterSpacing: '-0.02em', fontWeight: '800' }],
'display-lg': ['3.052rem', { lineHeight: '1.1', letterSpacing: '-0.01em', fontWeight: '800' }],
'display-md': ['2.441rem', { lineHeight: '1.2', fontWeight: '600' }],
'heading-xl': ['1.953rem', { lineHeight: '1.3', fontWeight: '700' }],
'heading-lg': ['1.563rem', { lineHeight: '1.3', fontWeight: '700' }],
'heading-md': ['1.25rem', { lineHeight: '1.4', fontWeight: '600' }],
'heading-sm': ['1rem', { lineHeight: '1.4', fontWeight: '600', letterSpacing: '0.01em' }],
'body-lg': ['1.125rem', { lineHeight: '1.6' }],
'body-md': ['1rem', { lineHeight: '1.6' }],
'body-sm': ['0.875rem', { lineHeight: '1.6' }],
'caption': ['0.75rem', { lineHeight: '1.5', fontWeight: '500', letterSpacing: '0.02em' }],
},
spacing: {
'0': '0px',
'1': '4px',
'2': '8px',
'3': '12px',
'4': '16px',
'5': '20px',
'6': '24px',
'8': '32px',
'10': '40px',
'12': '48px',
'16': '64px',
'20': '80px',
'24': '96px',
'32': '128px',
},
borderWidth: {
'1': '1px',
'2': '2px',
'3': '3px',
'4': '4px',
},
boxShadow: {
'noir-sm': '0 2px 0 0 #000',
'noir-md': '0 4px 0 0 #000',
'noir-lg': '0 8px 0 0 #000',
'noir-xl': '0 12px 0 0 #000',
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'cursor': 'cursor 1s steps(2) infinite',
},
keyframes: {
cursor: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0' },
},
},
},
},
plugins: [],
}
export default config