Files
NotionNext/tailwind.config.js
tangly1024 bca046cf03 feature:
调整字体,重新排版
2021-12-08 17:21:07 +08:00

23 lines
487 B
JavaScript

const BLOG = require('./blog.config')
module.exports = {
purge: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js'],
darkMode: BLOG.appearance === 'class' ? 'media' : 'class', // or 'media' or 'class'
theme: {
extend: {
colors: {
day: {
DEFAULT: BLOG.lightBackground || '#ffffff'
},
night: {
DEFAULT: BLOG.darkBackground || '#111827'
}
}
}
},
variants: {
extend: {}
},
plugins: []
}