- BOXY SVG COPY EXTERNAL COLOR FULL
- BOXY SVG COPY EXTERNAL COLOR CODE
- BOXY SVG COPY EXTERNAL COLOR DOWNLOAD
(I'm not sure it is doable and worth the effort, because it presumably does not have universal solution for every single DPI, but maybe something could be learnt trying.Import from Copy (Or $ke圜 ) It would be interesting to (try to) introduce option to have real (CSS) pixel stroke widths accompanied with mechanism that will align them on CSS pixel grid. I'm pretty sure you know what I try to describe: SVG line with stroke-width="1" sitting on whole integer coordinates in non-resized SVG on display with 100% DPI scale will be rendered as "2px" aliased line around that pixel boundary.
BOXY SVG COPY EXTERNAL COLOR FULL
"1px stroke" in "16px size" is obviously not rendered as full colour CSS pixel, and hypothetically might be rendered as one physical pixel on screen with 150% DPI ratio if they happen to be shifted by half CSS pixel. The "px" (or more precisely "virtual / CSS pixel") value for stroke in app would currently apply only for icon size value of 24 (px, matching viewport), what may seem quite misleading. I have some remarks about the "size (px)" / "stroke width (px)" descriptions. I often find myself writing such icons by hand because I want them to be like this and it feels mostly faster to make it yourself than to search for some ready existing, because these are mostly exported to fills, presumably for better reliability. Lea Verou has done a talk or two on this SVG in CSS approach and a tool to get readymades would help make this method more acceptable to people who are still stuffing icons in fonts.Īnyway, thanks again for sharing your beautiful site, there is lots to learn from the icons you have there!įirst, really nice app, nice to see clean line graphics constructed with real lines (strokes) and exploiting its benefits. If done in white they can also be colorised to anything including black in the CSS for the pseudo element. The CSS variable needs some url-data-xml-type-svg syntax and any '#' characters have to be escaped out as %23.īy taking this approach the SVGs can be in the stylesheet and therefore downloaded 'for free'.
![boxy svg copy external color boxy svg copy external color](http://files.smashingmagazine.com/wallpapers/june-15/fishing-is-my-passion/cal/june-15-fishing-is-my-passion-cal-320x480.jpg)
This technique doesn't work in Edge but has its advantages in that you can have pseudo elements for things like 'external link' where the background to the pseudo element is an SVG in a CSS variable.
BOXY SVG COPY EXTERNAL COLOR DOWNLOAD
If you put this together then you can have a symbol set that has eight different arrows in it 'using' the base arrow and any changes to the base arrow get automagically updated to the others.Īnother download option that would be useful to me would be a CSS variable version of each icon. In that way a circle just has to have a radius to be centred and an arrow can use another arrow and be rotated by 180 degrees.
![boxy svg copy external color boxy svg copy external color](https://image.freepik.com/free-vector/detailed-package-cardboard-box-vector_41-2147487088.jpg)
In this vein the other thing I like to see is a viewbox that has the origin in the middle.
BOXY SVG COPY EXTERNAL COLOR CODE
So the 'fast forward' icon might be lighter defined as two polygons, but the polygons are the same so the define one triangle and re-use it for the second makes more sense in a literal way even though the code to bring in the namespace for use might actually make the download size of the icon larger. It is refreshing to find icons on a sensible grid and going for integers where possible.ĭownload size is one thing, however, I also think SVG icons should be a bit more literal, with things like mask and use brought into play.
![boxy svg copy external color boxy svg copy external color](https://image.shutterstock.com/image-vector/flowers-sunny-window-flower-box-600w-1161602491.jpg)
My test is to see if an icon such as the 'play' icon uses a circle or a path for the circle.Īnother thing that I find annoying about designer made SVGs is that the circle will not only be a path but the points on the path will be in 'NASA numbers', i.e.
![boxy svg copy external color boxy svg copy external color](https://image.freepik.com/free-vector/cardboard-boxes-stacked_21-10330071.jpg)
The great thing about your tool is that it enables you to learn a thing or two, there is a great amount of SVG vocabulary used. I am the most picky person ever when it comes to SVG and I detest the rubbish that gets churned out of Illustrator.