digdir / designsystemet

Designsystemet
https://designsystemet.no
MIT License
68 stars 34 forks source link

How to handle multiple JSON files in Temavelgeren #2143

Open Barsnes opened 1 week ago

Barsnes commented 1 week ago

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:

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.