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

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 :grinning: