designsystemet
designsystemet copied to clipboard
How to handle multiple JSON files in Temavelgeren
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.
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.