-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (42 loc) · 925 Bytes
/
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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
purge: [],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
sans: ['Poppins', 'san-serif'],
serif: ['"Press Start 2P"', 'cursive']
},
extend: {},
colors: {
...defaultTheme.colors,
black: '#121214',
bgCard: '#1C1D21',
red: '#EF233C',
textInput: '#88888F',
textGray: '#D4D4D5'
},
height: (theme) => ({
...defaultTheme.spacing,
'screen': '100vh',
'full': '100%',
'11': '2.75rem',
'16': '4.25rem',
'36': '9rem',
'44': '11rem',
'64': '16rem',
'96': '26rem',
'100': '28rem',
'2/4': '50%',
'2/5': '40%',
'divid-custon': 'calc(100% - 4.11rem)'
}),
transform: {
'center': 'translateX(var(--tw-translate-x))'
}
},
variants: {
extend: {},
},
plugins: [],
}