forked from tangly1024/NotionNext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
33 lines (32 loc) · 796 Bytes
/
tailwind.config.js
File metadata and controls
33 lines (32 loc) · 796 Bytes
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
const BLOG = require('./blog.config')
const { fontFamilies } = require('./lib/font')
module.exports = {
content: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js', './themes/**/*.js'],
darkMode: BLOG.APPEARANCE === 'class' ? 'media' : 'class', // or 'media' or 'class'
theme: {
fontFamily: fontFamilies,
extend: {
colors: {
day: {
DEFAULT: BLOG.BACKGROUND_LIGHT || '#ffffff'
},
night: {
DEFAULT: BLOG.BACKGROUND_DARK || '#111827'
},
hexo: {
'background-gray': '#f5f5f5',
'black-gray': '#101414',
'light-gray': '#e5e5e5'
}
},
maxWidth: {
side: '14rem',
'9/10': '90%'
}
}
},
variants: {
extend: {}
},
plugins: []
}