Stone colour values for globals.css when using Tailwind 3.x #7435
-
Hello. I am using Tailwind 3.x and shadcn/ui with CSS Variables. Q1. Am I correct that if I'm using Tailwind 3.x it is best to use HCL colours? Q2. If yes, I am looking for this exact Stone defined in :root {
--radius: 0.625rem;
--background: oklch(1 0 0);
--foreground: oklch(0.147 0.004 49.25);
--card: oklch(1 0 0);
--card-foreground: oklch(0.147 0.004 49.25);
/* Another 29 properties defined ... */
}
.dark {
--background: oklch(0.147 0.004 49.25);
--foreground: oklch(0.985 0.001 106.423);
--card: oklch(0.216 0.006 56.043);
--card-foreground: oklch(0.985 0.001 106.423);
/* Another 29 properties defined ... */
} |
Beta Was this translation helpful? Give feedback.
Answered by
michellepace
May 22, 2025
Replies: 1 comment
-
Hello, not to worry I found it: https://ui.shadcn.com/registry/colors/stone.json |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
michellepace
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, not to worry I found it: https://ui.shadcn.com/registry/colors/stone.json