wip: support desktop portal color-scheme, and accent variables
This commit is contained in:
parent
c390b2614d
commit
06b46f455b
6 changed files with 107 additions and 34 deletions
|
|
@ -511,6 +511,24 @@ where
|
|||
iced::Command::none()
|
||||
}
|
||||
|
||||
/// Respond to a system theme change
|
||||
fn system_theme_update(
|
||||
&mut self,
|
||||
keys: &[&'static str],
|
||||
new_theme: &cosmic_theme::Theme,
|
||||
) -> iced::Command<Message<Self::Message>> {
|
||||
iced::Command::none()
|
||||
}
|
||||
|
||||
/// Respond to a system theme mode change
|
||||
fn system_theme_mode_update(
|
||||
&mut self,
|
||||
keys: &[&'static str],
|
||||
new_theme: &cosmic_theme::ThemeMode,
|
||||
) -> iced::Command<Message<Self::Message>> {
|
||||
iced::Command::none()
|
||||
}
|
||||
|
||||
/// Constructs the view for the main window.
|
||||
fn view(&self) -> Element<Self::Message>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue