Arpi is a shadcn/ui theme built around a light blue primary color (#9ccbed) with neutral gray accents (#cccccc). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#9ccbed) on a blue-tinted background (#04080b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04080bblack |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #fcfcfcsnow | #050b0fblack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfcfcsnow | #050b0fblack |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #9ccbedskyblue | #9ccbedskyblue |
| Primary foreground | #0d3049darkslategray | #0d3049darkslategray |
| Secondary | #cccccclightgrey | #1b1f23black |
| Secondary foreground | #333333darkslategray | #aeb9c1silver |
| Muted | #ede3e3mistyrose | #12181cblack |
| Muted foreground | #4a3b3bdarkslategray | #b5bec4silver |
| Accent | #cccccclightgrey | #1b1f23black |
| Accent foreground | #333333darkslategray | #aeb9c1silver |
| Destructive | #c21300firebrick | #fa1900red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ededeewhitesmoke | #252627darkslategray |
| Input | #ededeewhitesmoke | #252627darkslategray |
| Ring | #9ccbedskyblue | #9ccbedskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.93:1 | AAA |
| Secondary button | 7.86:1 | AAA |
| Muted text | 8.42:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.70:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 7.93:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 9.49:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Arpi in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.923 0.012 17.365);
--muted-foreground: oklch(0.368 0.021 18.128);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.946 0.001 238.376);
--input: oklch(0.946 0.001 238.376);
--primary: oklch(0.821 0.069 239.739);
--primary-foreground: oklch(0.299 0.06 243.647);
--secondary: oklch(0.845 0 164.055);
--secondary-foreground: oklch(0.321 0 180);
--accent: oklch(0.845 0 164.055);
--accent-foreground: oklch(0.321 0 180);
--destructive: oklch(0.517 0.204 30.489);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.821 0.069 239.739);
--chart-1: oklch(0.821 0.069 239.739);
--chart-2: oklch(0.845 0 164.055);
--chart-3: oklch(0.845 0 164.055);
--chart-4: oklch(0.869 0 165.964);
--chart-5: oklch(0.821 0.072 239.811);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.012 232.515);
--foreground: oklch(0.992 0.001 238.376);
--muted: oklch(0.204 0.013 239.339);
--muted-foreground: oklch(0.796 0.013 238.592);
--popover: oklch(0.145 0.014 236.148);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.145 0.014 236.148);
--card-foreground: oklch(1 0 180);
--border: oklch(0.269 0.003 238.502);
--input: oklch(0.269 0.003 238.502);
--primary: oklch(0.821 0.069 239.739);
--primary-foreground: oklch(0.299 0.06 243.647);
--secondary: oklch(0.237 0.009 238.948);
--secondary-foreground: oklch(0.78 0.016 238.663);
--accent: oklch(0.237 0.009 238.948);
--accent-foreground: oklch(0.78 0.016 238.663);
--destructive: oklch(0.624 0.248 30.259);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.821 0.069 239.739);
--chart-1: oklch(0.821 0.069 239.739);
--chart-2: oklch(0.237 0.009 238.948);
--chart-3: oklch(0.237 0.009 238.948);
--chart-4: oklch(0.269 0.011 238.99);
--chart-5: oklch(0.821 0.072 239.811);
}