Currently the colors are hard coded that create the color range required for the tags, so adding new colors to the theme has no effect on their styles.
This needs to be the primary and secondary color from the theme but since its outside of a sx prop i'll need to source the colors using theme-ui's const context = useThemeUI() then pass the primary and secondary colors onto the color-range util
Currently the colors are hard coded that create the color range required for the tags, so adding new colors to the theme has no effect on their styles.
This needs to be the primary and secondary color from the theme but since its outside of a
sx
prop i'll need to source the colors using theme-ui'sconst context = useThemeUI()
then pass the primary and secondary colors onto the color-range util