Skip to content

[v4] Doesn't detect Svelte class directives  #13263

@ryanylee

Description

@ryanylee

What version of Tailwind CSS are you using?

v4.0.0-alpha.9

In Svelte, I have a div as follows

<script>
   let show = true;
</script>

<div class:opacity-10={show}>hi!</div>

Currently .opacity-10 is not generated

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