Archived topic
Why aren't buttons respecting button colors from Customizer?
8 replies · Started by Clifford on May 31, 2021
I set my button colors: https://share.getcloudapp.com/mXuro471
So why aren't new buttons defaulting to these colors (the standard blue instead)? https://share.getcloudapp.com/kpuDErLr
Hi there,
That's the button from GenerateBlocks so you will need to change it in its own color settings:
https://docs.generateblocks.com/article/buttons-overview/#colors
Right - so I'm saying the block editor button's defaults should come from site-wide settings. Surely this isn't intentionally not considering those settings, right?
You will need something like this:
https://generatepress.com/forums/topic/add-custom-css-selector-to-the-button-selector/#post-1322768
That's nice, thank you, would make sense that GBlocks gets its defaults from GPress without needing custom code like this, right?
Hi there,
we'll be introducing Global Colors in the next GP Theme update - once thats in place we will be adding integration to GB so colors from the Theme will be passed down to GB.
Awesome!
FYI: Central Color Palette has been awesome!
Maybe use it for some inspiration: name your colors, variables within CSS root, etc
You're welcome - I think you'll like the new system - very simple all managed first hand from the Themes color options :)