Closed crdo closed 4 months ago
Currently, the black version of the Close button is hardcoded as the HxAlert dismiss button. In some cases, the design requires the white variant that we cannot set right now.
Close
HxAlert
Can we use a color-scheme-aware CSS class that behaves automatically?
What we actually need is the attribute splatting on the HxAlert so we can put data-bs-theme="dark" on it.
data-bs-theme="dark"
OK, will do.
Currently, the black version of the
Close
button is hardcoded as theHxAlert
dismiss button. In some cases, the design requires the white variant that we cannot set right now.