Set a default background color #142742
Unanswered
KiruPoruno
asked this question in
npm
Replies: 1 comment 5 replies
-
would you mind sharing what browser are you using? We do have a root background set: :root {
background-color: #fff;
background-color: var(--bg);
} I'm updating it to use the most current variable but I believe your browser must support |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently there's no default background color set on various elements, notably the search results, however the text color is set, meaning if you've a browser or extension that sets this for whatever reason, it may cause it to be unreadable.
As an example, if the browser or an extension sets the default background color to
black
you get unreadable search results:Notably however, this only applies until you start scrolling:
This is a very easy fix (
html, body {background: white}
), and it's been bugging me for years.Beta Was this translation helpful? Give feedback.
All reactions