-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix rendering of popup scrollbar #9499
Conversation
If i see correctly this breaks the colors of borders on the right side of popups. |
PR is #9508 |
It does not break colors. I had chosen a darker .bg to illustrate the fixed behavior with a colorable scroll track. Matching
I'm not sure what you mean by "hardcodes"—it's simply the nature of working with the In any case, I chose to keep it because of a.) the visual harmony with borders and b.) the design had already found a certain degree of acceptance (it's what people would have been testing with so far in your original PR and master). For reference, this is what a (bordered) scrollable popup would look like using the original style, which is not what this PR does: cc: @the-mikedavis |
So it does break colors.
We have a default border type which is currently plain, but has four possible values. My goal was not to have scroll track when borders are enabled, because its too much visually. But like i said i intentionally didnt want scroll tracks when popup borders are enabled. |
We discussed this a bit in the Matrix room. When borders are enabled the scroll track looks bad:
I've tested the all of the combinations between master, this branch and #9508 with borders enabled/disabled and I prefer #9508's behavior. |
Colors "break" because most themes do not have To reiterate, this PR:
rose_pine with custom overrides |
Closing as #9508 was merged. |
This is the part that I don't think is necessary. If we're not drawing the scroll track then theming it seems needless and I would prefer to see the border have a consistent color whether it's part of the scroll track or not |
Fixes #9498 and keeps #4313's intention (I believe) of repurposing the border as scrollbar track.