designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

How to handle multiple JSON files in Temavelgeren

Open Barsnes opened this issue 8 months ago • 1 comments

Since we have added border radius to Temavelgeren, we need to figure out how we can best allow users to copy contents. The JSON we give the user should be split between multiple files, for colors, typography and sizes.

image

Possible solutions:

  • Generate a zip file containing all json files
  • Copy each file individually
  • Give users a CLI command they can run

I think it would be best to give a zip file, so both developers and designers can easily drop the files where they need them. I believe this should be possible to do with a server action.

Barsnes avatar Jun 24 '24 08:06 Barsnes