Skip to content

v3 @apply compose in different order compared to v2 #7225

Closed
@jquense

Description

@jquense

What version of Tailwind CSS are you using?

v3.0.14

Reproduction URL

https://play.tailwindcss.com/mPg4EIVZLy?file=config

Describe your issue

Previously (v2) when @applying a class and then explicitly added a property that was shared by the applied class the later property would win. In v3 the applied classes always seem to be added after the component definition.

See in the linked playground in v2 the "fails" class is blue vs v3 where it's red. This feels like it's a bad behavior but i don't know if it's intentional or expected.

Metadata

Metadata

Assignees

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