Pinkie is a shadcn/ui theme built around a vivid deep indigo primary color (#1d046c) with vivid deep violet accents (#50046c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep indigo primary (#1d046c) on an indigo-tinted background (#06040b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #06040bblack |
| Foreground | #020104black | #f6f6f9whitesmoke |
| Card | #fcfcfcsnow | #08050fblack |
| Card foreground | #000000black | #f9f9fbghostwhite |
| Popover | #ffffffwhite | #06040bblack |
| Popover foreground | #020104black | #f6f6f9whitesmoke |
| Primary | #1d046cmidnightblue | #1d046cmidnightblue |
| Primary foreground | #bba7fblightsteelblue | #bba7fblightsteelblue |
| Secondary | #04206cmidnightblue | #04206cmidnightblue |
| Secondary foreground | #a7bdfblightsteelblue | #a7bdfblightsteelblue |
| Muted | #edeef2whitesmoke | #0d0e12black |
| Muted foreground | #404554darkslategray | #abb0bfdarkgray |
| Accent | #50046cindigo | #50046cindigo |
| Accent foreground | #e5a7fbplum | #e5a7fbplum |
| Destructive | #67130amaroon | #ec4936tomato |
| Destructive foreground | #f7b3ablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1d046cmidnightblue | #1d046cmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.81:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 8.27:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 7.18:1 | AAA |
| Text on background | 18.90:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 8.90:1 | AAA |
| Accent | 7.13:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Pinkie in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.079 0.016 296.568);
--muted: oklch(0.951 0.005 270.075);
--muted-foreground: oklch(0.392 0.027 269.431);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.079 0.016 296.568);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.262 0.154 278.041);
--primary-foreground: oklch(0.776 0.12 294.146);
--secondary: oklch(0.287 0.135 263.759);
--secondary-foreground: oklch(0.805 0.092 268.853);
--accent: oklch(0.328 0.158 313.513);
--accent-foreground: oklch(0.815 0.133 316.786);
--destructive: oklch(0.336 0.118 30.425);
--destructive-foreground: oklch(0.828 0.081 26.091);
--ring: oklch(0.262 0.154 278.041);
--chart-1: oklch(0.262 0.154 278.041);
--chart-2: oklch(0.287 0.135 263.759);
--chart-3: oklch(0.328 0.158 313.513);
--chart-4: oklch(0.312 0.149 263.794);
--chart-5: oklch(0.261 0.158 277.247);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.021 296.549);
--foreground: oklch(0.974 0.004 296.999);
--muted: oklch(0.164 0.008 269.633);
--muted-foreground: oklch(0.758 0.023 269.853);
--popover: oklch(0.116 0.021 296.549);
--popover-foreground: oklch(0.974 0.004 296.999);
--card: oklch(0.128 0.024 295.655);
--card-foreground: oklch(0.983 0.003 297.027);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.262 0.154 278.041);
--primary-foreground: oklch(0.776 0.12 294.146);
--secondary: oklch(0.287 0.135 263.759);
--secondary-foreground: oklch(0.805 0.092 268.853);
--accent: oklch(0.328 0.158 313.513);
--accent-foreground: oklch(0.815 0.133 316.786);
--destructive: oklch(0.635 0.203 29.988);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.262 0.154 278.041);
--chart-1: oklch(0.262 0.154 278.041);
--chart-2: oklch(0.287 0.135 263.759);
--chart-3: oklch(0.328 0.158 313.513);
--chart-4: oklch(0.312 0.149 263.794);
--chart-5: oklch(0.261 0.158 277.247);
}