mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
30 lines
718 B
JavaScript
30 lines
718 B
JavaScript
const BLOG = require('./blog.config')
|
|
const fontFamilies = require('./lib/font')
|
|
|
|
module.exports = {
|
|
purge: ['./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'
|
|
}
|
|
}
|
|
}
|
|
},
|
|
variants: {
|
|
extend: {}
|
|
},
|
|
plugins: []
|
|
}
|