Reckless is a shadcn/ui theme built around a light green primary color (#eef6da) with light violet accents (#e2daf6). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the light green primary (#eef6da) on a green-tinted background (#0c0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #0c0e06black |
| Foreground | #030401black | #f9faf4whitesmoke |
| Card | #fbfcf8snow | #0f1108black |
| Card foreground | #000000black | #fbfcf8snow |
| Popover | #fdfdfbsnow | #0c0e06black |
| Popover foreground | #030401black | #f9faf4whitesmoke |
| Primary | #eef6dabeige | #eef6dabeige |
| Primary foreground | #242d0bblack | #242d0bblack |
| Secondary | #e2daf6lavender | #e2daf6lavender |
| Secondary foreground | #3a1e80indigo | #3a1e80indigo |
| Muted | #e2deedlavender | #161221black |
| Muted foreground | #504a5edarkslategray | #a6a1b5darkgray |
| Accent | #e2daf6lavender | #e2daf6lavender |
| Accent foreground | #3a1e80indigo | #3a1e80indigo |
| Destructive | #670504maroon | #ec0c09red |
| Destructive foreground | #fca3a1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eef6dabeige | #eef6dabeige |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 12.96:1 | AAA |
| Secondary button | 9.28:1 | AAA |
| Muted text | 6.42:1 | AA |
| Accent | 9.28:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 18.51:1 | AAA |
| Text on card | 18.41:1 | AAA |
| Primary button | 12.96:1 | AAA |
| Secondary button | 9.28:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 9.28:1 | AAA |
| Destructive | 4.53:1 | AA |
Paste this into your globals.css to use Reckless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 119.352);
--foreground: oklch(0.101 0.014 119.28);
--muted: oklch(0.909 0.02 298.932);
--muted-foreground: oklch(0.423 0.034 297.914);
--popover: oklch(0.994 0.003 119.352);
--popover-foreground: oklch(0.101 0.014 119.28);
--card: oklch(0.989 0.005 119.4);
--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.96 0.038 119.993);
--primary-foreground: oklch(0.281 0.056 123.467);
--secondary: oklch(0.903 0.039 298.553);
--secondary-foreground: oklch(0.341 0.153 288.421);
--accent: oklch(0.903 0.039 298.553);
--accent-foreground: oklch(0.341 0.153 288.421);
--destructive: oklch(0.327 0.129 28.956);
--destructive-foreground: oklch(0.803 0.106 20.727);
--ring: oklch(0.96 0.038 119.993);
--chart-1: oklch(0.96 0.038 119.993);
--chart-2: oklch(0.903 0.039 298.553);
--chart-3: oklch(0.903 0.039 298.553);
--chart-4: oklch(0.935 0.026 298.826);
--chart-5: oklch(0.962 0.04 120.025);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.016 120.449);
--foreground: oklch(0.983 0.008 119.441);
--muted: oklch(0.196 0.029 296.681);
--muted-foreground: oklch(0.719 0.03 298.596);
--popover: oklch(0.158 0.016 120.449);
--popover-foreground: oklch(0.983 0.008 119.441);
--card: oklch(0.173 0.019 121.123);
--card-foreground: oklch(0.989 0.005 119.395);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.96 0.038 119.993);
--primary-foreground: oklch(0.281 0.056 123.467);
--secondary: oklch(0.903 0.039 298.553);
--secondary-foreground: oklch(0.341 0.153 288.421);
--accent: oklch(0.903 0.039 298.553);
--accent-foreground: oklch(0.341 0.153 288.421);
--destructive: oklch(0.595 0.241 29.127);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.96 0.038 119.993);
--chart-1: oklch(0.96 0.038 119.993);
--chart-2: oklch(0.903 0.039 298.553);
--chart-3: oklch(0.903 0.039 298.553);
--chart-4: oklch(0.935 0.026 298.826);
--chart-5: oklch(0.962 0.04 120.025);
}