backpex icon indicating copy to clipboard operation
backpex copied to clipboard

Properly merge Tailwind CSS classes

Open Flo0807 opened this issue 10 months ago • 0 comments

You can pass additional classes to some Backpex components. As they often come with certain defaults, we need a way to properly merge overriding and default classes. If additional classes are passed to components, these classes should have a higher priority than default classes. Currently, you sometimes need to work with ! because default classes are of a higher priority (in terms of the place inside the final CSS file) than additional / overriding classes.

Flo0807 avatar Mar 20 '25 11:03 Flo0807