Outlandish is a shadcn/ui theme built around a light violet primary color (#decfed) with light teal accents (#cfedde). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light violet primary (#decfed) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fcfbfewhite | #000000black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcfbfewhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #decfedgainsboro | #decfedgainsboro |
| Primary foreground | #462664darkslateblue | #462664darkslateblue |
| Secondary | #eddecfantiquewhite | #eddecfantiquewhite |
| Secondary foreground | #644626darkolivegreen | #644626darkolivegreen |
| Muted | #f3f0eclinen | #130f0cblack |
| Muted foreground | #575452dimgray | #adaba8darkgray |
| Accent | #cfeddegainsboro | #cfeddegainsboro |
| Accent foreground | #0a1a12black | #0a1a12black |
| Destructive | #972607saddlebrown | #ef3d0borangered |
| Destructive foreground | #fddcd3antiquewhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #decfedgainsboro | #decfedgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 6.60:1 | AA |
| Accent | 14.36:1 | AAA |
| Destructive | 6.29:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 6.53:1 | AA |
| Muted text | 8.30:1 | AAA |
| Accent | 14.36:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Outlandish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 309.089);
--foreground: oklch(0 0 0);
--muted: oklch(0.956 0.006 69.588);
--muted-foreground: oklch(0.448 0.005 69.533);
--popover: oklch(0.99 0.003 309.089);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.003 309.089);
--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.876 0.044 308.603);
--primary-foreground: oklch(0.342 0.107 305.263);
--secondary: oklch(0.909 0.026 69.348);
--secondary-foreground: oklch(0.419 0.062 66.549);
--accent: oklch(0.92 0.037 164.901);
--accent-foreground: oklch(0.2 0.027 161.572);
--destructive: oklch(0.448 0.153 34.592);
--destructive-foreground: oklch(0.92 0.039 35.944);
--ring: oklch(0.876 0.044 308.603);
--chart-1: oklch(0.876 0.044 308.603);
--chart-2: oklch(0.909 0.026 69.348);
--chart-3: oklch(0.92 0.037 164.901);
--chart-4: oklch(0.93 0.02 69.43);
--chart-5: oklch(0.874 0.047 308.567);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.173 0.009 69.025);
--muted-foreground: oklch(0.742 0.005 69.589);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.876 0.044 308.603);
--primary-foreground: oklch(0.342 0.107 305.263);
--secondary: oklch(0.909 0.026 69.348);
--secondary-foreground: oklch(0.419 0.062 66.549);
--accent: oklch(0.92 0.037 164.901);
--accent-foreground: oklch(0.2 0.027 161.572);
--destructive: oklch(0.625 0.22 34.04);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.876 0.044 308.603);
--chart-1: oklch(0.876 0.044 308.603);
--chart-2: oklch(0.909 0.026 69.348);
--chart-3: oklch(0.92 0.037 164.901);
--chart-4: oklch(0.93 0.02 69.43);
--chart-5: oklch(0.874 0.047 308.567);
}