Repository navigation
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:
autoskin renders in light or dark mode depending on theprefers-color-schememedia query;autoandclassicshare the same color definitions for light mode, andautoanddarkfor dark mode.Screenshots:
auto skin, on Windows 10 in light mode:
auto skin, on Windows 10 in dark mode:
