Outline is a shadcn/ui theme built around a cyan primary color (#81c5da) with blue accents (#8198da). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#81c5da) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #000000black | #f6f8f8whitesmoke |
| Card | #fcfcfcsnow | #030607black |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #000000black | #f6f8f8whitesmoke |
| Primary | #81c5daskyblue | #81c5daskyblue |
| Primary foreground | #091a20black | #091a20black |
| Secondary | #81dac2mediumaquamarine | #81dac2mediumaquamarine |
| Secondary foreground | #09201ablack | #09201ablack |
| Muted | #eaf5f2whitesmoke | #0a1512black |
| Muted foreground | #3b4a46darkslategray | #b5c4c0silver |
| Accent | #8198dacornflowerblue | #8198dacornflowerblue |
| Accent foreground | #090f20black | #090f20black |
| Destructive | #630c03maroon | #f92810orangered |
| Destructive foreground | #fca59clightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #81c5daskyblue | #81c5daskyblue |
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 | 9.28:1 | AAA |
| Secondary button | 10.35:1 | AAA |
| Muted text | 8.38:1 | AAA |
| Accent | 6.77:1 | AA |
| Destructive | 6.91:1 | AA |
| Text on background | 19.37:1 | AAA |
| Text on card | 19.44:1 | AAA |
| Primary button | 9.28:1 | AAA |
| Secondary button | 10.35:1 | AAA |
| Muted text | 10.30:1 | AAA |
| Accent | 6.77:1 | AA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Outline in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.962 0.013 178.403);
--muted-foreground: oklch(0.394 0.02 177.256);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--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.786 0.075 219.091);
--primary-foreground: oklch(0.207 0.025 219.941);
--secondary: oklch(0.826 0.094 174.845);
--secondary-foreground: oklch(0.221 0.031 173.485);
--accent: oklch(0.689 0.101 268.391);
--accent-foreground: oklch(0.173 0.036 267.479);
--destructive: oklch(0.323 0.121 31.175);
--destructive-foreground: oklch(0.806 0.105 26.564);
--ring: oklch(0.786 0.075 219.091);
--chart-1: oklch(0.786 0.075 219.091);
--chart-2: oklch(0.826 0.094 174.845);
--chart-3: oklch(0.689 0.101 268.391);
--chart-4: oklch(0.841 0.086 175.341);
--chart-5: oklch(0.789 0.079 219.21);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.094 0.006 214.929);
--foreground: oklch(0.978 0.002 217.754);
--muted: oklch(0.183 0.018 175.592);
--muted-foreground: oklch(0.808 0.017 178.172);
--popover: oklch(0.094 0.006 214.929);
--popover-foreground: oklch(0.978 0.002 217.754);
--card: oklch(0.118 0.007 214.929);
--card-foreground: oklch(0.985 0.001 217.75);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.786 0.075 219.091);
--primary-foreground: oklch(0.207 0.025 219.941);
--secondary: oklch(0.826 0.094 174.845);
--secondary-foreground: oklch(0.221 0.031 173.485);
--accent: oklch(0.689 0.101 268.391);
--accent-foreground: oklch(0.173 0.036 267.479);
--destructive: oklch(0.629 0.241 30.458);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.786 0.075 219.091);
--chart-1: oklch(0.786 0.075 219.091);
--chart-2: oklch(0.826 0.094 174.845);
--chart-3: oklch(0.689 0.101 268.391);
--chart-4: oklch(0.841 0.086 175.341);
--chart-5: oklch(0.789 0.079 219.21);
}