Fresh is a shadcn/ui theme built around a vivid red primary color (#eb3d63) with vivid teal accents (#3debc5). The light mode uses a neutral background (#fefbfc). Dark mode keeps the vivid red primary (#eb3d63) on a neutral background (#070304).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #070304black |
| Foreground | #0c0305black | #fdfcfcsnow |
| Card | #fefbfcsnow | #070304black |
| Card foreground | #0c0305black | #fdfcfcsnow |
| Popover | #fefbfcsnow | #070304black |
| Popover foreground | #0c0305black | #fdfcfcsnow |
| Primary | #eb3d63indianred | #eb3d63indianred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #3debc5turquoise | #3debc5turquoise |
| Secondary foreground | #000000black | #000000black |
| Muted | #eaf0efwhitesmoke | #0f1514black |
| Muted foreground | #576b66dimgray | #94a8a4darkgray |
| Accent | #3debc5turquoise | #3debc5turquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #97130cdarkred | #f04b42tomato |
| Destructive foreground | #fcdbd9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eb3d63indianred | #eb3d63indianred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 13.84:1 | AAA |
| Muted text | 4.92:1 | AA |
| Accent | 13.84:1 | AAA |
| Destructive | 6.73:1 | AA |
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 13.84:1 | AAA |
| Muted text | 7.38:1 | AAA |
| Accent | 13.84:1 | AAA |
| Destructive | 3.63:1 | AA Large |
Paste this into your globals.css to use Fresh in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 2.151);
--foreground: oklch(0.12 0.022 2.413);
--muted: oklch(0.951 0.007 181.871);
--muted-foreground: oklch(0.509 0.024 180.685);
--popover: oklch(0.991 0.003 2.151);
--popover-foreground: oklch(0.12 0.022 2.413);
--card: oklch(0.991 0.003 2.151);
--card-foreground: oklch(0.12 0.022 2.413);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.629 0.209 13.469);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.844 0.147 174.252);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.844 0.147 174.252);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.433 0.166 29.242);
--destructive-foreground: oklch(0.918 0.037 21.431);
--ring: oklch(0.629 0.209 13.469);
--chart-1: oklch(0.629 0.209 13.469);
--chart-2: oklch(0.844 0.147 174.252);
--chart-3: oklch(0.844 0.147 174.252);
--chart-4: oklch(0.852 0.141 175.081);
--chart-5: oklch(0.631 0.214 13.999);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.108 0.013 2.156);
--foreground: oklch(0.992 0.001 2.093);
--muted: oklch(0.188 0.01 180.564);
--muted-foreground: oklch(0.715 0.023 181.168);
--popover: oklch(0.108 0.013 2.156);
--popover-foreground: oklch(0.992 0.001 2.093);
--card: oklch(0.108 0.013 2.156);
--card-foreground: oklch(0.992 0.001 2.093);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.629 0.209 13.469);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.844 0.147 174.252);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.844 0.147 174.252);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.645 0.203 27.377);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.629 0.209 13.469);
--chart-1: oklch(0.629 0.209 13.469);
--chart-2: oklch(0.844 0.147 174.252);
--chart-3: oklch(0.844 0.147 174.252);
--chart-4: oklch(0.852 0.141 175.081);
--chart-5: oklch(0.631 0.214 13.999);
}