Screw is a shadcn/ui theme built around a deep teal primary color (#0c1813) with muted light teal accents (#e2e9e6). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#0c1813) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010403black |
| Foreground | #02120cblack | #fcfdfdwhite |
| Card | #ffffffwhite | #010403black |
| Card foreground | #02120cblack | #fcfdfdwhite |
| Popover | #ffffffwhite | #010403black |
| Popover foreground | #02120cblack | #fcfdfdwhite |
| Primary | #0c1813black | #0c1813black |
| Primary foreground | #90c6b2darkseagreen | #90c6b2darkseagreen |
| Secondary | #e2e9e6gainsboro | #212121black |
| Secondary foreground | #42574fdarkslategray | #bababasilver |
| Muted | #dce0degainsboro | #231f1fblack |
| Muted foreground | #464e4bdarkslategray | #b9b1b1darkgray |
| Accent | #e2e9e6gainsboro | #212121black |
| Accent foreground | #42574fdarkslategray | #bababasilver |
| Destructive | #c81d14firebrick | #da1f16crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c1813black | #0c1813black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 6.29:1 | AA |
| Muted text | 6.41:1 | AA |
| Accent | 6.29:1 | AA |
| Destructive | 5.79:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 9.46:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 7.72:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 5.00:1 | AA |
Paste this into your globals.css to use Screw in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.165 0.028 169.309);
--muted: oklch(0.902 0.004 172.449);
--muted-foreground: oklch(0.416 0.013 171.671);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.165 0.028 169.309);
--card: oklch(1 0 180);
--card-foreground: oklch(0.165 0.028 169.309);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.195 0.019 169.386);
--primary-foreground: oklch(0.783 0.063 169.979);
--secondary: oklch(0.928 0.008 172.311);
--secondary-foreground: oklch(0.437 0.029 170.463);
--accent: oklch(0.928 0.008 172.311);
--accent-foreground: oklch(0.437 0.029 170.463);
--destructive: oklch(0.533 0.204 29.25);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.195 0.019 169.386);
--chart-1: oklch(0.195 0.019 169.386);
--chart-2: oklch(0.928 0.008 172.311);
--chart-3: oklch(0.928 0.008 172.311);
--chart-4: oklch(0.95 0.006 172.396);
--chart-5: oklch(0.196 0.02 169.09);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.012 172.841);
--foreground: oklch(0.994 0.002 172.515);
--muted: oklch(0.245 0.005 17.504);
--muted-foreground: oklch(0.767 0.01 17.378);
--popover: oklch(0.099 0.012 172.841);
--popover-foreground: oklch(0.994 0.002 172.515);
--card: oklch(0.099 0.012 172.841);
--card-foreground: oklch(0.994 0.002 172.515);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.195 0.019 169.386);
--primary-foreground: oklch(0.783 0.063 169.979);
--secondary: oklch(0.248 0 173.29);
--secondary-foreground: oklch(0.789 0 171.254);
--accent: oklch(0.248 0 173.29);
--accent-foreground: oklch(0.789 0 171.254);
--destructive: oklch(0.569 0.218 29.281);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.195 0.019 169.386);
--chart-1: oklch(0.195 0.019 169.386);
--chart-2: oklch(0.248 0 173.29);
--chart-3: oklch(0.248 0 173.29);
--chart-4: oklch(0.28 0 180);
--chart-5: oklch(0.196 0.02 169.09);
}