Finger is a shadcn/ui theme built around a vivid green primary color (#58eb33) with vivid red accents (#eb3358). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#58eb33) on a green-tinted background (#060a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060a05black |
| Foreground | #000000black | #fcfdfcwhite |
| Card | #ffffffwhite | #060a05black |
| Card foreground | #000000black | #fcfdfcwhite |
| Popover | #ffffffwhite | #060a05black |
| Popover foreground | #000000black | #fcfdfcwhite |
| Primary | #58eb33limegreen | #58eb33limegreen |
| Primary foreground | #154a07darkgreen | #154a07darkgreen |
| Secondary | #3358ebroyalblue | #3358ebroyalblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eff0f5whitesmoke | #0a0b10black |
| Muted foreground | #5c5f6adimgray | #9597a3darkgray |
| Accent | #eb3358crimson | #eb3358crimson |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b42508firebrick | #f4431forangered |
| Destructive foreground | #fef3f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #58eb33limegreen | #58eb33limegreen |
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.61:1 | AA |
| Secondary button | 5.64:1 | AA |
| Muted text | 5.61:1 | AA |
| Accent | 4.08:1 | AA Large |
| Destructive | 6.00:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 6.61:1 | AA |
| Secondary button | 5.64:1 | AA |
| Muted text | 6.77:1 | AA |
| Accent | 4.08:1 | AA Large |
| Destructive | 3.70:1 | AA Large |
Paste this into your globals.css to use Finger in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.957 0.006 274.953);
--muted-foreground: oklch(0.488 0.018 274.55);
--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.828 0.248 140.355);
--primary-foreground: oklch(0.361 0.11 140.408);
--secondary: oklch(0.529 0.225 267.053);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.619 0.217 15.885);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.501 0.182 32.396);
--destructive-foreground: oklch(0.972 0.013 31.071);
--ring: oklch(0.828 0.248 140.355);
--chart-1: oklch(0.828 0.248 140.355);
--chart-2: oklch(0.529 0.225 267.053);
--chart-3: oklch(0.619 0.217 15.885);
--chart-4: oklch(0.557 0.21 268.063);
--chart-5: oklch(0.836 0.254 140.432);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.016 138.329);
--foreground: oklch(0.993 0.002 139.444);
--muted: oklch(0.151 0.01 274.1);
--muted-foreground: oklch(0.679 0.017 274.723);
--popover: oklch(0.139 0.016 138.329);
--popover-foreground: oklch(0.993 0.002 139.444);
--card: oklch(0.139 0.016 138.329);
--card-foreground: oklch(0.993 0.002 139.444);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.828 0.248 140.355);
--primary-foreground: oklch(0.361 0.11 140.408);
--secondary: oklch(0.529 0.225 267.053);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.619 0.217 15.885);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.641 0.219 32.922);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.828 0.248 140.355);
--chart-1: oklch(0.828 0.248 140.355);
--chart-2: oklch(0.529 0.225 267.053);
--chart-3: oklch(0.619 0.217 15.885);
--chart-4: oklch(0.557 0.21 268.063);
--chart-5: oklch(0.836 0.254 140.432);
}