Circular is a shadcn/ui theme built around a muted light indigo primary color (#beb9cf) with muted light indigo accents (#cfcddb). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the muted light indigo primary (#beb9cf) on a neutral background (#020104).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #020104black |
| Foreground | #000000black | #faf9fasnow |
| Card | #fcfcfdwhite | #020104black |
| Card foreground | #000000black | #faf9fasnow |
| Popover | #fcfcfdwhite | #020104black |
| Popover foreground | #000000black | #faf9fasnow |
| Primary | #beb9cfsilver | #beb9cfsilver |
| Primary foreground | #262334darkslategray | #262334darkslategray |
| Secondary | #e4e3e8gainsboro | #2f2e33darkslategray |
| Secondary foreground | #494653darkslategray | #c8c6cdsilver |
| Muted | #dbdae2gainsboro | #1f1d25black |
| Muted foreground | #555459dimgray | #a7a6abdarkgray |
| Accent | #cfcddblightgrey | #423e51darkslategray |
| Accent foreground | #353144darkslategray | #dedce4gainsboro |
| Destructive | #832207maroon | #f34a1borangered |
| Destructive foreground | #fccdc0peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #beb9cfsilver | #beb9cfsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 7.22:1 | AAA |
| Muted text | 5.40:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.79:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Circular in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 295.534);
--foreground: oklch(0 0 0);
--muted: oklch(0.892 0.011 295.353);
--muted-foreground: oklch(0.449 0.008 295.231);
--popover: oklch(0.991 0.002 295.534);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.991 0.002 295.534);
--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.797 0.032 294.846);
--primary-foreground: oklch(0.268 0.031 293.397);
--secondary: oklch(0.919 0.006 295.468);
--secondary-foreground: oklch(0.403 0.021 294.63);
--accent: oklch(0.854 0.019 295.163);
--accent-foreground: oklch(0.326 0.033 293.647);
--destructive: oklch(0.406 0.136 34.879);
--destructive-foreground: oklch(0.885 0.056 35.963);
--ring: oklch(0.797 0.032 294.846);
--chart-1: oklch(0.797 0.032 294.846);
--chart-2: oklch(0.919 0.006 295.468);
--chart-3: oklch(0.854 0.019 295.163);
--chart-4: oklch(0.944 0.004 295.503);
--chart-5: oklch(0.793 0.037 294.723);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.081 0.013 294.856);
--foreground: oklch(0.984 0.001 295.55);
--muted: oklch(0.237 0.015 294.375);
--muted-foreground: oklch(0.727 0.007 295.388);
--popover: oklch(0.081 0.013 294.856);
--popover-foreground: oklch(0.984 0.001 295.55);
--card: oklch(0.081 0.013 294.856);
--card-foreground: oklch(0.984 0.001 295.55);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.797 0.032 294.846);
--primary-foreground: oklch(0.268 0.031 293.397);
--secondary: oklch(0.303 0.01 294.939);
--secondary-foreground: oklch(0.83 0.009 295.38);
--accent: oklch(0.376 0.032 293.988);
--accent-foreground: oklch(0.899 0.011 295.356);
--destructive: oklch(0.646 0.213 35.055);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.797 0.032 294.846);
--chart-1: oklch(0.797 0.032 294.846);
--chart-2: oklch(0.303 0.01 294.939);
--chart-3: oklch(0.376 0.032 293.988);
--chart-4: oklch(0.332 0.012 294.918);
--chart-5: oklch(0.793 0.037 294.723);
}