Unsightly is a shadcn/ui theme built around a vivid deep blue primary color (#093d5d) with near-white accents (#eaebeb). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid deep blue primary (#093d5d) on a neutral background (#030608).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #030608black |
| Foreground | #050e14black | #f5f8f9whitesmoke |
| Card | #f3f8fcaliceblue | #04090bblack |
| Card foreground | #040c10black | #f9fafbghostwhite |
| Popover | #f7fbfdghostwhite | #030608black |
| Popover foreground | #050e14black | #f5f8f9whitesmoke |
| Primary | #093d5dmidnightblue | #093d5dmidnightblue |
| Primary foreground | #a2d6f6lightblue | #a2d6f6lightblue |
| Secondary | #eaebeblavender | #1c2226black |
| Secondary foreground | #4f5254darkslategray | #b0bdc4silver |
| Muted | #dfe1e2gainsboro | #1d1f20black |
| Muted foreground | #52616bdimgray | #94a4addarkgray |
| Accent | #eaebeblavender | #1c2226black |
| Accent foreground | #4f5254darkslategray | #b0bdc4silver |
| Destructive | #610a05maroon | #ed180cred |
| Destructive foreground | #faa39elightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #093d5dmidnightblue | #093d5dmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.63:1 | AAA |
| Text on card | 18.47:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 6.58:1 | AA |
| Muted text | 4.86:1 | AA |
| Accent | 6.58:1 | AA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 7.34:1 | AAA |
| Secondary button | 8.33:1 | AAA |
| Muted text | 6.43:1 | AA |
| Accent | 8.33:1 | AAA |
| Destructive | 4.42:1 | AA Large |
Paste this into your globals.css to use Unsightly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 234.576);
--foreground: oklch(0.159 0.019 234.701);
--muted: oklch(0.908 0.003 234.555);
--muted-foreground: oklch(0.484 0.024 235.291);
--popover: oklch(0.985 0.005 234.576);
--popover-foreground: oklch(0.159 0.019 234.701);
--card: oklch(0.977 0.007 234.613);
--card-foreground: oklch(0.146 0.016 232.2);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.345 0.076 242.491);
--primary-foreground: oklch(0.851 0.071 235.977);
--secondary: oklch(0.939 0.001 234.522);
--secondary-foreground: oklch(0.437 0.005 234.671);
--accent: oklch(0.939 0.001 234.522);
--accent-foreground: oklch(0.437 0.005 234.671);
--destructive: oklch(0.316 0.12 29.444);
--destructive-foreground: oklch(0.8 0.104 22.955);
--ring: oklch(0.345 0.076 242.491);
--chart-1: oklch(0.345 0.076 242.491);
--chart-2: oklch(0.939 0.001 234.522);
--chart-3: oklch(0.939 0.001 234.522);
--chart-4: oklch(0.962 0.001 234.516);
--chart-5: oklch(0.347 0.079 242.887);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.011 228.389);
--foreground: oklch(0.977 0.003 234.555);
--muted: oklch(0.238 0.004 234.773);
--muted-foreground: oklch(0.708 0.022 234.973);
--popover: oklch(0.115 0.011 228.389);
--popover-foreground: oklch(0.977 0.003 234.555);
--card: oklch(0.132 0.012 228.864);
--card-foreground: oklch(0.985 0.002 234.538);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.345 0.076 242.491);
--primary-foreground: oklch(0.851 0.071 235.977);
--secondary: oklch(0.249 0.011 235.231);
--secondary-foreground: oklch(0.79 0.018 234.844);
--accent: oklch(0.249 0.011 235.231);
--accent-foreground: oklch(0.79 0.018 234.844);
--destructive: oklch(0.601 0.238 29.483);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.345 0.076 242.491);
--chart-1: oklch(0.345 0.076 242.491);
--chart-2: oklch(0.249 0.011 235.231);
--chart-3: oklch(0.249 0.011 235.231);
--chart-4: oklch(0.281 0.014 235.279);
--chart-5: oklch(0.347 0.079 242.887);
}