pub fn resolve_theme(preferred: Option<String>) -> String
Resolve a requested theme to a valid built-in identifier or the default.