Commit be67024
fix: error icon ignores color prop due to hardcoded svg fill
The error.svg icon asset hardcoded fill="#121314" on its path, which
overrode the currentColor-based color passed by the Icon component.
This made IconName.Error render black everywhere, including the Quick
Buy failure toast (TSA-662) which passes theme.colors.error.default.
Remove the hardcoded fill and the root fill="none"/width/height
attributes so error.svg matches the structure of the other 283 icon
assets and inherits the color from the Icon component.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 22a8264 commit be67024
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
Loading
0 commit comments