Mint Zest Narwhal is a shadcn/ui theme built around a vivid light green primary color (#cdf9db) with muted green accents (#adcdb7). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the vivid light green primary (#cdf9db) on a green-tinted background (#050f08).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #050f08black |
| Foreground | #030c06black | #f6f9f7whitesmoke |
| Card | #f7fdf9mintcream | #050f08black |
| Card foreground | #030c06black | #f6f9f7whitesmoke |
| Popover | #f7fdf9mintcream | #050f08black |
| Popover foreground | #030c06black | #f6f9f7whitesmoke |
| Primary | #cdf9dbgainsboro | #cdf9dbgainsboro |
| Primary foreground | #052910black | #052910black |
| Secondary | #cad8celightgrey | #1e2922black |
| Secondary foreground | #2f4135darkslategray | #b2c7b9silver |
| Muted | #e4ece7lavender | #131b16black |
| Muted foreground | #5c7062dimgray | #8fa395darkseagreen |
| Accent | #adcdb7silver | #283e2fdarkslategray |
| Accent foreground | #1b2c21darkslategray | #c1d7c8lightgrey |
| Destructive | #d13d10firebrick | #ef5b2etomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e4e7e5gainsboro | #242826darkslategray |
| Input | #e4e7e5gainsboro | #242826darkslategray |
| Ring | #cdf9dbgainsboro | #cdf9dbgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 13.63:1 | AAA |
| Secondary button | 7.39:1 | AAA |
| Muted text | 4.41:1 | AA Large |
| Accent | 8.50:1 | AAA |
| Destructive | 4.80:1 | AA |
| Text on background | 18.33:1 | AAA |
| Text on card | 18.33:1 | AAA |
| Primary button | 13.63:1 | AAA |
| Secondary button | 8.39:1 | AAA |
| Muted text | 6.57:1 | AA |
| Accent | 7.57:1 | AAA |
| Destructive | 6.22:1 | AA |
Paste this into your globals.css to use Mint Zest Narwhal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.009 156.388);
--foreground: oklch(0.141 0.022 155.957);
--muted: oklch(0.935 0.01 156.342);
--muted-foreground: oklch(0.525 0.033 155.273);
--popover: oklch(0.988 0.009 156.388);
--popover-foreground: oklch(0.141 0.022 155.957);
--card: oklch(0.988 0.009 156.388);
--card-foreground: oklch(0.141 0.022 155.957);
--border: oklch(0.925 0.004 156.483);
--input: oklch(0.925 0.004 156.483);
--primary: oklch(0.943 0.06 155.23);
--primary-foreground: oklch(0.248 0.061 150.082);
--secondary: oklch(0.87 0.021 156.079);
--secondary-foreground: oklch(0.356 0.031 154.683);
--accent: oklch(0.818 0.046 155.411);
--accent-foreground: oklch(0.275 0.031 154.034);
--destructive: oklch(0.574 0.191 35.432);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.943 0.06 155.23);
--chart-1: oklch(0.943 0.06 155.23);
--chart-2: oklch(0.87 0.021 156.079);
--chart-3: oklch(0.818 0.046 155.411);
--chart-4: oklch(0.892 0.017 156.173);
--chart-5: oklch(0.944 0.063 155.179);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.156 0.022 155.111);
--foreground: oklch(0.979 0.003 156.491);
--muted: oklch(0.211 0.015 155.105);
--muted-foreground: oklch(0.696 0.031 155.667);
--popover: oklch(0.156 0.022 155.111);
--popover-foreground: oklch(0.979 0.003 156.491);
--card: oklch(0.156 0.022 155.111);
--card-foreground: oklch(0.979 0.003 156.491);
--border: oklch(0.273 0.007 156.026);
--input: oklch(0.273 0.007 156.026);
--primary: oklch(0.943 0.06 155.23);
--primary-foreground: oklch(0.248 0.061 150.082);
--secondary: oklch(0.269 0.021 154.876);
--secondary-foreground: oklch(0.81 0.031 155.795);
--accent: oklch(0.341 0.039 154.031);
--accent-foreground: oklch(0.859 0.032 155.808);
--destructive: oklch(0.66 0.192 36.887);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.943 0.06 155.23);
--chart-1: oklch(0.943 0.06 155.23);
--chart-2: oklch(0.269 0.021 154.876);
--chart-3: oklch(0.341 0.039 154.031);
--chart-4: oklch(0.302 0.025 154.788);
--chart-5: oklch(0.944 0.063 155.179);
}