Skip to content

OS Dark/Light theme detection #8586

Closed
@jim-ec

Description

@jim-ec

What problem does this solve or what need does it fill?

I would like to use a different color schema based on whether the OS has enabled dark or light theme.

What solution would you like?

Since winit exposes window events WindowEvent::ThemeChanged for when the OS theming changes, a new property to bevy::window::Window would probably appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions