codeSTACKr Theme (Muted) is a shadcn/ui theme built around a vivid light orange primary color (#ffb499) with deep blue accents (#1c3b54). The light mode uses a blue-tinted background (#09131b). Dark mode keeps the vivid light orange primary (#ffb499) on a blue-tinted background (#09131b).
| Token | Light | Dark |
|---|---|---|
| Background | #09131bblack | #09131bblack |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #060d13black | #060d13black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #050b0fblack | #050b0fblack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ffb499lightsalmon | #ffb499lightsalmon |
| Primary foreground | #661b00maroon | #661b00maroon |
| Secondary | #53372ddarkolivegreen | #53372ddarkolivegreen |
| Secondary foreground | #e4d3cdlightgrey | #e4d3cdlightgrey |
| Muted | #22272bdarkslategray | #22272bdarkslategray |
| Muted foreground | #9ba7b0darkgray | #9ba7b0darkgray |
| Accent | #1c3b54darkslategray | #1c3b54darkslategray |
| Accent foreground | #bad3e8lightblue | #bad3e8lightblue |
| Destructive | #d93417firebrick | #d93417firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #12202bblack | #12202bblack |
| Input | #172836darkslategray | #172836darkslategray |
| Ring | #ffb499lightsalmon | #ffb499lightsalmon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 4.71:1 | AA |
| Text on background | 18.77:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 4.71:1 | AA |
Paste this into your globals.css to use codeSTACKr Theme (Muted) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.18 0.022 244.05);
--foreground: oklch(1 0 180);
--muted: oklch(0.268 0.011 242.723);
--muted-foreground: oklch(0.722 0.019 242.55);
--popover: oklch(0.144 0.015 239.46);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.156 0.017 242.108);
--card-foreground: oklch(1 0 180);
--border: oklch(0.236 0.028 244.085);
--input: oklch(0.268 0.034 244.249);
--primary: oklch(0.835 0.095 40.811);
--primary-foreground: oklch(0.343 0.112 37.993);
--secondary: oklch(0.366 0.044 40.795);
--secondary-foreground: oklch(0.88 0.021 41.139);
--accent: oklch(0.341 0.058 245.338);
--accent-foreground: oklch(0.856 0.04 242.818);
--destructive: oklch(0.58 0.205 32.172);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.835 0.095 40.811);
--chart-1: oklch(0.835 0.095 40.811);
--chart-2: oklch(0.366 0.044 40.795);
--chart-3: oklch(0.341 0.058 245.338);
--chart-4: oklch(0.395 0.048 40.789);
--chart-5: oklch(0.835 0.098 40.802);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.18 0.022 244.05);
--foreground: oklch(1 0 180);
--muted: oklch(0.268 0.011 242.723);
--muted-foreground: oklch(0.722 0.019 242.55);
--popover: oklch(0.144 0.015 239.46);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.156 0.017 242.108);
--card-foreground: oklch(1 0 180);
--border: oklch(0.236 0.028 244.085);
--input: oklch(0.268 0.034 244.249);
--primary: oklch(0.835 0.095 40.811);
--primary-foreground: oklch(0.343 0.112 37.993);
--secondary: oklch(0.366 0.044 40.795);
--secondary-foreground: oklch(0.88 0.021 41.139);
--accent: oklch(0.341 0.058 245.338);
--accent-foreground: oklch(0.856 0.04 242.818);
--destructive: oklch(0.58 0.205 32.172);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.835 0.095 40.811);
--chart-1: oklch(0.835 0.095 40.811);
--chart-2: oklch(0.366 0.044 40.795);
--chart-3: oklch(0.341 0.058 245.338);
--chart-4: oklch(0.395 0.048 40.789);
--chart-5: oklch(0.835 0.098 40.802);
}