Skip to content

Dark mode classes rely on order when using @apply #2826

@jessejanderson

Description

@jessejanderson

Describe the problem:

When using dark-mode, the order of @apply classes is affecting whether or not they work. The expectation is that when dark-mode is active, the @apply dark: style should apply.

Link to a minimal reproduction:

https://play.tailwindcss.com/ZVedYuKwvV

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