Skip to content

Update CSS to use layers#7730

Open
javiereguiluz wants to merge 2 commits into
EasyCorp:5.xfrom
javiereguiluz:css_layers
Open

Update CSS to use layers#7730
javiereguiluz wants to merge 2 commits into
EasyCorp:5.xfrom
javiereguiluz:css_layers

Conversation

@javiereguiluz

Copy link
Copy Markdown
Collaborator

CSS layers is what a project like this, reused by other users in their own apps, must use to handle CSS styles right. I didn't even knew this existed back then a few years ago when we reorganized CSS styles, so we never used them.

This PR finally introduces CSS layers. This doesn't change anything in your backends; they'll look exactly the same. But, it improves this:

(1) theming, which is coming soon (as mentioned in some recent PRs)
(2) Simpler custom CSS styles for you: no more !important or artificially specific selectors to override built-in EasyAdmin styles

@javiereguiluz javiereguiluz added this to the 5.x milestone Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant