Skip to content

Version warning hard to read in dark mode #5062

Answered by squidfunk
patrick-5546 asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed in 981ee65. The version warning will now always use the light scheme, so it's consistent:

Additionally, two new CSS variables were introduced that allow for overriding the background and foreground color:

// Warning color shades
--md-warning-fg-color: hsla(0, 0%, 0%, 0.87);
--md-warning-bg-color: hsla(60, 100%, 80%, 1);

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by squidfunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants