Skip to content

How do I make the prose class respect my custom font sizes? #13845

Closed Answered by wongjn
yaardie asked this question in Help
Discussion options

You must be logged in to vote

Consider checking you are customizing the CSS correctly. For example, to change the base font size for the prose class:

/** @type {import('tailwindcss').Config} */
module.exports = {
  theme: {
    extend: {
      typography: {
        DEFAULT: {
          css: {
            fontSize: 'my custom font size',

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@yaardie
Comment options

@wongjn
Comment options

@yaardie
Comment options

@wongjn
Comment options

@yaardie
Comment options

Answer selected by yaardie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants