Actual is a shadcn/ui theme built around a teal primary color (#5ddabb) with cyan accents (#5dbbda). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#5ddabb) on a teal-tinted background (#070e0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #070e0cblack |
| Foreground | #020907black | #ffffffwhite |
| Card | #f7fdfbmintcream | #08110fblack |
| Card foreground | #010403black | #ffffffwhite |
| Popover | #f7fdfbmintcream | #08110fblack |
| Popover foreground | #010403black | #ffffffwhite |
| Primary | #5ddabbmediumaquamarine | #5ddabbmediumaquamarine |
| Primary foreground | #010403black | #010403black |
| Secondary | #5dda7cmediumaquamarine | #5dda7cmediumaquamarine |
| Secondary foreground | #010402black | #010402black |
| Muted | #ddeee1gainsboro | #112215black |
| Muted foreground | #3d423edarkslategray | #bdc2besilver |
| Accent | #5dbbdamediumturquoise | #5dbbdamediumturquoise |
| Accent foreground | #010304black | #010304black |
| Destructive | #8e120bdarkred | #ec1e13red |
| Destructive foreground | #fbd2d0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5ddabbmediumaquamarine | #5ddabbmediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 11.99:1 | AAA |
| Secondary button | 11.58:1 | AAA |
| Muted text | 8.48:1 | AAA |
| Accent | 9.42:1 | AAA |
| Destructive | 6.82:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 11.99:1 | AAA |
| Secondary button | 11.58:1 | AAA |
| Muted text | 9.22:1 | AAA |
| Accent | 9.42:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Actual in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 179.782);
--foreground: oklch(0.126 0.017 179.921);
--muted: oklch(0.933 0.024 153.437);
--muted-foreground: oklch(0.374 0.009 153.447);
--popover: oklch(0.988 0.006 179.697);
--popover-foreground: oklch(0.1 0.013 179.921);
--card: oklch(0.988 0.006 179.697);
--card-foreground: oklch(0.1 0.013 179.921);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.81 0.121 174.017);
--primary-foreground: oklch(0.1 0.013 179.918);
--secondary: oklch(0.796 0.173 149.136);
--secondary-foreground: oklch(0.098 0.017 153.135);
--accent: oklch(0.746 0.099 222.454);
--accent-foreground: oklch(0.095 0.011 214.21);
--destructive: oklch(0.414 0.158 29.209);
--destructive-foreground: oklch(0.898 0.047 21.606);
--ring: oklch(0.81 0.121 174.017);
--chart-1: oklch(0.81 0.121 174.017);
--chart-2: oklch(0.796 0.173 149.136);
--chart-3: oklch(0.746 0.099 222.454);
--chart-4: oklch(0.809 0.161 149.654);
--chart-5: oklch(0.816 0.125 173.751);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.012 178.28);
--foreground: oklch(1 0 180);
--muted: oklch(0.232 0.032 151.164);
--muted-foreground: oklch(0.808 0.008 153.715);
--popover: oklch(0.168 0.014 177.357);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.168 0.014 177.357);
--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.81 0.121 174.017);
--primary-foreground: oklch(0.1 0.013 179.918);
--secondary: oklch(0.796 0.173 149.136);
--secondary-foreground: oklch(0.098 0.017 153.135);
--accent: oklch(0.746 0.099 222.454);
--accent-foreground: oklch(0.095 0.011 214.21);
--destructive: oklch(0.601 0.234 29.393);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.81 0.121 174.017);
--chart-1: oklch(0.81 0.121 174.017);
--chart-2: oklch(0.796 0.173 149.136);
--chart-3: oklch(0.746 0.099 222.454);
--chart-4: oklch(0.809 0.161 149.654);
--chart-5: oklch(0.816 0.125 173.751);
}