Motionless is a shadcn/ui theme built around a deep green primary color (#182b0d) with muted light green accents (#d4dece). The light mode uses a neutral background (#fcfefb). Dark mode keeps the deep green primary (#182b0d) on a neutral background (#020401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #020401black |
| Foreground | #000000black | #fcfdfbsnow |
| Card | #fcfefbwhite | #020401black |
| Card foreground | #000000black | #fcfdfbsnow |
| Popover | #fcfefbwhite | #020401black |
| Popover foreground | #000000black | #fcfdfbsnow |
| Primary | #182b0dblack | #182b0dblack |
| Primary foreground | #70c73dyellowgreen | #70c73dyellowgreen |
| Secondary | #d4decelightgrey | #262725darkslategray |
| Secondary foreground | #3a4931darkslategray | #bfc1besilver |
| Muted | #dee9d8gainsboro | #1c2716black |
| Muted foreground | #3f413edarkslategray | #bfc1besilver |
| Accent | #d4decelightgrey | #262725darkslategray |
| Accent foreground | #3a4931darkslategray | #bfc1besilver |
| Destructive | #7d1408maroon | #f24431tomato |
| Destructive foreground | #fbc2bclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #182b0dblack | #182b0dblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.67:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.10:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 8.23:1 | AAA |
| Accent | 6.97:1 | AA |
| Destructive | 6.88:1 | AA |
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 7.10:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 8.53:1 | AAA |
| Accent | 8.27:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Motionless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 133.628);
--foreground: oklch(0 0 0);
--muted: oklch(0.922 0.027 133.788);
--muted-foreground: oklch(0.373 0.005 133.686);
--popover: oklch(0.994 0.004 133.628);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.004 133.628);
--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.266 0.058 135.561);
--primary-foreground: oklch(0.747 0.191 136.272);
--secondary: oklch(0.889 0.025 133.781);
--secondary-foreground: oklch(0.386 0.045 134.412);
--accent: oklch(0.889 0.025 133.781);
--accent-foreground: oklch(0.386 0.045 134.412);
--destructive: oklch(0.381 0.141 30.55);
--destructive-foreground: oklch(0.863 0.066 25.794);
--ring: oklch(0.266 0.058 135.561);
--chart-1: oklch(0.266 0.058 135.561);
--chart-2: oklch(0.889 0.025 133.781);
--chart-3: oklch(0.889 0.025 133.781);
--chart-4: oklch(0.91 0.02 133.743);
--chart-5: oklch(0.268 0.061 135.685);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.015 132.187);
--foreground: oklch(0.994 0.003 133.624);
--muted: oklch(0.258 0.036 134.6);
--muted-foreground: oklch(0.807 0.004 133.636);
--popover: oklch(0.099 0.015 132.187);
--popover-foreground: oklch(0.994 0.003 133.624);
--card: oklch(0.099 0.015 132.187);
--card-foreground: oklch(0.994 0.003 133.624);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.266 0.058 135.561);
--primary-foreground: oklch(0.747 0.191 136.272);
--secondary: oklch(0.271 0.003 133.678);
--secondary-foreground: oklch(0.807 0.004 133.636);
--accent: oklch(0.271 0.003 133.678);
--accent-foreground: oklch(0.807 0.004 133.636);
--destructive: oklch(0.64 0.213 30.189);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.266 0.058 135.561);
--chart-1: oklch(0.266 0.058 135.561);
--chart-2: oklch(0.271 0.003 133.678);
--chart-3: oklch(0.271 0.003 133.678);
--chart-4: oklch(0.303 0.004 133.681);
--chart-5: oklch(0.268 0.061 135.685);
}