Copy text styles from design system library

I am currently creating a design system with some components and text styles for use in different projects.

I created some text styles (xxl, xl etc.) and was wondering if its possible to import these styles into a new file but make changes (change font) without changing the “master” definition.
These changes would have to apply to components containing these text styles.

The only way i see currently is creating a design system file, which is going to be duplicated every project start, and ditch the whole library.

2 Likes

This.

A base design system without the need to duplicate all components, but easily changing styles (please also with border radius) so that multiple design projects can use the same design system. Just different branding.

Hi,
I asked this a long time ago, and apparently there’s a copy paste feature that exists, but I don’t have it for some weird messed up reason.

How IN THE WORLD can I copy a text style or group of text styles from one file to another? I have the option to cut it, but then I get this weird bug that makes the cut style go away for good, even if I undo the CUT action and I have to recreate all the text styles again and assign them to each component, which is absolute madness.

Please someone help, this is driving me insane to say the least. I added a screenshot showing that there’s no COPY option in the text styles, only cut and delete.

Thank you so much

UPDATE
Ok, so there’s this crazy bug that didn’t exist before. I was ok with the COPY feature not existing, I was cutting the styles from file A, pasting them on file B and go back to file A and hit UNDO, good workaround.
But no, this can’t be done any more. This is what happens:

  1. Cut the text styles group
  2. Undo it
  3. Close the file
  4. Reopen the file
  5. Check the styles again, most of them are missing. The styles group is there, but it only contains 2-3 styles, instead of all the styles that were originally there.

God this is so frustrating, why can’t these people just test this more, they make billions off of it, can’t they be more responsible?

2 Likes

This is exactly what happened to me! I tried this cut-paste trick but most of the styles got deleted when I clicked undo and refresh - had to recreate them all!

Yeah, it’s so frustrating.

One workaround is to go back to a previous saved version in the history, cut the text styles from there and paste them in the latest version. The text styles will automatically apply to all the components. It’s stupid, but it works :slight_smile:

Hopefully Figma will fix this at some point, although I doubt it, I doubt there are too many people experiencing this annoying bug.

@zaidhashmi The smartest (if you could it that) idea I came up with is to duplicate the file from which you want to copy the styles, copy the styles and afterwards simply delete it. Beats having to go through a shitload of history versions.

2 Likes

Yeah, this exact same idea popped into my head as well and I’m positive it should work.

Why not just the good old friend “COPY” function, from the dawn of computing?!

2 Likes

Exactly! Why the heck would you need to Cut and Paste a style from one file to another!? Who does that anyway?? Most of us need to copy the damn styles and paste them to another file, not actually move them.
So again, why no Copy function? Makes no sense.

6 Likes

@figma please please please add a copy functionality for styles… unless this is somehow being solved with Variables, please prioritize.

3 Likes

@Figma_Moderation We still need the copy function

3 Likes

I made it work, what you can do is Cut Style from the source File. Then Open your new file and right click (two-finger click) where the Local Styles are, and click Paste Styles.

And finally you can come back to the source File and do the same, right click and Paste Styles; they will be in your clipboard to be pasted multiple times in different files.

2 Likes

You can also just select every style with holding shift and selecting to cut/paste all styles.