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

fix: primefaces#16557 - V18 extend card theming support #16558

Closed

Conversation

EnricoMessall
Copy link
Contributor

fix: #16557

  • New padding tokens for more elements
  • Tokens for card content and footer
  • Realigned caption token to match with cardstyle.ts
  • Support font adjustments also for subtitle

 + Added new card theme tokens
 + Adjusted docs
Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2024 8:44am
primeng-v18 ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2024 8:44am

 + Fix PR-Checker NPM Version
@mertsincan mertsincan added the Status: Discussion Issue or pull request needs to be discussed by Core Team label Nov 18, 2024
@mertsincan mertsincan linked an issue Nov 18, 2024 that may be closed by this pull request
@cagataycivici
Copy link
Member

I'm afraid we can't add new tokens right now, the tokens are shared between all Prime UI libraries and the Figma UI Kit needs to be updated when a new token is added so it has its own process and timeline. We're currently focused on stability of the theming system not adding new tokens until v18 final. New tokens cannot be added v18.1.0.

For now you can extend it yourself with custom tokens, here is an example from Vue version, same applies to NG;

https://www.youtube.com/watch?v=galIbID_Ywo

However eventually, I think we should add the tokens you mentioned. We've bookmarked this PR when new card tokens arrive in v18.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Issue or pull request needs to be discussed by Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PrimeNG v18 - Extend Card Theming Support
3 participants