<?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 Andrea Tovar on Medium]]></title>
        <description><![CDATA[Stories by Andrea Tovar on Medium]]></description>
        <link>https://medium.com/@wafflechic?source=rss-5adc05e2342f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2lpCoj4QlR-hs09Y8LMefA.png</url>
            <title>Stories by Andrea Tovar on Medium</title>
            <link>https://medium.com/@wafflechic?source=rss-5adc05e2342f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 00:11:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wafflechic/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[How we achieved an automated color palette that designers and developers love.]]></title>
            <link>https://medium.com/homeday/how-we-achieved-an-automated-color-palette-that-designers-and-developers-love-475d5913405f?source=rss-5adc05e2342f------2</link>
            <guid isPermaLink="false">https://medium.com/p/475d5913405f</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[proptech]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[homeday]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Andrea Tovar]]></dc:creator>
            <pubDate>Fri, 24 Apr 2020 16:33:58 GMT</pubDate>
            <atom:updated>2020-04-28T15:10:58.613Z</atom:updated>
            <content:encoded><![CDATA[<p>Guiding us with the <em>less is more</em> principle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sW2piY1wduxnB09AkMw-hA.jpeg" /></figure><p>At Homeday we take consistency and efficiency as guiding principles, this meant that, when we started working on our design system, we knew designers and developers needed to join forces and collaborate in order to achieve a system that would be easy and effective for both.</p><p>Therefore we knew we needed to start with the foundation, <strong>colors,</strong> the ones that rule the way, not just in design but that will make our brand recognizable, meaningful, and valuable.</p><p>To set a strong base, we first started by reducing the number of colors we were using, and leave only the ones that speak our brand principles. So together with marketing and developers, we decided to choose the main colors that define Homeday’s values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INOjrAX64dF3FZ2-A6zBLA.jpeg" /></figure><p>From this selection, we decided, to first define our primary, secondary and functional colors, and then expand our color range by creating shades out of them. This also ensures sufficient color contrast, between elements used in our products and marketing material, to comply with the <a href="https://www.w3.org/TR/WCAG/">AA standard contrast ratios</a>, which helps people with any type of vision impediment to see and use our products with ease.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X76kdx6RfgxrncsPEfVhTg.png" /><figcaption>We ensure that our colors comply with the<a href="https://www.w3.org/TR/WCAG/"> AA standard contrast ratios</a></figcaption></figure><h3>The challenge of creating shades</h3><p>We approached the challenge by considering the following:</p><ol><li>How can we make the shades out of our base colors and any color we choose, consistently?</li><li>How can we make the shades “automated” from the design perspective, to then translate them into code?</li><li>How can we automate the shade generation without having to save each one of them in the codebase?</li></ol><h3>Our approach</h3><p>First, in the design team, we tried different ideas, from changing the opacity, which unfortunately made the shades dull, to adding and subtracting values from different formats, RGB, HSB, until we found that if we took steps from the <strong>Luminosity out of the HSL</strong> values, this would give us richer shades and a decent range of colors we could use across all our products and marketing material.</p><p>With that in mind, we created a rule of +-10 steps for lighter and darker shades to adjust accordingly from our base color.</p><p>Like you can see in this example, the <strong>Luminosity (L)</strong>value changes by a factor of ten while the other values stay exactly the same.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U_XeIdcSxnsOlok3ufRcow.png" /><figcaption>You can see the luminosity changing by a factor of 10x</figcaption></figure><p>The only downside of this rule is that the number of shades we can have from every base color is directly dependant on the luminosity of it. Therefore from colors that have less luminosity, we can have a bigger range of shades, opposite to a more luminous color.</p><p>Like in this example, for the blue, the range of generated shades is way smaller due to its high luminosity, compared to the gray, which allows for more shades to be made until getting into almost pure white.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*7W7CM2xqA3dIFvtmTbkOVA.png" /><figcaption>The amount of shades generated is related to the amount of luminosity of the base color</figcaption></figure><p>For us, this wasn&#39;t so much a point against, instead it actually gave us the opportunity to create something more “automated” in design, that everyone can follow through and keep consistency every step of the way.</p><p>So now it doesn&#39;t matter if we change or add other colors, or if we decide to change them completely, we can stick to this rule to make a successful palette without much effort.</p><h3>Shades, same as colors, need names, so we needed to define some naming conventions</h3><p>Now that we have all our shades, we needed to define naming conventions that will allow us to identify them, but most importantly, to have common terminology for designers and developers, to refer to, allowing us to speak the same language, and allow developers to create abstractions in code. For us, this is how it looks:</p><p>We first abbreviate the name of our base colors to give a hint to which color the shade belongs to.</p><p>Then to represent the subtraction or addition of the luminosity in every shade, we took <strong>100</strong> as the reference for the base color, which means, lighter shades were represented from 90 — downwards, and darker shades were counted from 110 upwards.</p><p>Like in this example, our primary color Cello Blue will be <strong>CB. </strong>plus the number of the shade (from 100 up or down)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*segs4ZzacMAEgC9wEcMQ4g.jpeg" /><figcaption>Cello Blue will turn into CB + the shade number derived from 100</figcaption></figure><h3>Implementing the new shades into code</h3><p>Thanks to CSS preprocessors, implementing this new shade approach, was pretty straightforward.</p><p>As you can see, in the snippets below, we are using SASS (with SCSS syntax) to achieve this, but I’m pretty sure your favorite CSS preprocessor supports variables, lets you create your own functions, and has some basic color functions.</p><p>The same way designers did, we started by defining our color palette:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2sAj-IsizS1cjiL77YKZWQ.png" /></figure><p>We realized that using these variables directly in the code might not be a good idea, if we decided to change one color, we would have to replace it in the whole code base, which increases the amount of effort, especially if you have multiple projects, and let’s not talk about in case of a full rebranding.</p><p>That’s why we added a layer of abstraction:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ALatG-i0xoHUHcIZFCmyJQ.png" /></figure><p>We agreed to only use the abstraction variables in our code. This way, changing a color means changing two lines instead of a global find-and-replace in multiple projects.</p><p>Now that we have our colors defined, here is the simple function we use to generate the shades:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MCmW-YdzbjQ6euwdodbqSQ.png" /></figure><p><em>change-color</em> is a function provided by <a href="https://sass-lang.com/documentation/modules/color">SASS’s color module</a>.<br>As explained in the <a href="#f823">naming conventions section</a>, our reference shade is 100. One caveat is that our shades are based on the rounded lightness value of the base colors, for example, cello blue’s lightness is 21.8%, but to generate the shades we rounded up to 22% instead.</p><p>So the code above can be even simplified by using the <em>adjust-color</em> or even <em>lighten</em> and <em>darken</em> function if you base your shades on the exact lightness value of your main colors.</p><p>Now, using a shade (DB110 in this example) is as simple as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JnTgPDPYx35IAUYG406n7w.png" /></figure><p>The full code can be found in the <a href="https://github.com/homeday-de/homeday-blocks/blob/8390c9861c3a8df064c342dc64819c23181deb74/src/styles/_colors.scss">colors.scss</a> file of our <a href="https://github.com/homeday-de/homeday-blocks">Vue component library</a>.</p><h3>Mapping all the colors</h3><p>Once we finished with all the colors, we decided the best way to now migrate the new shades was to map out the “old” colors with the new shades, this way it was easy for designers and developers to keep the naming conventions and just overwrite them with the new values</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AFNsq40szeMaBk53YtRW7Q.jpeg" /></figure><blockquote>This is not the end but the beginning of something bigger …</blockquote><h3>In Conclusion</h3><p>This was our first approach at automating color shades, even though it was a challenge to get the final version, it definitely made a difference in how we handle colors now</p><p>I had a lot of fun doing this project together with <a href="https://medium.com/@ilyas.amezouar?source=collection_editor_card">Ilyas Amezouar</a> and the help of the whole Design and Front-end teams 👏🏻👏🏻👏🏻</p><p>If you like to try this in your next projects, feel free to use the examples to guide you on generating your own palettes, and let us know the result</p><p>Last but not least, <a href="https://www.homeday.de/en/jobs/">Homeday is hiring</a>, so if you want to take part in building useful and fun products while collaborating with a cool team of designers and engineers, click on the link and apply, we would love to hear from you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=475d5913405f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/homeday/how-we-achieved-an-automated-color-palette-that-designers-and-developers-love-475d5913405f">How we achieved an automated color palette that designers and developers love.</a> was originally published in <a href="https://medium.com/homeday">Homeday</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>