Sideburns is a shadcn/ui theme built around a muted blue primary color (#48556a) with muted indigo accents (#4d486a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#48556a) on a neutral background (#030507).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030507black |
| Foreground | #000000black | #fbfcfdwhite |
| Card | #ffffffwhite | #030507black |
| Card foreground | #000000black | #fbfcfdwhite |
| Popover | #ffffffwhite | #030507black |
| Popover foreground | #000000black | #fbfcfdwhite |
| Primary | #48556adarkslategray | #48556adarkslategray |
| Primary foreground | #f0f2f5whitesmoke | #f0f2f5whitesmoke |
| Secondary | #48666adimgray | #48666adimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e4eff1lavender | #0e191bblack |
| Muted foreground | #4c5a5ddarkslategray | #a2b1b3darkgray |
| Accent | #4d486adarkslateblue | #4d486adarkslateblue |
| Accent foreground | #f0f0f5whitesmoke | #f0f0f5whitesmoke |
| Destructive | #701501maroon | #fe5934tomato |
| Destructive foreground | #ffb4a4lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #48556adarkslategray | #48556adarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.74:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 6.12:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 6.74:1 | AA |
| Secondary button | 6.22:1 | AA |
| Muted text | 8.08:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 6.69:1 | AA |
Paste this into your globals.css to use Sideburns in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.945 0.012 207.885);
--muted-foreground: oklch(0.457 0.018 207.836);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--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.446 0.039 261.28);
--primary-foreground: oklch(0.959 0.005 261.513);
--secondary: oklch(0.488 0.035 207.923);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.422 0.056 289.887);
--accent-foreground: oklch(0.956 0.006 292.416);
--destructive: oklch(0.355 0.128 33.815);
--destructive-foreground: oklch(0.837 0.09 33.086);
--ring: oklch(0.446 0.039 261.28);
--chart-1: oklch(0.446 0.039 261.28);
--chart-2: oklch(0.488 0.035 207.923);
--chart-3: oklch(0.422 0.056 289.887);
--chart-4: oklch(0.517 0.038 207.926);
--chart-5: oklch(0.444 0.045 261.213);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.111 0.008 257.156);
--foreground: oklch(0.991 0.002 261.514);
--muted: oklch(0.203 0.016 207.954);
--muted-foreground: oklch(0.75 0.017 207.856);
--popover: oklch(0.111 0.008 257.156);
--popover-foreground: oklch(0.991 0.002 261.514);
--card: oklch(0.111 0.008 257.156);
--card-foreground: oklch(0.991 0.002 261.514);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.446 0.039 261.28);
--primary-foreground: oklch(0.959 0.005 261.513);
--secondary: oklch(0.488 0.035 207.923);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.422 0.056 289.887);
--accent-foreground: oklch(0.956 0.006 292.416);
--destructive: oklch(0.681 0.207 34.067);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.446 0.039 261.28);
--chart-1: oklch(0.446 0.039 261.28);
--chart-2: oklch(0.488 0.035 207.923);
--chart-3: oklch(0.422 0.056 289.887);
--chart-4: oklch(0.517 0.038 207.926);
--chart-5: oklch(0.444 0.045 261.213);
}