-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
tailwind.config.js
58 lines (52 loc) · 1.81 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
const { colors } = require('tailwindcss/defaultTheme')
module.exports = {
theme: {
extend: {
boxShadow: {
theme: '0 1px 9px rgba(203, 208, 228, .19)',
custom: '0 1px 1px 0 rgba(0,0,0,.05)'
},
fontFamily: {
brand: "'Open Sans', sans-serif"
},
fontSize: {
'7xl': '5rem',
'8xl': '6rem',
},
width: {
80: '20rem'
},
colors: {
// brand: '#e84545',
brand: '#2D3748',
'brand-alt': '#303133'
// brand: colors.indigo[600]
}
},
pagination: theme => ({
// Costumize the color only. (optional)
// color: colors['teal-dark'],
// Costumize styling using @apply. (optional)
wrapper: 'flex px-0 py-6 justify-center list-none w-screen -mx-2 overflow-x-scroll',
link: 'bg-gray-200 py-2 px-5 block text-gray-600 no-underline',
linkActive: 'text-white bg-brand',
linkHover: 'text-white bg-brand',
linkDisabled: 'bg-gray-100 py-2 px-5 block text-gray-500 no-underline'
// Costumize styling using CSS-in-JS. (optional)
// wrapper: {
// 'display': 'flex',
// '@apply px-0 justify-between list-none': {},
// }
})
},
variants: {
margin: ['responsive', 'hover', 'focus'],
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
width: ['responsive', 'hover', 'focus', 'focus-within'],
borderColor: ['responsive', 'hover', 'focus', 'active', 'group-hover'],
},
plugins: [
require('tailwindcss-plugins/pagination'),
// ...
],
}