panos is a shadcn/ui theme built around a blue primary color (#2c65a5) with neutral gray accents (#e2e3e4). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#2c65a5) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030507black |
| Foreground | #030a11black | #f9fafbghostwhite |
| Card | #fcfcfcsnow | #05070ablack |
| Card foreground | #02070dblack | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #05070ablack |
| Popover foreground | #02070dblack | #fcfcfdwhite |
| Primary | #2c65a5steelblue | #2c65a5steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e2e3e4gainsboro | #161717black |
| Secondary foreground | #464a4edarkslategray | #aeb0b2darkgray |
| Muted | #e1e8eflavender | #10161eblack |
| Muted foreground | #525b66dimgray | #99a3addarkgray |
| Accent | #e2e3e4gainsboro | #161717black |
| Accent foreground | #464a4edarkslategray | #aeb0b2darkgray |
| Destructive | #b02f07firebrick | #f5450forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eef0f1whitesmoke | #17191cblack |
| Input | #eef0f1whitesmoke | #17191cblack |
| Ring | #2c65a5steelblue | #2c65a5steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 6.01:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 5.55:1 | AA |
| Accent | 6.94:1 | AA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.62:1 | AAA |
| Primary button | 6.01:1 | AA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 7.07:1 | AAA |
| Accent | 8.25:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use panos in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.139 0.022 245.556);
--muted: oklch(0.927 0.013 251.562);
--muted-foreground: oklch(0.467 0.021 251.783);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.126 0.018 242.256);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.126 0.018 242.256);
--border: oklch(0.953 0.002 251.471);
--input: oklch(0.953 0.002 251.471);
--primary: oklch(0.5 0.119 253.794);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.915 0.002 251.473);
--secondary-foreground: oklch(0.406 0.008 251.605);
--accent: oklch(0.915 0.002 251.473);
--accent-foreground: oklch(0.406 0.008 251.605);
--destructive: oklch(0.503 0.172 35.044);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.5 0.119 253.794);
--chart-1: oklch(0.5 0.119 253.794);
--chart-2: oklch(0.915 0.002 251.473);
--chart-3: oklch(0.915 0.002 251.473);
--chart-4: oklch(0.938 0.002 251.466);
--chart-5: oklch(0.501 0.125 254.013);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.008 246.618);
--foreground: oklch(0.984 0.002 251.467);
--muted: oklch(0.199 0.019 252.118);
--muted-foreground: oklch(0.71 0.019 251.656);
--popover: oklch(0.129 0.009 246.618);
--popover-foreground: oklch(0.992 0.001 251.458);
--card: oklch(0.129 0.009 246.618);
--card-foreground: oklch(0.992 0.001 251.458);
--border: oklch(0.214 0.006 251.66);
--input: oklch(0.214 0.006 251.66);
--primary: oklch(0.5 0.119 253.794);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.204 0.001 251.498);
--secondary-foreground: oklch(0.756 0.003 251.482);
--accent: oklch(0.204 0.001 251.498);
--accent-foreground: oklch(0.756 0.003 251.482);
--destructive: oklch(0.643 0.22 35.022);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.5 0.119 253.794);
--chart-1: oklch(0.5 0.119 253.794);
--chart-2: oklch(0.204 0.001 251.498);
--chart-3: oklch(0.204 0.001 251.498);
--chart-4: oklch(0.237 0.002 251.502);
--chart-5: oklch(0.501 0.125 254.013);
}