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

Component-level design tokens do not honor css function #17440

Open
3 of 4 tasks
dapperdandev opened this issue Jan 20, 2025 · 0 comments
Open
3 of 4 tasks

Component-level design tokens do not honor css function #17440

dapperdandev opened this issue Jan 20, 2025 · 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

@dapperdandev
Copy link

Describe the bug

I have a custom implementation of the paginator component. It honors the provided designToken, except for the provided css function. I prefer to keep related css overrides with the component rather than in theapp.config via definePreset.

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/github-phq61er7-uf4zmnd7?file=src%2Fapp%2Fapp.component.ts

Environment

Angular 19.0.6
primeng & themes: 19.0.5
node: 22.13.0
OS: Windows 11

Angular version

19.0.5

PrimeNG version

v19

Node version

22.13.0

Browser(s)

Chrome, Edge

Steps to reproduce the behavior

  1. Run the stackblitz
  2. Observe that none of the buttons have borders

Expected behavior

The buttons should have borders as defined in css ({dt}) => {}

@dapperdandev dapperdandev added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 20, 2025
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