5.0.0-alpha.6 • Published 2 years ago
@swisspost/web-styles v5.0.0-alpha.6
Web Styles
Common styles for the Swiss Post web platform.
Usage
The scss
files in our styling package make use of the latest features of Sass. If you are planning to compile the .scss files in your project, be sure to use an up to date version of the latest Sass implementation (dart-sass, npm i sass@latest
). LibSass or Ruby Sass are not supported. If you can not meet this prerequisite, you can still use the precompiled CSS files included in the styling package.
Install the styling package
npm install @swisspost/web-styles
Import the stylesheet into your project, e.g. src/styles.scss
.
@use "node_modules/@swisspost/web-styles/<bundle-name>.scss
Available bundles:
- post.scss (internet facing applications)
- post-intranet.scss (internal applications)
- post-basics.scss (atomic styles for font, buttons, lists etc.)
- _cwf.scss (variables, mixins, functions and placeholders only)
Contributing
Learn how you can contribute to this project in the contribution guidelines.
5.0.0-alpha.6
2 years ago
5.0.0-alpha.5
2 years ago
5.0.0-alpha.4
2 years ago
5.0.0-alpha.3
2 years ago
5.0.0-alpha.2
2 years ago