Seminar is a shadcn/ui theme built around a vivid deep green primary color (#54640c) with vivid deep indigo accents (#1c0c64). The light mode uses a neutral background (#fcfdf7). Dark mode keeps the vivid deep green primary (#54640c) on a green-tinted background (#0a0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdf7snow | #0a0b04black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #fafcf3floralwhite | #0d0e06black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fafcf3floralwhite | #0d0e06black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #54640cdarkolivegreen | #54640cdarkolivegreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #1c0c64midnightblue | #1c0c64midnightblue |
| Secondary foreground | #baadf5lightsteelblue | #baadf5lightsteelblue |
| Muted | #dedde4gainsboro | #1c1b22black |
| Muted foreground | #4c495bdarkslategray | #a8a4b6darkgray |
| Accent | #1c0c64midnightblue | #1c0c64midnightblue |
| Accent foreground | #baadf5lightsteelblue | #baadf5lightsteelblue |
| Destructive | #8b2804saddlebrown | #f44606orangered |
| Destructive foreground | #fdd3c3peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #54640cdarkolivegreen | #54640cdarkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 6.46:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 6.35:1 | AA |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Seminar in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.008 114.978);
--foreground: oklch(0 0 0);
--muted: oklch(0.901 0.009 294.634);
--muted-foreground: oklch(0.414 0.03 293.457);
--popover: oklch(0.987 0.012 115.055);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.987 0.012 115.055);
--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.473 0.107 120.347);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.259 0.139 278.825);
--secondary-foreground: oklch(0.785 0.101 292.31);
--accent: oklch(0.259 0.139 278.825);
--accent-foreground: oklch(0.785 0.101 292.31);
--destructive: oklch(0.428 0.14 36.983);
--destructive-foreground: oklch(0.899 0.053 40.973);
--ring: oklch(0.473 0.107 120.347);
--chart-1: oklch(0.473 0.107 120.347);
--chart-2: oklch(0.259 0.139 278.825);
--chart-3: oklch(0.259 0.139 278.825);
--chart-4: oklch(0.281 0.154 278.255);
--chart-5: oklch(0.478 0.109 120.51);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.016 115.452);
--foreground: oklch(0.994 0.002 114.866);
--muted: oklch(0.227 0.013 293.747);
--muted-foreground: oklch(0.729 0.026 294.159);
--popover: oklch(0.161 0.018 116.395);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.161 0.018 116.395);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.473 0.107 120.347);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.259 0.139 278.825);
--secondary-foreground: oklch(0.785 0.101 292.31);
--accent: oklch(0.259 0.139 278.825);
--accent-foreground: oklch(0.785 0.101 292.31);
--destructive: oklch(0.642 0.218 35.838);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.473 0.107 120.347);
--chart-1: oklch(0.473 0.107 120.347);
--chart-2: oklch(0.259 0.139 278.825);
--chart-3: oklch(0.259 0.139 278.825);
--chart-4: oklch(0.281 0.154 278.255);
--chart-5: oklch(0.478 0.109 120.51);
}