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

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

Docs: Setting defined custom preset #16647

saloiofun opened this issue Oct 27, 2024 · 0 comments
Assignees
Labels
Component: Documentation Issue or pull request is related to Documentation
Milestone

Comments

@saloiofun
Copy link
Contributor

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
@mertsincan mertsincan added this to the 18.0.0-rc.2 milestone Nov 18, 2024
@mertsincan mertsincan added Component: Documentation Issue or pull request is related to Documentation and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 18, 2024
@mertsincan mertsincan linked a pull request Nov 18, 2024 that will close this issue
@mertsincan mertsincan removed this from PrimeNG Nov 20, 2024
@mehmetcetin01140 mehmetcetin01140 closed this as completed by moving to Done in PrimeNG Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Issue or pull request is related to Documentation
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants