Austere is a shadcn/ui theme built around a muted light blue primary color (#e6e7ef) with muted light yellow accents (#efeee6). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the muted light blue primary (#e6e7ef) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #030407black |
| Foreground | #050610black | #fcfcfdwhite |
| Card | #f3f4fcaliceblue | #05060ablack |
| Card foreground | #03050cblack | #ffffffwhite |
| Popover | #f7f8fdghostwhite | #030407black |
| Popover foreground | #050610black | #fcfcfdwhite |
| Primary | #e6e7eflavender | #e6e7eflavender |
| Primary foreground | #404564darkslategray | #404564darkslategray |
| Secondary | #efeee6linen | #efeee6linen |
| Secondary foreground | #252318black | #252318black |
| Muted | #edede8linen | #171612black |
| Muted foreground | #676765dimgray | #9a9a98darkgray |
| Accent | #efeee6linen | #efeee6linen |
| Accent foreground | #252318black | #252318black |
| Destructive | #933b0bsaddlebrown | #e45b11chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6e7eflavender | #e6e7eflavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 18.62:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 13.52:1 | AAA |
| Muted text | 4.81:1 | AA |
| Accent | 13.52:1 | AAA |
| Destructive | 7.33:1 | AAA |
| Text on background | 19.98:1 | AAA |
| Text on card | 20.25:1 | AAA |
| Primary button | 7.58:1 | AAA |
| Secondary button | 13.52:1 | AAA |
| Muted text | 6.40:1 | AA |
| Accent | 13.52:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Austere in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 278.222);
--foreground: oklch(0.127 0.023 272.516);
--muted: oklch(0.944 0.007 98.415);
--muted-foreground: oklch(0.512 0.003 98.393);
--popover: oklch(0.98 0.007 278.222);
--popover-foreground: oklch(0.127 0.023 272.516);
--card: oklch(0.969 0.01 278.171);
--card-foreground: oklch(0.115 0.02 272.058);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.931 0.01 278.155);
--primary-foreground: oklch(0.399 0.052 276.081);
--secondary: oklch(0.947 0.01 98.469);
--secondary-foreground: oklch(0.256 0.021 99.254);
--accent: oklch(0.947 0.01 98.469);
--accent-foreground: oklch(0.256 0.021 99.254);
--destructive: oklch(0.467 0.131 43.291);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.01 278.155);
--chart-1: oklch(0.931 0.01 278.155);
--chart-2: oklch(0.947 0.01 98.469);
--chart-3: oklch(0.947 0.01 98.469);
--chart-4: oklch(0.967 0.006 98.41);
--chart-5: oklch(0.929 0.012 278.132);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.01 275.171);
--foreground: oklch(0.991 0.001 278.3);
--muted: oklch(0.201 0.009 98.923);
--muted-foreground: oklch(0.685 0.003 98.37);
--popover: oklch(0.107 0.01 275.171);
--popover-foreground: oklch(0.991 0.001 278.3);
--card: oklch(0.123 0.011 275.171);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.931 0.01 278.155);
--primary-foreground: oklch(0.399 0.052 276.081);
--secondary: oklch(0.947 0.01 98.469);
--secondary-foreground: oklch(0.256 0.021 99.254);
--accent: oklch(0.947 0.01 98.469);
--accent-foreground: oklch(0.256 0.021 99.254);
--destructive: oklch(0.64 0.185 42.459);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.01 278.155);
--chart-1: oklch(0.931 0.01 278.155);
--chart-2: oklch(0.947 0.01 98.469);
--chart-3: oklch(0.947 0.01 98.469);
--chart-4: oklch(0.967 0.006 98.41);
--chart-5: oklch(0.929 0.012 278.132);
}