Sophisticated is a shadcn/ui theme built around a vivid light green primary color (#b7fc8d) with vivid light pink accents (#fc8db7). The light mode uses a neutral background (#fcfefb). Dark mode keeps the vivid light green primary (#b7fc8d) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #020302black |
| Foreground | #070c04black | #ffffffwhite |
| Card | #fcfefbwhite | #020302black |
| Card foreground | #070c04black | #ffffffwhite |
| Popover | #fcfefbwhite | #020302black |
| Popover foreground | #070c04black | #ffffffwhite |
| Primary | #b7fc8dpalegreen | #b7fc8dpalegreen |
| Primary foreground | #225502darkgreen | #225502darkgreen |
| Secondary | #8db7fclightskyblue | #8db7fclightskyblue |
| Secondary foreground | #022255midnightblue | #022255midnightblue |
| Muted | #d8dde3gainsboro | #1c2027black |
| Muted foreground | #38404cdarkslategray | #b3bac7silver |
| Accent | #fc8db7hotpink | #fc8db7hotpink |
| Accent foreground | #550222maroon | #550222maroon |
| Destructive | #b60b02firebrick | #f20e02red |
| Destructive foreground | #ffeceblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b7fc8dpalegreen | #b7fc8dpalegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.58:1 | AAA |
| Muted text | 7.64:1 | AAA |
| Accent | 6.78:1 | AA |
| Destructive | 6.08:1 | AA |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.62:1 | AAA |
| Primary button | 7.32:1 | AAA |
| Secondary button | 7.58:1 | AAA |
| Muted text | 8.39:1 | AAA |
| Accent | 6.78:1 | AA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Sophisticated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 133.019);
--foreground: oklch(0.143 0.022 131.703);
--muted: oklch(0.895 0.011 259.944);
--muted-foreground: oklch(0.369 0.023 259.891);
--popover: oklch(0.995 0.005 133.019);
--popover-foreground: oklch(0.143 0.022 131.703);
--card: oklch(0.995 0.005 133.019);
--card-foreground: oklch(0.143 0.022 131.703);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.921 0.158 134.45);
--primary-foreground: oklch(0.397 0.12 137.389);
--secondary: oklch(0.776 0.109 259.672);
--secondary-foreground: oklch(0.266 0.1 259.469);
--accent: oklch(0.774 0.142 356.559);
--accent-foreground: oklch(0.289 0.113 6.647);
--destructive: oklch(0.49 0.197 29.727);
--destructive-foreground: oklch(0.957 0.021 21.172);
--ring: oklch(0.921 0.158 134.45);
--chart-1: oklch(0.921 0.158 134.45);
--chart-2: oklch(0.776 0.109 259.672);
--chart-3: oklch(0.774 0.142 356.559);
--chart-4: oklch(0.805 0.094 259.744);
--chart-5: oklch(0.924 0.163 134.501);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.009 132.132);
--foreground: oklch(1 0 180);
--muted: oklch(0.242 0.015 259.896);
--muted-foreground: oklch(0.788 0.019 259.945);
--popover: oklch(0.096 0.009 132.132);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.096 0.009 132.132);
--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.921 0.158 134.45);
--primary-foreground: oklch(0.397 0.12 137.389);
--secondary: oklch(0.776 0.109 259.672);
--secondary-foreground: oklch(0.266 0.1 259.469);
--accent: oklch(0.774 0.142 356.559);
--accent-foreground: oklch(0.289 0.113 6.647);
--destructive: oklch(0.607 0.245 29.596);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.921 0.158 134.45);
--chart-1: oklch(0.921 0.158 134.45);
--chart-2: oklch(0.776 0.109 259.672);
--chart-3: oklch(0.774 0.142 356.559);
--chart-4: oklch(0.805 0.094 259.744);
--chart-5: oklch(0.924 0.163 134.501);
}