Documentation
Relevant Radix Component(s)
The CodeSandbox examples for every component
Description
Currently, the CodeSandbox examples for components (e.g. Accordion, Alert Dialog, etc.) in Radix UI Primitives documentation site do not include the new Tailwind CSS v4+ config directive. Since Tailwind no longer auto-detects tailwind.config.js without explicitly using @config "../path/to/tailwind.config.js" in a CSS file (e.g., styles.css or global.css), this can break color/theme extensions and confuse developers.
To avoid this and improve the docs, we should update each sandbox example to include:
@config "../path/to/tailwind.config.js";
Tailwind Docs reference:
https://tailwindcss.com/docs/functions-and-directives#config-directive