Skip to main content

current_base_theme

Function current_base_theme 

Source
pub fn current_base_theme(window: &Window, cx: &App) -> Theme
Expand description

Projects the active local Material scope (or window/application theme) into a gpui_base::Theme without mutating gpui_base::Theme::global.