Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.06 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.06 KB

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)