Open ceisipeik opened 1 year ago
Thanks, confirmed. Ideally we should refactor the use of CSS variables inside of the Sass component in such a way that a variable used outside to apply a custom color should be renamed and scoped appropriately (eg --cvi-status-badge--border-color
).
What happened?
Tried adding a custom border-color for the status-badge component with a
warning
serverity. Custom border-color was overwritten by thewarning
severity's border-color defined in thestatusBadgeCustomPropertyGroups
.Custom border-color could be added for the status-badge with a
info
severity, because border-color is not defined for theinfo
severity in thestatusBadgeCustomPropertyGroups
.Reproduction steps
Could be reproduced in the angular sandbox app (ria).
Add status-badge with the
warning
severity and add a red border:Border stays yellow.
Add status-badge with the
info
severity and add a red border:Border is changed to red.
Package
Angular
Version
1.31.1