Mint Yellow Theme is a shadcn/ui theme built around a light green primary color (#dbeed3) with light green accents (#d3eed8). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the light green primary (#dbeed3) on a neutral background (#040703).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #040703black |
| Foreground | #060d03black | #fcfdfbsnow |
| Card | #fcfdfcwhite | #040703black |
| Card foreground | #060d03black | #fcfdfbsnow |
| Popover | #fcfdfcwhite | #040703black |
| Popover foreground | #060d03black | #fcfdfbsnow |
| Primary | #dbeed3gainsboro | #dbeed3gainsboro |
| Primary foreground | #111e0bblack | #111e0bblack |
| Secondary | #e9eed3beige | #e9eed3beige |
| Secondary foreground | #1a1e0bblack | #1a1e0bblack |
| Muted | #e7ecd5beige | #262a13black |
| Muted foreground | #555945darkolivegreen | #b6baa6darkgray |
| Accent | #d3eed8gainsboro | #d3eed8gainsboro |
| Accent foreground | #0b1e0fblack | #0b1e0fblack |
| Destructive | #d52710firebrick | #e42a11orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #edeeecwhitesmoke | #1b1d1bblack |
| Input | #edeeecwhitesmoke | #1b1d1bblack |
| Ring | #dbeed3gainsboro | #dbeed3gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 14.15:1 | AAA |
| Secondary button | 14.28:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 14.08:1 | AAA |
| Destructive | 5.07:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 14.15:1 | AAA |
| Secondary button | 14.28:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 14.08:1 | AAA |
| Destructive | 4.54:1 | AA |
Paste this into your globals.css to use Mint Yellow Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 136.03);
--foreground: oklch(0.145 0.029 134.285);
--muted: oklch(0.933 0.031 116.191);
--muted-foreground: oklch(0.455 0.033 116.895);
--popover: oklch(0.993 0.002 136.03);
--popover-foreground: oklch(0.145 0.029 134.285);
--card: oklch(0.993 0.002 136.03);
--card-foreground: oklch(0.145 0.029 134.285);
--border: oklch(0.948 0.003 136.032);
--input: oklch(0.948 0.003 136.032);
--primary: oklch(0.928 0.042 136.192);
--primary-foreground: oklch(0.215 0.039 136.909);
--secondary: oklch(0.938 0.037 116.298);
--secondary-foreground: oklch(0.224 0.033 118.42);
--accent: oklch(0.924 0.041 151.314);
--accent-foreground: oklch(0.212 0.038 148.853);
--destructive: oklch(0.564 0.211 30.951);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.042 136.192);
--chart-1: oklch(0.928 0.042 136.192);
--chart-2: oklch(0.938 0.037 116.298);
--chart-3: oklch(0.924 0.041 151.314);
--chart-4: oklch(0.954 0.028 116.109);
--chart-5: oklch(0.929 0.045 136.203);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.017 134.721);
--foreground: oklch(0.994 0.003 136.033);
--muted: oklch(0.275 0.04 118.366);
--muted-foreground: oklch(0.781 0.029 116.255);
--popover: oklch(0.123 0.017 134.721);
--popover-foreground: oklch(0.994 0.003 136.033);
--card: oklch(0.123 0.017 134.721);
--card-foreground: oklch(0.994 0.003 136.033);
--border: oklch(0.23 0.006 136.119);
--input: oklch(0.23 0.006 136.119);
--primary: oklch(0.928 0.042 136.192);
--primary-foreground: oklch(0.215 0.039 136.909);
--secondary: oklch(0.938 0.037 116.298);
--secondary-foreground: oklch(0.224 0.033 118.42);
--accent: oklch(0.924 0.041 151.314);
--accent-foreground: oklch(0.212 0.038 148.853);
--destructive: oklch(0.592 0.222 30.937);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.928 0.042 136.192);
--chart-1: oklch(0.928 0.042 136.192);
--chart-2: oklch(0.938 0.037 116.298);
--chart-3: oklch(0.924 0.041 151.314);
--chart-4: oklch(0.954 0.028 116.109);
--chart-5: oklch(0.929 0.045 136.203);
}