Fœhn (føn) is the design system build for the website of the State of Vaud.
Take a look at the documentation.
Bootstrap 4 is used to build fœhn.
Upgrading? Please read our CHANGELOG to learn what changes to expect in the latest version, whether that's new features, bug fixes, changes, or whatever else.
You will need Git, Node.js and yarn to get this project running.
If you are an external contributor make sur to fork this project first
$ git clone [path/of/the/repo/]foehn.git
$ cd foehn
$ yarn
Build ./src
to ./dist
$ yarn build
- Make sure, the
CHANGELOG.md
is up to date. If not, update it and commit the changes. - Run the
$ yarn version
command to create a new version of the package. (It also create the tag.)
$ yarn version
Foehn is available on the npmjs registry.
The following command will build the code and publish the latest version on the registry you have set in your NPM config.
$ npm publish --tag latest
If you need to publish a specific version, use $ yarn publish --tag <tag>
to
build the code and publish a specific
tag.