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

feat(enhancement): use system dark mode #1283

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

rmtsrc
Copy link

@rmtsrc rmtsrc commented Jun 19, 2023

Currently by default semaphore is shown using the light theme and does not change based on the current system dark mode setting.

I often find myself toggling the system light theme during the day and the dark mode at night. Most browsers, websites and my IDE all automatically update to reflect the system setting.

This PR uses the browsers prefers-color-scheme media query, which takes into account your system theme settings.

Screencast.from.2023-06-19.19-07-04.webm

@fiftin
Copy link
Collaborator

fiftin commented Jul 3, 2023

Hi @rmtsrc

It is really cool!

@fiftin
Copy link
Collaborator

fiftin commented Jul 3, 2023

I will test it soon. I think we should add switcher: Dark, Light, System.

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

Successfully merging this pull request may close these issues.

None yet

2 participants