Skip to content

Widen support for system theme detection to linux #4403

@TuTiuTe

Description

@TuTiuTe

Description

Currently, as stated by the documentation getting the system theme is only supported on Windows, web and macOS

I'm interested in linux support, as it's my os and has a quick fix: the crate dark-light, which supports theme detection on a variety of DEs through the use of dbus API.

I'd be happy to submit a PR to add this crate, however I don't know the project's policies on adding dependencies, so let me know if this is something the project wants. Also lmk if it should also replace the current windows / web / macos system theme detection code for homogeneity, as it's multi platform.

Relevant platforms

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions