Theme colors support
-
Dear Stackable team,
I noticed that Stackable applies theme colors (that I have specified in the theme.json file) statically, but not dynamically over variables such as ‘–wp–preset–color–xxxxx’. As a result, changing theme colors does not affect the appearance of the stackable blocks, but only wordpress internal blocks.Because of that I need to duplicate all theme colors as Stackable Global Colors and use them instead and then always keep theme and stackable colors in sync, what is a bit annoying.
On top of that, Stackable cannot work with theme gradients. It shows them in the editor’s gradien peek tool, but does not use corresponding css variables such as ‘–wp–preset–gradient–xxxxxxx’. And at the same time it does not provide its own Global Gradients and does not give an opportunity to use its own Global Colors in the editor’s gradient pallete. As a result, gradients are completely hardcoded in Stackable blocks and working with them in Stackable is a pain..
Could you add the full support of global theme colors and gradients over ‘–wp–preset–color’ and ‘–wp–preset–gradient’?
Or, maybe I am wrong and there is some incompatibility between Stackable and my theme? (I use Zakra + manually edited theme.json over ‘wp_theme_json_data_theme’ filter).
- You must be logged in to reply to this topic.