<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ryan Merrill on Medium]]></title>
        <description><![CDATA[Stories by Ryan Merrill on Medium]]></description>
        <link>https://medium.com/@procload?source=rss-f3a6f153f1cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xHse3cK3O2fEobrp.png</url>
            <title>Stories by Ryan Merrill on Medium</title>
            <link>https://medium.com/@procload?source=rss-f3a6f153f1cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 07:40:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@procload/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Design Principles in Practice]]></title>
            <link>https://medium.com/8451/design-principles-in-practice-cd61829bdcb8?source=rss-f3a6f153f1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd61829bdcb8</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[design-process]]></category>
            <dc:creator><![CDATA[Ryan Merrill]]></dc:creator>
            <pubDate>Tue, 21 Jul 2020 17:59:58 GMT</pubDate>
            <atom:updated>2020-07-21T17:59:58.602Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UHQdtDQqIP2RHj60vbo6sA.png" /><figcaption>Photo by <a href="https://unsplash.com/@jessbaileydesigns?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText">Jess Bailey</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;amp;utm_medium=referral&amp;amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><em>By Ryan Merrill, 84.51° Experience Designer</em></p><p>Establishing a set of design principles is paramount to the success of a design system. The myriad questions and decisions that could stifle a system’s potential become easier to answer when the team is equipped with a strong set of principles.</p><p>Principles shore up a team’s confidence when faced with difficult design decisions. A design principle of “Make it Clear” vs. “Make it Comprehensive” may result in a user interface that has more white space and brighter colors.</p><p>Andrew Couldwell writes in his book <a href="https://designsystemfoundations.com/">Laying the Foundations</a>:</p><blockquote>“Your brand, design, and engineering principles are the mantra that guide everything you do. They are the driving force and inspiration. With every foundation, component, pattern, template, web page, or banner you design, and with each header and paragraph you write, ask yourself: “Does this align to our brand principles?”</blockquote><p>Design principles can help smooth over contentious disagreements in design critiques. A strong set of principles can put an end to debates much better than any mood or opinion ever could.</p><p>And as teams tackle increasingly difficult problems from their users, clients, and stakeholders, these same principles can justify why a team prioritized certain features over others.</p><p>Design and product principles should be carefully considered, opinionated and nuanced.</p><p>Don’t rush creating your principles. If your products have survived this long without them, it’s worth taking a slow and considered approach when writing them. They should be opinionated and nuanced.</p><p>A principle such as “simple” or “easy to understand” doesn’t say much. All products strive to be easy to understand. However a principle such as <a href="https://polaris.shopify.com/foundations/experience-values">Shopify’s “Empowering” is unique and tangible</a>:</p><blockquote>“We want people to feel like they can accomplish whatever they’re trying to do. Our experiences should give people confidence that they’re capable of achieving their goals, no matter their level of experience.”</blockquote><p>Despite their name, the initial draft of design or product principles should include a cross section of disciplines across an organization. Principles written in a vacuum and communicated from a design team’s ivory tower are likely to be met with disdain.</p><p>Cross-discipline collaboration creates an environment where participants share experiences that others may have been ignorant of. And by creating the principles together, everyone has a vested interest in their success.</p><h4>Creating the Principles</h4><p>The following is adapted from a <a href="https://uxmag.com/articles/creating-a-shared-vision-that-works">wonderful 2012 UX Magazine article by Alan Colville</a> about establishing a product vision, but can also be applied to creating a set of principles.</p><p>Invite a representative group of Engineers, Designers, Product Managers, and stakeholders to a workshop to produce a rough draft of principles.</p><p>Separate the participants into cross-disciplinary groups of 3–5 people. A <a href="https://smashingideas.com/five-warm-ups-ignite-design-thinking-workshop/">quick warmup exercise</a> helps get everyone’s brains engaged and focused on the task.</p><p><strong>Persona Creation</strong><br>The UX designers in an organization should have a solid baseline of a product’s user needs through their research work. They’ll likely have a set of personas, but as part of this exercise it’s important the team works together to create new personas. This helps by getting everyone as familiar as possible with their persona.</p><p>Once all teams have finished creating a persona, designate someone from each team to explain it to the others. Teams should aim for a familiarity with their personas akin to a close friend or family member.</p><p><strong>Value Definitions</strong><br>Once all teams have shared their personas, it’s time to define the values each persona receives from a product. Encourage participants to imagine themselves as a persona and to list the qualities and feelings that matter to them when using your product.</p><p>Weed out system quality properties such as responsive, direct, quick, accessible, secure, reliable, and safe. Again, we all want our products to be quick and accessible. Aim for words such as robust, connected, tailored, community, or personal.</p><p>Group common values together and label each group with a one-to-three word label that summarizes each. Then have each member of the group vote on their three most important values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IkznD3T-BKDVLOWP0VG8Yg.png" /><figcaption>An example of grouped value statements and sentences produced from a design principles workshop.</figcaption></figure><p><strong>Value Statements</strong><br>Once everyone has finished voting, select the top 3–4 values and turn these into sentences. This helps explain the meaning of the each value, which is easy to get lost with a single word. A value such as “familiar” could turn into “<strong>Familiar</strong> enough to understand and use right away.”</p><p>Once everyone has shared their sentences, the system team should take the raw material and distill it into a set of design and product principles.</p><h4>Communicating Principles</h4><p>Having a set of principles is great, but failing to regularly communicate them results in a little more than a set of fancy words.</p><p>In <a href="https://www.yeseniaperezcruz.com/expressive-design-systems">Expressive Design Systems</a>, Yesenia Perez-Cruz makes a case for using design principles as a tool:</p><blockquote>“Put your principles into practice by coming up with tools that make it easier to apply them. For example, you could create a design review template that has the principles baked in, or scorecards for teams to measure themselves against the principles in project retrospectives.”</blockquote><p>Those working on the design system team will be intimately familiar with these principles. But this familiarity shouldn’t let them get complacent of the need to consistently communicate these principles.</p><p>The systems team should act as stewards and continue to monitor and adjust an organization’s principles as their products evolve.</p><p>A harmonious and adopted set of principles prevents a product experience from becoming bifurcated and inconsistent. These principles, applied consistently and with care, can shape a suite of products into a cohesive family.</p><p>In full transparency and communication, here is a first draft of the design and product principles at 84.51°.</p><p><strong>Scale into Complexity</strong><br>Our data is complex, but it doesn’t mean our users’ experience has to be. Users should be able to understand our products’ content at a glance while empowering them to dive deep into the data to extract insights. When designing an interaction, err on the side of simplicity and add complex interactions when necessary.</p><p><strong>Trustworthy</strong><br>Our products should engender a sense of trust with our users by providing direct and actionable feedback when performing actions, especially when there is an error. They should promote a sense of safety within our applications and give users clear instructions when performing important actions and make it easy to recover if things go wrong.</p><p><strong>Consistent</strong><br>Users should feel powerful and comfortable using our products, whether they are novices or experts. Our products should be part of a cohesive system that is working to help users achieve their goals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd61829bdcb8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/8451/design-principles-in-practice-cd61829bdcb8">Design Principles in Practice</a> was originally published in <a href="https://medium.com/8451">84.51°</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design System Adoption in the Enterprise]]></title>
            <link>https://medium.com/8451/design-system-adoption-in-the-enterprise-6165dfe10325?source=rss-f3a6f153f1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/6165dfe10325</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[design-thinking]]></category>
            <dc:creator><![CDATA[Ryan Merrill]]></dc:creator>
            <pubDate>Wed, 03 Jun 2020 14:44:02 GMT</pubDate>
            <atom:updated>2020-06-03T14:44:02.060Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CEIZfvOnWIp5nGJldHf1eQ.png" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Markus Spiske</a> on <a href="https://unsplash.com/s/photos/sprout?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><em>By Ryan Merrill, 84.51° Experience Designer</em></p><p>Congratulations on the first release of your design system! The hours spent sweating the pixel-perfect details, choosing a front-end framework, and building a distribution pipeline sure weren’t easy. But now the real work begins: having the system adopted by product teams.</p><p>Without that adoption, all of the blood, sweat, and tears that went into creating bespoke components will have been for nought. But changing the ways of working for your audience of designers, engineers, and product managers isn’t going to be easy—especially in an enterprise where processes and ceremonies have been ingrained in the culture.</p><p>Enterprise adoption requires both guerrilla support from product designers and engineers, as well as a strong mandate from leadership to use the system. Without both, you’ll quickly find yourself swimming against one current or another.</p><h4>Measuring Adoption</h4><p>Tracking adoption shows stakeholders their initial investment in the team was well-funded and can act as a catalyst for more resources. One way to track adoption is through differing maturity levels, <a href="https://medium.com/eightshapes-llc/adopting-design-systems-71e599ff660a">proposed here by Nathan Curtis</a>. Tracking teams as they move up the stack from non-adopter to master holds them accountable to each other, encouraging a friendly competition to stay up-to-date.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FInGmmd-i0XVXl9n0OMSsQ.png" /><figcaption>Adapted from Nathan Curtis’, <a href="https://medium.com/eightshapes-llc/adopting-design-systems-71e599ff660a">Adopting Design Systems</a></figcaption></figure><p>It’s important to keep in mind that not all products consuming a design system will reach the mastery stage—they may be constrained by old or incompatible technology. Mapping a suite of products across an organization allows a design system team to prioritize where to put their training and outreach efforts.</p><h4>Support from the bottom up</h4><p>The designers, engineers, and product managers have the final say in how quickly a design system is adopted. Without their support, increasing adoption will be a long-fought battle.</p><blockquote>Communicating design system decisions akin to Moses descending from Mt. Sinai with his stone tablets is a quick way to build resentment.</blockquote><p>It’s imperative that the decisions communicated by the design system team have buy-in and input from members of the product teams. Communicating design system decisions akin to Moses descending from Mt. Sinai with his stone tablets is a quick way to build resentment. Don’t do this.</p><p>Include a subset of product team members in each component kick-off so everyone has their voice heard. Edge cases that may prevent a team from adopting a component will arise and can only strengthen its foundations.</p><p>The pixels and code of design systems are easy; it’s the people and relationships that are the most challenging and rewarding. As with any relationship, communication is key. As design system builders, it’s easy to get lost in the weeds and assume everyone has the context of the granular decisions that were made when building a component. Communicate to a fault. Run the risk of annoying your users about new features, modified guidelines, and deprecated components.</p><p>We created a number of regular outlets to share updates of our design system, <a href="https://medium.com/8451/meet-meridian-the-84-51-design-system-2b8dcbd20bf4">Meridian</a>:</p><ul><li><strong>Weekly Office Hours</strong>: The team holds office hours twice a week for design system users. It’s a place where users can directly communicate with the builders of the system and ask questions, share ideas, and propose new components.</li><li><strong>Regular Demos</strong>: Every six weeks the design system team demonstrates what components and guidelines were published. These demos also act as a forum for users to probe the team on why certain decisions were made and can inform what is the next on the roadmap.</li><li><strong>Communication Channels</strong>: We use a dedicated channel in Teams to field asynchronous requests. Additional feedback and questions are posted to a dedicated and monitored forum or sent via email.</li></ul><h4>Support from the top down</h4><p>Getting the initial investment from leadership of a design system in an enterprise is no small feat. But it’s equally important that leadership communicates the need for product teams to use the system.</p><p>It’s too easy for product teams to become mired in the day-to-day work and de-prioritize design system adoption. Leadership needs to have a persistent and vocal push about the importance of adopting the design system for an entire suite of products.</p><h4>An extension of the product team</h4><p>Even with a groundswell of enthusiasm from those pushing pixels and with leaders espousing their support, design system adoption can still be slow-going. It might take a bit of handholding from the design system team to help combat some of this systems adverse thinking.</p><blockquote>The pixels and code of design systems are easy; it’s the people and relationships that are the most challenging and rewarding.</blockquote><p>The builders of the design system know the components, guidelines, and best practices better than anyone—putting them in a perfect place to act as guides. The system team can generate goodwill on product teams by pairing with engineers when tackling thorny problems or participating in design critiques. This symbiotic relationship helps everyone by giving product teams an extra set of hands and educates the systems team in that much needed product context.</p><h4>This is a long play</h4><p>Design system work is difficult. Migrating an enterprise away from siloed-to-systems thinking won’t happen overnight.</p><p>Creating a way for teams to track adoption can help an organization measure their design system investments and give struggling product teams the resources they need. The bulk of the work falls on the design system team to communicate clearly, effectively, and inclusively. That communication, coupled with a top-down push from leadership, will help sow the seeds for a burgeoning adoption.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6165dfe10325" width="1" height="1" alt=""><hr><p><a href="https://medium.com/8451/design-system-adoption-in-the-enterprise-6165dfe10325">Design System Adoption in the Enterprise</a> was originally published in <a href="https://medium.com/8451">84.51°</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meet Meridian, the 84.51° Design System]]></title>
            <link>https://medium.com/8451/meet-meridian-the-84-51-design-system-2b8dcbd20bf4?source=rss-f3a6f153f1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b8dcbd20bf4</guid>
            <category><![CDATA[product-and-design]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Ryan Merrill]]></dc:creator>
            <pubDate>Thu, 12 Mar 2020 19:16:32 GMT</pubDate>
            <atom:updated>2020-03-12T19:16:32.668Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gF_e7BYApJTFtRntIspdKQ.png" /></figure><p><em>By Ryan Merrill, 84.51° Experience Designer</em></p><p>84.51° has been creating a suite of business-to-business products that empower Kroger and its consumer-packaged-goods partners to leverage data to make smarter decisions.</p><p>The products share similar audiences and users need to feel they are using a cohesive collection of products. To address this, we initially attempted to impose a standardized design language but found it stifled creativity and innovation.</p><p>While the intention was admirable, the rules and guidelines we explored limited how fast the products could be tested, improved, and released. In their infancy, the products needed room to breathe and grow without a strict ruleset weighing them down. We took a step back and decided to let each product find its unique voice to independently mature.</p><blockquote>We initially attempted to impose a standardized design language but found it stifled creativity and innovation.</blockquote><h4>Growing Up</h4><p>Now some two years later, both products are released and are maturing in both functionality and appearance. But that early stage of freedom gave way to an unintended but anticipated side effect.</p><p>The products resembled one another, akin to how one looks in a funhouse mirror: colors, fonts, and spacing were recognizable, but the distortions left users with a sense of unfamiliarity when jumping between applications. The products needed to feel like close siblings, but instead felt like distant cousins.</p><p>It was time to take a step back and examine what sort of experiences we value and how those can come to life through our brand and products. How could we begin to bring the products closer together, but retain the unique features developed in their infancy?</p><h4>Creating a System</h4><p>We knew that systems thinking would allow us to break down each product into common and shareable parts. We could choose what was working well for one product and see how that might work for the other.</p><p>This thinking kicked off a design system project at 84.51° meant to identify common design styles and user interface components with the hope of bringing the product experience closer together.</p><p>A design system helps teams create products and experiences that share design and code consistency across an organization. Teams can create standardized user experiences through documented design guidelines and principles. Product owners can leverage a shared component library to rapidly ideate, test, and learn from interactive prototypes. And developers can feel confident using battle-tested UI components built with accessibility in mind when translating design mockups into working software.</p><blockquote>Product owners can leverage a shared component library to rapidly ideate, test, and learn from interactive prototypes.</blockquote><p>But we knew that bringing our products closer together wasn’t going to be enough to create a cohesive experience to customers and partners of 84.51°. It’s one thing if our products look similar, but if our slide decks and marketing materials look disjointed, we are back at square one.</p><p>We are exploring how our products can influence our corporate brand and how the brand can influence the products. We know that each will have its own unique challenges, goals, and users, and are baking in room for self-expression along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oPa2d1iTdbb4yTq4sXmZLQ.png" /></figure><h4>Introducing Meridian</h4><p>At its core, a design system is a product serving products. And any great product should be branded in order to create lasting and memorable experiences for its users. We named our design system Meridian as a play on the navigational and data driven ethos behind our 84.51° name.</p><p>We released two major versions of Meridian and have learned a tremendous amount about how design systems can bring design, engineering, and product teams closer together. Design systems are a mountain of work and need to be given the resources to mature, fail, and grow. We’ve learned that the pixels and code are the easy part of creating a design system, it’s the people and relationships that are the most difficult and interesting.</p><p>There is a deluge of design system writing published these days, but we hope to offer a unique angle of our experiences creating one that influences products and a corporate brand for a large enterprise. We’ll be exploring topics such as <a href="https://medium.com/8451/how-we-chose-to-build-our-design-system-using-stenciljs-web-components-4878c36743c5">how we chose a technology stack</a>, how we are encouraging and measuring adoption, and what we are doing to create room for individual expression within our products and brand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b8dcbd20bf4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/8451/meet-meridian-the-84-51-design-system-2b8dcbd20bf4">Meet Meridian, the 84.51° Design System</a> was originally published in <a href="https://medium.com/8451">84.51°</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Whoa.]]></title>
            <link>https://medium.com/@procload/whoa-1cec9fbfabee?source=rss-f3a6f153f1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/1cec9fbfabee</guid>
            <dc:creator><![CDATA[Ryan Merrill]]></dc:creator>
            <pubDate>Fri, 26 Jun 2015 20:58:45 GMT</pubDate>
            <atom:updated>2015-06-26T20:58:45.548Z</atom:updated>
            <content:encoded><![CDATA[<p>Whoa.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1cec9fbfabee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning and Writing Swift]]></title>
            <link>https://medium.com/@procload/learning-and-writing-swift-da2a467ca43d?source=rss-f3a6f153f1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/da2a467ca43d</guid>
            <dc:creator><![CDATA[Ryan Merrill]]></dc:creator>
            <pubDate>Mon, 09 Jun 2014 20:12:57 GMT</pubDate>
            <atom:updated>2014-06-09T20:12:57.669Z</atom:updated>
            <content:encoded><![CDATA[<h4>Resources for Apple’s new programming language</h4><p>There’s no doubt to be a glut of want-to-be iOS developers clamoring for resources to learn Swift after Apple’s announcement of the language last week at WWDC. Count me among them.</p><p>As someone who for years wanted to dip their toes into the waters of iOS development, the time doesn’t seem better than now to give it a go. I compiled the best Swift-language resources I’ve found below.</p><h4>Sample Apps</h4><ul><li><a href="http://xn--flappyswift%20%20flappybird%20in%20swift-kg8v/">FlappySwift — FlappyBird in Swift</a></li><li><a href="https://github.com/mslathrop/SwiftNote">SwiftNote — Simple note taking app with today widget and iCloud syncing</a></li></ul><h4>Official Apple Resources</h4><ul><li><a href="https://itunes.apple.com/us/book/swift-programming-language/id881256329">Swift iBook</a></li><li><a href="https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html#//apple_ref/doc/uid/TP40014345">Welcome to Swift</a></li></ul><h4>Apple NDA Demos linked on Github</h4><p>I’m not sure whether or not these demos fall under an NDA restriction or not, but I found them on Github so grab them while you can.</p><ul><li><a href="https://github.com/Lax/iOS-Swift-Demos/tree/master/ListerAProductivityAppBuiltinSwift">Lister: A Productivity App Built in Swift</a></li><li><a href="https://github.com/Lax/iOS-Swift-Demos/tree/master/UICatalogCreatingandCustomizingUIKitControlsinSwift">UICatalog: Creating and Customizing UIKit Controls in Swift</a></li><li><a href="https://github.com/Lax/iOS-Swift-Demos/tree/master/AdventureBuildingaSpriteKitgameusingSwift">Adventure: Building a SpriteKit Game Using Swift</a></li><li><a href="https://github.com/Lax/iOS-Swift-Demos/tree/master/GestureRecognizersUsingstandardUIGestureRecognizers">GestureRecognizers: Using standard UIGestureRecognizers in Swift</a></li></ul><h4>Misc. Resources</h4><ul><li><a href="http://chares.ghost.io/lets-make-a-swift-app/">Lets Make a Swift App</a></li><li><a href="http://www.weheartswift.com/">We Heart Swift</a></li><li><a href="http://jamesonquave.com/blog/developing-ios-apps-using-swift-tutorial/">Developing iOS Apps Using Swift Tutorial</a></li><li><a href="http://www.learnswift.tips/">Learn Swift — A curated list of helpful resources to learn Swift.</a></li><li><a href="https://github.com/grant/swift-cheat-sheet">Swift Cheat Sheet</a></li><li><a href="http://stackoverflow.com/questions/tagged/swift-language">Stackoverflow’s Swift Questions</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da2a467ca43d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[It’s All About the EMs]]></title>
            <link>https://medium.com/@procload/its-all-about-the-ems-9e155ede37b2?source=rss-f3a6f153f1cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e155ede37b2</guid>
            <dc:creator><![CDATA[Ryan Merrill]]></dc:creator>
            <pubDate>Fri, 27 Sep 2013 01:56:45 GMT</pubDate>
            <atom:updated>2013-09-27T01:59:28.675Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*THf6BW_LHI3CxLbe.png" /></figure><h4>The quest to find the perfect font-size measurement</h4><p>There’s been a number of discussions lately about whether or not using ems for text sizing is worth the headache. As the one who maintains Ample’s baseline getting-started repo, I figured it’s up to me to figure out what’s what.</p><p>A routine argument against ems is that they over complicate something so basic such as setting the size of type. So why do we even need ems? Why can’t we just size everything in pixels?<br>One case for using ems was given 6 years ago by <a href="http://www.alistapart.com/articles/howtosizetextincss">Richard Rutter in this article for A List Apart</a>:</p><blockquote>Sizing text and line-height in ems, with a percentage specified on the body, was shown to provide accurate, resizable text across all browsers in common use today.</blockquote><p>But his tests were based on many browsers that have since become obsolete, save for IE7 which currently has a piddly 1.3% user base. His main argument for using ems was to allow users to “resize text without being forced to use the zoom control.” But if 1.3% of the public has to rely on the zoom control, that’s cool, right?</p><h4>The pixels have it?</h4><p>So we can forget the em, right? Well, not exactly. From what I can gather, the advantage of using ems over pixels for text sizing is to accommodate users who specifically set their browser’s text size to larger than the default. And while I’m no expert on the matter, I assume users with a vision impairment go this route as opposed to using the browser’s zoom functionality. Setting the text size in a browser’s settings panel is a one-time thing, while a user needs to zoom on each individual site or page in order to increase the size.</p><p>Another advantage of increasing text size instead of page zooming is the other non-text elements, such as a site’s logo, maintain their original size. Page zooming also increases the likelihood of a horizontal scrollbar, which reduces the ability to scan a page.</p><p>I couldn’t find any hard facts as to which route low vision users typically take, but I’d love to hear from someone on this.</p><h4>So let’s use ems</h4><p>Because ems are relative, we always need to be aware of how deep in the HTML and CSS we’re descending so the browser renders our desired results. Published 8 years ago, Richard Rutter wrote a <a href="http://clagnut.com/blog/348/">great overview on how to calculate your desired text size in ems</a>:</p><blockquote>When sizing text in ems there’s really one rule to remember: size text relative to its parent and use this simple calculation to do so: child pixels / parent pixels = child ems</blockquote><p>This was wildly confusing the first time I used it. It was another thing to remember and, honestly, wasn’t there enough to remember already?</p><p>I’ve been using a simple SCSS mixin to reduce the confusion and to calculate the em value for us:</p><pre><strong>@function </strong>calc-em<strong>(</strong>$target-px<strong>, </strong>$context<strong>) </strong>{<br>    @return ($target-px / $context) * 1em;<br>}</pre><p>The <a href="http://thesassway.com/intermediate/responsive-web-design-part-1">above code is taken from The SASS Way</a> and allows us to think in pixels rather than ems. Of course you still need to be aware of your context and the text size of an element’s parent.</p><h4>The Ems Have it! Or do they?</h4><p>So what we’re left with is using ems is the responsible way to set type on the web. But with the advent of CSS3 and the rem unit, it looks like we’re going to soon get the best of both worlds.</p><p>The rem does away with having to set type size relative to its parent element by adjusting the text size relative to the root element of the page, often the HTML tag. <a href="http://snook.ca/archives/html_and_css/font-size-with-rem">Jonathan Snook does a good job explaining this</a>:</p><blockquote>The rem unit is relative to the root—or the html—element. That means that we can define a single font size on the html element and define all rem units to be a percentage of that.</blockquote><p>Unfortunately we’re stuck with lack of support for IE7 and IE8, both of which we begrudgingly support. An option Snook proposes is to create two sets of type sizes, one in rems and the other in pixels to support older browsers. This of course doesn’t solve the problem of page zooming vs. text resizing, but we have to draw the line somewhere don’t we?</p><p>Well, maybe.</p><p>The guys at Sparkbox <a href="http://seesparkbox.com/foundry/scss_rem_mixin_now_with_a_better_fallback">wrote about a SCSS mixin</a> they are using to use rems and to provide an accessible fallback for older browsers.</p><pre>// Mixin<br>@mixin font-size( $decimal-size, $keyword: null ) {<br>  @if $keyword { <br>     font-size: $keyword;<br>   } @else {<br>     font-size: $decimal-size * $base-font-multiplier * 16px;<br>   }<br>  font-size: $decimal-size * 1rem;<br>}</pre><pre>// Example use case<br>html { @include font-size(1, large); }</pre><p>You can read the whole article for their thinking behind the mixin, but in short it uses font-size keywords to provide support for browsers that cannot support the rem.</p><p>So what are we going to do? We’re going to stick with the em as a unit for resizing type until the share of browsers not supporting the rem is small enough declare obsolete. I’m not fond of the lack of granular control for older browsers that Sparkbox’s mixin provides. Plus I’m not sure how they account for margin, padding and line-height.</p><p>I think the accessibility benefits of using ems for type size outweigh any headaches associated with them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e155ede37b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>