Ayu Light Bordered is a shadcn/ui theme built around a neutral gray primary color (#a0a5ac) with neutral gray accents (#d6d6d6). The light mode uses a neutral background (#fcfcfc). Dark mode keeps the neutral gray primary (#a0a5ac) on a neutral background (#fcfcfc).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfcsnow | #fcfcfcsnow |
| Foreground | #5c6166dimgray | #5c6166dimgray |
| Card | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Card foreground | #505458darkslategray | #505458darkslategray |
| Popover | #f5f5f5whitesmoke | #f5f5f5whitesmoke |
| Popover foreground | #44474bdarkslategray | #44474bdarkslategray |
| Primary | #a0a5acdarkgray | #a0a5acdarkgray |
| Primary foreground | #0c0d0eblack | #0c0d0eblack |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d6d6d6lightgrey | #d6d6d6lightgrey |
| Accent foreground | #3d3d3ddarkslategray | #3d3d3ddarkslategray |
| Destructive | #c6210cfirebrick | #c6210cfirebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f0f0f0whitesmoke | #f0f0f0whitesmoke |
| Input | #e8e8e8lavender | #e8e8e8lavender |
| Ring | #a0a5acdarkgray | #a0a5acdarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.12:1 | AA |
| Text on card | 7.14:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 5.80:1 | AA |
| Text on background | 6.12:1 | AA |
| Text on card | 7.14:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.48:1 | AAA |
| Destructive | 5.80:1 | AA |
Paste this into your globals.css to use Ayu Light Bordered in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0 161.565);
--foreground: oklch(0.49 0.01 248.029);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.97 0 180);
--popover-foreground: oklch(0.397 0.008 248.02);
--card: oklch(0.977 0 180);
--card-foreground: oklch(0.444 0.009 248.025);
--border: oklch(0.954 0 180);
--input: oklch(0.931 0 180);
--primary: oklch(0.719 0.012 256.714);
--primary-foreground: oklch(0.157 0.003 256.711);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.877 0 180);
--accent-foreground: oklch(0.361 0 180);
--destructive: oklch(0.531 0.2 30.899);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.719 0.012 256.714);
--chart-1: oklch(0.719 0.012 256.714);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.877 0 180);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.717 0.017 256.735);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.992 0 161.565);
--foreground: oklch(0.49 0.01 248.029);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.97 0 180);
--popover-foreground: oklch(0.397 0.008 248.02);
--card: oklch(0.977 0 180);
--card-foreground: oklch(0.444 0.009 248.025);
--border: oklch(0.954 0 180);
--input: oklch(0.931 0 180);
--primary: oklch(0.719 0.012 256.714);
--primary-foreground: oklch(0.157 0.003 256.711);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.877 0 180);
--accent-foreground: oklch(0.361 0 180);
--destructive: oklch(0.531 0.2 30.899);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.719 0.012 256.714);
--chart-1: oklch(0.719 0.012 256.714);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.877 0 180);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(0.717 0.017 256.735);
}