@swisspost/design-system-styles-primeng
v10.0.1
Published
The Swiss Post styles for PrimeNG datatable
Readme
Swiss Post Styles PrimeNG
Swiss Post theme for the PrimeNG Datatable component.
Documentation
- Technical docs: Swiss Post Design System
Installation
Install the Theme PrimeNG package
npm install @swisspost/design-system-styles-primengUsage
To use the theme, simply import it from the package and add it in the app.config.ts file of your project.
import { providePrimeNG } from 'primeng/config';
import SwissPostPreset from '@swisspost/design-system-styles-primeng';
export const appConfig: ApplicationConfig = {
providers: [
providePrimeNG({
theme: {
preset: SwissPostPreset
}
})
]
};