You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this package with Svelte and so far it has been working an absolute charm.
TailwindCSS now allows specifying opacity on colors using this syntax: bg-green/25 which results in an opacity of 0.25 applied to the background color.
It seems as though, with the way the colors get built through tailwindcss-theme-variants these opacity variants are not available on the color classes.
I am using this package with Svelte and so far it has been working an absolute charm.
TailwindCSS now allows specifying opacity on colors using this syntax:
bg-green/25
which results in an opacity of0.25
applied to the background color.It seems as though, with the way the colors get built through
tailwindcss-theme-variants
these opacity variants are not available on the color classes.TailwindCSS Config (simplified for the example):
I would expect to be able to use
bg-accent/25
as an example, however this class is not available to me.I believe the generated css would need to look something like this:
The text was updated successfully, but these errors were encountered: