sy4mil/Options-Framework — pull request #59 by Larcos (2012-04-18 16:07:12+00:00)
Title: Added a code type and a dynamic.css

I added a new type "code". This will render a code editor which is using the codemirror project (see Example Options -> Code for an example).

Furthermore i added the ability to save options directly into a css file. I took the code from "option tree" for it.
In the admin root folder is a example for the "dynamic.css". To use an option insert the id into {{ }}.
Example:

You defined a color field with id "body-link-color". In the dynamic.css place:
a{
color: {{body-link-color}};
}

This dynamic.css will be filled with the options on a save and reset action. This will create a "smof.css" in the themes root which can be used in your theme.

For more examples look into the dynamic.css