Pastel Queen is a shadcn/ui theme built around a vivid light orange primary color (#f9ca94) with near-white accents (#f4f4f5). The light mode uses an orange-tinted background (#fff7ed). Dark mode keeps the vivid light orange primary (#f9ca94) on an indigo-tinted background (#09090b).
| Token | Light | Dark |
|---|---|---|
| Background | #fff7edseashell | #09090bblack |
| Foreground | #292524darkslategray | #fafafasnow |
| Card | #ffffffwhite | #09090bblack |
| Card foreground | #292524darkslategray | #fafafasnow |
| Popover | #ffffffwhite | #09090bblack |
| Popover foreground | #292524darkslategray | #fafafasnow |
| Primary | #f9ca94khaki | #f9ca94khaki |
| Primary foreground | #292524darkslategray | #292524darkslategray |
| Secondary | #f3e4eelinen | #f3e4eelinen |
| Secondary foreground | #292524darkslategray | #292524darkslategray |
| Muted | #f4f4f5whitesmoke | #27272adarkslategray |
| Muted foreground | #71717adimgray | #a1a1aadarkgray |
| Accent | #f4f4f5whitesmoke | #27272adarkslategray |
| Accent foreground | #292524darkslategray | #fafafasnow |
| Destructive | #ef4444tomato | #ef4444tomato |
| Destructive foreground | #fafafasnow | #fafafasnow |
| Border | #e4e4e7gainsboro | #27272adarkslategray |
| Input | #e4e4e7gainsboro | #27272adarkslategray |
| Ring | #292524darkslategray | #d4d4d8lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 14.28:1 | AAA |
| Text on card | 15.16:1 | AAA |
| Primary button | 10.04:1 | AAA |
| Secondary button | 12.38:1 | AAA |
| Muted text | 4.39:1 | AA Large |
| Accent | 13.80:1 | AAA |
| Destructive | 3.60:1 | AA Large |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 10.04:1 | AAA |
| Secondary button | 12.38:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 14.26:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Pastel Queen in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.016 73.678);
--foreground: oklch(0.269 0.006 34.297);
--muted: oklch(0.968 0.001 286.375);
--muted-foreground: oklch(0.552 0.014 285.942);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.269 0.006 34.297);
--card: oklch(1 0 180);
--card-foreground: oklch(0.269 0.006 34.297);
--border: oklch(0.92 0.004 286.32);
--input: oklch(0.92 0.004 286.32);
--primary: oklch(0.868 0.088 70.149);
--primary-foreground: oklch(0.269 0.006 34.297);
--secondary: oklch(0.934 0.021 337.711);
--secondary-foreground: oklch(0.269 0.006 34.297);
--accent: oklch(0.968 0.001 286.375);
--accent-foreground: oklch(0.269 0.006 34.297);
--destructive: oklch(0.637 0.208 25.33);
--destructive-foreground: oklch(0.985 0 170.538);
--ring: oklch(0.269 0.006 34.297);
--chart-1: oklch(0.868 0.088 70.149);
--chart-2: oklch(0.934 0.021 337.711);
--chart-3: oklch(0.968 0.001 286.375);
--chart-4: oklch(0.96 0.013 337.529);
--chart-5: oklch(0.869 0.09 70.075);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.004 285.824);
--foreground: oklch(0.985 0 180);
--muted: oklch(0.274 0.005 286.033);
--muted-foreground: oklch(0.712 0.013 286.068);
--popover: oklch(0.141 0.004 285.824);
--popover-foreground: oklch(0.985 0 180);
--card: oklch(0.141 0.004 285.824);
--card-foreground: oklch(0.985 0 180);
--border: oklch(0.274 0.005 286.033);
--input: oklch(0.274 0.005 286.033);
--primary: oklch(0.868 0.088 70.149);
--primary-foreground: oklch(0.269 0.006 34.297);
--secondary: oklch(0.934 0.021 337.711);
--secondary-foreground: oklch(0.269 0.006 34.297);
--accent: oklch(0.274 0.005 286.033);
--accent-foreground: oklch(0.985 0 180);
--destructive: oklch(0.637 0.208 25.33);
--destructive-foreground: oklch(0.985 0 180);
--ring: oklch(0.871 0.005 286.285);
--chart-1: oklch(0.868 0.088 70.149);
--chart-2: oklch(0.934 0.021 337.711);
--chart-3: oklch(0.274 0.005 286.033);
--chart-4: oklch(0.96 0.013 337.529);
--chart-5: oklch(0.869 0.09 70.075);
}