Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Setting defined custom preset #16647

Open
saloiofun opened this issue Oct 27, 2024 · 0 comments
Open

Docs: Setting defined custom preset #16647

saloiofun opened this issue Oct 27, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@saloiofun
Copy link

Describe the bug

The custom preset should be passed to preset

- this.config.theme.set(MyPreset);
+ this.config.theme.set({ preset: MyPreset });

Example:
https://stackblitz.com/edit/stackblitz-starters-nmlpfw?file=src%2Fmain.ts,package.json

Environment

PrimeNG v18 Online docs
https://v18.primeng.org/theming#definepreset

Reproducer

No response

Angular version

18.0.0

PrimeNG version

18.0.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.0.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@saloiofun saloiofun added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant