35 lines
736 B
JavaScript
35 lines
736 B
JavaScript
const defaultTheme = require("tailwindcss/defaultTheme");
|
|
|
|
module.exports = {
|
|
mode: 'jit',
|
|
// purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
|
|
purge: [
|
|
"./pages/**/*.js",
|
|
"./pages/**/*.ts",
|
|
"./pages/**/*.jsx",
|
|
"./pages/**/*.tsx",
|
|
"./components/**/*.js",
|
|
"./components/**/*.ts",
|
|
"./components/**/*.jsx",
|
|
"./components/**/*.tsx",
|
|
"./lib/markdown.mjs"
|
|
],
|
|
darkMode: false, // or 'media' or 'class'
|
|
theme: {
|
|
container: {
|
|
center: true,
|
|
},
|
|
extend: {
|
|
fontFamily: {
|
|
mono: ["Inconsolata", ...defaultTheme.fontFamily.mono]
|
|
}
|
|
},
|
|
},
|
|
variants: {
|
|
extend: {},
|
|
},
|
|
plugins: [
|
|
require('@tailwindcss/typography'),
|
|
],
|
|
}
|