Skip to main content
Question

Instance of a design system

  • March 24, 2022
  • 1 reply
  • 379 views

Mathieu_Nisen

Sorry if the question was already asked, I didn’t see anything.

We have created a comprehensive design system that is used both for our B2C and B2B2C projects. Everything is fine except that we cannot replace the color variables from the design system (primary color, secondary, text, etc) by a set of colors of the partner in a local project without also changing the colors of the main design system.
I tested multiple solutions but it doesn’t work.

Is there a way to use in a local project the symbols coming from a global design system and change and replace some variables like colors or fonts without changing this main design system? In other word: can I create an instance of my design system for each partner that is updated if I change the main design system but where I can give local variables?

Thank you in advance for your help.

1 reply

Marc13
  • 7 replies
  • March 27, 2022

Best way to achieve that is to have multiple libraries that contain the styles for each brand you want to use and then use the swap library feature.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings