-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
48 lines (47 loc) · 1.02 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
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: ['./src/**/*.{js,mjs,jsx}'],
darkMode: 'class',
safelist: [
'opacity-50',
'rounded',
'py-0.5'
],
theme: {
stroke: theme => ({
'white': theme('colors.white'),
'gray-200': theme('colors.gray.200')
}),
fill: theme => ({
'gray-300': theme('colors.gray.300'),
'gray-500': theme('colors.gray.500')
}),
extend: {
colors: {
cyan: colors.cyan,
},
height: {
100: '25rem'
},
fontSize: {
'2xs': '.6875rem',
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
display: ['Mona Sans', ...defaultTheme.fontFamily.sans],
},
opacity: {
2.5: '0.025',
7.5: '0.075',
15: '0.15',
},
}
},
variants: {
margin: ['responsive', 'hover', 'focus', 'group-hover'],
},
plugins: [
require('@tailwindcss/typography'),
],
}