{"id":43323,"date":"2025-08-07T09:08:02","date_gmt":"2025-08-07T07:08:02","guid":{"rendered":"https:\/\/www.ecomwise.com\/?p=43323"},"modified":"2025-10-10T09:58:28","modified_gmt":"2025-10-10T07:58:28","slug":"van-figma-tot-frontend-zo-stroomlijn-je-je-b2b-webshop-met-design-tokens","status":"publish","type":"post","link":"https:\/\/www.ecomwise.com\/en\/van-figma-tot-frontend-zo-stroomlijn-je-je-b2b-webshop-met-design-tokens\/","title":{"rendered":"From Figma to frontend: this is how to streamline your B2B webshop with Design Tokens"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"43323\" class=\"elementor elementor-43323\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ebdda15 e-flex e-con-boxed e-con e-parent\" data-id=\"ebdda15\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d27eca2 elementor-widget elementor-widget-text-editor\" data-id=\"d27eca2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>Design tokens are increasingly used in the design and development of digital products such as web shops and websites. But what exactly are design tokens? And why are they so valuable, especially in larger, complex projects?<\/b><\/p><h3><b>What are Design Tokens?<\/b><\/h3><p><span style=\"font-weight: 400;\">Design tokens are standardised variables that capture design features, such as colours (<\/span><span style=\"font-weight: 400;\">primary-color<\/span><span style=\"font-weight: 400;\">), fonts (<\/span><span style=\"font-weight: 400;\">heading-font<\/span><span style=\"font-weight: 400;\">) and margins (<\/span><span style=\"font-weight: 400;\">spacing-small<\/span><span style=\"font-weight: 400;\">). Instead of applying these styles manually in each button, title or section, capture them centrally as tokens. This not only makes your design consistent, but also much more manageable and scalable.<\/span><\/p><p><span style=\"font-weight: 400;\">Think, for instance, of a primary colour used in dozens of places in a webshop. By defining this colour as a token, you only need to make an adjustment in one place to change the colour site-wide, which is ideal for a rebranding or customer-specific adjustment. <\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cb2bcde elementor-widget elementor-widget-image\" data-id=\"cb2bcde\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"512\" height=\"276\" src=\"https:\/\/www.ecomwise.com\/wp-content\/uploads\/2025\/08\/unnamed.png\" class=\"attachment-large size-large wp-image-43330\" alt=\"\" srcset=\"https:\/\/www.ecomwise.com\/wp-content\/uploads\/2025\/08\/unnamed.png 512w, https:\/\/www.ecomwise.com\/wp-content\/uploads\/2025\/08\/unnamed-300x162.png 300w, https:\/\/www.ecomwise.com\/wp-content\/uploads\/2025\/08\/unnamed-18x10.png 18w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ee49bc2 e-flex e-con-boxed e-con e-parent\" data-id=\"ee49bc2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8d62a7b elementor-widget elementor-widget-text-editor\" data-id=\"8d62a7b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p data-start=\"256\" data-end=\"493\"><span style=\"font-weight: 400;\">In your token definition, you use a number of levels to capture those colours. <\/span>Tokens are often classified into three categories:<\/p><ol data-start=\"495\" data-end=\"1512\"><li data-start=\"495\" data-end=\"763\"><p data-start=\"498\" data-end=\"703\"><strong data-start=\"498\" data-end=\"516\">Global tokens<\/strong><br data-start=\"516\" data-end=\"519\" \/>These are the most primitive values, usually based on a universal scale. They are not context-specific and can be used anywhere in the design. (blue-700)<\/p><\/li><li data-start=\"495\" data-end=\"763\"><p data-start=\"498\" data-end=\"703\"><span data-start=\"768\" data-end=\"784\"><b>Alias tokens<br \/><\/b><\/span><span style=\"background-color: transparent;\">Alias tokens refer to a specific context or function within the interface. They link global values to a meaningful role. (cta-bg-color)<\/span><\/p><\/li><li data-start=\"495\" data-end=\"763\"><p data-start=\"768\" data-end=\"953\"><strong data-start=\"1071\" data-end=\"1101\">Component-specific tokens<\/strong><br data-start=\"1101\" data-end=\"1104\" \/>These tokens are even more specific and apply only within a particular component. They make it clear that a token is only used for that component and often give a name that indicates the function within that component. (<span style=\"font-weight: 400;\">button-cta-background-color)<\/span><\/p><p><strong data-start=\"1516\" data-end=\"1524\">Tip:<\/strong> By following this hierarchy, you can easily modify tokens in one place (e.g. the global or alias levels) and this will automatically feed through to all components that depend on them.<\/p><\/li><\/ol><h3 data-start=\"127\" data-end=\"161\"><strong>Atomic Design and Design Tokens<\/strong><\/h3><p data-start=\"163\" data-end=\"419\">Design tokens fit perfectly with the principle of <strong data-start=\"213\" data-end=\"230\">Atomic Design<\/strong>, where an interface is built from small, reusable components. This combination makes designing and developing consistent interfaces much easier.<\/p><p data-start=\"421\" data-end=\"685\"><strong data-start=\"421\" data-end=\"431\">Atoms<\/strong><br data-start=\"431\" data-end=\"434\" \/>These are the smallest building blocks, such as HTML elements, colours or fonts. They have limited meaning on their own, but form the basis for more complex components.<br data-start=\"604\" data-end=\"607\" \/><em data-start=\"607\" data-end=\"621\">Examples:<\/em><\/p><p data-start=\"687\" data-end=\"941\"><strong data-start=\"687\" data-end=\"700\">Molecules<\/strong><br data-start=\"700\" data-end=\"703\" \/>Molecules are created by combining atoms into a small functional unit. They are more meaningful because the combination performs a specific task.<br data-start=\"857\" data-end=\"860\" \/><em data-start=\"860\" data-end=\"872\">Example:<\/em> A form consisting of a label, an input field and a button.<\/p><p data-start=\"943\" data-end=\"1210\"><strong data-start=\"943\" data-end=\"957\">Organisms<\/strong><br data-start=\"957\" data-end=\"960\" \/>Organisms are larger components composed of multiple molecules that form a distinct part of the interface.<br data-start=\"1082\" data-end=\"1085\" \/><em data-start=\"1085\" data-end=\"1099\">Examples:<\/em> a header with logo, navigation and search field; or a product grid repeating the same product-item molecule.<\/p><p data-start=\"1212\" data-end=\"1490\"><strong data-start=\"1212\" data-end=\"1236\">Templates \/ Pages<\/strong><br data-start=\"1236\" data-end=\"1239\" \/>Templates combine organisms and other components into a complete page as a blueprint. They show how components work together in a real context and make it easy to place dynamic content without changing the structure.<\/p><p data-start=\"1492\" data-end=\"1539\"><strong data-start=\"1492\" data-end=\"1537\">Design Tokens linked to Atomic Design<\/strong><\/p><ul data-start=\"1540\" data-end=\"1883\"><li data-start=\"1540\" data-end=\"1611\"><p data-start=\"1542\" data-end=\"1611\"><strong data-start=\"1542\" data-end=\"1560\">Global tokens<\/strong> are often atoms: colours, fonts, spacing.<\/p><\/li><li data-start=\"1612\" data-end=\"1742\"><p data-start=\"1614\" data-end=\"1742\"><strong data-start=\"1614\" data-end=\"1630\">Alias tokens<\/strong> are molecules: they give a global value a meaningful role within a context (e.g. <code data-start=\"1724\" data-end=\"1738\">cta-bg-color<\/code>).<\/p><\/li><li data-start=\"1743\" data-end=\"1883\"><p data-start=\"1745\" data-end=\"1883\"><strong data-start=\"1745\" data-end=\"1775\">Component-specific tokens<\/strong> are organisms: they define styling specific to a component, such as <code data-start=\"1851\" data-end=\"1880\">button-cta-background-color<\/code>.<\/p><\/li><\/ul><p><span style=\"font-weight: 400;\">Design tokens form the \"atomic\" basis of this system. Suppose you use a button component that references tokens for colour, typography and spacing. Do you modify a token? Then automatically change the style of all buttons built based on this token, without having to edit individual components. Of course, you will probably use different tokens for your primary and secondary button styles.\u00a0<\/span><\/p><h3>\u00a0<\/h3><h3><b>Case study: Magento &amp; Shopware<\/b><\/h3><p><span style=\"font-weight: 400;\">At Ecomwise, we apply this principle daily in our base environments for Magento and Shopware. In Figma, we build a flexible design system that serves as a starting point for customer-specific projects. In it, we record all style elements as tokens: from colours and fonts to buttons and navigation components.<\/span><\/p><p><span style=\"font-weight: 400;\">As soon as the design is approved, we export the tokens as variables to be used directly in the front-end code. This makes the translation from design to development lightning-fast and error-free.<\/span><\/p><h3><b>What does it deliver?<\/b><\/h3><p><span style=\"font-weight: 400;\">Using design tokens offers clear advantages, especially for larger or complex B2B websites. But it also requires a structured approach within your team. Below, we list the most important benefits and points of attention for you.<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><b>Consistent style and look: <\/b><span style=\"font-weight: 400;\">Design tokens ensure that colours, typography and components are applied exactly the same on every page, regardless of who is working on it.<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b>Faster development and fewer errors: <\/b><span style=\"font-weight: 400;\">Because tokens are automatically reflected in all parts of the design and code, you end up saving time on adjustments as well as avoiding manual errors.<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b>Better collaboration between design and development: <\/b><span style=\"font-weight: 400;\">Design tokens are the connecting link between design and code. You prevent misunderstandings and turn the design into directly applicable output for developers.<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b>Scalable as it grows and evolves: <\/b><span style=\"font-weight: 400;\">New features, designs or customer requirements? Thanks to the reusable nature of tokens, you easily scale with them without rebuilding the entire design.<\/span><\/li><\/ul><h3>\u00a0<\/h3><h3><b>What does working with design tokens require from your team?<\/b><\/h3><p><span style=\"font-weight: 400;\">Design tokens provide many benefits, but there are also some concerns that are important to take into account in your approach:<\/span><\/p><ul><li style=\"font-weight: 400;\" aria-level=\"1\"><b>A well-thought-out structure<\/b><span style=\"font-weight: 400;\">: A well-designed token system requires clear naming and a logical hierarchy. This requires some upfront thinking.<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b>Investment at the start<\/b><span style=\"font-weight: 400;\">: It takes time to set up your design tokens and integrate them into your design and development workflow. But that investment pays for itself twice over later.<\/span><span style=\"font-weight: 400;\"><br \/><\/span><\/li><li style=\"font-weight: 400;\" aria-level=\"1\"><b>Team alignment<\/b><span style=\"font-weight: 400;\">: Everyone, from designer to developer, needs to know how to work with tokens. Clear agreements and documentation help.<\/span><\/li><\/ul><p><span style=\"font-weight: 400;\">With the right approach, design tokens actually reduce errors, speed up deliveries and increase flexibility for changes. Especially in larger or ongoing B2B projects, they make a noticeable difference.<\/span><\/p><h3><b>Want to know more?<\/b><\/h3><p><span style=\"font-weight: 400;\">Want to dive deeper into the world of designer tokens? Then check out<\/span><a href=\"https:\/\/designtokenscourse.com\" target=\"_blank\" rel=\"noopener\"> <span style=\"font-weight: 400;\">this handy introduction to <\/span><\/a><a href=\"http:\/\/designtokenscourse.com\"><span style=\"font-weight: 400;\">designtokenscourse.com<\/span><\/a><span style=\"font-weight: 400;\">. Or contact us if you have any questions about this.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Design tokens worden steeds vaker ingezet bij het ontwerpen en ontwikkelen van digitale producten zoals webshops en websites. Maar wat zijn design tokens precies? En waarom zijn ze zo waardevol, zeker bij grotere, complexe projecten? Wat zijn Design Tokens? Design tokens zijn gestandaardiseerde variabelen die ontwerpkenmerken vastleggen, zoals kleuren (primary-color), lettertypes (heading-font) en marges (spacing-small). [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":43327,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-43323","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nieuws"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/posts\/43323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/comments?post=43323"}],"version-history":[{"count":22,"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/posts\/43323\/revisions"}],"predecessor-version":[{"id":45702,"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/posts\/43323\/revisions\/45702"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/media\/43327"}],"wp:attachment":[{"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/media?parent=43323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/categories?post=43323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecomwise.com\/en\/wp-json\/wp\/v2\/tags?post=43323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}