Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor OS color scheme #12

Open
breyed opened this issue Nov 26, 2021 · 0 comments
Open

Honor OS color scheme #12

breyed opened this issue Nov 26, 2021 · 0 comments
Assignees

Comments

@breyed
Copy link

breyed commented Nov 26, 2021

Overview

Fika should have a mode to use a light or dark theme based on the OS setting. OSs are commonly configured to automatically switch between light and dark mode based on time of day. This setting should flow through to the reader mode of a web browser. For example, if macOS is configured to toggle automatically between light and dark mode, Safari's built-in reader automatically uses a light or dark mode accordingly.

UI suggestion

Replace the existing "Theme Color" group with a "Light Theme Color" group and "Dark Theme Color" group. Each group will have two of the existing themes. Add a new group (as the first group) called "Light/Dark Selection" with options "Auto", "Light", and "Dark". Make Auto the default.

Technical detail

To detect the current setting, use the prefers-color-scheme media query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants