-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-timingsArea: timingsArea: timingsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Description
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
Metadata
Metadata
Assignees
Labels
A-timingsArea: timingsArea: timingsC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-mentorStatus: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.