cargo-timing.html supports dark mode #14586
Labels
A-timings
Area: timings
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Problem
For users using dark mode, opening cargo-timing.html is very glaring
I can use some browser ext to force the web page to switch to dark mode, but the canvas will still be white background.
Proposed Solution
For web pages, there is already prefers-color-scheme
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
For canvas, maybe just invert the basic white and black, and keep the other colors?
Notes
No response
The text was updated successfully, but these errors were encountered: