-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
61 lines (55 loc) · 1.21 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
module.exports = {
theme: {
extend: {
colors: {
brand: 'var(--acf-brand, #0073aa)',
trim: 'var(--acf-trim, #191919)',
current: 'currentColor',
},
spacing: {
'38': '9.5rem'
},
textShadow: {
default: '0 2px 5px rgba(0, 0, 0, 0.5)',
none: 'none'
},
borderStyles: {
colors: true,
},
animations: {
'spin': {
from: { transform: 'rotate(0deg)' },
to: { transform: 'rotate(360deg)' },
},
},
spinner: theme => ({
default: {
color: theme('colors.gray.300'),
size: '1.5rem',
border: '0.15rem',
speed: '750ms'
}
})
}
},
variants: {},
plugins: [
require('tailwindcss-spinner')(),
require('tailwindcss-typography')(),
require('tailwindcss-animations')(),
require('tailwindcss-border-styles')(),
({ addUtilities }) => {
addUtilities({
'.bg-none': {
'background-image': 'none',
},
'.empty': {
'content': `''`,
},
'.subtitle': {
'content': 'var(--acf-subtitle, \'Theme Options\')',
},
});
},
]
};