Websites can now automatically switch between light and dark themes based on system settings using prefers-color-scheme. It would be nice if rustdoc had a theme that looks like the light theme by default but looks like the dark theme in the @media (prefers-color-scheme: dark) condition. Since this is backward-compatible with the current default being the light theme, it could even be made the new default.
Websites can now automatically switch between light and dark themes based on system settings using
prefers-color-scheme. It would be nice if rustdoc had a theme that looks like the light theme by default but looks like the dark theme in the@media (prefers-color-scheme: dark)condition. Since this is backward-compatible with the current default being the light theme, it could even be made the new default.