pub async fn create_theme( db: &Db, code: &str, config_yaml: &str, ) -> Result<Theme, ThemeError>
Creates a theme from its code and YAML config.