Circular is a shadcn/ui theme built around a vivid orange primary color (#aa5903) with vivid yellow accents (#a7aa03). The light mode uses a neutral background (#fcfaf7). Dark mode keeps the vivid orange primary (#aa5903) on an orange-tinted background (#100a04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf7snow | #100a04black |
| Foreground | #000000black | #fdfcfbsnow |
| Card | #fcfaf7snow | #100a04black |
| Card foreground | #000000black | #fdfcfbsnow |
| Popover | #fcfaf7snow | #100a04black |
| Popover foreground | #000000black | #fdfcfbsnow |
| Primary | #aa5903saddlebrown | #aa5903saddlebrown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #aa0603darkred | #aa0603darkred |
| Secondary foreground | #fee2e1mistyrose | #fee2e1mistyrose |
| Muted | #dfd8d8gainsboro | #272120black |
| Muted foreground | #5d4b4bdarkolivegreen | #b4a2a2darkgray |
| Accent | #a7aa03darkgoldenrod | #a7aa03darkgoldenrod |
| Accent foreground | #000000black | #000000black |
| Destructive | #b81a05firebrick | #f9391forangered |
| Destructive foreground | #fff2f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #aa5903saddlebrown | #aa5903saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 5.05:1 | AA |
| Secondary button | 6.27:1 | AA |
| Muted text | 5.81:1 | AA |
| Accent | 8.39:1 | AAA |
| Destructive | 6.03:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 5.05:1 | AA |
| Secondary button | 6.27:1 | AA |
| Muted text | 6.53:1 | AA |
| Accent | 8.39:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Circular in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 69.608);
--foreground: oklch(0 0 0);
--muted: oklch(0.888 0.007 18.482);
--muted-foreground: oklch(0.432 0.025 19.294);
--popover: oklch(0.986 0.004 69.608);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.986 0.004 69.608);
--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.551 0.133 56.679);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.465 0.188 29.232);
--secondary-foreground: oklch(0.935 0.032 18.902);
--accent: oklch(0.712 0.156 110.941);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.501 0.193 30.832);
--destructive-foreground: oklch(0.97 0.014 26.541);
--ring: oklch(0.551 0.133 56.679);
--chart-1: oklch(0.551 0.133 56.679);
--chart-2: oklch(0.465 0.188 29.232);
--chart-3: oklch(0.712 0.156 110.941);
--chart-4: oklch(0.495 0.2 29.232);
--chart-5: oklch(0.555 0.135 56.074);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.018 73.518);
--foreground: oklch(0.993 0.002 69.633);
--muted: oklch(0.253 0.01 18.972);
--muted-foreground: oklch(0.728 0.021 18.823);
--popover: oklch(0.152 0.018 73.518);
--popover-foreground: oklch(0.993 0.002 69.633);
--card: oklch(0.152 0.018 73.518);
--card-foreground: oklch(0.993 0.002 69.633);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.551 0.133 56.679);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.465 0.188 29.232);
--secondary-foreground: oklch(0.935 0.032 18.902);
--accent: oklch(0.712 0.156 110.941);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.641 0.23 31.039);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.551 0.133 56.679);
--chart-1: oklch(0.551 0.133 56.679);
--chart-2: oklch(0.465 0.188 29.232);
--chart-3: oklch(0.712 0.156 110.941);
--chart-4: oklch(0.495 0.2 29.232);
--chart-5: oklch(0.555 0.135 56.074);
}