Style Guides and Pattern Libraries Research Notes
Jan 08, 2019
Introduction
This page contains links to articles found during the research process of the SWITCH project. Below each link, any notes from the article are listed for reference.
Research Links and Notes
The full stack design system (an article by Emmet Connolly for Inside Intercom)
Why Design Systems Fail (an article by Una Kravets for 24 ways)
Pattern Sharing (an article from Jeremy Keith at Clearleft)
Getting Started With Pattern Libraries (article from A List Apart)
Creating Style Guides (article from A List Apart)
Creating a Brand Identity: 20 Questions You MUST Ask BEFORE You Start
Users Don't Hate Change. They Hate Our Design Choices.
Element Collages (article by Dan Mall)
Style Guides (article by Brad Frost)
MailChimp UX Issue 17: Architecting a Pattern Library
How to Create a Web Style Guide You’ll Be Proud Of
https://www.sitepoint.com/creating-web-style-guide/
style guides "are often the only way to get a consolidated overview of all the components of your site in a single place" "Your style guide should be ‘the mother of all references’ for your project and a living blueprint to help you maintain consistency from start to finish. No matter what part of your design you’re working on the style guide will and should have a guideline or rule to make your job a lot easier. If it doesn’t, then it isn’t a complete style guide." "You have to understand the mission goals, statement and the face behind the site." Creating a Brand Identity: https://www.sitepoint.com/creating-a-brand-identity-20-questions/ Steps to start with: Colour "Color is a good place to start your style guide. When deciding your colors it’s best to use no more than three core colors, but feel free to branch out as much as you need on shade variations per color." define both hex codes and Pantone colour codes specify when and where each colour may be used and any exceptions "What happens in black and white settings? Is color or monotone preferred in small formats? What happens in reversed settings (light on dark)?" Buttons define states: normal, disabled, hover/focus, pressed primary and secondary buttons Icons min and max pixel guidelines colour and further styles applied Font selection no more than three font types in a design "decide your primary font, the secondary and then (maybe) a tertiary font." "pick what font will host the main content, the font for your headings and the font for all those smaller areas not covered" define typical sizes define min and max sizes Images define size and data constraints Content Voice "The voice of the copy will let users know how formal or informal" see Mailchimp's Content Style Guide: https://styleguide.mailchimp.com/ Guide generators Node.js: StyleDocco - https://github.com/jacobrask/styledocco Gulp: KSS - https://github.com/PhilJ/gulp-kss Ruby: LivingStyleGuide - http://livingstyleguide.org/ PHP: Barebones – http://barebones.paulrobertlloyd.com/
Atomic Design
http://atomicdesign.bradfrost.com/table-of-contents/
"the way things are named very much impacts how they’re perceived and utilized" Modularity "the automobile down into its component parts and modularized the assembly process" "computer scientists began practicing object-oriented programming and establishing important modular concepts like separation of concerns and the single responsibility principle" "Users don’t hate design changes, they hate the choices designers make when rolling out a change. That’s a nuanced, important difference." https://articles.uie.com/users-dont-hate-change-they-hate-our-design-choices/ "presenting fully baked Photoshop comps “is the most effective way to show your clients what their website will never look like.”" "While creating hundreds of full-on comps isn’t realistic, these static tools excel at providing a playground to establish what Andy Clarke calls “design atmosphere”: "Atmosphere describes the feelings we get that are evoked by colour, texture and typography." Style Tiles "are a design deliverable consisting of fonts, colors and interface elements that communicate the essence of a visual brand for the web." http://styletil.es/ "demonstrate color, type, and texture explorations in a nice encapsulated one-pager." Element Collages "demonstrate design atmosphere explorations in an exploded collage of interface elements." http://v3.danielmall.com/articles/rif-element-collages/ "We’re not designing pages, we’re designing systems of components. Stephen Hay " "Ethan Marcotte introduced us to the idea of responsive web design and its three core tenets: fluid grids, flexible media, and CSS media queries." This Is Responsive "Patterns and resources for creating responsive web experiences." "a showcase of responsive patterns that demonstrate the various ways a particular component could be executed in a responsive environment." http://bradfrost.github.io/this-is-responsive/index.html UI Frameworks "One of the most attractive aspects of these frameworks is speed. Frameworks like Bootstrap allow designers to get ideas off the ground quickly, rapidly create prototypes, and launch sites sooner." "While those solutions help speed up development, the resulting experiences end up resembling those sci-fi jumpsuits. When everyone uses the same buttons, grids, dropdowns, and components, things naturally start to look the same." "If Nike, Adidas, Puma, and Reebok were to redesign their respective sites using Bootstrap, they would look substantially similar. That’s certainly not what these brands are going for. Sure, each brand can modify and extend the default look and feel, but after a while customization means fighting the framework’s given structure, style, and functionality." "these frameworks can add unnecessary bloat to an experience. It’s fantastic that frameworks provide plenty of prebuilt components and functionality, but a large percentage of designers and developers won’t adopt every aspect of the framework. Unfortunately, users still have to download the framework’s unused CSS and JavaScript, resulting in slower page loads and frustration." "frameworks might not go far enough, leading to developers needing to create a substantial amount of custom code to achieve their projects’ goals. At some point, a threshold is crossed where the initial benefits of using a framework–namely development speed–are outweighed by the time spent modifying, extending, and fixing the framework." "Using a framework means subscribing to someone else’s structure, naming, and style conventions. " "It’s not just about using a design system, it’s about creating your system." Style Guides Many flavours of style guides: http://bradfrost.com/blog/post/style-guides/ "documentation for brand identity, writing, voice and tone, code, design language, and user interface patterns" Brand Identity guidelines "define the assets and materials that make a company unique. Logos, typography, color palettes, messaging" Design Language guidelines "articulate a general design direction, philosophy, and approach to specific projects or products" think, Google's Material Design: http://www.google.com/design/spec/material-design/introduction.html "defines its overarching design philosophy, goals, and general principles, while also providing specific applications of the material design language." Voice and Tone guidelines articulate "how the company’s voice and tone should shift across a variety of scenarios" think, Mailchimp's Voice and Tone Guidelines: http://voiceandtone.com/ Writing guidelines "can be extremely granular, defining particulars around punctuation and grammar, but they don’t always have to be so detailed" think, Dalhousie University's writing style guide: http://www.dal.ca/webteam/web_style_guide/writing_for_the_web.html Code style guides "provide conventions, patterns, and examples for how teams should approach their code" Pattern Libraries "also known as front-end style guides, UI libraries, or component libraries" Style Guide Benefits consistency "important tools that help prevent chaos, both from a design and development standpoint and also from an organizational perspective" "Web style guides promote consistency and cohesion across a user interface." inconsistency "put the burden on me, the user, to figure out what went where and how to interpret disparate interface elements. By the time I got to the payment form, I felt like I couldn’t trust the company to successfully and securely process my payment." "results in user interfaces that feel more united and trustworthy, which helps users accomplish their tasks faster and empowers them to master the interface." common shared vocabulary style guides "help establish that shared vocabulary" education for stakeholders "Education is as important as documentation. A style guide can show clients that websites are systems rather than collections of pages. Anna Debenham " look into Anna's book: Front-End Style Guides https://www.maban.co.uk/projects/front-end-style-guides/ "A pattern library communicates the design language in a very tangible way, which helps stakeholders understand that an underlying system is determining the final interface." "By exposing the design system in the form of a style guide, these special snowflakes [certain departments in an organization think that they have unique problems and therefore demand unique solutions] can better appreciate consistency and understand why their requests for custom designs receive pushback." workflow "helps inform designers and developers of the tools they have in their toolbox, and provides rules and best practices for how to use them properly" "designers and developers are forced to think about how their decisions affect the broader design system" testing "QA uses it a lot; they're constantly looking at it, making sure that things are kind of in check and something hasn't blown up and of course designers, the front-end developers and the engineering teams all refer to it on a regular basis so it's actually really kind of crucial to our entire workflow with building things in MailChimp." http://styleguides.io/podcast/federico-holgado/ speed "devising an interface design system and creating a custom pattern library initially takes a lot of time, thought, and effort. But once the pattern library is established, subsequent design and development becomes much faster, which tends to make everybody happy." MailChimp "realized they were able to use existing patterns rather than having to generate brand new patterns from scratch every time" long-term payoff "creating a custom pattern library requires a lot of hard work up front, but that hard work should provide a structural foundation for future iteration and refinement" "much like a fine wine, style guides increase in value over time. The beautiful thing about interface design systems is that they can and should be modified, extended, and refined for years to come." "A style guide provides a rock-solid foundation for all future work, even if that future work may look totally different." Style Guide Challenges hard sell "The challenge, therefore, becomes convincing those stuck in a short-term, quarter-by-quarter mindset that establishing a thoughtful design system is a smart investment in the future." time "style guides are time-consuming to create" "aggressive timelines and finite budgets detract from the effort required to make style guides happen, even when teams are committed to the cause" auxiliary projects "Pattern libraries are often treated as auxiliary projects, rather than as the component parts of the final product." "Pattern libraries, like accessibility, are good ideas to bake into your workflow whether or not the project plan explicitly calls for them." maintenance and governance "Style guides will be thrown in the trash (right beside all those PSDs and wireframes) and abandoned without a proper strategy in place for who will manage, maintain, and enforce them." audience confusion "Style guides can be misunderstood as tools useful only to designers or developers" "style guides may come across as too vague or too technical, which can intimidate other disciplines and lead them to believe these resources aren’t for them." lack of context "most pattern libraries out in the wild don’t provide any hints as to when, how, and where their components get used. Without providing context, designers and developers don’t know how global a particular pattern is" Atomic Design "Atomic design is a methodology composed of five distinct stages working together to create interface design systems in a more deliberate and hierarchical manner." Atoms "basic building blocks of all matter. Each chemical element has distinct properties, and they can’t be broken down further without losing their meaning" "smallest functional unit" "atoms of our interfaces serve as the foundational building blocks that comprise all our user interfaces. These atoms include basic HTML elements like form labels, inputs, buttons, and others that can’t be broken down any further without ceasing to be functional" "atoms demonstrate all your base styles at a glance" e.g. labels, inputs, and buttons "Atoms are UI elements that can’t be broken down any further and serve as the elemental building blocks of an interface." Molecules "groups of two or more atoms held together by chemical bonds. These combinations of atoms take on their own unique properties, and become more tangible and operational than atoms" "molecules are relatively simple groups of UI elements functioning together as a unit. For example, a form label, search input, and button can join together to create a search form molecule" "The result is a simple, portable, reusable component that can be dropped in anywhere" e.g. search form made up of a label, an input, and a button (the atoms) "Molecules are collections of atoms that form relatively simple UI components." Organisms "assemblies of molecules functioning together as a unit" "Organisms are relatively complex UI components composed of groups of molecules and/or atoms and/or other organisms. These organisms form distinct sections of an interface." e.g. the header containing the search form molecule along with the logo image molecule and the primary navigation list molecule "Organisms are relatively complex components that form discrete sections of an interface." Templates "Templates are page-level objects that place components into a layout and articulate the design’s underlying content structure." templates contain "all the necessary page components functioning together, which provides context for these relatively abstract molecules and organisms." "When crafting an effective design system, it’s critical to demonstrate how components look and function together in the context of a layout to prove the parts add up to a well-functioning whole." "they focus on the page’s underlying content structure rather than the page’s final content" e.g. page structure with header organism, product grid organism, and footer organism "Templates place components within a layout and demonstrate the design’s underlying content structure." Pages "Pages are specific instances of templates that show what a UI looks like with real representative content in place." "this is what users will see and interact with when they visit your experience. This is what your stakeholders will sign off. And this is where you see all those components coming together to form a beautiful and functional user interface." "pages are essential for testing the effectiveness of the underlying design system. It is at the page stage that we’re able to take a look at how all those patterns hold up when real content is applied to the design system." "Pages also provide a place to articulate variations in templates, which is crucial for establishing robust and reliant design systems." e.g. "A user has one item in their shopping cart and another user has ten items in their cart." - two pages from the same template "Pages apply real content to templates and articulate variations to demonstrate the final UI and test the resilience of the design system." "The atoms, molecules, and organisms that comprise our interfaces do not live in a vacuum. And our interfaces’ templates and pages are indeed composed of smaller parts. The parts of our designs influence the whole, and the whole influences the parts. The two are intertwined, and atomic design embraces this fact." "Content needs to be structured and structuring alters your content, designing alters content. It’s not ‘content then design’, or ‘content or design’. It’s ‘content and design’. Mark Boulton " "Atomic design allows us to see our UIs broken down to their atomic elements, and also allows us to simultaneously step through how those elements join together to form our final UIs."
Distinct Design Systems
http://danmall.me/articles/distinct-design-systems/
"Every client I work with has at least one problem or challenge that Bootstrap or Material Design didn’t anticipate. That’s not to disparage those tools; it was never their job to do in the first place. This is where a distinct design system can be helpful: to solve your organization’s unique problems in a way a generic tool isn’t designed to help with." "I’d love to see every design system strive for an only-ness, some unique angle or aspect that other design systems don’t cater to." "Your product or organization probably has a specific perspective on the problem it’s trying to solve in the world; your design system should reflect, refract, and reverberate that position. "