summaryrefslogtreecommitdiff
path: root/core/libdeno
diff options
context:
space:
mode:
authorJed Fox <git@twopointzero.us>2019-06-19 19:53:07 -0400
committerRyan Dahl <ry@tinyclouds.org>2019-06-19 16:53:07 -0700
commit43f48386d7921612c5cbe7d39a4dfb82a3f3367e (patch)
tree86e86ee0b5e640c8aea994b91ba372be14d76f18 /core/libdeno
parent01858f115ae4c051a0beb5c1719c59431562f43e (diff)
website: use css variables and prefers-color-scheme (#2547)
This uses `prefers-color-scheme: dark` to automatically switch to dark mode if the user specifies it in their system settings. Dark mode is supported in Firefox 67, Chrome 76, Safari 12.1, and iOS 13 as of this commit, but the current status can be checked here: https://caniuse.com/#feat=prefers-color-scheme Additionally, this uses CSS Variables to implement the color-switching mechanism. This isn’t supported in IE, but the site degrades reasonably well with them disabled. Support table: https://caniuse.com/#feat=css-variables
Diffstat (limited to 'core/libdeno')
0 files changed, 0 insertions, 0 deletions