-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
37 lines (35 loc) · 819 Bytes
/
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
import type { Config } from 'tailwindcss'
const { fontFamily } = require('tailwindcss/defaultTheme')
const config: Config = {
darkMode: ['class'],
content: [
'./src/pages/**/*.{ts,tsx}',
'./src/components/**/*.{ts,tsx}',
'./src/app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}'
],
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px'
}
},
extend: {
fontFamily: {
sans: ['var(--font-sans)', ...fontFamily.sans]
},
fontSize: {
xs: '0.625rem', // 10px
sm: '0.75rem', // 12px
base: '0.8125rem', // 13px
lg: '0.875rem', // 14px
xl: '1rem', // 16px
'2xl': '1.125rem' // 18px
}
}
},
plugins: [require('tailwindcss-animate')]
}
export default config