Disciplinary Sun Crete is a shadcn/ui theme built around a vivid orange primary color (#ff8d0a) with muted purple accents (#b38cb4). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid orange primary (#ff8d0a) on an indigo-tinted background (#1c1c21).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #1c1c21black |
| Foreground | #130d06black | #fceef0lavenderblush |
| Card | #fefdfbsnow | #2f2f37darkslategray |
| Card foreground | #130d06black | #fceef0lavenderblush |
| Popover | #fefdfbsnow | #070503black |
| Popover foreground | #130d06black | #fceef0lavenderblush |
| Primary | #ff8d0adarkorange | #ff8d0adarkorange |
| Primary foreground | #3d2100black | #1d2125black |
| Secondary | #c2c6besilver | #c2c6besilver |
| Secondary foreground | #ffffffwhite | #1d2125black |
| Muted | #dadee2gainsboro | #1d2125black |
| Muted foreground | #3d4751darkslategray | #aeb7c2silver |
| Accent | #b38cb4darkgray | #936194gray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #bf2239firebrick | #ea5c43tomato |
| Destructive foreground | #fceef0lavenderblush | #000000black |
| Border | #ecebe9linen | #1c1c21black |
| Input | #ecebe9linen | #fceef0lavenderblush |
| Ring | #ffa947sandybrown | #ff8d0adarkorange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.92:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 6.39:1 | AA |
| Secondary button | 1.73:1 | Fail |
| Muted text | 6.97:1 | AA |
| Accent | 2.86:1 | Fail |
| Destructive | 5.31:1 | AA |
| Text on background | 15.05:1 | AAA |
| Text on card | 11.76:1 | AAA |
| Primary button | 6.98:1 | AA |
| Secondary button | 9.34:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 4.79:1 | AA |
| Destructive | 6.10:1 | AA |
Paste this into your globals.css to use Disciplinary Sun Crete in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 71.431);
--foreground: oklch(0.165 0.018 71.846);
--muted: oklch(0.898 0.008 251.519);
--muted-foreground: oklch(0.393 0.022 251.852);
--popover: oklch(0.993 0.002 71.431);
--popover-foreground: oklch(0.165 0.018 71.846);
--card: oklch(0.993 0.002 71.431);
--card-foreground: oklch(0.165 0.018 71.846);
--border: oklch(0.94 0.003 71.424);
--input: oklch(0.94 0.003 71.424);
--primary: oklch(0.752 0.178 58.195);
--primary-foreground: oklch(0.278 0.063 64.483);
--secondary: oklch(0.821 0.012 128.622);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.69 0.073 325.527);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.524 0.19 19.983);
--destructive-foreground: oklch(0.961 0.015 7.487);
--ring: oklch(0.803 0.149 65.898);
--chart-1: oklch(0.752 0.178 58.195);
--chart-2: oklch(0.821 0.012 128.622);
--chart-3: oklch(0.69 0.073 325.527);
--chart-4: oklch(0.844 0.01 128.597);
--chart-5: oklch(0.757 0.181 57.507);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.229 0.01 285.617);
--foreground: oklch(0.961 0.015 7.487);
--muted: oklch(0.245 0.011 251.77);
--muted-foreground: oklch(0.775 0.018 251.634);
--popover: oklch(0.119 0.011 77.873);
--popover-foreground: oklch(0.961 0.015 7.487);
--card: oklch(0.308 0.014 285.535);
--card-foreground: oklch(0.961 0.015 7.487);
--border: oklch(0.229 0.01 285.617);
--input: oklch(0.961 0.015 7.487);
--primary: oklch(0.752 0.178 58.195);
--primary-foreground: oklch(0.245 0.01 248.22);
--secondary: oklch(0.821 0.012 128.622);
--secondary-foreground: oklch(0.245 0.01 248.22);
--accent: oklch(0.564 0.096 326.089);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.655 0.181 32.158);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.752 0.178 58.195);
--chart-1: oklch(0.752 0.178 58.195);
--chart-2: oklch(0.821 0.012 128.622);
--chart-3: oklch(0.564 0.096 326.089);
--chart-4: oklch(0.844 0.01 128.597);
--chart-5: oklch(0.757 0.181 57.507);
}