You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Francisco – Please upvote this feature from me too. Anytime you can move CSS like this to the editor makes sense – especially when using Global Styles.
To link the color to the GP color palette, give this CSS a whirl. The variable color can be linked to whatever palette color desired, and it now has more global styling capabilities.
/* CSS to change the fill color */
.custom-color > .gb-icon > svg > path {
fill: var(--primary-accent); /* Replace 'primary-accent' with your desired palette color */
}
/* CSS for hover effect */
.custom-color:hover > .gb-icon > svg > path {
fill: var(--secondary-accent); /* Replace 'secondary-accent' with your desired palette color */
}
Description
Add Icon color options for Buttons
The text was updated successfully, but these errors were encountered: