Skip to content

headings modifier does not work #344

@LaundroMat

Description

@LaundroMat

What version of @tailwindcss/typography are you using?

0.5.12

What version of Node.js are you using?

20.12.0

What browser are you using?

Firefox

What operating system are you using?

Windows

Reproduction repository

https://play.tailwindcss.com/YEWWnOKurk

Describe your issue

I'm trying to modify the color of headers, but changing that in the global CSS does not seem to apply changes to headers. It does work when applied to other elements though.

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  .prose {
    @apply prose-headings:text-mint_cream prose-p:text-mint_cream   }

  .prose-xl {
    @apply prose-headings:text-mint_cream prose-p:text-mint_cream   }
}

For a full example, see https://play.tailwindcss.com/YEWWnOKurk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions