This project uses Yarn, so follow the directions on https://yarnpkg.com/getting-started/install to set up locally.
Then, run yarn dev
for local development, or the other scripts in package.json.
Pull requests are deployed in Cloudflare. To view build logs, make your own Cloudflare user with your Gyldendal username, activate 2FA, and request an invitation to [email protected]. (This may take a day.)
Storybook opens two instances - one for react components, and one for web components.
Storybook for web components lets you choose between kobber-theme-default and kobber-theme-dark, but for now the themes are identical.
@gyldendal/kobber-base
@gyldendal/kobber-components
@gyldendal/kobber-scene
Big thanks to the Aksel team at NAV for meeting with us, and answering all our questions.
Also thanks to Vy for unknowingly helping us by having an open source design system.