<?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 Vitaliy Voronkin on Medium]]></title>
        <description><![CDATA[Stories by Vitaliy Voronkin on Medium]]></description>
        <link>https://medium.com/@vrk.design?source=rss-7a8d111cf63d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gp2fJaG-TactXmMdL_xs6Q.png</url>
            <title>Stories by Vitaliy Voronkin on Medium</title>
            <link>https://medium.com/@vrk.design?source=rss-7a8d111cf63d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:49:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vrk.design/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 Built the Color Management Plugin for Figma.]]></title>
            <link>https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-2e98a0714b3f?source=rss-7a8d111cf63d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e98a0714b3f</guid>
            <category><![CDATA[colors]]></category>
            <category><![CDATA[figma-plugin]]></category>
            <category><![CDATA[figma]]></category>
            <dc:creator><![CDATA[Vitaliy Voronkin]]></dc:creator>
            <pubDate>Mon, 21 Aug 2023 08:00:45 GMT</pubDate>
            <atom:updated>2023-08-21T08:33:08.042Z</atom:updated>
            <content:encoded><![CDATA[<h3>How We Built the Color Management Plugin for Figma. Chapter 4. Usability Upgrade — Quality of Life Features</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZNWmB4hZNkUfRNdXktU0cg.png" /></figure><p>Hey! 👋 This is the last article in a series of four in which we describe the process of developing our Figma plugin. You can find all links below.</p><p><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-part-1-research-and-ideation-edc07e68dbd6">Chapter 1. Research and Ideation.</a><br><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-chapter-2-creating-an-mvp-7fb4b2ee8edf">Chapter 2. Creating an MVP.</a><br><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-chapter-3-version-2-0-live-preview-mode-d6776cb84f21">Chapter 3. Version 2.0 — Live Preview Mode.</a></p><h3>So… where are we now?</h3><p>After we ensured all the main functions were there and working as intended, it was time to take care of small (but important!) stuff: fix bugs and improve usability. This was our last phase of planned plugin development. We had a design team test the plugin, which yielded a lot of valuable feedback on both bugs and missing features. You’ll learn all about what we implemented in the final phase below.</p><h3>Sort tokens alphabetically</h3><p>The first thing we did was add an option to sort alphabetically. Though we already discussed it in the second article of this series, we decided to delay it until all the major features were done, so until that point, the only option we had was sorting by hue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*MlNc024Mh4Av70Zsi5QBJw.png" /></figure><p>It worked well enough, allowing us to group and work with a lot of tokens with similar hues, but some designers had a problem with finding specific tokens if there were too many in the list. Yes, they could use search, but based on feedback in certain cases, it was a lot easier for them to just scroll the tokens list until they saw the one they needed. And the sorting alphabetically option makes navigation much easier. Of course, in that case, the designer should know the name of the token to find it. But since we have a unified naming policy for color tokens, and our designers work with them basically every day, it’s not a problem for us.</p><h3>Reset single token changes</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*2fSEK8g5DLFK_jr8FZmwGw.png" /></figure><p>Another request we received was to add an option to reset changes in one particular token. Before implementing this feature, a user could only reset all changes at once by pressing (wait for it) the “Reset” button. In a case where many changes have been made, a user could lose a lot of progress by pressing “Reset”, so the option to reset only specific tokens was absolutely required. We added an icon button that was only visible for tokens that have some unsaved changes to accentuate it a bit and keep the interface clean as possible.</p><h3>Saved Colors feature</h3><p>While testing the plugin, I noticed that we use a lot of repeating colors in our designs, and it’s so annoying to just manually enter them over and over again for every token needed. It applies to the black color that we use for the main text, grey for additional text, and green/red for buy/sell, just to name a few examples.</p><p>In general, every project has its own limited set of colors. Imagine making a light theme for a product out of the dark one or just making a new color theme for a White Label product. In both cases, we normally already have at least a set of main colors before we start the work.</p><p>So, we had an idea to make a separate section in the plugin to store some colors and easily apply them to tokens. These were the requirements for the feature:</p><ul><li><strong>It should be quick to access.</strong> All saved colors should always be visible and accessible.</li><li><strong>It should be simple to use.</strong> Ideally, it would take one click to apply a color to the selected token.</li><li><strong>It should be easy to manage.</strong> Adding or removing colors from these sections should be simple.</li></ul><p>After a few design iterations, we ended up with a UI that looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*noKd4F0iQzBQtIT9FWlMhw.png" /></figure><p>To add a color to the saved section, you need to enter it into the color picker and press the + icon next to it.</p><p>Applying the color to the selected token requires just one left mouse click. You can, of course, select several tokens and apply color to them all in one click.</p><p>To remove the color from the section, double-right-click. It’s not a common pattern, but that’s exactly what makes it a great choice — you can’t remove a color by accident. A user can only do it intentionally.</p><h3>Keyboard shortcuts</h3><p>We value the speed of our workflow, so keyboard shortcuts were an absolute must-have for our plugin. All important actions should have a shortcut to speed up the process.</p><p>First, we needed to indicate to users that there are keyboard shortcuts in our plugin they can use. It was also crucial to visibly specify to the user what keys do what. Adding this information to onboarding felt wrong because most people only see it once. After that, they might skip it or may not even remember that there is info on shortcuts even if they needed it. Our aim was to add it as closely as possible to the token list where all the magic happens.</p><p>We added keyboard shortcut info to the footer, preliminarily hiding all the controls if no tokens are selected in a list. That way, users see it directly before starting to work on tokens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*zSLhjHFDGFDYYQag9zMd8Q.png" /></figure><p>Besides the common <strong>CMD+Z</strong>/<strong>CMD+A</strong> combinations, we added Figma-like shortcuts for changing the opacity of a token. Now, instead of typing the right opacity value in the color picker, a user can just select a token and use the numbers on the keyboard. Pressing the 6 key a single time will change the opacity to 60%. Pressing it twice will set it to 66%. Just press the button once for tens or two keys for a specific value. Since it works the same way in Figma, designers will have no problem using it in a plugin once they’ve already gotten used to it.</p><p>Another important shortcut we added is <strong>resetting a single token by pressing [R]</strong>. Yes, we added it before as an icon a user can click on. But in that case, despite it being very convenient for people who don’t use keyboard shortcuts, it worked only for one token per click. With a shortcut, you can select as many tokens as you like and reset them by pressing just one button. It’s also handy when you’re using HSL controls or the Saved Colors section — just hit <strong>[R]</strong> and start over if you don’t like the result.</p><h3>Wrapping up</h3><p>Of course, there was no shortage of bug fixes to make the plugin’s workflow more seamless and convenient. I won’t go deeper into that, as it’s just the standard process of testing and fixing any issues that come up. At this point, we accomplished everything we wanted and have a working tool that speeds up our process of creating new color themes for our products. Personally, I was able to finish the task in one hour using this plugin. Before that, a similar task would take around 4–5 hours for me to complete. Not bad at all!</p><p>We’ve come a long way from defining a problem and looking for a ready-made solution to designing and implementing such a complex tool.</p><p>And while our team is using the current version of Color Management in their work, we are making plans for the next stage of development: discussing ideas, making concepts, and so on. We see the future of Color Management as a fully automated palette generation tool that makes changing colors in design files a one-minute task. And hopefully, we will have something great to show you in the near future. Thank you for reading our full series of articles! If you missed any, here are the links to previous ones:</p><p><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-part-1-research-and-ideation-edc07e68dbd6">Chapter 1. Research and Ideation.</a><br><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-chapter-2-creating-an-mvp-7fb4b2ee8edf">Chapter 2. Creating an MVP.</a><br><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-chapter-3-version-2-0-live-preview-mode-d6776cb84f21">Chapter 3. Version 2.0 — Live Preview Mode.</a></p><p>See you soon! 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e98a0714b3f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-2e98a0714b3f">How We Built the Color Management Plugin for Figma.</a> was originally published in <a href="https://medium.com/devexperts">Devexperts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We Built the Color Management Plugin for Figma. Chapter 3. Version 2.0 — Live Preview Mode.]]></title>
            <link>https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-chapter-3-version-2-0-live-preview-mode-d6776cb84f21?source=rss-7a8d111cf63d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6776cb84f21</guid>
            <category><![CDATA[figma]]></category>
            <category><![CDATA[colors]]></category>
            <category><![CDATA[figma-plugin]]></category>
            <dc:creator><![CDATA[Vitaliy Voronkin]]></dc:creator>
            <pubDate>Mon, 21 Aug 2023 07:40:14 GMT</pubDate>
            <atom:updated>2023-08-21T08:33:19.031Z</atom:updated>
            <content:encoded><![CDATA[<h3>How We Built the Color Management Plugin for Figma. Chapter 3. Version 2.0 — Live Preview Mode.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*it2WOutXrx_YOZCV4vR4aQ.png" /></figure><p>We’re back! 👋 This is the third article in a series of four in which we describe the process of developing our Figma plugin. You can find all links below.</p><p><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-part-1-research-and-ideation-edc07e68dbd6">Chapter 1. Research and Ideation.</a><br><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-chapter-2-creating-an-mvp-7fb4b2ee8edf">Chapter 2. Creating an MVP.</a></p><h3>A feature we’ve been missing</h3><p>In the previous article, I told you how we made the first version of Color Management. It was very cool and usable but <strong>lacked a crucial feature we needed — Live Preview</strong>, the ability to change color tokens in the plugin, and instantly see the changes directly in design mockups. Starting out, we spent quite some time brainstorming different ideas. And this storm gave us the most valuable one we had. I’d go so far as to call it a killer feature.</p><p>Although we planned to implement it since the beginning, we couldn’t add it straight away in the first version because of the complexity and amount of work it required. We needed to build a stable foundation first. And now we have it.</p><h3>Problems and solutions around real-time editing</h3><p>When we work on the design in Figma, we get instant visual feedback on every action, like when we create some text, a rectangle, or a frame or change the text or color of an element. Figma plugins can interact with elements in the workspace too, but there are some limitations developers have to consider:</p><ul><li><strong>Strict limit to the amount of data processed.</strong> There is constant data transfer between the Figma app and a plugin, and it has a very strict limit to the amount of data that can be transferred at one point in time. This crucial aspect demanded our attention while building Live Preview. Updating mockups in real-time requires quite a vast data stream.</li><li><strong>Availability for mid-range PCs.</strong> While the general idea of real-time features sounds ambitious, it can cause significant performance issues for mid-range PCs. We wanted to support as many devices as possible, so performance was something we had to consider.</li></ul><p>We spent some time discussing different ideas and approaches, but the ultimate solution for both problems was quite simple — <strong>we limited Live Preview to the user’s selection</strong>. That way, a user must select one or more elements in Figma to start editing styles and see real-time changes in that particular selection. Since a Figma file can contain many layouts, it would be very difficult to instantly update the entire design file, and only high-end computers could handle this.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FAeKEqkc2j5A%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAeKEqkc2j5A&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FAeKEqkc2j5A%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/603227a605d835f00a9951e780fb45f6/href">https://medium.com/media/603227a605d835f00a9951e780fb45f6/href</a></iframe><p>We also did several tests on mid-range hardware to see how many selected elements they could handle. The result was quite good — an old laptop could easily process a large set of mockups (around 40k elements).</p><blockquote>Working on Preview Mode turned out to be one of those cases where one change led to another and another, improving the overall experience every step of the way.</blockquote><p>At first, we added Live Preview as an additional mode turned off by default. Our hopes and dreams became reality! Preview mode was a roaring success. It was so much better than the default one (where the plugin shows all the tokens present in the file with no real-time preview) that there was no point in keeping the default mode in the plugin anymore. So, we just cut it out completely.</p><h3>Adding onboarding</h3><p>Enabling Live Preview mode by default led us to introduce other changes to the way the plugin works. Since Live Preview only works with specific selections, it was important to let the user know about that. <strong>If the user didn’t have any element selected in Figma before launching Color Management, the token list in the plugin would be empty.</strong> It was important to make an empty state where the plugin would tell the user what they needed to do to start working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*w3GhJH_8c709vFdxSpK3zg.png" /></figure><p>Instead of a standard empty state message, we decided to add an onboarding screen with small tips for users but make it as unobtrusive as possible. If the user doesn’t have something selected in Figma while launching the plugin, they go to onboarding with the message “please select a frame you want to work with to start” and an option to swipe to see the other tips. If the user has something selected in Figma on plugin launch, they go straight to editing tokens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*JhMFMO3HwjAYGP1PmEzwJA.png" /></figure><p>I don’t think the critical importance of onboarding is lost on anyone, right? Well, okay, for the uninitiated, onboarding is a series of screens that guide users through the app’s interface and functions. It facilitates a positive user experience and helps educate the user about the functions and benefits of the plugin.</p><h3>“Let the system do the work”</h3><p>After implementing Live Preview mode and doing some trial runs, we discovered some insights. By adding this function, we actually changed the way people work with the plugin.</p><p>In version 1.0, the plugin was showing all the tokens at once. For the user, it was hard to find any specific token in a long list, forcing the user to use search or scroll through all the tokens in an attempt to find the one they required. By allowing us to work only with a selection, big or small, we were able to speed up the process by cutting out the time wasted on searching.</p><p>We noticed that despite our previous experience with the plugin, it’s a lot easier to select small frames and groups with up to six or seven tokens, edit them, and move to another small set of tokens by selecting the next frame. It makes the whole process a lot faster than before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*xw5Qx4zYaHIfwn6xgX9JmA.png" /></figure><p><strong>But we were hindered by the need to constantly press the “Save Changes” button</strong> before moving to the next frame. The “save” button was supposed to help avoid errors while working with the plugin, but in the end, it only complicated the process by adding one more action we didn’t really need. It was a dead weight on the whole process, so we left it on the cutting room floor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*SvDlZ3yYP5nrEJhy8qfRKg.png" /></figure><p>We deleted the button and added an autosave feature to the plugin. Now every time a user switches to another selection or just closes the plugin, <strong>all the changes made are saved automatically.</strong></p><p>Additionally, we modified the action history so that if the user made a mistake or accidentally selected something in Figma, they can undo changes by simply pressing CMD+Z.</p><h3>Wrapping up</h3><p>All these features really changed how the plugin works and how we interact with it. They allowed us to work so much faster and more efficiently. But wait, there’s more! In this and the previous articles, we focused on the core features of our plugin. Now it’s time to add the final touches and make the plugin as user-friendly and convenient as possible.</p><p>Thanks for making it to the end! I hope you got something from it. In the next and final article, you’ll see:</p><ul><li>Usability upgrade — adding final features to improve user experience,</li><li>Adding a library of saved colors to the plugin,</li><li>Making the workflow even faster with keyboard shortcuts.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6776cb84f21" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-chapter-3-version-2-0-live-preview-mode-d6776cb84f21">How We Built the Color Management Plugin for Figma. Chapter 3. Version 2.0 — Live Preview Mode.</a> was originally published in <a href="https://medium.com/devexperts">Devexperts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We Built the Color Management Plugin for Figma. Chapter 2. Creating an MVP.]]></title>
            <link>https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-chapter-2-creating-an-mvp-7fb4b2ee8edf?source=rss-7a8d111cf63d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fb4b2ee8edf</guid>
            <category><![CDATA[figma]]></category>
            <category><![CDATA[figma-plugin]]></category>
            <dc:creator><![CDATA[Vitaliy Voronkin]]></dc:creator>
            <pubDate>Thu, 03 Aug 2023 11:29:05 GMT</pubDate>
            <atom:updated>2023-08-21T08:33:26.610Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*it2WOutXrx_YOZCV4vR4aQ.png" /></figure><p>Hi again! 👋 This is the second article in a series of four in which we describe the process of developing our Figma plugin. Check out the previous article if you haven’t seen it yet:</p><p><a href="https://medium.com/@vrk.design/how-we-built-the-color-management-plugin-for-figma-part-1-research-and-ideation-edc07e68dbd6">Part 1. Research and Ideation.</a></p><h3><strong>The idea 💡</strong></h3><p>The initial idea was very simple and went a little something like this:</p><blockquote>Let’s make a Figma plugin that allows us to quickly change the colors of complex design layouts. It should be easy to work with multiple styles at once. Also, when using the plugin, we should always stay in context and be able to instantly see all the changes.</blockquote><p>The first thing we did was break this idea down into separate features. This information helped us understand how the UI of our plugin should look before making any drafts. In short, we needed two workspaces in our plugin: one for displaying the color styles we’re working on, and another with a set of controls to change these styles.</p><blockquote>You may encounter the word “token” at some points in our articles. A token is pretty much the same as the color style we were talking about earlier, except they don’t always define a color — it may be the size of an element, rounded corners of elements, font size, etc. For our purposes, we will use “token” as an alternative name for color styles.</blockquote><p>The list of features we needed looked something like this:</p><ul><li>Since color styles are the main objects we’re working with, we needed a <strong>token list area</strong> in the plugin to manipulate them.</li><li>We needed the plugin to work with a huge amount of Figma styles, so the UI should allow us to work with single and multiple styles at once.</li><li>We should be able to <strong>sort tokens alphabetically</strong> to find specific tokens among the others.</li><li>We should be able to <strong>group tokens by hue</strong> to make it easier to select similar colors and change them to whatever we need.</li><li>We also should be able to <strong>filter tokens</strong> to work only with the necessary tokens in the list.</li><li>To work with color styles, we needed some controls. We decided to add <strong>Hue, Saturation, and Brightness sliders</strong>. They will allow us to change the color by moving these separate parameters. It makes it easy for us to find the color that fits in every particular case or, for example, when we simply need to adjust the brightness a bit.</li><li>But what if we already have a specific color in mind that we want to use? Trying to pick the right color via sliders is not exactly intuitive. So why not add a default <strong>Color Picker</strong> component as well? We would just need to enter (or copy and paste) the HEX value of a specific color from elsewhere into the plugin. It also has a color pipette tool to pick any color present in your layouts in Figma. By adding both sets of controls, we covered all the bases for entering/changing color values in the plugin.</li></ul><p>We had our dream UI concept based on the features we defined above:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*h4Cc22hw1n-lqJr6Sh0cfQ.png" /></figure><p>Now it was time to knuckle down and actually make a design for it.</p><h3><strong>UI Kit</strong></h3><p>Since plugins run in the Figma environment as modal windows, it’s a good idea to use components of the Figma interface itself. That way, the plugins don’t feel out of place when you use them. It also significantly speeds up development and helps you create a UI that users are already familiar with.</p><p>Figma itself doesn’t provide a UI library, but there are community-made resources you can use. For example, the most popular one endorsed by Figma is a <a href="https://github.com/thomas-lowry/figma-plugin-ds">Figma UI library</a> built by Tom Lowry. It contains open-source plugins, resources, and tools used for Figma plugin development. There are also several Figma-like UI Kits available in <a href="https://www.figma.com/community/search?resource_type=mixed&amp;sort_by=relevancy&amp;query=figma+pluign+ui+kit&amp;editor_type=all&amp;price=all&amp;creators=all">Figma Community.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Ow5FE0DE0WKzB32o8ktDFw.png" /></figure><p>Once we had rough drafts of the interface and a UI Kit from Figma Community with all the elements we needed, we were able to build a design specification for the plugin. And since our developers also used existing Figma components, the UI part of the plugin was implemented in a matter of a few days. I will unveil it in just a second.</p><h3><strong>Bugs, bugs, and more bugs…</strong></h3><p>It was time to test our little 0.01 version of the plugin. Obviously, we had some bugs we needed to take care of. But frankly, the only issues worth mentioning are the ones we didn’t think through during the design specification phase.</p><p><strong>We had the wrong color format</strong></p><p>The sliders for editing the color weren’t working as expected due to the incorrectly selected HSB (Hue, Saturation, and Brightness) color model. The way Brightness works in HSB did not allow us to accurately change the lightness of the color.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*V8-kyL8uuU_9kV9slrGW0w.png" /><figcaption>Same values, different colors</figcaption></figure><p>We switched to the HSL model where we have the Lightness parameter instead of Brightness. As we wanted, the values from 0 to 100 move the color from black to white, respectively.</p><blockquote>If you want a better understanding of the difference between color models, check out <a href="https://design.novacura.com/color-terminology#hsl">this article</a>.</blockquote><p><strong>There was no sync between controls</strong></p><p>We didn’t consider the interaction between the sliders and the color picker. At this point in our story, we couldn’t use them together. For instance, we set a specific value in the color picker for some tokens and wanted to make it a little brighter with the HSL controls. The problem was that when we used the HSL controls, the color reset to default, and only then were the changes made by the sliders applied.</p><p>Luckily, both problems were solved with a new system that was kind of similar to “masks” in design tools. For every token, we have a default “before any changes” color, and there are layers with changes on top of it. For a better understanding, look at this scheme:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*XswzjqavCley_UiPMDZlPw.png" /></figure><h3><strong>Final result</strong></h3><p>Behold! We finally had the first working version of the plugin! We implemented everything we planned for an MVP and got rid of all bugs. The interface of the plugin looks pretty much like the sketches I showed you before. Let’s go through all the features we have in detail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Esr0WkLdnKXuvNHku7bVqw.png" /></figure><p><strong>Launch</strong></p><p>On launch the plugin scans the Figma file and displays a list of tokens that are present in that file. Users can edit one or multiple tokens at the same time. All the changes are shown in the list, and you can also see a preview of the color both in the <strong>Default</strong> and <strong>Changed</strong> columns.</p><p><strong>Filter Search</strong></p><p>Since the plugin shows all of the existing tokens in the Figma file, and we usually have a lot of them, we needed a way to narrow down the list to show only the tokens we currently need. A filter search with basic input that shows all tokens that match the defined query did the trick. In the current version, searching by name and color is supported.</p><p><strong>Sorting</strong></p><p>For the MVP, we haven’t implemented any sorting options other than the default one — by hue — which felt the most convenient in our case. That way, for example, all the blue colors will be grouped, allowing you to easily select them and change them to a different color.</p><p><strong>Sync Changes</strong></p><p>Figma is a collaborative tool, so we needed to consider the case where several people are working on the same file at the same time. It’s possible someone else could change the styles while the plugin is active. So, we added a Sync Changes Button that the user can click on the plugin and refresh the token list.</p><p><strong>Luminosity Lock</strong></p><p>With the Luminosity Lock feature, you can easily recolor a big set of tokens and preserve the original color contrast of the mockup for accessibility reasons. It’s no secret that different hues with the same saturation and lightness (we consider all colors in the HSL model) can look different when it comes to brightness. This feature automatically adjusts lightness to keep the <em>perceived brightness</em> of the changed color the same.</p><blockquote>There are several color style types present in Figma that we needed to support. On top of basic solid colors, our plugin supports gradients (it breaks them down into separate colors) and effects styles such as shadows (although the plugin only supports colors stated in effects, not the other parameters).</blockquote><p>Thank you for reading this one to the end! In the next article you’ll see:</p><ul><li>Adding onboarding,</li><li>Implementing a real-time preview,</li><li>Tuning plugin performance.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fb4b2ee8edf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-chapter-2-creating-an-mvp-7fb4b2ee8edf">How We Built the Color Management Plugin for Figma. Chapter 2. Creating an MVP.</a> was originally published in <a href="https://medium.com/devexperts">Devexperts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We Built the Color Management Plugin for Figma. Chapter 1. Research and Ideation]]></title>
            <link>https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-part-1-research-and-ideation-edc07e68dbd6?source=rss-7a8d111cf63d------2</link>
            <guid isPermaLink="false">https://medium.com/p/edc07e68dbd6</guid>
            <category><![CDATA[figma-plugin]]></category>
            <category><![CDATA[figma]]></category>
            <dc:creator><![CDATA[Vitaliy Voronkin]]></dc:creator>
            <pubDate>Thu, 03 Aug 2023 10:04:04 GMT</pubDate>
            <atom:updated>2023-08-21T08:33:36.696Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v6nKR7kk170-GSHA1t6S9g.png" /></figure><p>This year our team worked hard to develop a new Figma plugin called Color Management. This plugin is an excellent tool for quickly and effectively repainting your mockups and creating new color themes in Figma. This series of four articles will take you through the complete journey, from how and why we made it to the problems we faced while building it and the final result.</p><h3><strong>Who we are and what we do</strong></h3><p>Hi there! I’m Vitaliy Voronkin, a UX/UI designer at the international fintech company Devexperts.</p><p>We create solutions for Web, Android, iOS, wearable devices, and even smart speakers that serve a global audience with trading platforms for brokers and investors, exchange software, money management platforms, and data exchange solutions with financial platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/0*NII_d-nnv0Eq5uh9.png" /><figcaption>DXTrade XT: Mobile and Web</figcaption></figure><p>Our main product is the DXtrade trading platform, which we sell on a SaaS basis. For every new client, we create a DXtrade White Label — we develop a new, unique color theme and add a client logo to the trading platform. We base the first release of a custom platform for each customer on the initial product and then slightly evolve it throughout the product life cycle.</p><p>Deep customization of our products is one of our strongest advantages — it allows us to customize all UI elements. Our clients have total control over how their platform will look and feel.</p><p>Do you want a professional platform that looks like it means business? Sure, here you go: muted colors with a focus on content. Want your users to have fun? Spice up the interface with vibrant colors and gradients.</p><p>It sounds cool on the surface, but this level of customization comes with some technical difficulties and peculiarities to make it happen. We’ll get to this a bit later.</p><h3><strong>How we do the things we do</strong></h3><p>We — the designers — work in Figma, a popular cloud-based design tool that helps us effectively develop and maintain our user interface designs. We have a design system in which all our layouts are made with components, each with its own Figma style.</p><blockquote>A <strong>Design System</strong> is a collection of reusable components, guided by clear standards, that can connect to build any number of applications. It is the single source of truth that groups all the elements that will allow the teams to design, realize, and develop a product.</blockquote><p>Figma styles are basically a set of variables that helps us organize the colors of UI elements. You can attach a color style to as many elements as you want and control the colors of each one with these styles. For example, whenever you change a text style’s color from red to blue, Figma will apply those changes to any objects using that style.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QgcePesVcRU5U7AtMIxnFw.gif" /></figure><p>Now you know how we maintain our design mockups in Figma. But how do we guarantee that our final product will always match our designs? We’ve built a special tool for this purpose called Chameleon that consists of two components: the Figma plugin and web storage. The plugin allows us to export color styles to Chameleon web storage, and developers can deliver them to our products.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jkYwihtsQtHFcHHFXcbb5g.png" /></figure><p>So, the overall process looks like this:</p><ul><li>We store and maintain our design layouts in Figma.</li><li>We use a self-made Chameleon Figma Plugin to export all the color styles to web storage.</li><li>Developers deliver data on UI elements’ colors to our products in different formats depending on the platform they work on (web or mobile).</li></ul><p>You can read how we’ve built the Chameleon tool on<a href="https://medium.com/@Devexperts/chameleon-a-cozy-palette-management-tool-bd5feb77eadb"> Medium</a>.</p><h3><strong>Where is the problem hiding?</strong></h3><p>With the approach described above, we can quickly update the color theme in the design and the actual products. But for every new client, we were spending too many resources on the first step — creating a new color theme in Figma for the white-label product.</p><p>That’s where our customization ability complicates things.</p><p>First things first, we make a duplicate of the master file in Figma with all the designs we need. We have hundreds, if not thousands, of color styles here, which is the exact problem we were trying to solve. The way Figma works, you have to go through four steps (clicks) to change even one style value. You must select an element, click on a color style, click on the “edit style” icon, and choose a new color. And we have hundreds of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*eJD4-zPVyTq8fuC8fmEp2g.gif" /><figcaption>Look how many clicks you have to make to change the value of just one style. Now imagine a complex layout on several pages with 600+ styles.</figcaption></figure><p>When you think about how many clicks you have to make to change the value of just one style, you can see our problem. Now imagine a complex layout on several pages with 700+ styles. Do you have a headache yet?</p><p>This issue plagued us, slowing the first stage of creating a new platform to a crawl. It inflated our costs and deadlines for delivering a product to the client.</p><h3><strong>Searching for ready-made solutions 👀</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aCWpzCE0BIm7lvjWQV06fA.png" /><figcaption>Figma Community</figcaption></figure><p>We first tried looking for existing solutions that we could use to rid ourselves of this massive pain. The only tools that could help us fix our clunky change-styles-in-Figma workflow were plugins. So, we searched high and low through the Figma community, hoping to find one that fits just right. Sadly, no dice. There was no shortage of plugins for creating, maintaining, or deleting color styles, but none helped us out of our specific bind.</p><p>We also asked designers across different platforms — Reddit, UX stack overflow, Figma forum, and so on — how they are solving this problem and if they knew of any tool that could help us. We got a few responses with some plugin suggestions but nothing really suitable for our case.</p><p>At that point, the only path forward was to create the tool we desperately needed ourselves. That way, we could consider only the details relevant to our situation and, as a huge plus, end up with a plugin that fully integrates with our design and development processes.</p><h3><strong>What exactly are Figma plugins?</strong></h3><p>Well, plugins are small applications created by the design community that extend the functionality of Figma. Plugins run inside Figma projects and perform one or more user actions. They allow users to customize their experience or create more efficient workflows in Figma, which is exactly what we needed. You can visit the <a href="https://www.figma.com/community/plugins">Figma Community</a> and browse through a list of the available plugins to get a better understanding of the functionality they offer.</p><h3><strong>Conclusion</strong></h3><p>So, the plan was to make a plugin and integrate it into our processes as the codable paracetamol to rid ourselves of the workflow headache and speed up the development cycle. Once we decided on the development, we started working on the concept for a new tool.</p><p>Thanks for staying with us so far! In the next article you’ll see:</p><ul><li>What concept we had in mind when we started development,</li><li>What went wrong during the development,</li><li>What the MVP version was like.</li></ul><p>See ya! 👋</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=edc07e68dbd6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devexperts/how-we-built-the-color-management-plugin-for-figma-part-1-research-and-ideation-edc07e68dbd6">How We Built the Color Management Plugin for Figma. Chapter 1. Research and Ideation</a> was originally published in <a href="https://medium.com/devexperts">Devexperts</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>