A place to cache linked articles (think custom and personal wayback machine)
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 4 gadiem
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. title: Not just pattern libraries
  2. url: http://ludwig.nz/2016/02/06/not-just-pattern-libraries/
  3. hash_url: 0cd26f943ba3f729a99d05160ecd2196
  4. <p>I <a href="/2016/01/25/together">made the case</a> that custom tools leads to effective designer and developer collaboration. I also made the point that I’m not talking about <em>just</em> pattern libraries. Let me explain why.</p>
  5. <p>Pattern libraries are a great resource for a company to have. They are an excellent resource for onboarding and reference for seasoned team members. This is where they excel; documenting the way we work.</p>
  6. <p>What they don’t do is build our apps. Our websites. They don’t make our buttons or type styles. They don’t allow us to <em>create</em>, they allow us to <em>display</em> and to <em>document</em>.</p>
  7. <p>A pattern library is great for <em>showing</em> the results of our work. They are the window into the capability of our tools and libraries. But on their own, they are inactive. They don’t move, they follow.</p>
  8. <p>So what are these tools I speak of?</p>
  9. <h2 id="frameworks">Frameworks</h2>
  10. <p>Frameworks. Libraries. People call them different things. They are the foundational pieces of software for your business software. Foundation is a Sass framework. Ruby on Rails is a Ruby framework. And React is a JavaScript framework.</p>
  11. <p>Foundation works the way that Zurb work.</p>
  12. <p>Ruby on Rails works the way that 37signals work.</p>
  13. <p>React works the way that Facebook work.</p>
  14. <p>Ruby on Rails and React, don’t have much to do with visual design. Yet, the way their respective companies work and think resulted in these opinionated tools. Opinionated tools that influence the way other people who use them, work.</p>
  15. <p>Foundation. Bootstrap. Material Design. These are about visual design. They evoke the design thinking of the companies that birthed them. The way Zurb’s design team works influences how we work when we use Foundation. The way that Twitter’s design team thinks about interface design is in Bootstrap. And the same with Material Design and any other ready-to-go framework.</p>
  16. <p>Go build your own Sass framework.</p>
  17. <p>Codify the way your design teams think and work. Teach your developer teams how your design team works. They need to spend time with the designers to understand and then codify their systems. Your design team will also learn to understand how your developer team works. They will see how their design world translates into the developer world.</p>
  18. <h2 id="codifying-design-systems">Codifying design systems</h2>
  19. <p><strong>Great design teams, design systems.</strong> This makes the work everyone on their team does, coherent. It makes their body of work feel like one person did it. It makes it easier on their customers. They don’t have to relearn systems as they move through the product. Each section of the product is consistent despite having a different designer.</p>
  20. <p>Design systems make a product more consistent. And it makes the design process for that product more efficient.</p>
  21. <p>I believe <em>great</em> design teams should design systems. Not just <em>big</em> design teams.</p>
  22. <p>There are many systems which you might recognise. A system of colours. A typography system. A grid system. A set of interaction rules (what swatch means “click me”). There are many others.</p>
  23. <p>As a developer you might not think there’s too much going on here. Let’s look at colours. You don’t need to know anything more than “eyedropper”, right? Maybe you’ve gone as far as creating an associative array: a name for each known hex.</p>
  24. <div class="highlighter-rouge"><pre class="highlight"><code>$colours: (
  25. darkgrey: #333,
  26. lightgrey: #eee
  27. )
  28. colour(darkgrey) // #333
  29. </code></pre>
  30. </div>
  31. <p>But do you understand the scope of the colour pallete? What happens when a PSD arrives with a new colour? Do we just add to that array?</p>
  32. <p>Can you look at a comp without an eyedropper and still build it?</p>
  33. <p>Great colour systems are more than associative arrays of strings. They are well thought out. Colours should be <em>used consistently</em> for <em>specific purposes</em>. Take the time to understand how the design team uses colour. Try to codify it. This will make sure your design team have thought about how they use colour. It will also mean your developer team understands the system, because it is rational.</p>
  34. <p><code class="highlighter-rouge">swatch(copy)</code>, <code class="highlighter-rouge">swatching(titling)</code> or <code class="highlighter-rouge">swatch(framing)</code> are much better than <code class="highlighter-rouge">colour(darkgrey)</code>, and <code class="highlighter-rouge">colour(lightgrey)</code>. Why? First, it’s much easier to know which swatch to use. Second, by studying the colour system you may have learnt something critical. You’ve come to understand that in one context, titles are the same colour as copy. But in other contexts (maybe a dark mode), they are different colours.</p>
  35. <div class="highlighter-rouge"><pre class="highlight"><code>$swatches: (
  36. default: (
  37. copy: #333,
  38. titling: #333,
  39. framing: #eee
  40. ),
  41. dark: (
  42. copy: #ccc,
  43. titling: #eee,
  44. framing: #333
  45. )
  46. )
  47. swatch(titling); // #333
  48. set-theme(dark);
  49. swatch(titling); // #eee
  50. </code></pre>
  51. </div>
  52. <p>We’ve taken colour systems as an example. The same thinking can be applied to typography, grid, animation, interaction and many more systems. Study them. Find the abstractions. Codify them so you can write expressive code. Write what the designers meant.</p>
  53. <p>When we understand and try to codify design systems: we find rationality and order. Sometimes we even gain a deeper understanding of the seams of that system. We develop a shared vocabulary and way of speaking about our work. All which reduce the friction of getting from design, to build.</p>