Crate system_theme

Crate system_theme 

Source
Expand description

§System Theme Latest Version docs

A cross-platform Rust library to help build native-looking applications.

System Theme Demo

It provides access (when supported by the platform) to:

  • System theme kind (Windows, macOS, GTK, or Qt)
  • System theme scheme (light or dark)
  • System contrast level (normal or high)
  • System accent color

It also includes predefined theme palettes designed to match native applications.

§Roadmap

🚧 Platforms
    🟢 Windows
    🟢 macOS
    🟢 XDG (Linux, FreeBSD, etc.)
        🟢 GTK (e.g. GNOME)
        🟢 Qt (e.g. KDE)
    🔴 Web
    🔴 Android
    🔴 iOS

🚧 Theming
    🚧 Default OS themes (Fluent, Aqua, Adwaita, Breeze)
        🟢 Palette
        🔴 Widget Themes (buttons, etc)
    🟢 Subscription to theme changes (async)
        🟢 Windows
        🟢 XDG (Linux, FreeBSD, etc.)
        🟢 macOS

🚧 Integrations
    🚧 Iced (feature: iced)
        🟢 Palette
        🟢 App Theme
        🔴 Widget Themes

§License

System theme is licensed under either of

at your option.

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

error
Error module for system theme operations.

Structs§

SystemTheme
System theme implementation.
Theme
Theme
ThemeColor
Theme color
ThemePalette
Theme Palette

Enums§

ThemeContrast
Theme contrast
ThemeKind
Theme kind
ThemeScheme
Theme scheme