Tiny African Sand is a shadcn/ui theme built around an orange primary color (#cba986) with muted light orange accents (#efebe7). The light mode uses a neutral background (#fefdfb). Dark mode keeps the orange primary (#cba986) on a neutral background (#080502).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #080502black |
| Foreground | #0e0802black | #fcfaf8snow |
| Card | #fdfaf7snow | #0c0804black |
| Card foreground | #090501black | #fdfcfbsnow |
| Popover | #fdfaf7snow | #0c0804black |
| Popover foreground | #090501black | #fdfcfbsnow |
| Primary | #cba986tan | #cba986tan |
| Primary foreground | #151009black | #151009black |
| Secondary | #efebe7linen | #1c1a17black |
| Secondary foreground | #625241darkolivegreen | #b9b3acdarkgray |
| Muted | #f5f0ealinen | #150f0ablack |
| Muted foreground | #655f58dimgray | #a7a19adarkgray |
| Accent | #efebe7linen | #1c1a17black |
| Accent foreground | #625241darkolivegreen | #b9b3acdarkgray |
| Destructive | #702200maroon | #f54900orangered |
| Destructive foreground | #ffbfa3lightpink | #ffffffwhite |
| Border | #f2f0edwhitesmoke | #26211cblack |
| Input | #f2f0edwhitesmoke | #26211cblack |
| Ring | #cba986tan | #cba986tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 6.30:1 | AA |
| Muted text | 5.56:1 | AA |
| Accent | 6.30:1 | AA |
| Destructive | 6.90:1 | AA |
| Text on background | 19.51:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 8.64:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 8.38:1 | AAA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Tiny African Sand in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 69.624);
--foreground: oklch(0.139 0.022 79.334);
--muted: oklch(0.957 0.009 69.557);
--muted-foreground: oklch(0.488 0.013 69.36);
--popover: oklch(0.987 0.005 69.596);
--popover-foreground: oklch(0.121 0.019 80.828);
--card: oklch(0.987 0.005 69.596);
--card-foreground: oklch(0.121 0.019 80.828);
--border: oklch(0.956 0.004 69.61);
--input: oklch(0.956 0.004 69.61);
--primary: oklch(0.757 0.063 68.531);
--primary-foreground: oklch(0.176 0.016 68.461);
--secondary: oklch(0.941 0.007 69.576);
--secondary-foreground: oklch(0.45 0.034 68.68);
--accent: oklch(0.941 0.007 69.576);
--accent-foreground: oklch(0.45 0.034 68.68);
--destructive: oklch(0.37 0.118 39.446);
--destructive-foreground: oklch(0.856 0.083 44.229);
--ring: oklch(0.757 0.063 68.531);
--chart-1: oklch(0.757 0.063 68.531);
--chart-2: oklch(0.941 0.007 69.576);
--chart-3: oklch(0.941 0.007 69.576);
--chart-4: oklch(0.963 0.004 69.605);
--chart-5: oklch(0.759 0.067 68.415);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.013 77.171);
--foreground: oklch(0.986 0.003 69.617);
--muted: oklch(0.175 0.014 68.618);
--muted-foreground: oklch(0.712 0.012 69.475);
--popover: oklch(0.137 0.014 76.658);
--popover-foreground: oklch(0.993 0.002 69.634);
--card: oklch(0.137 0.014 76.658);
--card-foreground: oklch(0.993 0.002 69.634);
--border: oklch(0.253 0.012 69.113);
--input: oklch(0.253 0.012 69.113);
--primary: oklch(0.757 0.063 68.531);
--primary-foreground: oklch(0.176 0.016 68.461);
--secondary: oklch(0.218 0.006 69.374);
--secondary-foreground: oklch(0.769 0.013 69.485);
--accent: oklch(0.218 0.006 69.374);
--accent-foreground: oklch(0.769 0.013 69.485);
--destructive: oklch(0.647 0.217 36.962);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.757 0.063 68.531);
--chart-1: oklch(0.757 0.063 68.531);
--chart-2: oklch(0.218 0.006 69.374);
--chart-3: oklch(0.218 0.006 69.374);
--chart-4: oklch(0.251 0.007 69.348);
--chart-5: oklch(0.759 0.067 68.415);
}