Visor is a shadcn/ui theme built around a deep orange primary color (#613615) with deep blue accents (#154061). The light mode uses a neutral background (#fefcfb). Dark mode keeps the deep orange primary (#613615) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #000000black |
| Foreground | #150c05black | #fbfaf9snow |
| Card | #fdf9f7snow | #030303black |
| Card foreground | #110904black | #fdfcfcsnow |
| Popover | #fdf9f7snow | #030303black |
| Popover foreground | #110904black | #fdfcfcsnow |
| Primary | #613615saddlebrown | #613615saddlebrown |
| Primary foreground | #f0d0b7wheat | #f0d0b7wheat |
| Secondary | #154061darkslategray | #154061darkslategray |
| Secondary foreground | #b7d7f0lightblue | #b7d7f0lightblue |
| Muted | #dbe7f0lavender | #0f1b24black |
| Muted foreground | #444b50darkslategray | #afb6bbsilver |
| Accent | #154061darkslategray | #154061darkslategray |
| Accent foreground | #b7d7f0lightblue | #b7d7f0lightblue |
| Destructive | #99140bdarkred | #ef2d1forangered |
| Destructive foreground | #fcdbd9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #613615saddlebrown | #613615saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.92:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 7.04:1 | AAA |
| Accent | 7.24:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.07:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 8.51:1 | AAA |
| Accent | 7.24:1 | AAA |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Visor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 60.247);
--foreground: oklch(0.163 0.023 62.166);
--muted: oklch(0.921 0.017 240.544);
--muted-foreground: oklch(0.408 0.012 240.705);
--popover: oklch(0.986 0.005 60.21);
--popover-foreground: oklch(0.15 0.02 65.753);
--card: oklch(0.986 0.005 60.21);
--card-foreground: oklch(0.15 0.02 65.753);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.379 0.077 54.903);
--primary-foreground: oklch(0.878 0.049 59.495);
--secondary: oklch(0.358 0.074 245.326);
--secondary-foreground: oklch(0.865 0.048 241.092);
--accent: oklch(0.358 0.074 245.326);
--accent-foreground: oklch(0.865 0.048 241.092);
--destructive: oklch(0.437 0.167 29.677);
--destructive-foreground: oklch(0.919 0.037 22.707);
--ring: oklch(0.379 0.077 54.903);
--chart-1: oklch(0.379 0.077 54.903);
--chart-2: oklch(0.358 0.074 245.326);
--chart-3: oklch(0.358 0.074 245.326);
--chart-4: oklch(0.389 0.082 245.502);
--chart-5: oklch(0.381 0.08 54.456);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.002 60.258);
--muted: oklch(0.215 0.024 242.157);
--muted-foreground: oklch(0.772 0.01 240.471);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.001 60.271);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 60.271);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.379 0.077 54.903);
--primary-foreground: oklch(0.878 0.049 59.495);
--secondary: oklch(0.358 0.074 245.326);
--secondary-foreground: oklch(0.865 0.048 241.092);
--accent: oklch(0.358 0.074 245.326);
--accent-foreground: oklch(0.865 0.048 241.092);
--destructive: oklch(0.616 0.229 29.53);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.379 0.077 54.903);
--chart-1: oklch(0.379 0.077 54.903);
--chart-2: oklch(0.358 0.074 245.326);
--chart-3: oklch(0.358 0.074 245.326);
--chart-4: oklch(0.389 0.082 245.502);
--chart-5: oklch(0.381 0.08 54.456);
}