Yes, I think it's better. Perhaps `$theme` should take value like `jui/theme/red` instead of just `red`?