Skip to content

Detect system theme in UI #851

@SuchithSridhar

Description

@SuchithSridhar

Is your feature request related to a problem? Please describe.
Right now the Headlight button just changes themes between dark and light - it would be nice to have an option to detect dark theme using the prefers-color-scheme option in browsers. This is especially useful in apps like Ferdium where you can't install the dark-reader extension.

Describe the solution you'd like
Provide the user an option to use system theme and then detect the state of prefers-color-scheme. In my personal opinion, this should be the default option as well.

Describe alternatives you've considered
One can use dark-reader but that's a rather clunky work-around.

Additional context
None.

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