Skip to content

@apply doesn't comprehend the idea of custom mixins #19422

@KTibow

Description

@KTibow

What version of Tailwind CSS are you using?

tailwindcss and @tailwindcss/vite 4.1.17

What build tool (or framework if it abstracts the build tool) are you using?

Vite 7.2.7

What version of Node.js are you using?

v24.10.0

What browser are you using?

Firefox/Chromium

What operating system are you using?

Linux

Reproduction URL

https://play.tailwindcss.com/jrsuOy41LK?file=css

Describe your issue

@apply is from the functions and mixins module; if I apply something Tailwind doesn't know, especially when it begins with --, Tailwind should pass it through untouched so either the browser can render it or any compat logic I have on top can work.

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