Replies: 2 comments
-
Hey! What you tried should work, it does work in Tailwind Play for example: https://play.tailwindcss.com/1QfWZQhxAu?file=config ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am the worst, there was a typo in my setup... sorry about that Thx for your time! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I looked into the docs and into the type definitions and I could not find any solution to that problem. I also did not find any issue for this so I decided to open this issue hoping that you guys find the time to review it.
Let me first give a bit of context.
I am building a theming plugin (tw-colors).
Users already have the possibility to declare a default theme using the option
defaultTheme: 'my-theme-name'
.In this case I can define the variant like this:
I want to add support for the following
The problem is that I could find no way to nest the variants inside the
@media (prefers-color-scheme: light)
media queryI tried the following with non success:
Would it be possibile to enable such syntax or maybe something like this ?
Beta Was this translation helpful? Give feedback.
All reactions