michaelrausch-24/tailwind.config.mjs

19 lines
454 B
JavaScript
Raw Normal View History

2024-10-15 11:10:58 +00:00
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class"],
content: [
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
],
theme: {
extend: {
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
serif: ["Lora", ...defaultTheme.fontFamily.serif],
},
},
},
plugins: [require("@tailwindcss/typography")],
};