News for hackers. Stuff that matters.
Re:Building Better Interfaces with SVG (2015) by lj3 on Sunday January 08, 2017 @06:43PM (#13352834)
Re:Building Better Interfaces with SVG (2015) by sydd on Sunday January 08, 2017 @06:52PM (#13352907)
And how good is it? Does anyone knows examples/has done some serious work in it?
Re:Building Better Interfaces with SVG (2015) by adamriggs on Sunday January 08, 2017 @09:54PM (#13353648)
I do frontend web dev in a big, mixed-media advertising agency. The logo's that we design for clients are created in Illustrator so they can scale to billboards or banner ads. The psd's that I receive for websites often contain icons done in illustrator. Exporting to svg is easy to do but yields code that is messy in the way that exporting a Word document to html is. It works but I'm not going to edit the code.
Re:Building Better Interfaces with SVG (2015) by petetnt on Monday January 09, 2017 @01:44AM (#13354515)
For what it is worth, Illustrator CC got an update on one of the .x versions (17.2?) that brought "Export SVG to Web" option that produces web quality SVGs (maybe SVGO exported even?), a huge improvement over the old Save As SVG route.
Re:Building Better Interfaces with SVG (2015) by matthewmacleod on Sunday January 08, 2017 @07:30PM (#13353086)
I routinely use Illustrator for fairly complex SVGs that are subsequently included in web pages, and the code is pretty serviceable. SVGO will clean it up a lot, but usually to the point of make it much hard to hand-tune.
Re:Building Better Interfaces with SVG (2015) by nobleach on Sunday January 08, 2017 @10:28PM (#13353793)
dealing with `id="Layer1"` is annoying, but trivial. The endless nested `<g>` elements can be deleted. I've heard it's gotten better (I've neglected to ask for an update from CS6 for the past 2 years.

What is absolutely terrible is dealing with SVGs exported from Sketch. And that's all our UX/UI/Designers use these days.

Re:Building Better Interfaces with SVG (2015) by jjcm on Sunday January 08, 2017 @06:59PM (#13352936)
For what it's worth the SVGs exported by Sketch are workable. I usually go in by hand and clean up the exports, but it's nowhere near as bad as old dreamweaver html exports.
Re:Building Better Interfaces with SVG (2015) by nobleach on Sunday January 08, 2017 @10:31PM (#13353807)
I've had the opposite experience. Exports from sketch have the potential to be way off the canvas. This page has helped quite a bit: https://medium.com/sketch-app-sources/exploring-ways-to-expo...
Re:Building Better Interfaces with SVG (2015) by whyileft on Sunday January 08, 2017 @09:44PM (#13353602)
In my experience the exported SVGs from Illustrator can be pretty noisey.