How to use design tokens with popover? #3373
Unanswered
Shusty-6th
asked this question in
PrimeNG
Replies: 2 comments
-
I tried:
I used a background of #666, and something changed. I haven't used popover before. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wanted to change the background color, but using design tokens as recommended in the documentation. You simply overwrote the styles. Of course, this will work just like overwriting the primeNg classes, which is what I've been doing so far, but since the recommended design tokens appeared in the new version, I wanted to use them, but as you can see, they don't work for popover (I managed to use dt in other components) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I need to change the background color for some popovers in my app (not globally). I'm trying to use dt, but with no success.
I tried:
and more but it doesn't work.
Stackblitz example:
https://stackblitz.com/edit/fzadxcxp-ijajkyob?file=src%2Fapp%2Fpopover-basic-demo.html
Beta Was this translation helpful? Give feedback.
All reactions