Secret is a shadcn/ui theme built around a deep orange primary color (#5b331a) with neutral gray accents (#ceccca). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the deep orange primary (#5b331a) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #040201black |
| Foreground | #170a03black | #ffffffwhite |
| Card | #fcf6f3floralwhite | #080402black |
| Card foreground | #120802black | #ffffffwhite |
| Popover | #fcf6f3floralwhite | #080402black |
| Popover foreground | #120802black | #ffffffwhite |
| Primary | #5b331asaddlebrown | #5b331asaddlebrown |
| Primary foreground | #ebcebcwheat | #ebcebcwheat |
| Secondary | #cecccalightgrey | #332a24darkslategray |
| Secondary foreground | #353331darkslategray | #cec2basilver |
| Muted | #f6f1efwhitesmoke | #100c09black |
| Muted foreground | #484441darkslategray | #beb9b7silver |
| Accent | #cecccalightgrey | #332a24darkslategray |
| Accent foreground | #353331darkslategray | #cec2basilver |
| Destructive | #6a2706maroon | #f15a0eorangered |
| Destructive foreground | #fac3a8navajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5b331asaddlebrown | #5b331asaddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.58:1 | AAA |
| Text on card | 18.50:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 7.82:1 | AAA |
| Muted text | 8.62:1 | AAA |
| Accent | 7.82:1 | AAA |
| Destructive | 7.02:1 | AAA |
| Text on background | 20.68:1 | AAA |
| Text on card | 20.37:1 | AAA |
| Primary button | 7.28:1 | AAA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 10.02:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 3.38:1 | AA Large |
Paste this into your globals.css to use Secret in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 54.434);
--foreground: oklch(0.162 0.029 58.906);
--muted: oklch(0.962 0.006 54.417);
--muted-foreground: oklch(0.39 0.007 54.251);
--popover: oklch(0.977 0.008 54.397);
--popover-foreground: oklch(0.148 0.025 62.508);
--card: oklch(0.977 0.008 54.397);
--card-foreground: oklch(0.148 0.025 62.508);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.366 0.068 51.022);
--primary-foreground: oklch(0.872 0.041 53.869);
--secondary: oklch(0.845 0.004 54.448);
--secondary-foreground: oklch(0.321 0.005 54.313);
--accent: oklch(0.845 0.004 54.448);
--accent-foreground: oklch(0.321 0.005 54.313);
--destructive: oklch(0.368 0.104 42.528);
--destructive-foreground: oklch(0.86 0.073 47.856);
--ring: oklch(0.366 0.068 51.022);
--chart-1: oklch(0.366 0.068 51.022);
--chart-2: oklch(0.845 0.004 54.448);
--chart-3: oklch(0.845 0.004 54.448);
--chart-4: oklch(0.869 0.003 54.458);
--chart-5: oklch(0.368 0.072 50.703);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.01 63.072);
--foreground: oklch(1 0 180);
--muted: oklch(0.159 0.01 53.918);
--muted-foreground: oklch(0.79 0.006 54.4);
--popover: oklch(0.116 0.013 63.072);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.116 0.013 63.072);
--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.366 0.068 51.022);
--primary-foreground: oklch(0.872 0.041 53.869);
--secondary: oklch(0.292 0.017 53.732);
--secondary-foreground: oklch(0.822 0.017 54.216);
--accent: oklch(0.292 0.017 53.732);
--accent-foreground: oklch(0.822 0.017 54.216);
--destructive: oklch(0.659 0.2 40.662);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.366 0.068 51.022);
--chart-1: oklch(0.366 0.068 51.022);
--chart-2: oklch(0.292 0.017 53.732);
--chart-3: oklch(0.292 0.017 53.732);
--chart-4: oklch(0.323 0.019 53.702);
--chart-5: oklch(0.368 0.072 50.703);
}