ui-components
ui-components copied to clipboard
Icon: Ensure color property works with SCSS
Background Info
We cannot change the colour in the GoAIcon through the interface provided. However, most of the icons presented in the design mock comes with a non-black colour.
Acceptance Criteria
- New property
colorfor Icon component - Should accept:
- info --
--goa-color-info-default - warning --
--goa-color-warning-default - emergency --
--goa-color-emergency-default - success --
--goa.color.success.default - light --
--goa-color-greyscale-white - dark --
--goa-color-greyscale-black - and a custom hex value
- and a custom rgb value
- or any design token
- info --
@solittlework We've updated this feature request to add proper acceptance criteria. If you want to take a look and let us know if there's anything we're missing.
This has been completed, and is provided with the fillColor property