Cache the theme config for faster reloading