Content
View differences
Updated by Henriette Darge over 1 year ago
We are using the `icon_for_color` helper in various places in the administration, and recently added it to the status button component.
But that helper does not respect theme modes in the same way as the highlighting CSS does. We should adapt it so that it behaves the same way
### Acceptance
* The bubble created with the `icon_for_color` helper looks like the bubbles created with the `"__hl_inline_#{_name_}_#{_model_.id}"` class
* Completely round
* adapts to the mode (dark/light/light high contrast)
**Note for QA**
* This can be tested when comparing the status button component in the lookbook with for example the WP Status button in the WP full view <br>
But that helper does not respect theme modes in the same way as the highlighting CSS does. We should adapt it so that it behaves the same way
### Acceptance
* The bubble created with the `icon_for_color` helper looks like the bubbles created with the `"__hl_inline_#{_name_}_#{_model_.id}"` class
* Completely round
* adapts to the mode (dark/light/light high contrast)
**Note for QA**
* This can be tested when comparing the status button component in the lookbook with for example the WP Status button in the WP full view