-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
69 lines (67 loc) · 1.45 KB
/
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
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
const colors = require('tailwindcss/colors')
module.exports = {
future: {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
},
purge: [],
theme: {
extend: {
spacing: {
'none': '0rem',
'quarter': '0.375rem',
'half': '0.75rem',
'base': '1.5rem',
'2x': '3rem',
'3x': '4.5rem',
'4x': '6rem',
'neghalf': '-0.75rem',
'negbase': '-1.5rem',
'neg2x': '-3rem',
'neg3x': '-4.5rem',
'neg4x': '-6rem',
},
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000',
white: '#fff',
red: '#ff0000',
gray: colors.gray,
},
fontFamily: {
},
fontSize: {
xs: ['1.2rem', '1.6rem'],
sm: ['1.4rem', '2.0rem'],
base: ['1.6rem', '2.4rem'],
lg: ['1.8rem', '2.8rem'],
xl: ['2.0rem','2.8rem'],
'2xl': ['2.4rem','3.2rem'],
'3xl': ['3.0rem', '3.6rem'],
'4xl': ['3.6rem', '4.0rem'],
'5xl': ['4.8rem', '1'],
'6xl': ['6.0rem', '1'],
'7xl': ['7.2rem','1'],
'8xl': ['9.6rem','1'],
},
opacity: {
'0': '0',
'10': '0.1',
'20': '0.2',
'30': '0.3',
'40': '0.4',
'50': '0.5',
'60': '0.6',
'70': '0.7',
'80': '0.8',
'90': '0.9',
'100': '1',
},
},
variants: {},
plugins: [
require('tailwindcss-textshadow')
]
}