Sculptural is a shadcn/ui theme built around a light red primary color (#f5d1d4) with light teal accents (#d1f5f2). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#f5d1d4) on a neutral background (#070303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070303black |
| Foreground | #040101black | #faf5f5whitesmoke |
| Card | #ffffffwhite | #070303black |
| Card foreground | #040101black | #faf5f5whitesmoke |
| Popover | #ffffffwhite | #070303black |
| Popover foreground | #040101black | #faf5f5whitesmoke |
| Primary | #f5d1d4pink | #f5d1d4pink |
| Primary foreground | #791b23maroon | #791b23maroon |
| Secondary | #d1f5f2lightcyan | #d1f5f2lightcyan |
| Secondary foreground | #082523black | #082523black |
| Muted | #d0e6e5gainsboro | #192f2ddarkslategray |
| Muted foreground | #4e5a59darkslategray | #a5b1b0darkgray |
| Accent | #d1f5f2lightcyan | #d1f5f2lightcyan |
| Accent foreground | #082523black | #082523black |
| Destructive | #841401maroon | #fe3d1borangered |
| Destructive foreground | #ffc3b8lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f5d1d4pink | #f5d1d4pink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.79:1 | AAA |
| Text on card | 20.79:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 13.86:1 | AAA |
| Muted text | 5.51:1 | AA |
| Accent | 13.86:1 | AAA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.00:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 7.50:1 | AAA |
| Secondary button | 13.86:1 | AAA |
| Muted text | 6.42:1 | AA |
| Accent | 13.86:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Sculptural in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.082 0.015 13.167);
--muted: oklch(0.909 0.024 190.68);
--muted-foreground: oklch(0.457 0.015 190.536);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.082 0.015 13.167);
--card: oklch(1 0 180);
--card-foreground: oklch(0.082 0.015 13.167);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.892 0.04 12.231);
--primary-foreground: oklch(0.383 0.127 21.347);
--secondary: oklch(0.943 0.037 190.387);
--secondary-foreground: oklch(0.244 0.035 187.538);
--accent: oklch(0.943 0.037 190.387);
--accent-foreground: oklch(0.244 0.035 187.538);
--destructive: oklch(0.396 0.148 32.25);
--destructive-foreground: oklch(0.867 0.071 29.984);
--ring: oklch(0.892 0.04 12.231);
--chart-1: oklch(0.892 0.04 12.231);
--chart-2: oklch(0.943 0.037 190.387);
--chart-3: oklch(0.943 0.037 190.387);
--chart-4: oklch(0.958 0.027 190.631);
--chart-5: oklch(0.891 0.042 12.281);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.106 0.014 12.553);
--foreground: oklch(0.973 0.006 11.379);
--muted: oklch(0.285 0.028 188.908);
--muted-foreground: oklch(0.75 0.013 190.862);
--popover: oklch(0.106 0.014 12.553);
--popover-foreground: oklch(0.973 0.006 11.379);
--card: oklch(0.106 0.014 12.553);
--card-foreground: oklch(0.973 0.006 11.379);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.892 0.04 12.231);
--primary-foreground: oklch(0.383 0.127 21.347);
--secondary: oklch(0.943 0.037 190.387);
--secondary-foreground: oklch(0.244 0.035 187.538);
--accent: oklch(0.943 0.037 190.387);
--accent-foreground: oklch(0.244 0.035 187.538);
--destructive: oklch(0.652 0.232 32.126);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.892 0.04 12.231);
--chart-1: oklch(0.892 0.04 12.231);
--chart-2: oklch(0.943 0.037 190.387);
--chart-3: oklch(0.943 0.037 190.387);
--chart-4: oklch(0.958 0.027 190.631);
--chart-5: oklch(0.891 0.042 12.281);
}