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 the class component prop. These changes were modeled after the Button 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:
asset viewer nav bar
nav bar in full screen views, such as the album page
memory lane buttons (close, next memory, previous memory, show gallery, hide gallery)
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: