digdir / designsystemet

Designsystemet
https://designsystemet.no
MIT License
76 stars 37 forks source link

How to use Designsystemets components and tokens across organizations #87

Closed mrosvik closed 1 week ago

mrosvik commented 1 year ago

Investigate:

Make it easier for designers (in Figma)

1. How can a designer from another organization use components from the design system?

We can share our components in a file in Figma Community, but we need a way to keep it in sync if a component has updates or there are added new components to the library. We could wait for Figma to add this feature, or we could make a plugin that ensures that links between instances and master components are preserved? For example by checking the names against each other? Nav has created a plugin for its icon library that can be run to get new icons in. Maybe we can do something similar.

#### Tasks
- [ ] Investigate if figma intends to support this in the future
- [ ] Investigate whether there is a plugin for this

2. How can a designer add their own brand-tokens and variables in Figma?

Today they have to:

In the storefront (designsystemet.no) you will only see Digdirs brands, but it could be a future solution to make it possible for others to see the components with their own brand by pasting a path to their own token-file.

#### Tasks
- [ ] https://github.com/digdir/designsystem/issues/1005
- [ ] Investigate in how we can make this an easier process for designers

Make it easier for developers

### Tasks
- [ ] Make a guide for how to set up a new brand set with your own tokens
- [ ] https://github.com/digdir/designsystem/issues/1006
- [x] Create a Theme picker / Theme Creator
- [x] Storefront: Theme picker - Add an option to add your own brand by pasting a URL to your token-set?
- [x] Storybook: Theme picker - Add an option to add your own brand by pasting a URL to your token-set?
- [ ] https://github.com/digdir/designsystem/issues/1169
- [ ] https://github.com/digdir/designsystem/issues/1225
mimarz commented 11 months ago

This is in progress with STAF <3

mimarz commented 1 week ago

This is now solved by having our users use our CLI, @digdir/designsystemet for generating and updating the Designsystem tokens in conjuction with https://theme.designsystemet.no

mimarz commented 1 week ago

We have solved this as a whole with our product suite for V1.