blog/tailwind.config.cjs

17 lines
429 B
JavaScript
Raw Normal View History

/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class', // allows toggling dark mode manually
theme: {
extend: {
fontFamily: {
sans: ['Roboto', 'sans-serif', ...defaultTheme.fontFamily.sans],
}
},
},
plugins: [
require('@tailwindcss/typography'),
],
}