Everlasting is a shadcn/ui theme built around a muted light teal primary color (#dfecec) with muted light teal accents (#c2d6d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light teal primary (#dfecec) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030707black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #ffffffwhite | #030707black |
| Card foreground | #000000black | #fcfdfdwhite |
| Popover | #ffffffwhite | #030707black |
| Popover foreground | #000000black | #fcfdfdwhite |
| Primary | #dfececlavender | #dfececlavender |
| Primary foreground | #132020black | #132020black |
| Secondary | #e0e6e6gainsboro | #1d2525black |
| Secondary foreground | #435151darkslategray | #b2c2c2silver |
| Muted | #ebefefwhitesmoke | #101414black |
| Muted foreground | #465d5ddarkslategray | #a2b9b8darkgray |
| Accent | #c2d6d5lightgrey | #2e4242darkslategray |
| Accent foreground | #293d3cdarkslategray | #c9d9d9lightgrey |
| Destructive | #dc1709red | #f52819orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dfececlavender | #dfececlavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 13.80:1 | AAA |
| Secondary button | 6.55:1 | AA |
| Muted text | 6.08:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 5.02:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 13.80:1 | AAA |
| Secondary button | 8.46:1 | AAA |
| Muted text | 8.99:1 | AAA |
| Accent | 7.28:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Everlasting in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.949 0.004 195.897);
--muted-foreground: oklch(0.46 0.028 194.959);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.933 0.014 195.721);
--primary-foreground: oklch(0.231 0.018 194.678);
--secondary: oklch(0.92 0.006 195.859);
--secondary-foreground: oklch(0.423 0.019 195.224);
--accent: oklch(0.861 0.021 195.556);
--accent-foreground: oklch(0.342 0.025 194.757);
--destructive: oklch(0.569 0.225 29.757);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.933 0.014 195.721);
--chart-1: oklch(0.933 0.014 195.721);
--chart-2: oklch(0.92 0.006 195.859);
--chart-3: oklch(0.861 0.021 195.556);
--chart-4: oklch(0.942 0.004 195.893);
--chart-5: oklch(0.934 0.015 195.692);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.008 195.043);
--foreground: oklch(0.993 0.001 195.962);
--muted: oklch(0.186 0.006 195.408);
--muted-foreground: oklch(0.768 0.025 195.413);
--popover: oklch(0.121 0.008 195.043);
--popover-foreground: oklch(0.993 0.001 195.962);
--card: oklch(0.121 0.008 195.043);
--card-foreground: oklch(0.993 0.001 195.962);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.933 0.014 195.721);
--primary-foreground: oklch(0.231 0.018 194.678);
--secondary: oklch(0.257 0.011 195.222);
--secondary-foreground: oklch(0.803 0.018 195.584);
--accent: oklch(0.363 0.025 194.79);
--accent-foreground: oklch(0.874 0.018 195.622);
--destructive: oklch(0.623 0.237 29.668);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.933 0.014 195.721);
--chart-1: oklch(0.933 0.014 195.721);
--chart-2: oklch(0.257 0.011 195.222);
--chart-3: oklch(0.363 0.025 194.79);
--chart-4: oklch(0.291 0.013 195.183);
--chart-5: oklch(0.934 0.015 195.692);
}