Admire is a shadcn/ui theme built around a deep teal primary color (#091513) with muted light teal accents (#c1cdcb). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#091513) on a teal-tinted background (#050f0d).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050f0dblack |
| Foreground | #020807black | #fcfdfdwhite |
| Card | #ffffffwhite | #050f0dblack |
| Card foreground | #020807black | #fcfdfdwhite |
| Popover | #ffffffwhite | #050f0dblack |
| Popover foreground | #020807black | #fcfdfdwhite |
| Primary | #091513black | #091513black |
| Primary foreground | #48a394cadetblue | #48a394cadetblue |
| Secondary | #e0e1e1gainsboro | #26312fdarkslategray |
| Secondary foreground | #464948darkslategray | #bdccc9silver |
| Muted | #cee8e4gainsboro | #17312cdarkslategray |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #c1cdcbsilver | #34504cdarkslategray |
| Accent foreground | #293231darkslategray | #d4e3e0gainsboro |
| Destructive | #891501darkred | #fe4a2atomato |
| Destructive foreground | #ffc7bdpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #091513black | #091513black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.18:1 | AAA |
| Text on card | 20.18:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 6.94:1 | AA |
| Muted text | 8.05:1 | AAA |
| Accent | 8.03:1 | AAA |
| Destructive | 6.51:1 | AA |
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 8.09:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 6.59:1 | AA |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Admire in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.014 185.124);
--muted: oklch(0.911 0.028 184.639);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.014 185.124);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.014 185.124);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.185 0.018 182.636);
--primary-foreground: oklch(0.656 0.09 180.814);
--secondary: oklch(0.909 0.001 185.41);
--secondary-foreground: oklch(0.402 0.004 185.199);
--accent: oklch(0.838 0.013 185.056);
--accent-foreground: oklch(0.31 0.013 184.334);
--destructive: oklch(0.406 0.153 32.168);
--destructive-foreground: oklch(0.876 0.066 29.922);
--ring: oklch(0.185 0.018 182.636);
--chart-1: oklch(0.185 0.018 182.636);
--chart-2: oklch(0.909 0.001 185.41);
--chart-3: oklch(0.838 0.013 185.056);
--chart-4: oklch(0.932 0.001 185.421);
--chart-5: oklch(0.186 0.019 182.453);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.016 183.411);
--foreground: oklch(0.993 0.001 185.411);
--muted: oklch(0.289 0.033 181.925);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.158 0.016 183.411);
--popover-foreground: oklch(0.993 0.001 185.411);
--card: oklch(0.158 0.016 183.411);
--card-foreground: oklch(0.993 0.001 185.411);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.185 0.018 182.636);
--primary-foreground: oklch(0.656 0.09 180.814);
--secondary: oklch(0.302 0.016 184.032);
--secondary-foreground: oklch(0.833 0.017 184.911);
--accent: oklch(0.408 0.034 183.02);
--accent-foreground: oklch(0.903 0.016 184.971);
--destructive: oklch(0.664 0.221 32.359);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.185 0.018 182.636);
--chart-1: oklch(0.185 0.018 182.636);
--chart-2: oklch(0.302 0.016 184.032);
--chart-3: oklch(0.408 0.034 183.02);
--chart-4: oklch(0.334 0.018 183.98);
--chart-5: oklch(0.186 0.019 182.453);
}