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
Fix : Added a media query for dark mode users #1428
Conversation
Fixes expressjs#1382 Sometimes it creates eye strain when you are learning form a white backgrounded documentation since 4 to 6 hours a day. That is why, I removed that white background image and the website is looking very good now.
Hey, @dougwilson Now, you can review my commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is all about the changes that I made here.
@@ -14,7 +14,7 @@ | |||
|
|||
body { | |||
font: 400 14px/1.6 "Open Sans", sans-serif; | |||
background: url(/images/bg.jpg); | |||
background: url(/images/bg.jpg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added background
@@ -669,6 +669,12 @@ footer { | |||
|
|||
} | |||
|
|||
@media (prefers-color-scheme:dark) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added media query
@chrisdel101 Should this be closed or merged? |
This would have handled the system setting, but only changed the main background. So |
Fixes #1382