multisite/tailwind.config.mjs
2026-06-03 23:10:53 +08:00

43 lines
925 B
JavaScript

/** @type {import('tailwindcss').Config} */
const config = {
theme: {
extend: {
fontFamily: {
sans: ['var(--font-geist-sans)'],
mono: ['var(--font-geist-mono)'],
},
typography: {
DEFAULT: {
css: [
{
'--tw-prose-body': 'var(--text)',
'--tw-prose-headings': 'var(--text)',
h1: {
fontWeight: 'normal',
marginBottom: '0.25em',
},
},
],
},
base: {
css: [
{
h1: { fontSize: '2.5rem' },
h2: { fontSize: '1.25rem', fontWeight: 600 },
},
],
},
md: {
css: [
{
h1: { fontSize: '3.5rem' },
h2: { fontSize: '1.5rem' },
},
],
},
},
},
},
}
export default config