{"id":241,"date":"2020-02-10T23:03:46","date_gmt":"2020-02-10T22:03:46","guid":{"rendered":"https:\/\/sketch2react.wordpress.com\/2020\/02\/10\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/"},"modified":"2021-05-17T11:06:21","modified_gmt":"2021-05-17T09:06:21","slug":"how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens","status":"publish","type":"post","link":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/","title":{"rendered":"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026"},"content":{"rendered":"<p><strong>TLDR;<\/strong> Design tokens and styling in Material-UI is surprisingly closely related and in this article I\u2019ll explain why and show you how you can benefit from this to super-charge your design-to-code implementation speed!<\/p>\n<p>This is a sequel to my previous article <a href=\"https:\/\/medium.com\/sketch2react\/from-design-tool-to-design-tokens-using-stratos-app-f672bad21b75\" target=\"_blank\" rel=\"noopener noreferrer\">From Design tool to Design Tokens using Stratos App<\/a> which I strongly suggest you read.<\/p>\n<p>Ok, you <strong>didn\u2019t<\/strong> read it? I\u2019ll give you a:<\/p>\n<h3>Recap of previous&nbsp;article<\/h3>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"2540\" data-height=\"1014\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png\"><figcaption class=\"wp-caption-text\">Example structure in your design&nbsp;document<\/figcaption><\/figure>\n<p>You visually represent your design tokens in a design tool (Sketch App, Figma and InVision Studio are supported)<\/p>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"1738\" data-height=\"1104\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/0aebf-1evk6nlkvxk9vpdgmhgizgq.png\"><figcaption class=\"wp-caption-text\">Generated JSON-structure in Stratos Tokens&nbsp;App<\/figcaption><\/figure>\n<p><a href=\"https:\/\/gumroad.com\/l\/stratosapps\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Stratos Tokens App<\/em><\/a> reads the raw design file and generates a JSON-structure based on your design data (design tokens)<\/p>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"1202\" data-height=\"598\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/a63f7-1k59i5kdo9oy1dgta42rvsq.png\"><figcaption class=\"wp-caption-text\">It\u2019s a big button, you can\u2019t miss&nbsp;it.<\/figcaption><\/figure>\n<p>Download and publish the design tokens as an <strong>NPM project<\/strong>. If you want more detailed instructions on how to publish to <em>NPMjs<\/em> please read my <a href=\"https:\/\/medium.com\/sketch2react\/from-design-tool-to-design-tokens-using-stratos-app-f672bad21b75\" target=\"_blank\" rel=\"noopener noreferrer\">previous article<\/a>.<\/p>\n<figure><img decoding=\"async\" data-width=\"1224\" data-height=\"176\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/ab63a-1uihqjqf08fpuxtl4wg8yza.png\"><\/figure>\n<p>Download it and <strong>use it<\/strong> in <strong>any codebase<\/strong> on <strong>any platform<\/strong>!<\/p>\n<h3>But Material-UI?<\/h3>\n<p>How does Material-UI fit into all of this? Let\u2019s first look at a small demo application. We can call it <em>mysuperapp<\/em>.<\/p>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"1446\" data-height=\"708\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/23b2d-1ab7yeqwrl-i8yadwezzseq.png\"><figcaption class=\"wp-caption-text\">mysuperapp is using <a href=\"https:\/\/github.com\/syedabuthahirm\/react-materialui-boilerplate\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/syedabuthahirm\/react-materialui-boilerplate<\/a><\/figcaption><\/figure>\n<h4>Ok, so what do we&nbsp;know?<\/h4>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"2354\" data-height=\"1484\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/00c9f-1x8e4xmcmmdw8j0-etdqvvq.png\"><figcaption class=\"wp-caption-text\">Design data (design tokens) generated by Stratos Tokens&nbsp;App<\/figcaption><\/figure>\n<p>We have design data (design tokens) available in JSON format from our design tool via <a href=\"https:\/\/gumroad.com\/l\/stratosapps\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Stratos Tokens App<\/em><\/a><\/p>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"1006\" data-height=\"434\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/64e99-1w423dtwdpii0od-eljfrug.png\"><figcaption class=\"wp-caption-text\">Small theming example with MaterialUI<\/figcaption><\/figure>\n<p>Styling (<em>theming<\/em>) in Material-UI is based on passing design data in JSON format to the <em>createMuiTheme<\/em>-function<\/p>\n<blockquote><p>All we need to do is structure our design document according to the structure Material-UI expects<\/p><\/blockquote>\n<h4>Making the magical&nbsp;changes<\/h4>\n<figure><img decoding=\"async\" data-width=\"1862\" data-height=\"1024\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/8164d-1c9txeigiw-nxfqv3o5lnw.png\"><\/figure>\n<figure><img decoding=\"async\" data-width=\"1508\" data-height=\"564\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/47652-1ghu2o97spxcgn-kzeiu8tw.png\"><\/figure>\n<p>Let\u2019s head back into our design app and rearrange the layer hierarchy and change the naming of things in our design document to <strong>match the structure and naming of Material-UI\u2019s theming<\/strong> (I\u2019ve removed <em>typography<\/em> since that is not relevant for this demo).<\/p>\n<blockquote><p>We\u2019re only changing the naming and layer hierarchy. Nothing changes visually in your design document!<\/p><\/blockquote>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"1628\" data-height=\"916\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/81c02-1rf1yq690buhmgsgpujuvsq.png\"><figcaption class=\"wp-caption-text\">Updated design data (design tokens) structure<\/figcaption><\/figure>\n<p>Now, after we\u2019ve done the required changes to our design document let\u2019s take a look at the generated design data (design tokens).<\/p>\n<h3>Connecting all the&nbsp;dots<\/h3>\n<p>Your design tokens are now available from within <a href=\"https:\/\/gumroad.com\/l\/stratosapps\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Stratos Tokens App<\/em><\/a> in <strong>three places<\/strong>:<\/p>\n<ul>\n<li>Direct copy\/paste<\/li>\n<li>As a stand-alone file in the project\u2019s <em>data<\/em> folder.<\/li>\n<li>Downloadable as <em>NPM-project<\/em><\/li>\n<\/ul>\n<h4>Let\u2019s publish our design tokens to&nbsp;<em>NPMjs<\/em>!<\/h4>\n<p>For complete instructions on how to publish your design tokens to <em>NPMjs<\/em> please read my <a href=\"https:\/\/medium.com\/sketch2react\/from-design-tool-to-design-tokens-using-stratos-app-f672bad21b75\" target=\"_blank\" rel=\"noopener noreferrer\">previous article<\/a>. To download the demo-package in this article:<\/p>\n<blockquote><p>npm install &#8211;save stratos-materialui-demo<\/p><\/blockquote>\n<h4>How do I used&nbsp;it?<\/h4>\n<figure><img decoding=\"async\" data-width=\"1254\" data-height=\"226\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/f2890-1d117ue5g1zegoldpcinuea.png\"><\/figure>\n<p>Install the NPM-package into you application\u2019s root folder by using the <em>Terminal App<\/em>. Your design tokens are now available to use in your application\u2019s codebase.<\/p>\n<figure class=\"wp-caption\"><img decoding=\"async\" data-width=\"874\" data-height=\"514\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/5ecfa-1ia8wa_77w8vhqm2iqvf5tg.png\"><figcaption class=\"wp-caption-text\">Make your themeConfig use the NPM-package<\/figcaption><\/figure>\n<p>After we\u2019ve made our application, <em>mysuperapp,<\/em> use our new design tokens as input for Material-UI\u2019s theming, we get the following result! All according to our design document!<\/p>\n<figure><img decoding=\"async\" data-width=\"1400\" data-height=\"604\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/2842c-1puy_tvynl8sesstcdbplgg.png\"><\/figure>\n<h3>Extra bonus shortened version<\/h3>\n<figure><img decoding=\"async\" data-width=\"884\" data-height=\"188\" src=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/7d32d-1-lssdj_-nywdpt9afbf6ig.png\"><\/figure>\n<p>An even shorter code version is possible since we structured our design data (design tokens) exactly as the structure Material-UI expects!<\/p>\n<h3>To fully try out this design token magic you\u2019ll&nbsp;need:<\/h3>\n<ul>\n<li><a href=\"https:\/\/gumroad.com\/l\/stratosapps\" target=\"_blank\" rel=\"noopener noreferrer\">Stratos Tokens App<\/a><\/li>\n<li>Sketch App latest<\/li>\n<li>MacOS Mojave\/Catalina latest<\/li>\n<li>Admin rights to your computer<\/li>\n<\/ul>\n<hr>\n<p>Thanks for reading!<\/p>\n<p><em>Fredrik\u200a\u2014\u200aTeam Sketch2React<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>TLDR; Design tokens and styling in Material-UI is surprisingly closely related and in this article I\u2019ll explain why and show you how you can benefit from this to super-charge your design-to-code implementation speed! This is a sequel to my previous article From Design tool to Design Tokens using Stratos App which I strongly suggest you&hellip;&nbsp;<a href=\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"","bgseo_robots_follow":"","neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[166],"tags":[118,121,150,116,136,191],"class_list":["post-241","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-design-to-code","tag-material-design","tag-material-ui","tag-stratosapp","tag-token-design","tag-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026 | Sketch2React Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026 - Sketch2React Blog\" \/>\n<meta property=\"og:description\" content=\"TLDR; Design tokens and styling in Material-UI is surprisingly closely related and in this article I\u2019ll explain why and show you how you can benefit from this to super-charge your design-to-code implementation speed! This is a sequel to my previous article From Design tool to Design Tokens using Stratos App which I strongly suggest you&hellip;&nbsp;Read More &raquo;How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\" \/>\n<meta property=\"og:site_name\" content=\"Sketch2React Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-10T22:03:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-17T09:06:21+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png\" \/>\n<meta name=\"author\" content=\"Fredrik Ward\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fredrik Ward\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\"},\"author\":{\"name\":\"Fredrik Ward\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664\"},\"headline\":\"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026\",\"datePublished\":\"2020-02-10T22:03:46+00:00\",\"dateModified\":\"2021-05-17T09:06:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\"},\"wordCount\":587,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png\",\"keywords\":[\"Design To Code\",\"Material Design\",\"Material Ui\",\"Stratosapp\",\"Token Design\",\"Tutorials\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\",\"url\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\",\"name\":\"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026 - Sketch2React Blog\",\"isPartOf\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png\",\"datePublished\":\"2020-02-10T22:03:46+00:00\",\"dateModified\":\"2021-05-17T09:06:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage\",\"url\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png\",\"contentUrl\":\"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sketch2react.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#website\",\"url\":\"https:\/\/sketch2react.io\/blog\/\",\"name\":\"Sketch2React Blog\",\"description\":\"Articles, tutorials, tips &amp; tricks\",\"publisher\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sketch2react.io\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#organization\",\"name\":\"Sketch2React Blog\",\"url\":\"https:\/\/sketch2react.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png\",\"contentUrl\":\"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png\",\"width\":512,\"height\":512,\"caption\":\"Sketch2React Blog\"},\"image\":{\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664\",\"name\":\"Fredrik Ward\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g\",\"caption\":\"Fredrik Ward\"},\"url\":\"https:\/\/sketch2react.io\/blog\/author\/sewk9wxw3g\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026 | Sketch2React Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/","og_locale":"en_US","og_type":"article","og_title":"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026 - Sketch2React Blog","og_description":"TLDR; Design tokens and styling in Material-UI is surprisingly closely related and in this article I\u2019ll explain why and show you how you can benefit from this to super-charge your design-to-code implementation speed! This is a sequel to my previous article From Design tool to Design Tokens using Stratos App which I strongly suggest you&hellip;&nbsp;Read More &raquo;How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026","og_url":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/","og_site_name":"Sketch2React Blog","article_published_time":"2020-02-10T22:03:46+00:00","article_modified_time":"2021-05-17T09:06:21+00:00","og_image":[{"url":"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png","type":"","width":"","height":""}],"author":"Fredrik Ward","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Fredrik Ward","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#article","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/"},"author":{"name":"Fredrik Ward","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664"},"headline":"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026","datePublished":"2020-02-10T22:03:46+00:00","dateModified":"2021-05-17T09:06:21+00:00","mainEntityOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/"},"wordCount":587,"commentCount":0,"publisher":{"@id":"https:\/\/sketch2react.io\/blog\/#organization"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage"},"thumbnailUrl":"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png","keywords":["Design To Code","Material Design","Material Ui","Stratosapp","Token Design","Tutorials"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/","url":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/","name":"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026 - Sketch2React Blog","isPartOf":{"@id":"https:\/\/sketch2react.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage"},"thumbnailUrl":"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png","datePublished":"2020-02-10T22:03:46+00:00","dateModified":"2021-05-17T09:06:21+00:00","breadcrumb":{"@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#primaryimage","url":"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png","contentUrl":"http:\/\/sketch2react.files.wordpress.com\/2020\/02\/e5759-1zltgsgglyggslvtppt9g3q.png"},{"@type":"BreadcrumbList","@id":"https:\/\/sketch2react.io\/blog\/how-to-combine-design-tokens-defined-in-your-design-tool-with-material-ui-using-stratos-tokens\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sketch2react.io\/blog\/"},{"@type":"ListItem","position":2,"name":"How to combine Design Tokens, defined in your design tool, with Material-UI using Stratos Tokens\u2026"}]},{"@type":"WebSite","@id":"https:\/\/sketch2react.io\/blog\/#website","url":"https:\/\/sketch2react.io\/blog\/","name":"Sketch2React Blog","description":"Articles, tutorials, tips &amp; tricks","publisher":{"@id":"https:\/\/sketch2react.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sketch2react.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/sketch2react.io\/blog\/#organization","name":"Sketch2React Blog","url":"https:\/\/sketch2react.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png","contentUrl":"https:\/\/sketch2react.io\/blog\/wp-content\/uploads\/2021\/10\/cropped-S2R2021Icon.png","width":512,"height":512,"caption":"Sketch2React Blog"},"image":{"@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/d452067d5528ce6cda4be87f136cf664","name":"Fredrik Ward","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sketch2react.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/91605aba05531b0d98ed254dc314b74be1800d1086302db1454b4489c128e3e1?s=96&d=wavatar&r=g","caption":"Fredrik Ward"},"url":"https:\/\/sketch2react.io\/blog\/author\/sewk9wxw3g\/"}]}},"_links":{"self":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/comments?post=241"}],"version-history":[{"count":2,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/241\/revisions"}],"predecessor-version":[{"id":699,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/posts\/241\/revisions\/699"}],"wp:attachment":[{"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/categories?post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sketch2react.io\/blog\/wp-json\/wp\/v2\/tags?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}