Icon button variants
Acceptance criteria
- [ ] Remove (undocument) variant "nocolor" - indicate it is deprecated (don't actually remove from code, just documentation)
- [ ] Icon button icon should not show focus (yellow) colour on active - the icon border should still be yellow on focus
- [ ] Border radius on icon button and focus ring should be --goa-borderRadius-m
"light" variant
the following need to be added
default
- [ ] icon - greyscale/white
hover
- [ ] icon - greyscale/white
- [ ] background - greyscale/Grey 700
focus
- [ ] icon - greyscale/white
- [ ] background - greyscale/Grey 700
- [ ] "standard" yellow focus ring
disabled
- [ ] icon - greyscale/Grey 500
"dark" variant
the following need to be updated
default
- [ ] icon - greyscale/black
hover
- [ ] icon - greyscale/black
- [ ] background - greyscale/Grey 100
focus
- [ ] icon - greyscale/black
- [ ] background - greyscale/Grey 100
- [ ] "standard" yellow focus ring
disabled
- [ ] icon - greyscale/Grey 500
"destructive" variant
the following need to be updated
default
- [ ] icon - interactive/Error-hover
hover
- [ ] icon - status/emergency-dark
- [ ] background - status/emergency-light
focus
- [ ] icon - status/emergency-dark
- [ ] background - status/emergency-light
- [ ] "standard" yellow focus ring
disabled
- [ ] icon - interactive/Error - 50% opacity
Icon Example
I added the "bug" label here as the icon itself changing to the yellow focus colour should not happen. The correct states and colours are part of the above story.
Current:
Expected:
:tada: This issue has been resolved in version 1.17.0-alpha.51 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 4.17.0-alpha.25 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.21.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 4.21.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 3.0.0-alpha.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 3.0.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket: