Octopus is a shadcn/ui theme built around a muted deep orange primary color (#1c1512) with muted deep violet accents (#15121c). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the muted deep orange primary (#1c1512) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #000000black |
| Foreground | #150a04black | #faf6f5whitesmoke |
| Card | #fcf5f2seashell | #030303black |
| Card foreground | #110804black | #fcf9f8snow |
| Popover | #fdf9f7snow | #000000black |
| Popover foreground | #150a04black | #faf6f5whitesmoke |
| Primary | #1c1512black | #1c1512black |
| Primary foreground | #c2a99etan | #c2a99etan |
| Secondary | #121c15black | #121c15black |
| Secondary foreground | #9ec2a9darkgray | #9ec2a9darkgray |
| Muted | #d9e7degainsboro | #18261cblack |
| Muted foreground | #565d58dimgray | #a2a9a4darkgray |
| Accent | #15121cblack | #15121cblack |
| Accent foreground | #a99ec2darkgray | #a99ec2darkgray |
| Destructive | #d14415chocolate | #d14415chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1c1512black | #1c1512black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.59:1 | AAA |
| Text on card | 18.44:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.92:1 | AAA |
| Muted text | 5.31:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 4.62:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 8.11:1 | AAA |
| Secondary button | 8.92:1 | AAA |
| Muted text | 6.59:1 | AA |
| Accent | 7.37:1 | AAA |
| Destructive | 4.62:1 | AA |
Paste this into your globals.css to use Octopus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.006 46.791);
--foreground: oklch(0.158 0.024 50.43);
--muted: oklch(0.916 0.02 156.129);
--muted-foreground: oklch(0.47 0.012 156.055);
--popover: oklch(0.984 0.006 46.791);
--popover-foreground: oklch(0.158 0.024 50.43);
--card: oklch(0.976 0.009 46.758);
--card-foreground: oklch(0.145 0.021 53.382);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.204 0.014 46.22);
--primary-foreground: oklch(0.754 0.033 46.41);
--secondary: oklch(0.214 0.021 154.467);
--secondary-foreground: oklch(0.781 0.052 155.158);
--accent: oklch(0.19 0.022 298.852);
--accent-foreground: oklch(0.721 0.054 299.534);
--destructive: oklch(0.582 0.185 36.71);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.204 0.014 46.22);
--chart-1: oklch(0.204 0.014 46.22);
--chart-2: oklch(0.214 0.021 154.467);
--chart-3: oklch(0.19 0.022 298.852);
--chart-4: oklch(0.251 0.027 154.248);
--chart-5: oklch(0.204 0.015 46.147);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.977 0.005 46.802);
--muted: oklch(0.251 0.027 154.248);
--muted-foreground: oklch(0.729 0.011 156.27);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.977 0.005 46.802);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.003 46.821);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.204 0.014 46.22);
--primary-foreground: oklch(0.754 0.033 46.41);
--secondary: oklch(0.214 0.021 154.467);
--secondary-foreground: oklch(0.781 0.052 155.158);
--accent: oklch(0.19 0.022 298.852);
--accent-foreground: oklch(0.721 0.054 299.534);
--destructive: oklch(0.582 0.185 36.71);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.204 0.014 46.22);
--chart-1: oklch(0.204 0.014 46.22);
--chart-2: oklch(0.214 0.021 154.467);
--chart-3: oklch(0.19 0.022 298.852);
--chart-4: oklch(0.251 0.027 154.248);
--chart-5: oklch(0.204 0.015 46.147);
}