Brief Smalt is a shadcn/ui theme built around a blue primary color (#173396) with yellow accents (#967b17). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the blue primary (#173396) on a blue-tinted background (#06080f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #06080fblack |
| Foreground | #050814black | #f9f9fbghostwhite |
| Card | #fbfcfewhite | #06080fblack |
| Card foreground | #050814black | #f9f9fbghostwhite |
| Popover | #fbfcfewhite | #06080fblack |
| Popover foreground | #050814black | #f9f9fbghostwhite |
| Primary | #173396midnightblue | #173396midnightblue |
| Primary foreground | #e5e9fblavender | #e5e9fblavender |
| Secondary | #967b17olive | #967b17olive |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #ddddd9gainsboro | #262522darkslategray |
| Muted foreground | #6c6651dimgray | #aea893darkgray |
| Accent | #967b17olive | #967b17olive |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #7d2b0csaddlebrown | #da4a16chocolate |
| Destructive foreground | #f9d1c3peachpuff | #ffffffwhite |
| Border | #e7e8e9lavender | #202122black |
| Input | #e7e8e9lavender | #202122black |
| Ring | #173396midnightblue | #173396midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.92:1 | AAA |
| Secondary button | 4.10:1 | AA Large |
| Muted text | 4.20:1 | AA Large |
| Accent | 4.10:1 | AA Large |
| Destructive | 6.72:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.08:1 | AAA |
| Primary button | 8.92:1 | AAA |
| Secondary button | 4.10:1 | AA Large |
| Muted text | 6.44:1 | AA |
| Accent | 4.10:1 | AA Large |
| Destructive | 4.22:1 | AA Large |
Paste this into your globals.css to use Brief Smalt in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 273.832);
--foreground: oklch(0.14 0.027 268.34);
--muted: oklch(0.896 0.005 93.921);
--muted-foreground: oklch(0.509 0.032 94.399);
--popover: oklch(0.99 0.003 273.832);
--popover-foreground: oklch(0.14 0.027 268.34);
--card: oklch(0.99 0.003 273.832);
--card-foreground: oklch(0.14 0.027 268.34);
--border: oklch(0.93 0.001 273.847);
--input: oklch(0.93 0.001 273.847);
--primary: oklch(0.373 0.165 266.051);
--primary-foreground: oklch(0.937 0.024 273.558);
--secondary: oklch(0.591 0.114 91.895);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.591 0.114 91.895);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.407 0.122 38.302);
--destructive-foreground: oklch(0.891 0.049 40.986);
--ring: oklch(0.373 0.165 266.051);
--chart-1: oklch(0.373 0.165 266.051);
--chart-2: oklch(0.591 0.114 91.895);
--chart-3: oklch(0.591 0.114 91.895);
--chart-4: oklch(0.628 0.121 91.814);
--chart-5: oklch(0.372 0.171 265.754);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.017 269.245);
--foreground: oklch(0.984 0.002 273.846);
--muted: oklch(0.264 0.006 94.107);
--muted-foreground: oklch(0.731 0.03 94.251);
--popover: oklch(0.133 0.017 269.245);
--popover-foreground: oklch(0.984 0.002 273.846);
--card: oklch(0.133 0.017 269.245);
--card-foreground: oklch(0.984 0.002 273.846);
--border: oklch(0.246 0.003 273.725);
--input: oklch(0.246 0.003 273.725);
--primary: oklch(0.373 0.165 266.051);
--primary-foreground: oklch(0.937 0.024 273.558);
--secondary: oklch(0.591 0.114 91.895);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.591 0.114 91.895);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.604 0.189 37.611);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.373 0.165 266.051);
--chart-1: oklch(0.373 0.165 266.051);
--chart-2: oklch(0.591 0.114 91.895);
--chart-3: oklch(0.591 0.114 91.895);
--chart-4: oklch(0.628 0.121 91.814);
--chart-5: oklch(0.372 0.171 265.754);
}