News for hackers. Stuff that matters.
Re:Inlining SVGs for Dark Mode by nawgz on Thursday April 06, 2023 @09:17PM (#35476855)
SVGs and JS are a very good pairing, I have lots of fun drawing graphs & charts. What I enjoy most is with dynamic resizing, you can scale the SVG coordinate space to match the screen pixel space, so `stroke-width: 1px` is meaningful / accurate. Combine it with %-based coordinates and you get snappy perf + good looks

There are no comments on this comment yet.