BecauseDocumentation 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.
@nettalco/nettalco-theme is published to GitHub Packages rather than the public npm registry, installation requires a brief authentication step before the familiar npm install command. This guide walks you through every step — from creating your .npmrc to importing the CSS needed to make PrimeNG components render correctly.
Requirements
Before you begin, make sure your project meets these prerequisites:| Requirement | Minimum Version |
|---|---|
| Node.js | 18+ |
| Angular | 21+ |
| PrimeNG | 21+ |
@primeuix/themes | 2.0+ |
| GitHub Personal Access Token | with read:packages scope |
Don’t have a GitHub Personal Access Token yet? Head to GitHub → Settings → Developer Settings → Personal access tokens and create a fine-grained or classic token with at least the
read:packages scope. See Authentication for full details.Installation Steps
Create a
.npmrc file in the root of your consuming project (not inside node_modules or any library folder). This file tells npm to route all @nettalco-scoped packages through the GitHub Packages registry.# Route @nettalco packages to GitHub Packages
@nettalco:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Never hard-code your token in
.npmrc. Use the ${GITHUB_TOKEN} environment variable reference as shown above. If you commit a raw token, rotate it immediately on GitHub. Add .npmrc to .gitignore if your project-level file ever contains a literal token value.# macOS / Linux
export GITHUB_TOKEN=ghp_YourTokenHere
# Windows PowerShell
$env:GITHUB_TOKEN = "ghp_YourTokenHere"
# Windows Command Prompt
set GITHUB_TOKEN=ghp_YourTokenHere
@primeuix/themes is the package that provides the definePreset API and the Aura base that Nettalco Theme extends. It must be present at runtime.PrimeNG requires its base CSS and PrimeIcons to be loaded globally. Add these imports to your project’s entry point:
Verifying the Installation
After completing the steps above, check that the package appears in yournode_modules:
What’s Next
With the package installed, configureprovidePrimeNG to activate the preset:
Quickstart
Configure the theme provider and have styled components running in minutes.
Authentication Details
Learn more about GitHub Packages auth, CI/CD integration, and token scopes.