-
What version of Tailwind CSS are you using? v4.0.9 What build tool (or framework if it abstracts the build tool) are you using? Elixir Phoenix using the Tailwind 0.3.1 elixir package, built using the esbuild 0.9.0 elixir package, which is using esbuild 0.17.11 What version of Node.js are you using? v22.16.0 What browser are you using? Firefox What operating system are you using? Ubuntu Reproduction URL https://play.tailwindcss.com/vJ8zniNWjT Describe your issue It is impossible to set a custom theme variable to "inherit" using a CSS config. See the Tailwind play link above where I introduce I was not able to find in the documentation whether a workaround for this exists. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You could consider:
|
Beta Was this translation helpful? Give feedback.
You could consider:
inline
tag so that theinherit
is used in the rule, rather than a CSS variable.https://play.tailwindcss.com/xvF6KdSvGv?file=css