No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.


  

@swisspost/design-system-styles

npm version

The styling package, including theming for Bootstrap and ng-bootstrap components.

npm install @swisspost/design-system-styles

Import one of our stylesheets into your project (for example into your /src/styles.scss file).

@use '@swisspost/design-system-styles/<bundle-name>.<extension>';
<bundle-name><extension>Description
indexcss, scsseverything for internet facing applications
intranetcss, scsseverything for internal applications
basicscss, scssatomic styles for font, buttons, lists, etc. (no component styles)

Use the SCSS core for your custom styles and make sure you're always using the most up to date definitions:

NOTE: The core file itself, does not produce any CSS output. It only contains variables, functions and mixins.

@use '@swisspost/design-system-styles/core.scss' as post; .my-component { background-color: post.$yellow; // #FFCC00 }