Patio is a shadcn/ui theme built around a deep blue primary color (#141d29) with deep green accents (#1d2914). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the deep blue primary (#141d29) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #010204black |
| Foreground | #020912black | #ffffffwhite |
| Card | #f7f9fdghostwhite | #030507black |
| Card foreground | #02070eblack | #ffffffwhite |
| Popover | #f7f9fdghostwhite | #030507black |
| Popover foreground | #02070eblack | #ffffffwhite |
| Primary | #141d29black | #141d29black |
| Primary foreground | #9fb4d0lightsteelblue | #9fb4d0lightsteelblue |
| Secondary | #29141dblack | #29141dblack |
| Secondary foreground | #d09fb4silver | #d09fb4silver |
| Muted | #eee2e7mistyrose | #1d1116black |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #1d2914black | #1d2914black |
| Accent foreground | #b4d09fsilver | #b4d09fsilver |
| Destructive | #dd2f03orangered | #fb4518orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #141d29black | #141d29black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.49:1 | AAA |
| Text on card | 19.20:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 9.03:1 | AAA |
| Destructive | 4.68:1 | AA |
| Text on background | 20.71:1 | AAA |
| Text on card | 20.44:1 | AAA |
| Primary button | 8.01:1 | AAA |
| Secondary button | 7.66:1 | AAA |
| Muted text | 8.96:1 | AAA |
| Accent | 9.03:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Patio in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 256.664);
--foreground: oklch(0.136 0.026 248.809);
--muted: oklch(0.923 0.016 350.141);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.982 0.006 256.676);
--popover-foreground: oklch(0.123 0.022 245.933);
--card: oklch(0.982 0.006 256.676);
--card-foreground: oklch(0.123 0.022 245.933);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.228 0.027 256.859);
--primary-foreground: oklch(0.763 0.047 256.804);
--secondary: oklch(0.225 0.037 353.962);
--secondary-foreground: oklch(0.755 0.063 351.9);
--accent: oklch(0.263 0.04 133.192);
--accent-foreground: oklch(0.824 0.073 132.49);
--destructive: oklch(0.583 0.214 32.991);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.228 0.027 256.859);
--chart-1: oklch(0.228 0.027 256.859);
--chart-2: oklch(0.225 0.037 353.962);
--chart-3: oklch(0.263 0.04 133.192);
--chart-4: oklch(0.255 0.044 354.262);
--chart-5: oklch(0.227 0.029 256.87);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.008 250.044);
--foreground: oklch(1 0 180);
--muted: oklch(0.195 0.024 352.843);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.111 0.011 250.044);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.111 0.011 250.044);
--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.228 0.027 256.859);
--primary-foreground: oklch(0.763 0.047 256.804);
--secondary: oklch(0.225 0.037 353.962);
--secondary-foreground: oklch(0.755 0.063 351.9);
--accent: oklch(0.263 0.04 133.192);
--accent-foreground: oklch(0.824 0.073 132.49);
--destructive: oklch(0.655 0.224 34.034);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.228 0.027 256.859);
--chart-1: oklch(0.228 0.027 256.859);
--chart-2: oklch(0.225 0.037 353.962);
--chart-3: oklch(0.263 0.04 133.192);
--chart-4: oklch(0.255 0.044 354.262);
--chart-5: oklch(0.227 0.029 256.87);
}