Circumference is a shadcn/ui theme built around a green primary color (#5d8820) with violet accents (#4b2088). The light mode uses a neutral background (#fafcf8). Dark mode keeps the green primary (#5d8820) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #000000black |
| Foreground | #0b1004black | #fafbf9snow |
| Card | #fafcf8snow | #000000black |
| Card foreground | #0b1004black | #fafbf9snow |
| Popover | #fafcf8snow | #000000black |
| Popover foreground | #0b1004black | #fafbf9snow |
| Primary | #5d8820olivedrab | #5d8820olivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #4b2088darkslateblue | #4b2088darkslateblue |
| Secondary foreground | #ebe2f8lavender | #ebe2f8lavender |
| Muted | #ece8f3lavender | #110c17black |
| Muted foreground | #5e5c61dimgray | #a09ea3darkgray |
| Accent | #4b2088darkslateblue | #4b2088darkslateblue |
| Accent foreground | #ebe2f8lavender | #ebe2f8lavender |
| Destructive | #a53403saddlebrown | #fa5d19orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5d8820olivedrab | #5d8820olivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.69:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 4.17:1 | AA Large |
| Secondary button | 8.98:1 | AAA |
| Muted text | 5.46:1 | AA |
| Accent | 8.98:1 | AAA |
| Destructive | 6.80:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 4.17:1 | AA Large |
| Secondary button | 8.98:1 | AAA |
| Muted text | 7.25:1 | AAA |
| Accent | 8.98:1 | AAA |
| Destructive | 6.64:1 | AA |
Paste this into your globals.css to use Circumference in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 125.136);
--foreground: oklch(0.165 0.028 125.981);
--muted: oklch(0.937 0.016 304.815);
--muted-foreground: oklch(0.477 0.009 304.772);
--popover: oklch(0.989 0.006 125.136);
--popover-foreground: oklch(0.165 0.028 125.981);
--card: oklch(0.989 0.006 125.136);
--card-foreground: oklch(0.165 0.028 125.981);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.575 0.139 129.958);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.37 0.161 296.62);
--secondary-foreground: oklch(0.927 0.031 304.58);
--accent: oklch(0.37 0.161 296.62);
--accent-foreground: oklch(0.927 0.031 304.58);
--destructive: oklch(0.488 0.157 38.32);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.575 0.139 129.958);
--chart-1: oklch(0.575 0.139 129.958);
--chart-2: oklch(0.37 0.161 296.62);
--chart-3: oklch(0.37 0.161 296.62);
--chart-4: oklch(0.393 0.172 296.469);
--chart-5: oklch(0.582 0.144 130.193);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 125.079);
--muted: oklch(0.168 0.024 303.045);
--muted-foreground: oklch(0.702 0.009 304.877);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 125.079);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 125.079);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.575 0.139 129.958);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.37 0.161 296.62);
--secondary-foreground: oklch(0.927 0.031 304.58);
--accent: oklch(0.37 0.161 296.62);
--accent-foreground: oklch(0.927 0.031 304.58);
--destructive: oklch(0.678 0.205 39.539);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.575 0.139 129.958);
--chart-1: oklch(0.575 0.139 129.958);
--chart-2: oklch(0.37 0.161 296.62);
--chart-3: oklch(0.37 0.161 296.62);
--chart-4: oklch(0.393 0.172 296.469);
--chart-5: oklch(0.582 0.144 130.193);
}