1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/website
Jed Fox 43f48386d7 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
2019-06-19 16:53:07 -07:00
..
images docs: add a pixelated animation logo (#2110) 2019-04-14 10:30:10 -04:00
app.ts Fixes benchmark page spinner on Edge #2508 (#2525) 2019-06-15 11:22:27 -07:00
app_test.ts feat: default output filename for deno bundle (#2484) 2019-06-11 14:38:19 -04:00
benchmarks.html Fixes benchmark page spinner on Edge #2508 (#2525) 2019-06-15 11:22:27 -07:00
favicon.ico Add favicon.ico generated by deno_logo_3.svg and add link tag in every page (#1861) 2019-03-01 02:59:26 -05:00
index.html website: use css variables and prefers-color-scheme (#2547) 2019-06-19 16:53:07 -07:00
manual.html website: use css variables and prefers-color-scheme (#2547) 2019-06-19 16:53:07 -07:00
manual.md feat: default output filename for deno bundle (#2484) 2019-06-11 14:38:19 -04:00
rustdoc Add a simple doc generation tool. 2018-11-14 17:34:28 -08:00
showdown_toc.js web design (#1728) 2019-02-11 17:41:13 -05:00
style.css website: use css variables and prefers-color-scheme (#2547) 2019-06-19 16:53:07 -07:00
style_guide.html website: use css variables and prefers-color-scheme (#2547) 2019-06-19 16:53:07 -07:00
style_guide.md website: update http example (#2367) 2019-05-21 00:31:57 -04:00
typedoc Add a simple doc generation tool. 2018-11-14 17:34:28 -08:00
welcome.ts Rename welcome.js to welcome.ts (#1803) 2019-02-18 18:18:00 -05:00