nptscot / npw

https://nptscot.github.io/npw/
Apache License 2.0
0 stars 0 forks source link

Implement SG Design System #34

Open mvl22 opened 3 weeks ago

mvl22 commented 3 weeks ago

Decision today to use the SG Design system.

Obviously this is a separate question to the user interaction design / workflow, but we can start to move to the overall design and components once available.

dabreegster commented 3 weeks ago

I haven't looked at the SG design system yet, but if it's similar to the govuk one, we have lots of components in https://github.com/acteng/govuk-svelte as reference. After initially setting up the design system's image/JS assets and CSS, it becomes a semi-mechanical transform of stuff like plain HTML <button> into using a Svelte component that wraps the design system component. I don't expect the implementation of switching over to be hard, but making use of the components appropriately and having a nice design might be tough.