Fine is a shadcn/ui theme built around a green primary color (#70762e) with purple accents (#762e70). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the green primary (#70762e) on a green-tinted background (#0e0f06).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #0e0f06black |
| Foreground | #000000black | #f9f9f6whitesmoke |
| Card | #fbfcf8snow | #0e0f06black |
| Card foreground | #000000black | #f9f9f6whitesmoke |
| Popover | #fbfcf8snow | #0e0f06black |
| Popover foreground | #000000black | #f9f9f6whitesmoke |
| Primary | #70762eolivedrab | #70762eolivedrab |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #2e7076seagreen | #2e7076seagreen |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d7e4e5gainsboro | #1a2728darkslategray |
| Muted foreground | #464e4edarkslategray | #b1b9b9silver |
| Accent | #762e70rebeccapurple | #762e70rebeccapurple |
| Accent foreground | #f4e2f2lavender | #f4e2f2lavender |
| Destructive | #ae3c0ffirebrick | #eb581echocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #70762eolivedrab | #70762eolivedrab |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.35:1 | AAA |
| Text on card | 20.35:1 | AAA |
| Primary button | 4.89:1 | AA |
| Secondary button | 5.72:1 | AA |
| Muted text | 6.54:1 | AA |
| Accent | 7.14:1 | AAA |
| Destructive | 6.09:1 | AA |
| Text on background | 18.30:1 | AAA |
| Text on card | 18.30:1 | AAA |
| Primary button | 4.89:1 | AA |
| Secondary button | 5.72:1 | AA |
| Muted text | 7.68:1 | AAA |
| Accent | 7.14:1 | AAA |
| Destructive | 3.52:1 | AA Large |
Paste this into your globals.css to use Fine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 110.336);
--foreground: oklch(0 0 0);
--muted: oklch(0.909 0.014 203.441);
--muted-foreground: oklch(0.416 0.011 203.366);
--popover: oklch(0.989 0.005 110.336);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.989 0.005 110.336);
--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.543 0.095 113.552);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.504 0.067 203.457);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.427 0.132 330.957);
--accent-foreground: oklch(0.931 0.029 328.386);
--destructive: oklch(0.513 0.157 38.654);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.543 0.095 113.552);
--chart-1: oklch(0.543 0.095 113.552);
--chart-2: oklch(0.504 0.067 203.457);
--chart-3: oklch(0.427 0.132 330.957);
--chart-4: oklch(0.537 0.072 203.473);
--chart-5: oklch(0.551 0.1 113.696);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.163 0.019 112.077);
--foreground: oklch(0.981 0.005 110.335);
--muted: oklch(0.262 0.018 203.137);
--muted-foreground: oklch(0.779 0.009 203.475);
--popover: oklch(0.163 0.019 112.077);
--popover-foreground: oklch(0.981 0.005 110.335);
--card: oklch(0.163 0.019 112.077);
--card-foreground: oklch(0.981 0.005 110.335);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.543 0.095 113.552);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.504 0.067 203.457);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.427 0.132 330.957);
--accent-foreground: oklch(0.931 0.029 328.386);
--destructive: oklch(0.649 0.193 39.094);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.543 0.095 113.552);
--chart-1: oklch(0.543 0.095 113.552);
--chart-2: oklch(0.504 0.067 203.457);
--chart-3: oklch(0.427 0.132 330.957);
--chart-4: oklch(0.537 0.072 203.473);
--chart-5: oklch(0.551 0.1 113.696);
}