Singing is a shadcn/ui theme built around a vivid deep green primary color (#08773a) with vivid deep teal accents (#087772). The light mode uses a neutral background (#f7fcfa). Dark mode keeps the vivid deep green primary (#08773a) on a green-tinted background (#060e0a).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfamintcream | #060e0ablack |
| Foreground | #040c07black | #fcfdfcwhite |
| Card | #f4fbf7mintcream | #07120cblack |
| Card foreground | #020805black | #ffffffwhite |
| Popover | #f4fbf7mintcream | #07120cblack |
| Popover foreground | #020805black | #ffffffwhite |
| Primary | #08773aforestgreen | #08773aforestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0e7708green | #0e7708green |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eaf1eawhitesmoke | #0f150eblack |
| Muted foreground | #485c47darkslategray | #a4b8a3darkgray |
| Accent | #087772teal | #087772teal |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a5180dfirebrick | #ef493etomato |
| Destructive foreground | #fde9e7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #08773aforestgreen | #08773aforestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.15:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 5.64:1 | AA |
| Secondary button | 5.72:1 | AA |
| Muted text | 6.28:1 | AA |
| Accent | 5.38:1 | AA |
| Destructive | 6.57:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.05:1 | AAA |
| Primary button | 5.64:1 | AA |
| Secondary button | 5.72:1 | AA |
| Muted text | 8.77:1 | AAA |
| Accent | 5.38:1 | AA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Singing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 162.455);
--foreground: oklch(0.141 0.019 162.399);
--muted: oklch(0.95 0.011 144.06);
--muted-foreground: oklch(0.452 0.042 143.568);
--popover: oklch(0.982 0.01 162.371);
--popover-foreground: oklch(0.123 0.016 162.644);
--card: oklch(0.982 0.01 162.371);
--card-foreground: oklch(0.123 0.016 162.644);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.5 0.131 151.379);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.496 0.163 142.295);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.515 0.087 189.053);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.464 0.176 29.656);
--destructive-foreground: oklch(0.949 0.022 22.489);
--ring: oklch(0.5 0.131 151.379);
--chart-1: oklch(0.5 0.131 151.379);
--chart-2: oklch(0.496 0.163 142.295);
--chart-3: oklch(0.515 0.087 189.053);
--chart-4: oklch(0.538 0.178 142.304);
--chart-5: oklch(0.505 0.134 151.083);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.017 161.173);
--foreground: oklch(0.993 0.001 162.589);
--muted: oklch(0.187 0.017 143.59);
--muted-foreground: oklch(0.761 0.037 143.839);
--popover: oklch(0.17 0.02 159.682);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.17 0.02 159.682);
--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.5 0.131 151.379);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.496 0.163 142.295);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.515 0.087 189.053);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.642 0.204 28.315);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.5 0.131 151.379);
--chart-1: oklch(0.5 0.131 151.379);
--chart-2: oklch(0.496 0.163 142.295);
--chart-3: oklch(0.515 0.087 189.053);
--chart-4: oklch(0.538 0.178 142.304);
--chart-5: oklch(0.505 0.134 151.083);
}