Achiever is a shadcn/ui theme built around a near-white primary color (#f6fefd) with near-white accents (#f6fafe). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the near-white primary (#f6fefd) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #030707black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f8fcfcmintcream | #050a0ablack |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfdfdwhite | #030707black |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #f6fefdmintcream | #f6fefdmintcream |
| Primary foreground | #0c4f4cdarkslategray | #0c4f4cdarkslategray |
| Secondary | #f6fefamintcream | #f6fefamintcream |
| Secondary foreground | #0c4f2bdarkgreen | #0c4f2bdarkgreen |
| Muted | #d9e7e0gainsboro | #18261eblack |
| Muted foreground | #5b5d5cdimgray | #a2a4a3darkgray |
| Accent | #f6fafeghostwhite | #f6fafeghostwhite |
| Accent foreground | #0c314fmidnightblue | #0c314fmidnightblue |
| Destructive | #6b1001maroon | #fe3816orangered |
| Destructive foreground | #ffad9flightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6fefdmintcream | #f6fefdmintcream |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.64:1 | AAA |
| Text on card | 20.28:1 | AAA |
| Primary button | 9.14:1 | AAA |
| Secondary button | 9.41:1 | AAA |
| Muted text | 5.21:1 | AA |
| Accent | 12.79:1 | AAA |
| Destructive | 6.91:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 9.14:1 | AAA |
| Secondary button | 9.41:1 | AAA |
| Muted text | 6.30:1 | AA |
| Accent | 12.79:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Achiever in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 193.568);
--foreground: oklch(0 0 0);
--muted: oklch(0.917 0.018 162.119);
--muted-foreground: oklch(0.475 0.003 162.472);
--popover: oklch(0.994 0.002 193.568);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.004 193.529);
--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.99 0.008 193.45);
--primary-foreground: oklch(0.389 0.063 189.713);
--secondary: oklch(0.989 0.009 162.38);
--secondary-foreground: oklch(0.379 0.09 153.482);
--accent: oklch(0.984 0.006 242.277);
--accent-foreground: oklch(0.305 0.068 247.385);
--destructive: oklch(0.341 0.126 32.8);
--destructive-foreground: oklch(0.823 0.099 30.363);
--ring: oklch(0.99 0.008 193.45);
--chart-1: oklch(0.99 0.008 193.45);
--chart-2: oklch(0.989 0.009 162.38);
--chart-3: oklch(0.984 0.006 242.277);
--chart-4: oklch(1.005 0.005 342.734);
--chart-5: oklch(0.99 0.008 193.444);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.009 192.812);
--foreground: oklch(0.993 0.001 193.58);
--muted: oklch(0.251 0.024 159.942);
--muted-foreground: oklch(0.717 0.003 162.531);
--popover: oklch(0.122 0.009 192.812);
--popover-foreground: oklch(0.993 0.001 193.58);
--card: oklch(0.139 0.01 192.809);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.99 0.008 193.45);
--primary-foreground: oklch(0.389 0.063 189.713);
--secondary: oklch(0.989 0.009 162.38);
--secondary-foreground: oklch(0.379 0.09 153.482);
--accent: oklch(0.984 0.006 242.277);
--accent-foreground: oklch(0.305 0.068 247.385);
--destructive: oklch(0.649 0.235 31.988);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.99 0.008 193.45);
--chart-1: oklch(0.99 0.008 193.45);
--chart-2: oklch(0.989 0.009 162.38);
--chart-3: oklch(0.984 0.006 242.277);
--chart-4: oklch(1.005 0.005 342.734);
--chart-5: oklch(0.99 0.008 193.444);
}