Closed zepfietje closed 1 month ago
I was using @tailwind
in a custom css file. Due to this change my css was broken.
Is there somewhere this is documented? I can't seem to find it in the Filament or Tailwind docs to use @import
.
Make sure to only import Tailwind once (which is done in Filament's main stylesheet).
@import
is needed when having other imports in the CSS file because @tailwind
won't work then: https://tailwindcss.com/docs/using-with-preprocessors#build-time-imports.
Description
This pull request extracts the styles added to Tailwind's base layer by Filament. The goal is to support importing the base stylesheet separately so developers can import Tailwind CSS into a CSS layer if desired.
This change does not affect existing projects or the compiled Filament stylesheet at all.
Functional changes
composer cs
command.