Outlandish is a shadcn/ui theme built around a muted light blue primary color (#e3e5ee) with muted light yellow accents (#eeebe3). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted light blue primary (#e3e5ee) on a blue-tinted background (#05080f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #05080fblack |
| Foreground | #020408black | #fcfcfdwhite |
| Card | #f8f9fcghostwhite | #070a13black |
| Card foreground | #010204black | #ffffffwhite |
| Popover | #f8f9fcghostwhite | #070a13black |
| Popover foreground | #010204black | #ffffffwhite |
| Primary | #e3e5eelavender | #e3e5eelavender |
| Primary foreground | #3c4662darkslategray | #3c4662darkslategray |
| Secondary | #eeebe3linen | #eeebe3linen |
| Secondary foreground | #231f15black | #231f15black |
| Muted | #f0efealinen | #15130fblack |
| Muted foreground | #4d4d4cdarkslategray | #b3b3b2darkgray |
| Accent | #eeebe3linen | #eeebe3linen |
| Accent foreground | #231f15black | #231f15black |
| Destructive | #732407maroon | #e6480forangered |
| Destructive foreground | #fac5b2lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3e5eelavender | #e3e5eelavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.68:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 13.74:1 | AAA |
| Muted text | 7.33:1 | AAA |
| Accent | 13.74:1 | AAA |
| Destructive | 6.89:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 7.45:1 | AAA |
| Secondary button | 13.74:1 | AAA |
| Muted text | 8.82:1 | AAA |
| Accent | 13.74:1 | AAA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Outlandish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 270.101);
--foreground: oklch(0.105 0.015 262.729);
--muted: oklch(0.951 0.007 90.173);
--muted-foreground: oklch(0.42 0.002 90.156);
--popover: oklch(0.982 0.005 270.082);
--popover-foreground: oklch(0.083 0.012 262.729);
--card: oklch(0.982 0.005 270.082);
--card-foreground: oklch(0.083 0.012 262.729);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.923 0.011 270.017);
--primary-foreground: oklch(0.398 0.049 268.723);
--secondary: oklch(0.939 0.011 90.209);
--secondary-foreground: oklch(0.241 0.019 90.425);
--accent: oklch(0.939 0.011 90.209);
--accent-foreground: oklch(0.241 0.019 90.425);
--destructive: oklch(0.379 0.117 37.918);
--destructive-foreground: oklch(0.867 0.066 40.915);
--ring: oklch(0.923 0.011 270.017);
--chart-1: oklch(0.923 0.011 270.017);
--chart-2: oklch(0.939 0.011 90.209);
--chart-3: oklch(0.939 0.011 90.209);
--chart-4: oklch(0.959 0.007 90.179);
--chart-5: oklch(0.923 0.013 270.003);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.017 265.357);
--foreground: oklch(0.992 0.001 270.114);
--muted: oklch(0.189 0.01 90.404);
--muted-foreground: oklch(0.766 0.002 90.137);
--popover: oklch(0.146 0.02 266.929);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.146 0.02 266.929);
--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.923 0.011 270.017);
--primary-foreground: oklch(0.398 0.049 268.723);
--secondary: oklch(0.939 0.011 90.209);
--secondary-foreground: oklch(0.241 0.019 90.425);
--accent: oklch(0.939 0.011 90.209);
--accent-foreground: oklch(0.241 0.019 90.425);
--destructive: oklch(0.622 0.203 36.812);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.923 0.011 270.017);
--chart-1: oklch(0.923 0.011 270.017);
--chart-2: oklch(0.939 0.011 90.209);
--chart-3: oklch(0.939 0.011 90.209);
--chart-4: oklch(0.959 0.007 90.179);
--chart-5: oklch(0.923 0.013 270.003);
}