Aglet is a shadcn/ui theme built around a muted blue primary color (#8890a0) with muted green accents (#90a088). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#8890a0) on a neutral background (#030407).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030407black |
| Foreground | #010204black | #fcfcfdwhite |
| Card | #ffffffwhite | #030407black |
| Card foreground | #010204black | #fcfcfdwhite |
| Popover | #ffffffwhite | #030407black |
| Popover foreground | #010204black | #fcfcfdwhite |
| Primary | #8890a0lightslategray | #8890a0lightslategray |
| Primary foreground | #000000black | #000000black |
| Secondary | #a08890rosybrown | #a08890rosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #e2d4d9gainsboro | #2b1d21black |
| Muted foreground | #4f4f4fdarkslategray | #b0b0b0darkgray |
| Accent | #90a088darkseagreen | #90a088darkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #a41d0efirebrick | #e62914orangered |
| Destructive foreground | #fdeae8linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8890a0lightslategray | #8890a0lightslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.75:1 | AAA |
| Text on card | 20.75:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 6.41:1 | AA |
| Muted text | 5.72:1 | AA |
| Accent | 7.54:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 19.96:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 6.41:1 | AA |
| Muted text | 7.47:1 | AAA |
| Accent | 7.54:1 | AAA |
| Destructive | 4.47:1 | AA Large |
Paste this into your globals.css to use Aglet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.083 0.014 256.152);
--muted: oklch(0.883 0.017 356.161);
--muted-foreground: oklch(0.428 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.083 0.014 256.152);
--card: oklch(1 0 180);
--card-foreground: oklch(0.083 0.014 256.152);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.651 0.026 265.785);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.651 0.03 356.922);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.685 0.038 135.679);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.466 0.172 30.519);
--destructive-foreground: oklch(0.951 0.021 25.186);
--ring: oklch(0.651 0.026 265.785);
--chart-1: oklch(0.651 0.026 265.785);
--chart-2: oklch(0.651 0.03 356.922);
--chart-3: oklch(0.685 0.038 135.679);
--chart-4: oklch(0.677 0.028 356.772);
--chart-5: oklch(0.647 0.033 265.705);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.011 260.379);
--foreground: oklch(0.992 0.001 266.001);
--muted: oklch(0.248 0.024 358.238);
--muted-foreground: oklch(0.757 0 180);
--popover: oklch(0.109 0.011 260.379);
--popover-foreground: oklch(0.992 0.001 266.001);
--card: oklch(0.109 0.011 260.379);
--card-foreground: oklch(0.992 0.001 266.001);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.651 0.026 265.785);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.651 0.03 356.922);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.685 0.038 135.679);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.596 0.224 30.512);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.651 0.026 265.785);
--chart-1: oklch(0.651 0.026 265.785);
--chart-2: oklch(0.651 0.03 356.922);
--chart-3: oklch(0.685 0.038 135.679);
--chart-4: oklch(0.677 0.028 356.772);
--chart-5: oklch(0.647 0.033 265.705);
}