Set up Dreamy UI in your Remix project.
Follow the Panda CSS installation guide to set up Panda CSS in your Remix project.
Install Dreamy UI in your project:
Configure environment and panda presets in your panda.config.ts
file:
After configuring Panda CSS, finally we can add the main Dreamy Provider to your app/root.tsx
.
To fix color mode flashing on document request, we need to get color mode from the loader, to render the correct color mode.
Let's write some Dreamy UI in app/routes/_index.tsx
.