Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Added Dark Mode CSS #73

Merged
1 commit merged into from
Nov 1, 2019
Merged

Added Dark Mode CSS #73

1 commit merged into from
Nov 1, 2019

Conversation

Kedstar99
Copy link
Contributor

@Kedstar99 Kedstar99 commented Oct 13, 2019

Hello,

I was just reading hacker news and saw this rather cool new feature that is being built into browsers. In this case the support for dark mode for browsers that request it.

image

I was hoping to use this as one of my hacktoberfest submissions this year, so please let me know if there are things so i can fix it.

EDIT: FYI you won't see it unless your browser is asking for dark mode sites. Otherwise you would normally get the bright white website. To enable dark mode requests on Firefox just apply the following setting.

url > about:config > accept the risk > right click > new > integer

key is ui.systemUsesDarkTheme
value is 1

EDIT2: FYI this isn't some random CSS that is only supported on Firefox. It has support in Chrome, Safari etc.. https://caniuse.com/#search=prefers-color-scheme

Kind regards,
Krish

@mscherer
Copy link

It look fine to me, but I do not know who is in charge of the website. @sanjabonic , you know who deal with that ?

@ghost ghost merged commit 6f0d821 into fedora-silverblue:master Nov 1, 2019
@ghost
Copy link

ghost commented Nov 1, 2019

Awesome PR - thanks for submitting that!

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants