-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Add option to use SVG gutter icons #5107
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #5107 +/- ##
=======================================
Coverage 86.63% 86.64%
=======================================
Files 555 555
Lines 43121 43149 +28
Branches 6711 6714 +3
=======================================
+ Hits 37358 37385 +27
- Misses 5763 5764 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
@nightwing Could you share what resolution and browser you're using (I'm looking at Chrome on Windows 11 at a resolution of 800x600px and I don't see jagged edges). Using CSS filters can make it hard to set the color to a particular RGB/HEX value, you'd have to lookup the correct Hue value afaik. I don't think switching to using CSS filters would affect how the UA applies AA here though? |
I am seeing the above on chrome windows 10 1680x1050 display |
Made some tweaks to the SVGs which could help here. |
Adds an option (
useSvgGutterIcons
) to use SVG gutter icons (only annotation icons for now). By defaultuseSvgGutterIcons
is false, after settinguseSvgGutterIcons = true
the gutter annotations will be drawn using a CSS mask on top of a background color. This allows to set the stroke color of the SVG icons in themes.When
useSvgGutterIcons = false
we return to the current behavior:By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.