Upper Pineapple Soda is a shadcn/ui theme built around a muted light green primary color (#e2e4ce) with muted light green accents (#d7e4ce). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the muted light green primary (#e2e4ce) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #040401black |
| Foreground | #040401black | #fcfcf8snow |
| Card | #fdfdfbsnow | #040401black |
| Card foreground | #040401black | #fcfcf8snow |
| Popover | #fdfdfbsnow | #040401black |
| Popover foreground | #040401black | #fcfcf8snow |
| Primary | #e2e4cegainsboro | #e2e4cegainsboro |
| Primary foreground | #4f522ddarkolivegreen | #4f522ddarkolivegreen |
| Secondary | #e4dbcegainsboro | #e4dbcegainsboro |
| Secondary foreground | #52432ddarkolivegreen | #52432ddarkolivegreen |
| Muted | #f2eee8linen | #17130dblack |
| Muted foreground | #4d473ddarkslategray | #c2bcb2silver |
| Accent | #d7e4cegainsboro | #d7e4cegainsboro |
| Accent foreground | #3c522ddarkolivegreen | #3c522ddarkolivegreen |
| Destructive | #651b06maroon | #f04819orangered |
| Destructive foreground | #f9b6a4lightpink | #ffffffwhite |
| Border | #eaebe6linen | #1c1c17black |
| Input | #eaebe6linen | #1c1c17black |
| Ring | #e2e4cegainsboro | #e2e4cegainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 6.96:1 | AA |
| Muted text | 7.96:1 | AAA |
| Accent | 6.50:1 | AA |
| Destructive | 7.17:1 | AAA |
| Text on background | 19.96:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 6.28:1 | AA |
| Secondary button | 6.96:1 | AA |
| Muted text | 9.82:1 | AAA |
| Accent | 6.50:1 | AA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Upper Pineapple Soda in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 111.066);
--foreground: oklch(0.107 0.019 112.697);
--muted: oklch(0.951 0.009 78.282);
--muted-foreground: oklch(0.399 0.018 78.07);
--popover: oklch(0.995 0.003 111.066);
--popover-foreground: oklch(0.107 0.019 112.697);
--card: oklch(0.995 0.003 111.066);
--card-foreground: oklch(0.107 0.019 112.697);
--border: oklch(0.937 0.007 111.149);
--input: oklch(0.937 0.007 111.149);
--primary: oklch(0.911 0.03 111.619);
--primary-foreground: oklch(0.426 0.056 113.453);
--secondary: oklch(0.895 0.02 78.223);
--secondary-foreground: oklch(0.394 0.04 77.294);
--accent: oklch(0.902 0.033 132.638);
--accent-foreground: oklch(0.411 0.064 133.761);
--destructive: oklch(0.341 0.11 35.435);
--destructive-foreground: oklch(0.835 0.082 36.049);
--ring: oklch(0.911 0.03 111.619);
--chart-1: oklch(0.911 0.03 111.619);
--chart-2: oklch(0.895 0.02 78.223);
--chart-3: oklch(0.902 0.033 132.638);
--chart-4: oklch(0.916 0.016 78.247);
--chart-5: oklch(0.913 0.033 111.678);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.014 112.362);
--foreground: oklch(0.989 0.005 111.116);
--muted: oklch(0.189 0.013 77.848);
--muted-foreground: oklch(0.797 0.016 78.239);
--popover: oklch(0.103 0.014 112.362);
--popover-foreground: oklch(0.989 0.005 111.116);
--card: oklch(0.103 0.014 112.362);
--card-foreground: oklch(0.989 0.005 111.116);
--border: oklch(0.225 0.011 111.884);
--input: oklch(0.225 0.011 111.884);
--primary: oklch(0.911 0.03 111.619);
--primary-foreground: oklch(0.426 0.056 113.453);
--secondary: oklch(0.895 0.02 78.223);
--secondary-foreground: oklch(0.394 0.04 77.294);
--accent: oklch(0.902 0.033 132.638);
--accent-foreground: oklch(0.411 0.064 133.761);
--destructive: oklch(0.639 0.212 34.944);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.911 0.03 111.619);
--chart-1: oklch(0.911 0.03 111.619);
--chart-2: oklch(0.895 0.02 78.223);
--chart-3: oklch(0.902 0.033 132.638);
--chart-4: oklch(0.916 0.016 78.247);
--chart-5: oklch(0.913 0.033 111.678);
}