-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (47 loc) · 1.28 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
const _ = require("lodash");
const theme = require('./theme.json');
const tailpress = require("./dc23-theme.js");
module.exports = {
tailpress,
content: [
'./template-parts/*.php',
'*.php',
'./blocks/**/*.php',
'./resources/css/*.css',
'./resources/js/*.js',
'./resources/css/safelist.txt'
],
theme: {
container: {
center: true,
padding: {
DEFAULT: '2rem',
sm: '2rem',
lg: '0rem'
},
margin: {
DEFAULT: '5rem',
sm: '2rem',
lg: '0rem'
},
},
extend: {
colors: tailpress.colorMapper(tailpress.theme('settings.color.palette', theme)),
},
screens: {
'sm': '640px',
'md': '640px',
'lg': '640px',
'xl': tailpress.theme('settings.layout.contentSize', theme),
'2xl': tailpress.theme('settings.layout.contentSize', theme)
},
fontFamily: {
'display': ['tt-nooks', 'times', 'sans-serif'],
'body': ['elza-text', 'times', 'sans-serif'],
}
},
plugins: [
require('@tailwindcss/forms'),
tailpress.tailwind,
]
};