adamzerner / rfui

A clean and simple component library for Preact projects
https://rfui.deno.dev/
MIT License
4 stars 0 forks source link

Address issue with stylesheet order #184

Closed adamzerner closed 9 months ago

adamzerner commented 9 months ago

In my fresh-rfui-test repo, there are some issues where if I have:

<link rel="stylesheet" href="/styles.css" />
<link rel="stylesheet" href={getStylesheetUrl()} />

things are good. But if I switch the order, they're not. It looks like Tailwind is somehow purging styles that it shouldn't be. Like if I do <div class="bg-neutral-50">Example</div> it looks like it purges a lot of classes that it wouldn't otherwise purge.

adamzerner commented 9 months ago

Discord conversation: https://discord.com/channels/684898665143206084/1202816377677680730