Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-scrollbars] light/dark colors #2967

Closed
fantasai opened this issue Jul 30, 2018 · 2 comments · Fixed by #3112
Closed

[css-scrollbars] light/dark colors #2967

fantasai opened this issue Jul 30, 2018 · 2 comments · Fixed by #3112

Comments

@fantasai
Copy link
Collaborator

I think it was Xidorn who explained that one of the main use cases for scrollbar colors was to choose between light/dark scrollbars. If that's one of the most common sue cases, then it seems to me that this should be a choice we can provide to the authors, where they don't have to choose specific colors, but just say whether they want light scrollbars or dark ones, and the UA can fill in something platform-appropriate.

These would be additional keywords for the -color properties: I'm not suggesting that we remove <color>.

@fantasai fantasai added the css-scrollbars-1 Current Work label Jul 30, 2018
@jonjohnjohnson
Copy link

Definitely in favor of this, when safari already uses heuristics (things like the html, but not body elements background color?) to set their scrollbar as dark or light. A few times, I've inadvertently let those heuristics set the scrollbar in a way where my internal dom styling doesn't jive well.

@upsuper
Copy link
Member

upsuper commented Sep 15, 2018

After we have a single scrollbar-color property, it becomes easier to add two keyword values in addition to auto, so we can probably add this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants