-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
60 lines (56 loc) · 1.55 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
import type { Config } from 'tailwindcss'
require('tailwindcss/defaultTheme')
require('tailwindcss/colors')
const config = {
darkMode: ['class'],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./modules/**/*.{ts,tsx}',
],
prefix: '',
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
colors: {
border: 'hsl(var(--border))',
background: 'hsl(var(--background))',
foreground: 'hsl(var(--foreground))',
},
fontFamily: {
sans: ['var(--font-sans)'],
newsreader: ['var(--font-newsreader)'],
code: ['var(--font-jetbrains-mono)'],
},
letterSpacing: {
'extra-wide': '0.2em',
'extra-tight': '-0.12em',
},
height: {
128: '32rem',
192: '48rem',
256: '64rem',
},
width: {
128: '32rem',
192: '48rem',
256: '64rem',
},
blur: {
'3xl': '1.5rem',
'4xl': '2rem',
'5xl': '2.5rem',
'6xl': '3rem',
},
},
},
plugins: [require('tailwindcss-animate'), require('@tailwindcss/typography')],
} satisfies Config
export default config