Activity is a shadcn/ui theme built around a blue primary color (#92bce3) with muted light blue accents (#e2e6e9). The light mode uses a neutral background (#f7fafd). Dark mode keeps the blue primary (#92bce3) on a blue-tinted background (#04080b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #04080bblack |
| Foreground | #030a11black | #f9fafbghostwhite |
| Card | #f3f7fcaliceblue | #060a0fblack |
| Card foreground | #02080dblack | #fcfcfdwhite |
| Popover | #f7fafdghostwhite | #04080bblack |
| Popover foreground | #030a11black | #f9fafbghostwhite |
| Primary | #92bce3skyblue | #92bce3skyblue |
| Primary foreground | #0e2235midnightblue | #0e2235midnightblue |
| Secondary | #e2e6e9gainsboro | #212427darkslategray |
| Secondary foreground | #434d56darkslategray | #b7bdc2silver |
| Muted | #dee0e3gainsboro | #1c1f21black |
| Muted foreground | #4e545adarkslategray | #a5abb1darkgray |
| Accent | #e2e6e9gainsboro | #212427darkslategray |
| Accent foreground | #434d56darkslategray | #b7bdc2silver |
| Destructive | #c74205chocolate | #e54c06orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #92bce3skyblue | #92bce3skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.99:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 6.85:1 | AA |
| Muted text | 5.81:1 | AA |
| Accent | 6.85:1 | AA |
| Destructive | 4.97:1 | AA |
| Text on background | 19.24:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 8.06:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 7.16:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 3.90:1 | AA Large |
Paste this into your globals.css to use Activity in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.005 246.022);
--foreground: oklch(0.142 0.021 241.213);
--muted: oklch(0.907 0.005 246.027);
--muted-foreground: oklch(0.444 0.012 246.279);
--popover: oklch(0.984 0.005 246.022);
--popover-foreground: oklch(0.142 0.021 241.213);
--card: oklch(0.975 0.007 246.051);
--card-foreground: oklch(0.128 0.018 237.469);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.777 0.072 247.064);
--primary-foreground: oklch(0.245 0.045 248.693);
--secondary: oklch(0.922 0.005 246.033);
--secondary-foreground: oklch(0.414 0.019 246.494);
--accent: oklch(0.922 0.005 246.033);
--accent-foreground: oklch(0.414 0.019 246.494);
--destructive: oklch(0.563 0.178 38.989);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.777 0.072 247.064);
--chart-1: oklch(0.777 0.072 247.064);
--chart-2: oklch(0.922 0.005 246.033);
--chart-3: oklch(0.922 0.005 246.033);
--chart-4: oklch(0.946 0.004 246.011);
--chart-5: oklch(0.777 0.076 247.127);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.012 239.802);
--foreground: oklch(0.984 0.002 245.987);
--muted: oklch(0.236 0.007 246.288);
--muted-foreground: oklch(0.738 0.011 246.133);
--popover: oklch(0.13 0.012 239.802);
--popover-foreground: oklch(0.984 0.002 245.987);
--card: oklch(0.143 0.013 243.122);
--card-foreground: oklch(0.992 0.001 245.976);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.777 0.072 247.064);
--primary-foreground: oklch(0.245 0.045 248.693);
--secondary: oklch(0.258 0.007 246.266);
--secondary-foreground: oklch(0.795 0.009 246.104);
--accent: oklch(0.258 0.007 246.266);
--accent-foreground: oklch(0.795 0.009 246.104);
--destructive: oklch(0.624 0.199 38.702);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.777 0.072 247.064);
--chart-1: oklch(0.777 0.072 247.064);
--chart-2: oklch(0.258 0.007 246.266);
--chart-3: oklch(0.258 0.007 246.266);
--chart-4: oklch(0.289 0.008 246.281);
--chart-5: oklch(0.777 0.076 247.127);
}