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
|
const path = require('path');
// When deploying to production, set the base directory to your Hugo project's root directory.
const baseDir = path.join(__dirname, '..');
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
`${baseDir}/themes/**/layouts/**/*.html`,
`${baseDir}/content/**/layouts/**/*.html`,
`${baseDir}/layouts/**/*.html`,
`${baseDir}/content/**/*.html`,
`${baseDir}/content/**/*.md`,
`${baseDir}/public/**/*.html`,
],
theme: {
extend: {
fontFamily: {
'sans': ['System UI', '-apple-system', 'BlinkMacSystemFont', 'avenir next', 'avenir', 'segoe ui', 'helvetica neue', 'helvetica', 'Cantarell', 'Ubuntu', 'roboto', 'noto', 'arial', 'sans-serif'],
},
},
},
plugins: [],
variants: ['group-hover'],
}
|