Finished is a shadcn/ui theme built around a neutral gray primary color (#cfcfcf) with neutral gray accents (#cfcfcf). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#cfcfcf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #0d0202black | #fdfcfcsnow |
| Card | #ffffffwhite | #000000black |
| Card foreground | #0d0202black | #fdfcfcsnow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #0d0202black | #fdfcfcsnow |
| Primary | #cfcfcflightgrey | #cfcfcflightgrey |
| Primary foreground | #363636darkslategray | #363636darkslategray |
| Secondary | #cfcfcflightgrey | #cfcfcflightgrey |
| Secondary foreground | #363636darkslategray | #363636darkslategray |
| Muted | #e8dedegainsboro | #211717black |
| Muted foreground | #6d5050dimgray | #af9292rosybrown |
| Accent | #cfcfcflightgrey | #cfcfcflightgrey |
| Accent foreground | #363636darkslategray | #363636darkslategray |
| Destructive | #682208maroon | #ef5e2achocolate |
| Destructive foreground | #f9bfaalightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cfcfcflightgrey | #cfcfcflightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.45:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 5.46:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 7.17:1 | AAA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 6.12:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 6.30:1 | AA |
Paste this into your globals.css to use Finished in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.115 0.027 22.274);
--muted: oklch(0.908 0.011 17.36);
--muted-foreground: oklch(0.462 0.038 18.635);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.115 0.027 22.274);
--card: oklch(1 0 180);
--card-foreground: oklch(0.115 0.027 22.274);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.853 0 168.69);
--primary-foreground: oklch(0.331 0 180);
--secondary: oklch(0.853 0 168.69);
--secondary-foreground: oklch(0.331 0 180);
--accent: oklch(0.853 0 168.69);
--accent-foreground: oklch(0.331 0 180);
--destructive: oklch(0.356 0.107 38.266);
--destructive-foreground: oklch(0.851 0.073 40.886);
--ring: oklch(0.853 0 168.69);
--chart-1: oklch(0.853 0 168.69);
--chart-2: oklch(0.853 0 168.69);
--chart-3: oklch(0.853 0 168.69);
--chart-4: oklch(0.877 0 180);
--chart-5: oklch(0.851 0.003 17.22);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 17.174);
--muted: oklch(0.217 0.016 18.495);
--muted-foreground: oklch(0.687 0.034 18.012);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 17.174);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 17.174);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.853 0 168.69);
--primary-foreground: oklch(0.331 0 180);
--secondary: oklch(0.853 0 168.69);
--secondary-foreground: oklch(0.331 0 180);
--accent: oklch(0.853 0 168.69);
--accent-foreground: oklch(0.331 0 180);
--destructive: oklch(0.663 0.19 38.786);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.853 0 168.69);
--chart-1: oklch(0.853 0 168.69);
--chart-2: oklch(0.853 0 168.69);
--chart-3: oklch(0.853 0 168.69);
--chart-4: oklch(0.877 0 180);
--chart-5: oklch(0.851 0.003 17.22);
}