Skip to content

brreg/designsystemet

Repository files navigation

Theme for the Brønnøysund Register Centre for use with @digdir/designsystemet

Gettings started:

1 Set up designsystemet

See https://github.com/digdir/designsystemet?tab=readme-ov-file#-get-started

2. Install theme

The package currently is not published to registry.npmjs.org, but will be eventually. For the time being the package can be installed directly from github:

npm install github:brreg/designsystemet#<version>

(See tags for available versions)

3. Import theme-css

import '@brreg/designsystemet-theme/css/brreg.css'

Contributing

Updating CSS

CSS-files are automatically generated whenever changes to token-files are pushed to main-branch.

To update manually, run npm run build in your local repository.

Publishing a new version

To release a new version of the package, just update the version-number in package.json. (For the time being, versions are only tagged, not published to registry.npmjs.org)

About

Design-tokens for BR for use with designsystemet.no

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages