pub fn to_theme(variant: &ThemeVariant, name: &str, is_dark: bool) -> ThemeExpand description
Convert a ThemeVariant into a gpui-component Theme.
Builds a complete Theme by:
- Mapping all 108 ThemeColor fields via
colors::to_theme_color - Building a ThemeConfig from fonts/geometry via
config::to_theme_config - Constructing the Theme from the ThemeColor and applying the config