You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given is this color palette and I want to achieve this kind of dashboard. I'm using Next.js 15, Tailwind CSS version 4 and shadcn.
How do I know which shadcn CSS variable gets which color of the color palette, like gray-50, gray-700, etc in this case?
So my problem is essentially, which CSS variable maps to which color?
I know all the --primary and other CSS variables exist, but it’s kinda hard to wrap my head around where, for example, --accent (and the others) actually get used, you know?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Given is this color palette and I want to achieve this kind of dashboard. I'm using Next.js 15, Tailwind CSS version 4 and shadcn.
How do I know which shadcn CSS variable gets which color of the color palette, like gray-50, gray-700, etc in this case?
So my problem is essentially, which CSS variable maps to which color?
I know all the --primary and other CSS variables exist, but it’s kinda hard to wrap my head around where, for example, --accent (and the others) actually get used, you know?
Would appreciate any guidance.
Beta Was this translation helpful? Give feedback.
All reactions