Focused is a shadcn/ui theme built around a vivid light orange primary color (#fde2c4) with vivid light violet accents (#e2c4fd). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the vivid light orange primary (#fde2c4) on an orange-tinted background (#0b0804).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #0b0804black |
| Foreground | #050301black | #ffffffwhite |
| Card | #fcfaf8snow | #0f0a06black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfaf8snow | #0f0a06black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #fde2c4bisque | #fde2c4bisque |
| Primary foreground | #271601black | #271601black |
| Secondary | #c4fde2paleturquoise | #c4fde2paleturquoise |
| Secondary foreground | #012716black | #012716black |
| Muted | #e4e7e6gainsboro | #181b1ablack |
| Muted foreground | #434645darkslategray | #b9bcbasilver |
| Accent | #e2c4fdlavender | #e2c4fdlavender |
| Accent foreground | #4c058aindigo | #4c058aindigo |
| Destructive | #630303maroon | #f81616red |
| Destructive foreground | #fc9c9clightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fde2c4bisque | #fde2c4bisque |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 14.04:1 | AAA |
| Secondary button | 14.18:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 6.71:1 | AA |
| Text on background | 19.99:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 14.04:1 | AAA |
| Secondary button | 14.18:1 | AAA |
| Muted text | 9.04:1 | AAA |
| Accent | 7.98:1 | AAA |
| Destructive | 4.10:1 | AA Large |
Paste this into your globals.css to use Focused in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 71.436);
--foreground: oklch(0.097 0.015 82.331);
--muted: oklch(0.926 0.004 166.777);
--muted-foreground: oklch(0.392 0.004 166.612);
--popover: oklch(0.986 0.003 71.42);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.003 71.42);
--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.928 0.05 70.878);
--primary-foreground: oklch(0.218 0.045 68.769);
--secondary: oklch(0.948 0.068 164.786);
--secondary-foreground: oklch(0.242 0.055 158.36);
--accent: oklch(0.864 0.084 308.823);
--accent-foreground: oklch(0.351 0.184 299.15);
--destructive: oklch(0.316 0.126 28.647);
--destructive-foreground: oklch(0.791 0.115 19.956);
--ring: oklch(0.928 0.05 70.878);
--chart-1: oklch(0.928 0.05 70.878);
--chart-2: oklch(0.948 0.068 164.786);
--chart-3: oklch(0.864 0.084 308.823);
--chart-4: oklch(0.96 0.051 165.366);
--chart-5: oklch(0.928 0.051 70.855);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.012 77.272);
--foreground: oklch(1 0 180);
--muted: oklch(0.219 0.006 166.105);
--muted-foreground: oklch(0.791 0.004 166.785);
--popover: oklch(0.151 0.013 74.071);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.013 74.071);
--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.928 0.05 70.878);
--primary-foreground: oklch(0.218 0.045 68.769);
--secondary: oklch(0.948 0.068 164.786);
--secondary-foreground: oklch(0.242 0.055 158.36);
--accent: oklch(0.864 0.084 308.823);
--accent-foreground: oklch(0.351 0.184 299.15);
--destructive: oklch(0.62 0.246 28.543);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.05 70.878);
--chart-1: oklch(0.928 0.05 70.878);
--chart-2: oklch(0.948 0.068 164.786);
--chart-3: oklch(0.864 0.084 308.823);
--chart-4: oklch(0.96 0.051 165.366);
--chart-5: oklch(0.928 0.051 70.855);
}