zed/docs/theme
Danilo Leal 7c54965b11
docs: Add dark mode (#17940)
Closes https://github.com/zed-industries/zed/issues/17911

This PR enables dark mode on the documentation. This is done without any
special plugins, just pure JavaScript and CSS variables. I may open
fast-follow PRs to fine-tune design and code details that haven't been
super polished yet. For example, when switching to dark mode, the
`class` attribute on the `html` tag would change immediately, whereas
other attributes such as `data-theme` and `data-color-scheme` would
require a full refresh. This seems to be resolved, but not 100%
confident yet.

---

Release Notes:

- Enabled dark mode on the documentation
2024-09-17 12:39:06 -03:00
..
css docs: Add dark mode (#17940) 2024-09-17 12:39:06 -03:00
fonts
favicon.png
index.hbs docs: Add dark mode (#17940) 2024-09-17 12:39:06 -03:00
page-toc.css docs: Add dark mode (#17940) 2024-09-17 12:39:06 -03:00
page-toc.js
plugins.css docs: Add dark mode (#17940) 2024-09-17 12:39:06 -03:00
plugins.js docs: Add dark mode (#17940) 2024-09-17 12:39:06 -03:00