Set Global Colors and Fonts in code via theme #24746
dojocreative
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Start a discussion
I've searched for a way to to this in the discussions, but I have not been able to find a solution.
What I'd like to be able to do is set the Global Colors and Fonts in code via my theme. This way our users can not go in and alter the colors and themes, and we can control our deployments via git without having to worry about database copies.
Is there currently a way to do this?
Ideally this would work similar to Advanced Custom Filters, where you can use the UI to set all of the values, but then export the settings to code and include them in a theme or plugin and it just works. Even better if it's set via code, the option to change it no longer exists in the UI.
If this is something that is already possible and someone can send me to the correct documentation, that would be great.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions