Panel is a shadcn/ui theme built around a blue primary color (#919cee) with muted light blue accents (#e4e5ec). The light mode uses a neutral background (#f6f7fd). Dark mode keeps the blue primary (#919cee) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #f6f7fdghostwhite | #010204black |
| Foreground | #000000black | #fcfcfdwhite |
| Card | #f2f3fdaliceblue | #030307black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f2f3fdaliceblue | #030307black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #919ceecornflowerblue | #919ceecornflowerblue |
| Primary foreground | #0a1142midnightblue | #0a1142midnightblue |
| Secondary | #e4e5eclavender | #1d1e2bblack |
| Secondary foreground | #41445ddarkslategray | #afb3casilver |
| Muted | #ececeewhitesmoke | #111113black |
| Muted foreground | #3c3e48darkslategray | #b7b8c3silver |
| Accent | #e4e5eclavender | #1d1e2bblack |
| Accent foreground | #41445ddarkslategray | #afb3casilver |
| Destructive | #670909maroon | #ed3535crimson |
| Destructive foreground | #f8abablightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #919ceecornflowerblue | #919ceecornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.03:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 9.04:1 | AAA |
| Accent | 7.55:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 20.26:1 | AAA |
| Text on card | 20.56:1 | AAA |
| Primary button | 6.96:1 | AA |
| Secondary button | 7.94:1 | AAA |
| Muted text | 9.56:1 | AAA |
| Accent | 7.94:1 | AAA |
| Destructive | 4.05:1 | AA Large |
Paste this into your globals.css to use Panel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.008 280.195);
--foreground: oklch(0 0 0);
--muted: oklch(0.945 0.002 280.295);
--muted-foreground: oklch(0.366 0.018 279.507);
--popover: oklch(0.967 0.013 280.123);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.967 0.013 280.123);
--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.716 0.12 277.169);
--primary-foreground: oklch(0.212 0.092 270.24);
--secondary: oklch(0.923 0.01 280.162);
--secondary-foreground: oklch(0.395 0.043 278.412);
--accent: oklch(0.923 0.01 280.162);
--accent-foreground: oklch(0.395 0.043 278.412);
--destructive: oklch(0.33 0.126 27.769);
--destructive-foreground: oklch(0.814 0.091 19.228);
--ring: oklch(0.716 0.12 277.169);
--chart-1: oklch(0.716 0.12 277.169);
--chart-2: oklch(0.923 0.01 280.162);
--chart-3: oklch(0.923 0.01 280.162);
--chart-4: oklch(0.949 0.007 280.222);
--chart-5: oklch(0.713 0.125 276.997);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.081 0.012 275.535);
--foreground: oklch(0.992 0.001 280.316);
--muted: oklch(0.179 0.003 280.043);
--muted-foreground: oklch(0.785 0.015 280.028);
--popover: oklch(0.102 0.015 275.535);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.102 0.015 275.535);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.716 0.12 277.169);
--primary-foreground: oklch(0.212 0.092 270.24);
--secondary: oklch(0.24 0.024 278.554);
--secondary-foreground: oklch(0.77 0.033 279.616);
--accent: oklch(0.24 0.024 278.554);
--accent-foreground: oklch(0.77 0.033 279.616);
--destructive: oklch(0.62 0.22 26.479);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.716 0.12 277.169);
--chart-1: oklch(0.716 0.12 277.169);
--chart-2: oklch(0.24 0.024 278.554);
--chart-3: oklch(0.24 0.024 278.554);
--chart-4: oklch(0.268 0.029 278.439);
--chart-5: oklch(0.713 0.125 276.997);
}