feat(web): standardize CircleIconButton colors #9127
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Standardizing the color theming of the
CircleIconButton
component by adding a set of color presets. The styling was also moved completely over to Tailwind, which allows for easier customization for specific use cases via theclass
component prop. These changes were modeled after theButton
component.A new "primary" color option was also added, for use in the "User Management" settings.
The goal here is to make the component easier to implement in a reproducible way. Allowing free color input as props allows for inconsistencies in look, and requires digging through other implementations of the component to find acceptable color hex codes. After this change, all that developers need to do to implement this component for most use cases is choose a title, color theme, and icon.
Screenshots
N/A - user interface should look the same as before.
How Has This Been Tested?
Check that the buttons look as expected in light mode, light mode hovered, dark mode, and dark mode hovered.
Notable edge case icons to check:
Checklist: