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

[style] add dark mode #2029

Merged
merged 1 commit into from
Aug 1, 2021
Merged

[style] add dark mode #2029

merged 1 commit into from
Aug 1, 2021

Conversation

t0stiman
Copy link
Contributor

Resolves #2011

This PR adds a dark mode to RSS-Bridge. The dark mode will automatically be used when the users OS is set to a dark theme, using @media (prefers-color-scheme: dark). This way, the dark mode only gets applied to users who actually prefer dark themes.

darkmode.mp4

@t0stiman
Copy link
Contributor Author

@em92 what do you think? Yay or nay?

@Bockiii
Copy link
Contributor

Bockiii commented Jul 29, 2021

Does this only apply to the website or also to the feed items if you retrieve the feed in a feed reader?

If it's just the website: yes please!

@t0stiman
Copy link
Contributor Author

Does this only apply to the website or also to the feed items if you retrieve the feed in a feed reader?

If it's just the website: yes please!

It only applies to the RSS-Bridge site. Feed items do not contain any styling.

@Bockiii
Copy link
Contributor

Bockiii commented Jul 30, 2021

Extra effort : is it possible to display a slider on the site (top right corner for example) to do the switcheroo? My quick search found a few css-only sliders that dont use js.

@em92
Copy link
Contributor

em92 commented Aug 1, 2021

Looks good!
Did not check it for a long time, 'cos I did not know how to set dark mode in my browser.

@em92 em92 merged commit 3637777 into RSS-Bridge:master Aug 1, 2021
@t0stiman t0stiman deleted the darkmode branch March 8, 2024 10:21
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.

Optional dark theme
3 participants