Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after update from 3.2.7 to 3.3.0 pseudo elements after and before doesn't get dark: ... anymore #10899

Closed
0cool-f opened this issue Mar 29, 2023 · 6 comments · Fixed by #10903
Assignees

Comments

@0cool-f
Copy link

0cool-f commented Mar 29, 2023

What version of Tailwind CSS are you using?

3.3.0

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

astro v2.1.8

What version of Node.js are you using?

19.8.1

What browser are you using?

Chrome 111

What operating system are you using?

Zorin OS 16.2

Describe your issue

after update every after and before pseudo element doesn't get any dark modifier value, for example if i write ... bg-gray-800 dark:bg-gray-100 ... it get only bg-gray-800 on version 3.2.7 it works as usual

@RobinMalfait RobinMalfait self-assigned this Mar 29, 2023
@RobinMalfait
Copy link
Member

Hey, thank you for this bug report! 🙏

Can you please provide a minimal reproduction repo that shows the issue?

Trying to reproduce it and seems to work as expected: https://play.tailwindcss.com/d5HtkTSI6a

@thevuong
Copy link

Hey, thank you for this bug report! 🙏

Can you please provide a minimal reproduction repo that shows the issue?

Trying to reproduce it and seems to work as expected: https://play.tailwindcss.com/d5HtkTSI6a

I have reproduced a case here: https://play.tailwindcss.com/tsNrZ1Qtm5?file=css

@0cool-f
Copy link
Author

0cool-f commented Mar 29, 2023

Hey, thank you for this bug report! pray

Can you please provide a minimal reproduction repo that shows the issue?

Trying to reproduce it and seems to work as expected: https://play.tailwindcss.com/d5HtkTSI6a

I tried to extract and abstract part of code of my use case: https://play.tailwindcss.com/ytDMhpXmfR?file=css

@RobinMalfait
Copy link
Member

This should be fixed by #10903, and will be available in the next release.

You can already try it by using the insiders build npm install tailwindcss@insiders.

@aparajita
Copy link

I was going to report a related bug where the dark variant in this stopped working:

  ion-item::part(native).settings-item {
    @apply bg-neutral-50 dark:bg-neutral-850;
  }

The insiders build fixed it, thank you @RobinMalfait. 🙏🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@aparajita @thecrypticace @RobinMalfait @thevuong @0cool-f and others