Feisty is a shadcn/ui theme built around a muted light teal primary color (#e3e8e7) with muted light pink accents (#e8e3e4). The light mode uses a neutral background (#fbfefd). Dark mode keeps the muted light teal primary (#e3e8e7) on a teal-tinted background (#05100c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #05100cblack |
| Foreground | #041610black | #ffffffwhite |
| Card | #fbfefdwhite | #05100cblack |
| Card foreground | #041610black | #ffffffwhite |
| Popover | #fbfefdwhite | #05100cblack |
| Popover foreground | #041610black | #ffffffwhite |
| Primary | #e3e8e7gainsboro | #e3e8e7gainsboro |
| Primary foreground | #455450darkslategray | #455450darkslategray |
| Secondary | #e8e3e4gainsboro | #e8e3e4gainsboro |
| Secondary foreground | #544549darkslategray | #544549darkslategray |
| Muted | #efecedwhitesmoke | #131011black |
| Muted foreground | #483c40darkslategray | #c3b7basilver |
| Accent | #e8e3e4gainsboro | #e8e3e4gainsboro |
| Accent foreground | #544549darkslategray | #544549darkslategray |
| Destructive | #ca2712firebrick | #eb361eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3e8e7gainsboro | #e3e8e7gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.34:1 | AAA |
| Text on card | 18.34:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 8.93:1 | AAA |
| Accent | 7.11:1 | AAA |
| Destructive | 5.52:1 | AA |
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 7.11:1 | AAA |
| Muted text | 9.70:1 | AAA |
| Accent | 7.11:1 | AAA |
| Destructive | 4.12:1 | AA Large |
Paste this into your globals.css to use Feisty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 176.562);
--foreground: oklch(0.18 0.027 172.226);
--muted: oklch(0.945 0.003 356.758);
--muted-foreground: oklch(0.371 0.018 357.984);
--popover: oklch(0.994 0.003 176.562);
--popover-foreground: oklch(0.18 0.027 172.226);
--card: oklch(0.994 0.003 176.562);
--card-foreground: oklch(0.18 0.027 172.226);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.927 0.006 176.474);
--primary-foreground: oklch(0.432 0.021 175.193);
--secondary: oklch(0.92 0.006 356.842);
--secondary-foreground: oklch(0.407 0.022 358.17);
--accent: oklch(0.92 0.006 356.842);
--accent-foreground: oklch(0.407 0.022 358.17);
--destructive: oklch(0.543 0.2 30.998);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.927 0.006 176.474);
--chart-1: oklch(0.927 0.006 176.474);
--chart-2: oklch(0.92 0.006 356.842);
--chart-3: oklch(0.92 0.006 356.842);
--chart-4: oklch(0.944 0.004 356.783);
--chart-5: oklch(0.928 0.008 176.419);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.019 174.218);
--foreground: oklch(1 0 180);
--muted: oklch(0.179 0.005 357.452);
--muted-foreground: oklch(0.79 0.014 357.178);
--popover: oklch(0.159 0.019 174.218);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.159 0.019 174.218);
--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.927 0.006 176.474);
--primary-foreground: oklch(0.432 0.021 175.193);
--secondary: oklch(0.92 0.006 356.842);
--secondary-foreground: oklch(0.407 0.022 358.17);
--accent: oklch(0.92 0.006 356.842);
--accent-foreground: oklch(0.407 0.022 358.17);
--destructive: oklch(0.615 0.22 31.041);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.927 0.006 176.474);
--chart-1: oklch(0.927 0.006 176.474);
--chart-2: oklch(0.92 0.006 356.842);
--chart-3: oklch(0.92 0.006 356.842);
--chart-4: oklch(0.944 0.004 356.783);
--chart-5: oklch(0.928 0.008 176.419);
}