Nettalco Theme is designed to slot into any Angular 21+ project with minimal configuration. Once the package is installed, a singleDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt
Use this file to discover all available pages before exploring further.
providePrimeNG call in your app.config.ts activates the entire preset — all 75+ PrimeNG components will immediately reflect Nettalco’s brand colors, typography spacing, and component token overrides, with no additional CSS to write.
If you haven’t installed the package yet, follow the Installation guide to configure your
.npmrc and run:MyPreset is the default export from @nettalco/nettalco-theme. It is a fully constructed PrimeNG preset object ready to be passed directly to providePrimeNG.Open (or create) your
app.config.ts and wire up providePrimeNG with MyPreset. The configuration below enables light-only mode, which is the recommended default for most Nettalco projects:import { ApplicationConfig } from '@angular/core';
import { providePrimeNG } from 'primeng/config';
import MyPreset from '@nettalco/nettalco-theme';
export const appConfig: ApplicationConfig = {
providers: [
providePrimeNG({
theme: {
preset: MyPreset,
options: {
darkModeSelector: false, // Light mode only
},
},
}),
],
};
darkModeSelector: false completely disables dark mode token generation, keeping bundle size slightly smaller. To enable dark mode, see Dark Mode.Add the PrimeNG base stylesheet and PrimeIcons to your project’s entry point or global stylesheet. This is required for PrimeNG components to render correctly:
That’s it — your components now carry full Nettalco branding automatically. Here’s a minimal Angular component to verify everything is working:
import { Component } from '@angular/core';
import { ButtonModule } from 'primeng/button';
import { CardModule } from 'primeng/card';
@Component({
selector: 'app-root',
standalone: true,
imports: [ButtonModule, CardModule],
template: `
<p-card header="Nettalco Theme">
<p>Your PrimeNG components are now styled with Nettalco branding.</p>
<ng-template pTemplate="footer">
<p-button label="Primary Action" />
<p-button label="Secondary" severity="secondary" [outlined]="true" />
<p-button label="Success" severity="success" />
<p-button label="Warning" severity="warn" />
</ng-template>
</p-card>
`,
})
export class AppComponent {}
Dark Mode
Complete app.config.ts Example (with Dark Mode)
app.config.ts (with dark mode)
Next Steps
Design Tokens
Understand the two-level token system and learn how to extend or override it.
Color Palette
Browse the full 50–950 swatches for all five Nettalco brand palettes.
Dark Mode
Enable dark mode and explore the custom dark-blue surface scale.
Versioning & Publishing
Publish a new version of the library to GitHub Packages.