Should you use @apply
in svelte
#15481
-
In the tailwind v4 documentation, spesifically https://tailwindcss.com/docs/v4-beta#using-apply-in-vue-svelte, it states that you should still use the body {
background-color: var(--color-zinc-950);
color: var(--color-white);
} My question is, which one should i use_ |
Beta Was this translation helpful? Give feedback.
Answered by
adamwathan
Dec 24, 2024
Replies: 1 comment 3 replies
-
So in the documentation (emphasis mine):
The key word is if. Adam Wathan (creator of Tailwind) does seem to advocate avoiding |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah I would use plain variables personally 👍🏻