Rosin PelicanY is a shadcn/ui theme built around a muted deep yellow primary color (#3b3830) with muted deep green accents (#393b30). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep yellow primary (#3b3830) on a neutral background (#070603).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070603black |
| Foreground | #151004black | #fcfbf8snow |
| Card | #fcfcfcsnow | #0a0905black |
| Card foreground | #110d04black | #fdfdfcwhite |
| Popover | #ffffffwhite | #070603black |
| Popover foreground | #151004black | #fcfbf8snow |
| Primary | #3b3830darkslategray | #3b3830darkslategray |
| Primary foreground | #d4d1c9lightgrey | #d4d1c9lightgrey |
| Secondary | #3b3230darkslategray | #3b3230darkslategray |
| Secondary foreground | #d4cbc9lightgrey | #d4cbc9lightgrey |
| Muted | #e1dcdagainsboro | #251f1eblack |
| Muted foreground | #403f3fdarkslategray | #c0bfbfsilver |
| Accent | #393b30darkslategray | #393b30darkslategray |
| Accent foreground | #d2d4c9lightgrey | #d2d4c9lightgrey |
| Destructive | #c31609firebrick | #e0190bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #efeeeblinen | #1f1d19black |
| Input | #efeeeblinen | #1f1d19black |
| Ring | #3b3830darkslategray | #3b3830darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.95:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 7.71:1 | AAA |
| Accent | 7.56:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.81:1 | AAA |
| Muted text | 8.86:1 | AAA |
| Accent | 7.56:1 | AAA |
| Destructive | 4.86:1 | AA |
Paste this into your globals.css to use Rosin PelicanY in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.176 0.025 88.73);
--muted: oklch(0.898 0.007 34.305);
--muted-foreground: oklch(0.37 0.001 34.31);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.176 0.025 88.73);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.16 0.022 90.339);
--border: oklch(0.949 0.004 87.443);
--input: oklch(0.949 0.004 87.443);
--primary: oklch(0.341 0.015 87.567);
--primary-foreground: oklch(0.86 0.011 87.482);
--secondary: oklch(0.327 0.014 34.321);
--secondary-foreground: oklch(0.849 0.01 34.301);
--accent: oklch(0.348 0.02 116.638);
--accent-foreground: oklch(0.865 0.015 115.889);
--destructive: oklch(0.52 0.204 29.757);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.341 0.015 87.567);
--chart-1: oklch(0.341 0.015 87.567);
--chart-2: oklch(0.327 0.014 34.321);
--chart-3: oklch(0.348 0.02 116.638);
--chart-4: oklch(0.356 0.016 34.323);
--chart-5: oklch(0.344 0.019 87.569);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.009 91.252);
--foreground: oklch(0.987 0.003 87.437);
--muted: oklch(0.245 0.009 34.312);
--muted-foreground: oklch(0.805 0.001 34.315);
--popover: oklch(0.121 0.009 91.252);
--popover-foreground: oklch(0.987 0.003 87.437);
--card: oklch(0.139 0.011 91.22);
--card-foreground: oklch(0.993 0.002 87.428);
--border: oklch(0.233 0.009 87.563);
--input: oklch(0.233 0.009 87.563);
--primary: oklch(0.341 0.015 87.567);
--primary-foreground: oklch(0.86 0.011 87.482);
--secondary: oklch(0.327 0.014 34.321);
--secondary-foreground: oklch(0.849 0.01 34.301);
--accent: oklch(0.348 0.02 116.638);
--accent-foreground: oklch(0.865 0.015 115.889);
--destructive: oklch(0.576 0.227 29.757);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.341 0.015 87.567);
--chart-1: oklch(0.341 0.015 87.567);
--chart-2: oklch(0.327 0.014 34.321);
--chart-3: oklch(0.348 0.02 116.638);
--chart-4: oklch(0.356 0.016 34.323);
--chart-5: oklch(0.344 0.019 87.569);
}