Account is a shadcn/ui theme built around a muted cyan primary color (#395b60) with muted cyan accents (#abc1c4). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted cyan primary (#395b60) on a neutral background (#030708).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #030708black |
| Foreground | #000000black | #f8fbfcghostwhite |
| Card | #fbfefewhite | #030708black |
| Card foreground | #000000black | #f8fbfcghostwhite |
| Popover | #fbfefewhite | #030708black |
| Popover foreground | #000000black | #f8fbfcghostwhite |
| Primary | #395b60darkslategray | #395b60darkslategray |
| Primary foreground | #dfeaeclavender | #dfeaeclavender |
| Secondary | #cdd4d5lightgrey | #131a1bblack |
| Secondary foreground | #333c3ddarkslategray | #a2babedarkgray |
| Muted | #e7f2f4lavender | #0b1718black |
| Muted foreground | #525e60dimgray | #9fabaddarkgray |
| Accent | #abc1c4silver | #1e3134darkslategray |
| Accent foreground | #192324black | #b1ced2lightsteelblue |
| Destructive | #921802darkred | #f62804orangered |
| Destructive foreground | #fed0c8pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #395b60darkslategray | #395b60darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 7.54:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 8.53:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 8.65:1 | AAA |
| Muted text | 7.75:1 | AAA |
| Accent | 8.19:1 | AAA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Account in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 207.92);
--foreground: oklch(0 0 0);
--muted: oklch(0.953 0.012 207.882);
--muted-foreground: oklch(0.474 0.016 207.839);
--popover: oklch(0.994 0.003 207.92);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.003 207.92);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.447 0.041 208.081);
--primary-foreground: oklch(0.93 0.013 207.88);
--secondary: oklch(0.865 0.008 207.895);
--secondary-foreground: oklch(0.348 0.012 207.838);
--accent: oklch(0.795 0.025 207.841);
--accent-foreground: oklch(0.246 0.014 207.857);
--destructive: oklch(0.425 0.159 32.014);
--destructive-foreground: oklch(0.895 0.054 29.801);
--ring: oklch(0.447 0.041 208.081);
--chart-1: oklch(0.447 0.041 208.081);
--chart-2: oklch(0.865 0.008 207.895);
--chart-3: oklch(0.795 0.025 207.841);
--chart-4: oklch(0.888 0.007 207.902);
--chart-5: oklch(0.451 0.045 208.179);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.011 205.193);
--foreground: oklch(0.987 0.004 207.917);
--muted: oklch(0.193 0.017 208.039);
--muted-foreground: oklch(0.732 0.014 207.863);
--popover: oklch(0.121 0.011 205.193);
--popover-foreground: oklch(0.987 0.004 207.917);
--card: oklch(0.121 0.011 205.193);
--card-foreground: oklch(0.987 0.004 207.917);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.447 0.041 208.081);
--primary-foreground: oklch(0.93 0.013 207.88);
--secondary: oklch(0.211 0.011 207.846);
--secondary-foreground: oklch(0.773 0.028 207.837);
--accent: oklch(0.298 0.025 208.019);
--accent-foreground: oklch(0.831 0.031 207.836);
--destructive: oklch(0.624 0.239 31.357);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.447 0.041 208.081);
--chart-1: oklch(0.447 0.041 208.081);
--chart-2: oklch(0.211 0.011 207.846);
--chart-3: oklch(0.298 0.025 208.019);
--chart-4: oklch(0.246 0.014 207.857);
--chart-5: oklch(0.451 0.045 208.179);
}