Rework theme API
This commit adds support for theming on macOS and also unifies the system theme handling across platforms.
This commit is contained in:
parent
4f06cfcf5b
commit
92fdf5ba85
20 changed files with 256 additions and 60 deletions
|
|
@ -504,7 +504,7 @@ pub enum WindowEvent<'a> {
|
|||
///
|
||||
/// ## Platform-specific
|
||||
///
|
||||
/// At the moment this is only supported on Windows.
|
||||
/// - **iOS / Android / X11 / Wayland:** Unsupported.
|
||||
ThemeChanged(Theme),
|
||||
|
||||
/// The window has been occluded (completely hidden from view).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue