Sigh is a shadcn/ui theme built around a green primary color (#3f7f1f) with pink accents (#7f1f3f). The light mode uses a neutral background (#fcfefb). Dark mode keeps the green primary (#3f7f1f) on a green-tinted background (#090e07).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #090e07black |
| Foreground | #060d02black | #ffffffwhite |
| Card | #f9fdf7mintcream | #0b1108black |
| Card foreground | #040901black | #ffffffwhite |
| Popover | #fcfefbwhite | #090e07black |
| Popover foreground | #060d02black | #ffffffwhite |
| Primary | #3f7f1fforestgreen | #3f7f1fforestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #1f3f7fmidnightblue | #1f3f7fmidnightblue |
| Secondary foreground | #dae3f6lavender | #dae3f6lavender |
| Muted | #e4e8f1lavender | #0e121bblack |
| Muted foreground | #4f5154darkslategray | #abadb0darkgray |
| Accent | #7f1f3fbrown | #7f1f3fbrown |
| Accent foreground | #f6dae3mistyrose | #f6dae3mistyrose |
| Destructive | #ca3a16firebrick | #d33d17firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3f7f1fforestgreen | #3f7f1fforestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 4.90:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 6.50:1 | AA |
| Accent | 7.39:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 4.90:1 | AA |
| Secondary button | 7.85:1 | AAA |
| Muted text | 8.32:1 | AAA |
| Accent | 7.39:1 | AAA |
| Destructive | 4.71:1 | AA |
Paste this into your globals.css to use Sigh in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 134.851);
--foreground: oklch(0.148 0.033 133.036);
--muted: oklch(0.931 0.013 264.503);
--muted-foreground: oklch(0.434 0.006 264.506);
--popover: oklch(0.995 0.005 134.851);
--popover-foreground: oklch(0.148 0.033 133.036);
--card: oklch(0.989 0.01 134.875);
--card-foreground: oklch(0.128 0.028 132.723);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.535 0.144 137.367);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.382 0.115 262.36);
--secondary-foreground: oklch(0.916 0.027 264.431);
--accent: oklch(0.406 0.132 5.375);
--accent-foreground: oklch(0.914 0.033 355.612);
--destructive: oklch(0.56 0.186 34.356);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.535 0.144 137.367);
--chart-1: oklch(0.535 0.144 137.367);
--chart-2: oklch(0.382 0.115 262.36);
--chart-3: oklch(0.406 0.132 5.375);
--chart-4: oklch(0.406 0.124 262.338);
--chart-5: oklch(0.541 0.149 137.527);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.018 134.403);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.02 263.894);
--muted-foreground: oklch(0.746 0.005 264.53);
--popover: oklch(0.155 0.018 134.403);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.169 0.021 135.285);
--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.535 0.144 137.367);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.382 0.115 262.36);
--secondary-foreground: oklch(0.916 0.027 264.431);
--accent: oklch(0.406 0.132 5.375);
--accent-foreground: oklch(0.914 0.033 355.612);
--destructive: oklch(0.579 0.193 34.329);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.535 0.144 137.367);
--chart-1: oklch(0.535 0.144 137.367);
--chart-2: oklch(0.382 0.115 262.36);
--chart-3: oklch(0.406 0.132 5.375);
--chart-4: oklch(0.406 0.124 262.338);
--chart-5: oklch(0.541 0.149 137.527);
}