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

Darkmode: Missmatch between Code and Docs #17060

Closed
MrTob opened this issue Dec 16, 2024 · 0 comments · Fixed by #17064
Closed

Darkmode: Missmatch between Code and Docs #17060

MrTob opened this issue Dec 16, 2024 · 0 comments · Fixed by #17064
Assignees
Labels
Component: Documentation Issue or pull request is related to Documentation
Milestone

Comments

@MrTob
Copy link
Contributor

MrTob commented Dec 16, 2024

Describe the bug

The documentation describes that the dark mode can be set with the ‘darkModeSelector’ property. In the code, however, the ‘ThemeType’ type only has two valid properties: ‘preset’ and ‘options’ and not ‘darkModeSelector’ as in the documentation.
Docs
export type ThemeType = { preset?: any; options?: any; } | 'none' | boolean | undefined;

Environment

Win11 with VS Code

Reproducer

No response

Angular version

18.2.13

PrimeNG version

18.0.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.12.1

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@MrTob MrTob added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 16, 2024
@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 16, 2024
@mertsincan mertsincan added this to the 18.0.1 milestone Dec 16, 2024
@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 16, 2024
mehmetcetin01140 added a commit that referenced this issue Dec 16, 2024
Fixed #17060 | Darkmode: Missmatch between Code and Docs
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeNG Dec 16, 2024
@mehmetcetin01140 mehmetcetin01140 added Component: Documentation Issue or pull request is related to Documentation and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Dec 16, 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