wwwfiberdirekt/tailwind.config.mjs
2026-02-11 07:19:33 +01:00

49 lines
960 B
JavaScript

/** @type {import('tailwindcss').Config} */
const config = {
theme: {
extend: {
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