However, after all of this, and despite including the require("tailwindcss-radix")(), in our tailwind.config.js file, we appear to be missing the radix variant state and animation classes - such as radix-state-open:animate-toast-slide-in-right. They're present as class attributes of the components/elements, but in devtools, we can see that no corresponding class definition is found.
Are we missing an import? Or configuration setting? Remix.run is using ESBuild - not sure if this is a factor?
Hi @ecklf - thanks for the excellent project.
So far all works as demo'd, however, we've hit a speedbump with the @radix-ui/react-toast component.
We have tailwind configured in a Remix.run project via postCSS (we are importing other CSS files)
For example... our postcsss.config.js looks like this...
And our tailwind.config.js config looks like this...
And in our app.css file, we import the tailwind base components and utilities files as:
However, after all of this, and despite including the
require("tailwindcss-radix")(),
in our tailwind.config.js file, we appear to be missing the radix variant state and animation classes - such asradix-state-open:animate-toast-slide-in-right
. They're present as class attributes of the components/elements, but in devtools, we can see that no corresponding class definition is found.Are we missing an import? Or configuration setting? Remix.run is using ESBuild - not sure if this is a factor?
Thoughts or suggestions greatly appreciated.