Loathsome is a shadcn/ui theme built around a vivid teal primary color (#7de6ed) with vivid blue accents (#7daeed). The light mode uses a neutral background (#f6fdfd). Dark mode keeps the vivid teal primary (#7de6ed) on a neutral background (#020808).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfdmintcream | #020808black |
| Foreground | #010405black | #fcfdfdwhite |
| Card | #f6fdfdmintcream | #020808black |
| Card foreground | #010405black | #fcfdfdwhite |
| Popover | #f6fdfdmintcream | #020808black |
| Popover foreground | #010405black | #fcfdfdwhite |
| Primary | #7de6edskyblue | #7de6edskyblue |
| Primary foreground | #072f31darkslategray | #072f31darkslategray |
| Secondary | #7dedbdaquamarine | #7dedbdaquamarine |
| Secondary foreground | #07311fblack | #07311fblack |
| Muted | #d5ddd9gainsboro | #222a27darkslategray |
| Muted foreground | #486056darkslategray | #9fb7acdarkgray |
| Accent | #7daeedskyblue | #7daeedskyblue |
| Accent foreground | #071931black | #071931black |
| Destructive | #b13c02firebrick | #fc5603orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7de6edskyblue | #7de6edskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 10.04:1 | AAA |
| Muted text | 4.90:1 | AA |
| Accent | 7.64:1 | AAA |
| Destructive | 5.97:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 10.04:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 7.64:1 | AAA |
| Destructive | 3.23:1 | AA Large |
Paste this into your globals.css to use Loathsome in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.007 202.14);
--foreground: oklch(0.101 0.014 199.283);
--muted: oklch(0.889 0.009 168.436);
--muted-foreground: oklch(0.466 0.033 166.583);
--popover: oklch(0.989 0.007 202.14);
--popover-foreground: oklch(0.101 0.014 199.283);
--card: oklch(0.989 0.007 202.14);
--card-foreground: oklch(0.101 0.014 199.283);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.864 0.098 201.578);
--primary-foreground: oklch(0.278 0.043 202.077);
--secondary: oklch(0.867 0.125 163.593);
--secondary-foreground: oklch(0.28 0.057 159.949);
--accent: oklch(0.74 0.107 255.459);
--accent-foreground: oklch(0.214 0.054 255.897);
--destructive: oklch(0.518 0.162 39.98);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.864 0.098 201.578);
--chart-1: oklch(0.864 0.098 201.578);
--chart-2: oklch(0.867 0.125 163.593);
--chart-3: oklch(0.74 0.107 255.459);
--chart-4: oklch(0.879 0.114 164.292);
--chart-5: oklch(0.868 0.101 201.589);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.013 199.964);
--foreground: oklch(0.993 0.001 202.209);
--muted: oklch(0.277 0.012 167.422);
--muted-foreground: oklch(0.757 0.03 167.591);
--popover: oklch(0.124 0.013 199.964);
--popover-foreground: oklch(0.993 0.001 202.209);
--card: oklch(0.124 0.013 199.964);
--card-foreground: oklch(0.993 0.001 202.209);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.864 0.098 201.578);
--primary-foreground: oklch(0.278 0.043 202.077);
--secondary: oklch(0.867 0.125 163.593);
--secondary-foreground: oklch(0.28 0.057 159.949);
--accent: oklch(0.74 0.107 255.459);
--accent-foreground: oklch(0.214 0.054 255.897);
--destructive: oklch(0.673 0.214 39.106);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.864 0.098 201.578);
--chart-1: oklch(0.864 0.098 201.578);
--chart-2: oklch(0.867 0.125 163.593);
--chart-3: oklch(0.74 0.107 255.459);
--chart-4: oklch(0.879 0.114 164.292);
--chart-5: oklch(0.868 0.101 201.589);
}