Beyond is a shadcn/ui theme built around a yellow primary color (#6d5f37) with muted light yellow accents (#d6d2c7). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#6d5f37) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #040301black |
| Foreground | #090701black | #fcfbf8snow |
| Card | #fdfcf7snow | #080602black |
| Card foreground | #040401black | #fdfdfcwhite |
| Popover | #fefdfbsnow | #040301black |
| Popover foreground | #090701black | #fcfbf8snow |
| Primary | #6d5f37darkolivegreen | #6d5f37darkolivegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d6d2c7lightgrey | #1c1b17black |
| Secondary foreground | #3e3a2edarkslategray | #bbb7aadarkgray |
| Muted | #f1ece0beige | #1f1b0eblack |
| Muted foreground | #69624fdimgray | #b0aa96darkgray |
| Accent | #d6d2c7lightgrey | #1c1b17black |
| Accent foreground | #3e3a2edarkslategray | #bbb7aadarkgray |
| Destructive | #c2380afirebrick | #f56b3dtomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6d5f37darkolivegreen | #6d5f37darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 6.29:1 | AA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 5.15:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 5.43:1 | AA |
| Text on background | 19.90:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 6.29:1 | AA |
| Secondary button | 8.59:1 | AAA |
| Muted text | 7.37:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 7.05:1 | AAA |
Paste this into your globals.css to use Beyond in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 91.438);
--foreground: oklch(0.128 0.02 97.67);
--muted: oklch(0.944 0.018 91.563);
--muted-foreground: oklch(0.497 0.03 91.791);
--popover: oklch(0.995 0.003 91.438);
--popover-foreground: oklch(0.128 0.02 97.67);
--card: oklch(0.989 0.007 91.467);
--card-foreground: oklch(0.102 0.016 97.67);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.489 0.06 91.581);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.864 0.015 91.557);
--secondary-foreground: oklch(0.347 0.021 91.787);
--accent: oklch(0.864 0.015 91.557);
--accent-foreground: oklch(0.347 0.021 91.787);
--destructive: oklch(0.543 0.181 35.917);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.489 0.06 91.581);
--chart-1: oklch(0.489 0.06 91.581);
--chart-2: oklch(0.864 0.015 91.557);
--chart-3: oklch(0.864 0.015 91.557);
--chart-4: oklch(0.886 0.013 91.532);
--chart-5: oklch(0.494 0.065 91.471);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.011 95.931);
--foreground: oklch(0.987 0.003 91.439);
--muted: oklch(0.224 0.024 91.74);
--muted-foreground: oklch(0.737 0.028 91.691);
--popover: oklch(0.099 0.011 95.931);
--popover-foreground: oklch(0.987 0.003 91.439);
--card: oklch(0.125 0.014 95.931);
--card-foreground: oklch(0.994 0.002 91.424);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.489 0.06 91.581);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.222 0.008 91.687);
--secondary-foreground: oklch(0.778 0.018 91.598);
--accent: oklch(0.222 0.008 91.687);
--accent-foreground: oklch(0.778 0.018 91.598);
--destructive: oklch(0.69 0.18 38.439);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.489 0.06 91.581);
--chart-1: oklch(0.489 0.06 91.581);
--chart-2: oklch(0.222 0.008 91.687);
--chart-3: oklch(0.222 0.008 91.687);
--chart-4: oklch(0.256 0.01 91.704);
--chart-5: oklch(0.494 0.065 91.471);
}