Sentimental is a shadcn/ui theme built around a light green primary color (#d3d8b1) with muted light green accents (#d2d4c4). The light mode uses a neutral background (#fefefb). Dark mode keeps the light green primary (#d3d8b1) on a green-tinted background (#0e0f06).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #0e0f06black |
| Foreground | #121405black | #fdfdfcwhite |
| Card | #fdfdf6snow | #111207black |
| Card foreground | #0f1004black | #ffffffwhite |
| Popover | #fdfdf6snow | #111207black |
| Popover foreground | #0f1004black | #ffffffwhite |
| Primary | #d3d8b1palegoldenrod | #d3d8b1palegoldenrod |
| Primary foreground | #363a1ddarkslategray | #363a1ddarkslategray |
| Secondary | #e4e5e1gainsboro | #353725darkslategray |
| Secondary foreground | #4d4e46darkslategray | #cfd2bclightgrey |
| Muted | #e3e5d2gainsboro | #2b2d1adarkslategray |
| Muted foreground | #595b48darkolivegreen | #b5b7a4darkgray |
| Accent | #d2d4c4lightgrey | #474b2adarkolivegreen |
| Accent foreground | #393b2bdarkslategray | #dde0c8lightgrey |
| Destructive | #853100saddlebrown | #ff670forangered |
| Destructive foreground | #ffd2b8peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d3d8b1palegoldenrod | #d3d8b1palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.43:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 7.97:1 | AAA |
| Secondary button | 6.64:1 | AA |
| Muted text | 5.43:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.25:1 | AA |
| Text on background | 18.97:1 | AAA |
| Text on card | 18.81:1 | AAA |
| Primary button | 7.97:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 6.73:1 | AA |
| Destructive | 7.20:1 | AAA |
Paste this into your globals.css to use Sentimental in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.005 111.866);
--foreground: oklch(0.185 0.028 114.4);
--muted: oklch(0.915 0.026 112.306);
--muted-foreground: oklch(0.465 0.031 113);
--popover: oklch(0.993 0.009 111.952);
--popover-foreground: oklch(0.168 0.025 113.988);
--card: oklch(0.993 0.009 111.952);
--card-foreground: oklch(0.168 0.025 113.988);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.868 0.052 112.888);
--primary-foreground: oklch(0.336 0.046 114.349);
--secondary: oklch(0.92 0.005 111.872);
--secondary-foreground: oklch(0.422 0.014 112.415);
--accent: oklch(0.863 0.021 112.229);
--accent-foreground: oklch(0.344 0.026 113.159);
--destructive: oklch(0.427 0.126 43.157);
--destructive-foreground: oklch(0.895 0.062 51.699);
--ring: oklch(0.868 0.052 112.888);
--chart-1: oklch(0.868 0.052 112.888);
--chart-2: oklch(0.92 0.005 111.872);
--chart-3: oklch(0.863 0.021 112.229);
--chart-4: oklch(0.942 0.003 111.845);
--chart-5: oklch(0.872 0.056 112.978);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.162 0.019 113.557);
--foreground: oklch(0.993 0.001 111.792);
--muted: oklch(0.29 0.033 113.884);
--muted-foreground: oklch(0.773 0.027 112.437);
--popover: oklch(0.178 0.022 113.938);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.178 0.022 113.938);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.868 0.052 112.888);
--primary-foreground: oklch(0.336 0.046 114.349);
--secondary: oklch(0.328 0.029 113.437);
--secondary-foreground: oklch(0.855 0.029 112.411);
--accent: oklch(0.401 0.051 114.159);
--accent-foreground: oklch(0.897 0.033 112.455);
--destructive: oklch(0.698 0.202 43.032);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.868 0.052 112.888);
--chart-1: oklch(0.868 0.052 112.888);
--chart-2: oklch(0.328 0.029 113.437);
--chart-3: oklch(0.401 0.051 114.159);
--chart-4: oklch(0.362 0.033 113.486);
--chart-5: oklch(0.872 0.056 112.978);
}