Teller is a shadcn/ui theme built around a blue primary color (#4c79c2) with indigo accents (#5a4cc2). The light mode uses a neutral background (#f7f9fd). Dark mode keeps the blue primary (#4c79c2) on a blue-tinted background (#07090d).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f9fdghostwhite | #07090dblack |
| Foreground | #02060dblack | #fcfcfdwhite |
| Card | #f7f9fdghostwhite | #07090dblack |
| Card foreground | #02060dblack | #fcfcfdwhite |
| Popover | #f7f9fdghostwhite | #07090dblack |
| Popover foreground | #02060dblack | #fcfcfdwhite |
| Primary | #4c79c2steelblue | #4c79c2steelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #4cb4c2mediumturquoise | #4cb4c2mediumturquoise |
| Secondary foreground | #000000black | #000000black |
| Muted | #cee5e9gainsboro | #162e31darkslategray |
| Muted foreground | #4d4d4ddarkslategray | #b3b3b3darkgray |
| Accent | #5a4cc2slateblue | #5a4cc2slateblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #83310bsaddlebrown | #ef7a43coral |
| Destructive foreground | #fad7c7bisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4c79c2steelblue | #4c79c2steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.28:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 8.63:1 | AAA |
| Muted text | 6.46:1 | AA |
| Accent | 6.44:1 | AA |
| Destructive | 6.44:1 | AA |
| Text on background | 19.39:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 4.33:1 | AA Large |
| Secondary button | 8.63:1 | AAA |
| Muted text | 6.82:1 | AA |
| Accent | 6.44:1 | AA |
| Destructive | 7.50:1 | AAA |
Paste this into your globals.css to use Teller in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.005 259.94);
--foreground: oklch(0.122 0.019 250.47);
--muted: oklch(0.907 0.025 206.304);
--muted-foreground: oklch(0.418 0 173.29);
--popover: oklch(0.982 0.005 259.94);
--popover-foreground: oklch(0.122 0.019 250.47);
--card: oklch(0.982 0.005 259.94);
--card-foreground: oklch(0.122 0.019 250.47);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.579 0.123 259.505);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.715 0.097 207.16);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.499 0.176 283.237);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.427 0.122 41.341);
--destructive-foreground: oklch(0.904 0.045 46.36);
--ring: oklch(0.579 0.123 259.505);
--chart-1: oklch(0.579 0.123 259.505);
--chart-2: oklch(0.715 0.097 207.16);
--chart-3: oklch(0.499 0.176 283.237);
--chart-4: oklch(0.732 0.093 206.915);
--chart-5: oklch(0.578 0.13 259.492);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.01 257.257);
--foreground: oklch(0.992 0.001 259.934);
--muted: oklch(0.283 0.03 206.534);
--muted-foreground: oklch(0.765 0 172.405);
--popover: oklch(0.141 0.01 257.257);
--popover-foreground: oklch(0.992 0.001 259.934);
--card: oklch(0.141 0.01 257.257);
--card-foreground: oklch(0.992 0.001 259.934);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.579 0.123 259.505);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.715 0.097 207.16);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.499 0.176 283.237);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.703 0.16 43.959);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.579 0.123 259.505);
--chart-1: oklch(0.579 0.123 259.505);
--chart-2: oklch(0.715 0.097 207.16);
--chart-3: oklch(0.499 0.176 283.237);
--chart-4: oklch(0.732 0.093 206.915);
--chart-5: oklch(0.578 0.13 259.492);
}