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'], }