Determination is a shadcn/ui theme built around a vivid light green primary color (#ebf4ae) with vivid light purple accents (#f4aeeb). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the vivid light green primary (#ebf4ae) on a neutral background (#060703).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #060703black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fdfdfbsnow | #060703black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fdfdfbsnow | #060703black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #ebf4aepalegoldenrod | #ebf4aepalegoldenrod |
| Primary foreground | #080901black | #080901black |
| Secondary | #aeebf4paleturquoise | #aeebf4paleturquoise |
| Secondary foreground | #0d5863darkslategray | #0d5863darkslategray |
| Muted | #d5dcddgainsboro | #22292adarkslategray |
| Muted foreground | #596364dimgray | #9ba5a6darkgray |
| Accent | #f4aeebplum | #f4aeebplum |
| Accent foreground | #630d58indigo | #630d58indigo |
| Destructive | #8a0905darkred | #f72922crimson |
| Destructive foreground | #fdc6c4pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebf4aepalegoldenrod | #ebf4aepalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.69:1 | AAA |
| Text on card | 20.69:1 | AAA |
| Primary button | 17.27:1 | AAA |
| Secondary button | 6.16:1 | AA |
| Muted text | 4.44:1 | AA Large |
| Accent | 6.99:1 | AA |
| Destructive | 6.62:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 17.27:1 | AAA |
| Secondary button | 6.16:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.99:1 | AA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Determination in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 112.595);
--foreground: oklch(0 0 0);
--muted: oklch(0.889 0.008 207.896);
--muted-foreground: oklch(0.49 0.012 207.85);
--popover: oklch(0.995 0.003 112.595);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.995 0.003 112.595);
--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.945 0.091 114.339);
--primary-foreground: oklch(0.135 0.024 113.913);
--secondary: oklch(0.902 0.063 207.911);
--secondary-foreground: oklch(0.423 0.069 210.997);
--accent: oklch(0.836 0.114 331.25);
--accent-foreground: oklch(0.351 0.143 334.641);
--destructive: oklch(0.402 0.159 29.296);
--destructive-foreground: oklch(0.874 0.063 20.726);
--ring: oklch(0.945 0.091 114.339);
--chart-1: oklch(0.945 0.091 114.339);
--chart-2: oklch(0.902 0.063 207.911);
--chart-3: oklch(0.836 0.114 331.25);
--chart-4: oklch(0.917 0.053 207.862);
--chart-5: oklch(0.948 0.094 114.398);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.011 113.238);
--foreground: oklch(1 0 180);
--muted: oklch(0.276 0.01 207.836);
--muted-foreground: oklch(0.714 0.011 207.873);
--popover: oklch(0.124 0.011 113.238);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.124 0.011 113.238);
--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.945 0.091 114.339);
--primary-foreground: oklch(0.135 0.024 113.913);
--secondary: oklch(0.902 0.063 207.911);
--secondary-foreground: oklch(0.423 0.069 210.997);
--accent: oklch(0.836 0.114 331.25);
--accent-foreground: oklch(0.351 0.143 334.641);
--destructive: oklch(0.627 0.238 28.667);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.945 0.091 114.339);
--chart-1: oklch(0.945 0.091 114.339);
--chart-2: oklch(0.902 0.063 207.911);
--chart-3: oklch(0.836 0.114 331.25);
--chart-4: oklch(0.917 0.053 207.862);
--chart-5: oklch(0.948 0.094 114.398);
}