Animated is a shadcn/ui theme built around a light green primary color (#d8dcac) with light indigo accents (#b0acdc). The light mode uses a neutral background (#fefefb). Dark mode keeps the light green primary (#d8dcac) on a neutral background (#080802).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #080802black |
| Foreground | #111202black | #fdfdfcwhite |
| Card | #fefefbwhite | #080802black |
| Card foreground | #111202black | #fdfdfcwhite |
| Popover | #fefefbwhite | #080802black |
| Popover foreground | #111202black | #fdfdfcwhite |
| Primary | #d8dcacpalegoldenrod | #d8dcacpalegoldenrod |
| Primary foreground | #3a3d1adarkslategray | #3a3d1adarkslategray |
| Secondary | #b0acdclightsteelblue | #b0acdclightsteelblue |
| Secondary foreground | #1d1a3dmidnightblue | #1d1a3dmidnightblue |
| Muted | #e2e2e4gainsboro | #1b1b1dblack |
| Muted foreground | #55545fdimgray | #a1a0abdarkgray |
| Accent | #b0acdclightsteelblue | #b0acdclightsteelblue |
| Accent foreground | #1d1a3dmidnightblue | #1d1a3dmidnightblue |
| Destructive | #b61807firebrick | #f6250eorangered |
| Destructive foreground | #fef2f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d8dcacpalegoldenrod | #d8dcacpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 5.73:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.13:1 | AA |
| Text on background | 19.72:1 | AAA |
| Text on card | 19.72:1 | AAA |
| Primary button | 7.95:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 6.67:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use Animated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 110.329);
--foreground: oklch(0.177 0.034 113.111);
--muted: oklch(0.912 0.004 290.169);
--muted-foreground: oklch(0.45 0.017 289.511);
--popover: oklch(0.996 0.004 110.329);
--popover-foreground: oklch(0.177 0.034 113.111);
--card: oklch(0.996 0.004 110.329);
--card-foreground: oklch(0.177 0.034 113.111);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.881 0.064 111.569);
--primary-foreground: oklch(0.349 0.055 113.15);
--secondary: oklch(0.765 0.068 288.487);
--secondary-foreground: oklch(0.241 0.066 284.075);
--accent: oklch(0.765 0.068 288.487);
--accent-foreground: oklch(0.241 0.066 284.075);
--destructive: oklch(0.497 0.192 30.458);
--destructive-foreground: oklch(0.97 0.014 25.112);
--ring: oklch(0.881 0.064 111.569);
--chart-1: oklch(0.881 0.064 111.569);
--chart-2: oklch(0.765 0.068 288.487);
--chart-3: oklch(0.765 0.068 288.487);
--chart-4: oklch(0.796 0.059 288.805);
--chart-5: oklch(0.885 0.068 111.652);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.131 0.019 111.798);
--foreground: oklch(0.994 0.002 110.286);
--muted: oklch(0.222 0.005 289.785);
--muted-foreground: oklch(0.711 0.015 289.836);
--popover: oklch(0.131 0.019 111.798);
--popover-foreground: oklch(0.994 0.002 110.286);
--card: oklch(0.131 0.019 111.798);
--card-foreground: oklch(0.994 0.002 110.286);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.881 0.064 111.569);
--primary-foreground: oklch(0.349 0.055 113.15);
--secondary: oklch(0.765 0.068 288.487);
--secondary-foreground: oklch(0.241 0.066 284.075);
--accent: oklch(0.765 0.068 288.487);
--accent-foreground: oklch(0.241 0.066 284.075);
--destructive: oklch(0.623 0.24 30.428);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.881 0.064 111.569);
--chart-1: oklch(0.881 0.064 111.569);
--chart-2: oklch(0.765 0.068 288.487);
--chart-3: oklch(0.765 0.068 288.487);
--chart-4: oklch(0.796 0.059 288.805);
--chart-5: oklch(0.885 0.068 111.652);
}