Skip to main content
Question

Override colors on shared library

  • October 31, 2024
  • 0 replies
  • 69 views

Onit_Group_Srl

Hi everyone, I’ve created a library for colors, formats and components to share across other projects. In this library, I’ve used an example primary color that, however, might change in different projects.

Is it possible to override that variable (the color, in this case) in the various projects to use a different primary color for components?

E.g.
Base project library with “background/color/primary” variable as “blue

Custom1 probject uses Base library but overrides “background/color/primary” variable with “red”. Custom1 could use components of Base library with new selected primary color (red) without the need to reselect a color.

Thanks in advance

This topic has been closed for replies.

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