-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add auto
skin which honors the prefers-color-scheme
media query
#634
Conversation
Setting the skin to 'solarized' now determines light or dark automatically. The always light and always dark skins are named 'solarized-light' and 'solarized-dark' respectively.
Couple of comments:
|
Sure! What would become the default skin, then? |
- 'classic' is always light - 'auto' uses the media query
Once we come up with a way to demo the skins on every OS / browser, we may / can switch to |
Um.. To reduce duplication or conflict from #594 getting merged before this, lets not make changes to the README on this branch just yet.. Let the document be finalized there first. |
ok sorry! 😅 |
auto
skin which honors the prefers-color-scheme
media query
Closes #660 |
I think this PR is waiting for #594 which in turn is waiting for review... |
#594 has been merged, so this PR can be updated against the lateest master and be moved out of draft mode when it's ready. |
@mattr- Ready now, let me know if you need anything else. |
@jekyllbot: merge +minor |
This is a follow-up to #594, and adds the following changes:
auto
skin renders in light or dark mode depending on theprefers-color-scheme
media query;auto
andclassic
share the same color definitions for light mode, andauto
anddark
for dark mode.Screenshots:
auto skin, on Windows 10 in light mode:
auto skin, on Windows 10 in dark mode: