In reply to Nick Halsey.

Hi Nick. This project is very much a work in progress and I appreciate the comments.

Some of the ideas I'm working on are ones I'd eventually like to see in core. You shouldn't have to add a setting and a control, this should be done in one step. WordPress should be able to assume sanitization for most controls. The syntax should be normalized for common controls, like color pickers and image uploaders.

Until it gets there though, this library has been very useful for me in my own theme projects. I definitely think it might be useful to a few others.

I've also been working to simplify the library so parameters are simply passed through and the library doesn't touch it except to provide sanitization and capability defaults when they aren't explicitly declared. Not quite there yet, but getting there. If you see any fundamental bugs, definitely open an issue for it: https://github.com/devinsays/customizer-library/issues.

Cheers.