Save color-picker value to external CSS file in OptionTree

Is there a way to save the value of a color-picker field to an external CSS file along with a selector?

Similar to what Redux Framework providers with the compiler() function.

I went over the documentation of OptionTree but couldn’t find anything like that. Best I can do is use the color value inline which is not something I’d like to do.

Side question, is there a way to add a placeholder to the text input field?

Read more here: Save color-picker value to external CSS file in OptionTree

Leave a Reply

Your email address will not be published. Required fields are marked *