Update the meta tag that stores the theme color dynamically based on the theme selected. The best way to do so would be first to add the main color, and while we're at it the background color and sub-color (the text could be the color of the text to show off all 4 main colors) to the list item of the theme list.
Then we can store the color itself, that hex value, in the user config file stored in the cache at the same time we store the name of the theme's CSS file when we select it from the list.
Then, when you update the theme after a user has selected one (maybe when previewing as well), just find and update the value of the meta tag with whatever is in the cache.
Update the meta tag that stores the theme color dynamically based on the theme selected. The best way to do so would be first to add the main color, and while we're at it the background color and sub-color (the text could be the color of the text to show off all 4 main colors) to the list item of the theme list.
Then we can store the color itself, that hex value, in the user config file stored in the cache at the same time we store the name of the theme's CSS file when we select it from the list.
Then, when you update the theme after a user has selected one (maybe when previewing as well), just find and update the value of the meta tag with whatever is in the cache.
BLOCKED by the user config file issue.