Adding Oxygen Global colors to Gutenberg
Thu Feb 17 2022 08:18:20 GMT+0000 (Coordinated Universal Time)
I am amused when WordPress themes or plugins talk about “global” colors but the feature only works in the theme or plugin. In other words, they are not truly “global.” Oxygen has a nice global colors option and I wanted to get these colors into the Gutenberg editor. I asked in the Oxygen Facebook group and got a number of nice suggestions. Alex Tester pointed me to a snippet on the issue in Github and Matt Hias shared a solution from his blog. I ended up using the first option as the code looked simpler.
https://www.webtng.com/code-snippets-used-when-creating-an-oxygen-site/
Comments