Better handling of UButton
, UBadge
, … colors on colored backgrounds
#3307
Labels
UButton
, UBadge
, … colors on colored backgrounds
#3307
Description
When adding
UButton
component withghost
orlink
variant inside aUBanner
withlinks
attribute, they remain displayed in black text, even if the banner has a dark background (e.g., primary color). Unlike the Banner close button, which has specific Tailwind classes that adapt it to dark mode (white text), these elements do not automatically adjust their colors.Would it be relevant to add a global attribute to components like Button, Badge, etc., to force their appearance in dark (or light) mode, regardless of the global setting? This would ensure better visual consistency when these elements are placed on a colored background (e.g.,
UPageCTA
withsolid
variant).Additional context
No response
The text was updated successfully, but these errors were encountered: