@slot
in css file.
#17537
Answered
by
wongjn
severinlandolt
asked this question in
Help
`@slot` in css file.
#17537
-
Hi! I was wandering through the tailwindcss website repository and in the globals.css file I found: @variant dark {
&:where(.dark, .dark *) {
@slot;
}
@media (prefers-color-scheme: dark) {
&:where(.system, .system *) {
@slot;
}
}
} I could not find Also, why did you choose to make it an In this file was also an interesting: |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Apr 3, 2025
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
severinlandolt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@slot
can be seen here.theme(static)
was introduced in #16514. This is largely equivalent to@theme static
introduced by #16211.