Overclocking is a shadcn/ui theme built around a muted pink primary color (#cea6bf) with muted blue accents (#a6bfce). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#cea6bf) on a pink-tinted background (#0b0408).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0b0408black |
| Foreground | #12020cblack | #fbf8fasnow |
| Card | #fcfcfcsnow | #0f050bblack |
| Card foreground | #0e0209black | #fdfcfdwhite |
| Popover | #fcfcfcsnow | #0f050bblack |
| Popover foreground | #0e0209black | #fdfcfdwhite |
| Primary | #cea6bfsilver | #cea6bfsilver |
| Primary foreground | #2b1823black | #2b1823black |
| Secondary | #bfcea6silver | #bfcea6silver |
| Secondary foreground | #232b18black | #232b18black |
| Muted | #e7eddebeige | #1b2112black |
| Muted foreground | #5a5d56dimgray | #a7a9a2darkgray |
| Accent | #a6bfcelightsteelblue | #a6bfcelightsteelblue |
| Accent foreground | #18232bblack | #18232bblack |
| Destructive | #731e02maroon | #fa4e14orangered |
| Destructive foreground | #fdbfaalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cea6bfsilver | #cea6bfsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 8.81:1 | AAA |
| Muted text | 5.62:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 6.87:1 | AA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.82:1 | AAA |
| Secondary button | 8.81:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 3.40:1 | AA Large |
Paste this into your globals.css to use Overclocking in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.133 0.041 342.38);
--muted: oklch(0.938 0.022 123.988);
--muted-foreground: oklch(0.473 0.012 124.01);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.118 0.036 340.543);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.118 0.036 340.543);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.769 0.057 341.034);
--primary-foreground: oklch(0.238 0.037 342.632);
--secondary: oklch(0.83 0.057 124.677);
--secondary-foreground: oklch(0.275 0.035 125.68);
--accent: oklch(0.79 0.035 235.189);
--accent-foreground: oklch(0.25 0.022 236.067);
--destructive: oklch(0.372 0.123 36.649);
--destructive-foreground: oklch(0.856 0.078 39.222);
--ring: oklch(0.769 0.057 341.034);
--chart-1: oklch(0.769 0.057 341.034);
--chart-2: oklch(0.83 0.057 124.677);
--chart-3: oklch(0.79 0.035 235.189);
--chart-4: oklch(0.849 0.05 124.533);
--chart-5: oklch(0.767 0.063 341.194);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.02 339.789);
--foreground: oklch(0.983 0.004 339.564);
--muted: oklch(0.238 0.03 125.644);
--muted-foreground: oklch(0.732 0.011 123.854);
--popover: oklch(0.138 0.023 341.355);
--popover-foreground: oklch(0.992 0.002 339.516);
--card: oklch(0.138 0.023 341.355);
--card-foreground: oklch(0.992 0.002 339.516);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.769 0.057 341.034);
--primary-foreground: oklch(0.238 0.037 342.632);
--secondary: oklch(0.83 0.057 124.677);
--secondary-foreground: oklch(0.275 0.035 125.68);
--accent: oklch(0.79 0.035 235.189);
--accent-foreground: oklch(0.25 0.022 236.067);
--destructive: oklch(0.661 0.217 36.188);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.057 341.034);
--chart-1: oklch(0.769 0.057 341.034);
--chart-2: oklch(0.83 0.057 124.677);
--chart-3: oklch(0.79 0.035 235.189);
--chart-4: oklch(0.849 0.05 124.533);
--chart-5: oklch(0.767 0.063 341.194);
}