-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
42 lines (41 loc) · 967 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
const { screens } = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
blue: colors.sky,
gray: colors.blueGray,
orange: colors.orange,
pink: colors.pink,
},
screens: {
'xs': '500px',
...screens,
},
extend: {
minHeight: {
'tap': '48px',
},
minWidth: {
'tap': '48px',
},
padding: {
// for layout on mobile
// when a large font is used on root, 1rem becomes too big for padding
'8px': '8px',
'16px': '16px',
'32px': '32px',
},
gridTemplateColumns: {
'stats': 'repeat(2, max-content)',
},
},
},
variants: {},
plugins: [],
}