Sculptural is a shadcn/ui theme built around a light teal primary color (#e7f9f3) with light pink accents (#f9e7ed). The light mode uses a neutral background (#f6fdfb). Dark mode keeps the light teal primary (#e7f9f3) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdfbmintcream | #030706black |
| Foreground | #020906black | #f8fbfamintcream |
| Card | #f2fdf9mintcream | #040b09black |
| Card foreground | #010403black | #fcfdfdwhite |
| Popover | #f2fdf9mintcream | #040b09black |
| Popover foreground | #010403black | #fcfdfdwhite |
| Primary | #e7f9f3honeydew | #e7f9f3honeydew |
| Primary foreground | #0f382bdarkslategray | #0f382bdarkslategray |
| Secondary | #f9e7edlinen | #f9e7edlinen |
| Secondary foreground | #892446brown | #892446brown |
| Muted | #ded8dagainsboro | #272123black |
| Muted foreground | #58464cdarkslategray | #b9a7addarkgray |
| Accent | #f9e7edlinen | #f9e7edlinen |
| Accent foreground | #892446brown | #892446brown |
| Destructive | #b93704firebrick | #fa4a05orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e7f9f3honeydew | #e7f9f3honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 11.83:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 6.25:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 5.81:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 11.83:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 6.94:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 3.46:1 | AA Large |
Paste this into your globals.css to use Sculptural in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.008 174.35);
--foreground: oklch(0.126 0.018 174.866);
--muted: oklch(0.889 0.007 354.806);
--muted-foreground: oklch(0.416 0.025 356.281);
--popover: oklch(0.984 0.012 174.228);
--popover-foreground: oklch(0.1 0.014 174.866);
--card: oklch(0.984 0.012 174.228);
--card-foreground: oklch(0.1 0.014 174.866);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.966 0.02 173.966);
--primary-foreground: oklch(0.309 0.052 167.402);
--secondary: oklch(0.943 0.021 355.215);
--secondary-foreground: oklch(0.431 0.137 4.906);
--accent: oklch(0.943 0.021 355.215);
--accent-foreground: oklch(0.431 0.137 4.906);
--destructive: oklch(0.527 0.174 37.098);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.966 0.02 173.966);
--chart-1: oklch(0.966 0.02 173.966);
--chart-2: oklch(0.943 0.021 355.215);
--chart-3: oklch(0.943 0.021 355.215);
--chart-4: oklch(0.972 0.01 354.891);
--chart-5: oklch(0.967 0.021 173.934);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 174.79);
--foreground: oklch(0.987 0.003 174.484);
--muted: oklch(0.254 0.009 355.622);
--muted-foreground: oklch(0.746 0.022 355.41);
--popover: oklch(0.141 0.015 174.561);
--popover-foreground: oklch(0.993 0.002 174.536);
--card: oklch(0.141 0.015 174.561);
--card-foreground: oklch(0.993 0.002 174.536);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.966 0.02 173.966);
--primary-foreground: oklch(0.309 0.052 167.402);
--secondary: oklch(0.943 0.021 355.215);
--secondary-foreground: oklch(0.431 0.137 4.906);
--accent: oklch(0.943 0.021 355.215);
--accent-foreground: oklch(0.431 0.137 4.906);
--destructive: oklch(0.657 0.22 36.523);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.966 0.02 173.966);
--chart-1: oklch(0.966 0.02 173.966);
--chart-2: oklch(0.943 0.021 355.215);
--chart-3: oklch(0.943 0.021 355.215);
--chart-4: oklch(0.972 0.01 354.891);
--chart-5: oklch(0.967 0.021 173.934);
}