blog-robertops-v2/tailwind.config.cjs
saicaca 124843848f feat: initial commit
(cherry picked from commit 44c4d7b9521fe449e61edc614446195861932f8c)
2023-10-18 02:15:21 +08:00

17 lines
429 B
JavaScript

/** @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'),
],
}