pub fn resolve_theme(preferred: Option<String>) -> String
Resolve a theme identifier from configuration or CLI input.