NAV's design system + shaft.nav.no
@navikt/
├── core/react # @navikt/ds-react, kjernekomponenter
├── core/css # @navikt/ds-css, css kjernekomponenter
├── core/tokens # @navikt/ds-tokens, tokens
├── core/tailwind # @navikt/ds-tailwind, tailwind-config
├── aksel-icons # @navikt/aksel-icons, ikonpakke
├── aksel-stylelint # @navikt/aksel-stylelint, stylelint-config
└── aksel # @navikt/aksel, kommandolinje-verktøy
aksel.nav.no/
├── website # NEXT.JS app (v13)
├── website/sanity # Sanity CMS-app (v3)
└── playroom # aksel.nav.no/sandbox
Install Dendendecies and Build Workspace
yarn && yarn boot Since we use addictions that are in GPR, you have to set up access to GPR with a pat (Personal Access Token) who has read:packages . You can create a pat here.
In your .bashrc or .zshrc , set the following environmental variable:
export NPM_AUTH_TOKEN=<din PAT med read:packages>
| Command | Script |
|---|---|
yarn boot | Builds all packages |
yarn storybook | Starts Storybook |
yarn dev | Starts the Aksel website (more info) |
yarn example:shadow-dom | Starts demo app with Shadow judgment |
yarn lint | LINTER REACT AND CSS WORKSPACES |
yarn test | Running tests |
yarn clean | Removes generated files |
yarn changeset | New version-Enry (How-to) |
We are happy to receive PRs! Contributing.md
Mit
The solution is managed by Team Aksel
Slack
![]()
Thanks to Chromatic for Providing The Visual Testing Platform That Helps US Review Ui Changes and Catch Visual Regressions.
This repo uses Github Copilot to generate code.