Swiss Post styles for PrimeNG datatable.
The PrimeNG styles are documented in the Design System storybook.
Styles for PrimeNG Documentation
To install the package in a project run:
npm install primeng @swisspost/design-system-styles-primeng
The PrimeNG theme and core styles are the necessary, as well as the Swiss Post styles.
All three should be imported in the main style file of your Angular project, usually src/styles.scss
.
Be sure to assign a layer to the Design System styles to avoid interference.
@use "@swisspost/design-system-styles-primeng/primeng-theme";
@use "primeng/resources/primeng.css";
@layer design-system-styles, primeng;
// refer to the @swisspost/design-system-styles installation guidelines to know which bundle-name and extension to choose for your project
@import '@swisspost/design-system-styles/<bundle-name>.<extension>' layer(design-system-styles);
Considering supporting the Swiss Post Design System with your contribution? Whether you like to contribute new patterns, fix a bug, spotted a typo or have ideas for improvement - we'd love to hear from you. Learn how you can contribute to this project in the header contribution guidelines and also take a look at the general contribution guidelines.
For any questions regarding the pattern library, you can reach out on the discussions page.
In order to keep our community open and inclusive, we expect you to read and follow our Code of Conduct.
Software contained in this repository is published by the Swiss Post Ltd. under the Apache 2.0 License.
© 2024 Swiss Post, Ltd.