Sketch: Little lessons learned #1 — Stripe pattern
I wouldn’t say that I am totally new to Sketch App, however I have been working with Illustrator for the last years when it came to Wireframing, — shame on me. I am quite secure regarding the basics of sketch but my workflows are any other than perfect. Let’s say, I’m working on it.
Creating patterns in Sketch is quite easy. Normally you simply put a design on a square artboard, save it as PNG and apply it to the pattern library. You can also use square PNG files that fit your ideas.
In theory. When I tried to apply this approach to creating a stripe pattern, I failed in mathematics (not for the first time, btw). The results I got were always inaccurate because the single lines just wouldn’t match, so it never became seamless.
As you can see, it’s actually simple. The centered line just has to match exactly with half of the two outer lines. Well, I did not find a method for arranging them correctly yet. (Please advise, in case you have an applicable solution.)
So here is my workaround:
What I found out on my research was the symbol feature, that I did not know before (thanks to Louise). The cool thing is, that you can create symbols, slightly modify them (in color or size for instance) and put them into folders so you’ll have them on hand at any time without sift through your whole document.
Anyway — another thing you can easily do, when it comes to line patterns, is creating a huge symbol that is built from lines. Think big here.
When a line pattern is needed, insert it into your artboard and use a mask for modification.
Any change you make in your symbol works globally. In case the pattern you created doesn’t fit the desired outline, simply change the origin pattern in your symbol artboard.
And here is the point: Other areas that you used your stripe pattern for will be affected as well, so you won’t have to adjust them manually.