Skip to main content
Question

Splitting a Design System into two files (one for Components and one for the Styles)

  • September 19, 2022
  • 2 replies
  • 1279 views

Phil9

Hi all,

I have a master Design System file that contains hundreds of components, and all of these are styled with local text, color and effect styles.

I now need to separate the components and their styling into two files. One will include just styles and and will be published as a team library (the Styles Library).

The other file will be linked to the published Styles Library and will contain only the components. There will be no local styles in this file. All the component styling needs come from the Styles Library.

Can anyone explain the quickest/smartest way to do this? Iโ€™ve tried to use Swap Library but itโ€™s not available the way I have it set up.

Any help would be awesome ๐Ÿ˜€

This topic has been closed for replies.

2 replies

Claudia_Luna

hey Phil! Iโ€™m trying to do the same now and cant find a way to do it without having to re-assign components from multiple WIP files into the new file Iโ€™m creating. Did you manage to find a work around for this?


Pavel_Kiselev
  • Power Member
  • 438 replies
  • September 2, 2023

You can move styles by cutting and pasting to another file.


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