In a theme where the user can choose the colour scheme from colour pickers in the customiser, what's the best practice for updating the style sheet?
My current method is to hook into wp_head
and update the appropriate selectors using <style>
tags.
This approach works fine when there's only a few selected affected, but what's the best way when overwriting large number of styles such as Bootstrap's default, primary, success, warning, etc, colours? In this case a large number of lines (even "minified") are inserted in to the document's head
. Does this even matter?