Outlying is a shadcn/ui theme built around a muted orange primary color (#9b6955) with muted cyan accents (#55879b). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the muted orange primary (#9b6955) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #070403black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fdf9f7snow | #070403black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fdf9f7snow | #070403black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #9b6955sienna | #9b6955sienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #55879bcadetblue | #55879bcadetblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e6e9ealavender | #151819black |
| Muted foreground | #5b6062dimgray | #9da2a4darkgray |
| Accent | #55879bcadetblue | #55879bcadetblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #dd1d03red | #fb2509orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #9b6955sienna | #9b6955sienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 4.63:1 | AA |
| Secondary button | 3.94:1 | AA Large |
| Muted text | 5.22:1 | AA |
| Accent | 3.94:1 | AA Large |
| Destructive | 4.94:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 4.63:1 | AA |
| Secondary button | 3.94:1 | AA Large |
| Muted text | 6.92:1 | AA |
| Accent | 3.94:1 | AA Large |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Outlying in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.005 43.082);
--foreground: oklch(0 0 0);
--muted: oklch(0.932 0.004 223.173);
--muted-foreground: oklch(0.485 0.008 223.296);
--popover: oklch(0.984 0.005 43.082);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.984 0.005 43.082);
--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.568 0.071 42.395);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.595 0.061 225.067);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.595 0.061 225.067);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.572 0.223 30.673);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.568 0.071 42.395);
--chart-1: oklch(0.568 0.071 42.395);
--chart-2: oklch(0.595 0.061 225.067);
--chart-3: oklch(0.595 0.061 225.067);
--chart-4: oklch(0.623 0.065 225.085);
--chart-5: oklch(0.568 0.078 42.325);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.114 0.008 47.598);
--foreground: oklch(0.992 0.001 43.122);
--muted: oklch(0.206 0.006 223.443);
--muted-foreground: oklch(0.709 0.007 223.23);
--popover: oklch(0.114 0.008 47.598);
--popover-foreground: oklch(0.992 0.001 43.122);
--card: oklch(0.114 0.008 47.598);
--card-foreground: oklch(0.992 0.001 43.122);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.568 0.071 42.395);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.595 0.061 225.067);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.595 0.061 225.067);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.632 0.244 30.682);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.568 0.071 42.395);
--chart-1: oklch(0.568 0.071 42.395);
--chart-2: oklch(0.595 0.061 225.067);
--chart-3: oklch(0.595 0.061 225.067);
--chart-4: oklch(0.623 0.065 225.085);
--chart-5: oklch(0.568 0.078 42.325);
}