Set window theme to match color scheme of active theme
This commit is contained in:
parent
e92c87061d
commit
74425d5cb1
4 changed files with 40 additions and 6 deletions
|
|
@ -634,6 +634,10 @@ async fn run_instance<P>(
|
|||
system_theme,
|
||||
);
|
||||
|
||||
window.raw.set_theme(conversion::window_theme(
|
||||
window.state.theme_mode(),
|
||||
));
|
||||
|
||||
debug::theme_changed(|| {
|
||||
if is_first {
|
||||
theme::Base::palette(window.state.theme())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue