I tried this, but it doesn't work:
// tailwind.config.cjs
extend: {
typography: ({theme}) => ({
DEFAULT: {
CSS: {
maxWidth: '2000px',
},
},
}),
},
This is the complete tailwind.config.cjs
// https://tailwindcss.com/docs/configuration
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./index.php', './app/**/*.php', './resources/**/*.{php,vue,js}'],
theme: {
colors: {
morado1: '#EBE6ED',
morado2: '#B29CB8',
morado3: '#5C2E68',
morado4: '#371C3E',
morado5: '#150B17',
gris1: '#E6E6E6',
gris2: '#9A9A9A',
gris3: '#535353',
gris4: '#353535',
gris5: '#101010',
negro: '#000000',
blanco: '#ffffff',
transparent: '#ffffff00',
},
fontFamily: {
serif: ['CrimsonPro', ...defaultTheme.fontFamily.serif],
sans: ['Asap', ...defaultTheme.fontFamily.sans],
},
extend: {
colors: {}, // Extend Tailwind's default colors
typography: ({theme}) => ({
DEFAULT: {
CSS: {
maxWidth: '2000px',
},
},
sutil: {
css: {
'--tw-prose-body': theme('colors.blanco'),
'--tw-prose-headings': theme('colors.blanco'),
'--tw-prose-lead': theme('colors.blanco'),
'--tw-prose-links': theme('colors.blanco'),
'--tw-prose-bold': theme('colors.blanco'),
'--tw-prose-counters': theme('colors.blanco'),
'--tw-prose-bullets': theme('colors.blanco'),
'--tw-prose-hr': theme('colors.blanco'),
'--tw-prose-quotes': theme('colors.blanco'),
'--tw-prose-quote-borders': theme('colors.blanco'),
'--tw-prose-captions': theme('colors.blanco'),
'--tw-prose-code': theme('colors.blanco'),
'--tw-prose-pre-code': theme('colors.blanco'),
'--tw-prose-pre-bg': theme('colors.blanco'),
'--tw-prose-th-borders': theme('colors.blanco'),
'--tw-prose-td-borders': theme('colors.blanco'),
'--tw-prose-invert-body': theme('colors.blanco'),
'--tw-prose-invert-headings': theme('colors.blanco'),
'--tw-prose-invert-lead': theme('colors.blanco'),
'--tw-prose-invert-links': theme('colors.blanco'),
'--tw-prose-invert-bold': theme('colors.blanco'),
'--tw-prose-invert-counters': theme('colors.blanco'),
'--tw-prose-invert-bullets': theme('colors.blanco'),
'--tw-prose-invert-hr': theme('colors.blanco'),
'--tw-prose-invert-quotes': theme('colors.blanco'),
'--tw-prose-invert-quote-borders': theme('colors.blanco'),
'--tw-prose-invert-captions': theme('colors.blanco'),
'--tw-prose-invert-code': theme('colors.blanco'),
'--tw-prose-invert-pre-code': theme('colors.blanco'),
'--tw-prose-invert-pre-bg': theme('colors.blanco'),
'--tw-prose-invert-th-borders': theme('colors.blanco'),
'--tw-prose-invert-td-borders': theme('colors.blanco'),
},
},
}),
},
},
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')],
};