Sinuosity is a shadcn/ui theme built around a muted teal primary color (#5e8d7f) with muted cyan accents (#5e838d). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted teal primary (#5e8d7f) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030706black |
| Foreground | #000000black | #f8fcfbmintcream |
| Card | #ffffffwhite | #030706black |
| Card foreground | #000000black | #f8fcfbmintcream |
| Popover | #ffffffwhite | #030706black |
| Popover foreground | #000000black | #f8fcfbmintcream |
| Primary | #5e8d7fslategray | #5e8d7fslategray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #5e8d68dimgray | #5e8d68dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2eee5gainsboro | #111d13black |
| Muted foreground | #404f43darkslategray | #b0bfb3silver |
| Accent | #5e838dslategray | #5e838dslategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7a1f05maroon | #f5410forangered |
| Destructive foreground | #fcc5b6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5e8d7fslategray | #5e8d7fslategray |
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 | 3.76:1 | AA Large |
| Secondary button | 3.83:1 | AA Large |
| Muted text | 7.28:1 | AAA |
| Accent | 4.13:1 | AA Large |
| Destructive | 6.81:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 3.76:1 | AA Large |
| Secondary button | 3.83:1 | AA Large |
| Muted text | 9.04:1 | AAA |
| Accent | 4.13:1 | AA Large |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Sinuosity in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.938 0.018 152.306);
--muted-foreground: oklch(0.411 0.028 151.478);
--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.605 0.055 174.699);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.598 0.076 150.408);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.585 0.044 216.751);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.386 0.13 34.933);
--destructive-foreground: oklch(0.868 0.067 35.99);
--ring: oklch(0.605 0.055 174.699);
--chart-1: oklch(0.605 0.055 174.699);
--chart-2: oklch(0.598 0.076 150.408);
--chart-3: oklch(0.585 0.044 216.751);
--chart-4: oklch(0.626 0.08 150.393);
--chart-5: oklch(0.612 0.062 174.258);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.012 177.832);
--foreground: oklch(0.987 0.004 177.6);
--muted: oklch(0.216 0.026 150.543);
--muted-foreground: oklch(0.79 0.024 152.126);
--popover: oklch(0.123 0.012 177.832);
--popover-foreground: oklch(0.987 0.004 177.6);
--card: oklch(0.123 0.012 177.832);
--card-foreground: oklch(0.987 0.004 177.6);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.605 0.055 174.699);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.598 0.076 150.408);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.585 0.044 216.751);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.64 0.222 34.274);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.605 0.055 174.699);
--chart-1: oklch(0.605 0.055 174.699);
--chart-2: oklch(0.598 0.076 150.408);
--chart-3: oklch(0.585 0.044 216.751);
--chart-4: oklch(0.626 0.08 150.393);
--chart-5: oklch(0.612 0.062 174.258);
}