Skip to content
This repository was archived by the owner on Jun 20, 2020. It is now read-only.
This repository was archived by the owner on Jun 20, 2020. It is now read-only.

Support for OS dark mode toggle #78

Description

@Dave-Snigier

WIth MacOS, IOS, and Android support for dark mode and the prefers-color-scheme CSS media query, it would be great if this script would respect those settings if set.

The behavior I was thinking is:
prefers-color-scheme == light --> Disable dark mode related styling, but keep other tweaks enabled
prefers-color-scheme == dark --> Enable dark mode related styling
prefers-color-scheme == false (unset) --> Enable dark mode related styling

Ideally, there would be a feature toggle which could override the OS setting.

Mozilla - prefers-color-scheme
prefers-color-scheme: Hello darkness, my old friend

Thoughts? Thanks for the great project!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions