Screen is a shadcn/ui theme built around a teal primary color (#82d4ae) with muted light teal accents (#e4ece8). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#82d4ae) on a teal-tinted background (#05100b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05100bblack |
| Foreground | #030c08black | #ffffffwhite |
| Card | #ffffffwhite | #05100bblack |
| Card foreground | #030c08black | #ffffffwhite |
| Popover | #ffffffwhite | #05100bblack |
| Popover foreground | #030c08black | #ffffffwhite |
| Primary | #82d4aemediumaquamarine | #82d4aemediumaquamarine |
| Primary foreground | #091b12black | #091b12black |
| Secondary | #e4ece8lavender | #1a1e1cblack |
| Secondary foreground | #17211cblack | #b0bab5silver |
| Muted | #d8e9e1gainsboro | #16271fblack |
| Muted foreground | #3c4440darkslategray | #bbc3c0silver |
| Accent | #e4ece8lavender | #1a1e1cblack |
| Accent foreground | #17211cblack | #b0bab5silver |
| Destructive | #b0170cfirebrick | #f03a2dcrimson |
| Destructive foreground | #fef2f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #82d4aemediumaquamarine | #82d4aemediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 10.17:1 | AAA |
| Secondary button | 13.77:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 13.77:1 | AAA |
| Destructive | 6.42:1 | AA |
| Text on background | 19.38:1 | AAA |
| Text on card | 19.38:1 | AAA |
| Primary button | 10.17:1 | AAA |
| Secondary button | 8.45:1 | AAA |
| Muted text | 8.69:1 | AAA |
| Accent | 8.45:1 | AAA |
| Destructive | 3.91:1 | AA Large |
Paste this into your globals.css to use Screen in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.143 0.02 166.631);
--muted: oklch(0.918 0.02 166.291);
--muted-foreground: oklch(0.377 0.012 166.033);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.143 0.02 166.631);
--card: oklch(1 0 180);
--card-foreground: oklch(0.143 0.02 166.631);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.807 0.098 162.947);
--primary-foreground: oklch(0.202 0.029 162.067);
--secondary: oklch(0.937 0.011 166.592);
--secondary-foreground: oklch(0.237 0.018 164.656);
--accent: oklch(0.937 0.011 166.592);
--accent-foreground: oklch(0.237 0.018 164.656);
--destructive: oklch(0.485 0.187 29.709);
--destructive-foreground: oklch(0.969 0.013 22.373);
--ring: oklch(0.807 0.098 162.947);
--chart-1: oklch(0.807 0.098 162.947);
--chart-2: oklch(0.937 0.011 166.592);
--chart-3: oklch(0.937 0.011 166.592);
--chart-4: oklch(0.958 0.007 166.703);
--chart-5: oklch(0.811 0.104 162.706);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.021 164.758);
--foreground: oklch(1 0 180);
--muted: oklch(0.255 0.027 163.618);
--muted-foreground: oklch(0.81 0.01 166.576);
--popover: oklch(0.158 0.021 164.758);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.158 0.021 164.758);
--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.807 0.098 162.947);
--primary-foreground: oklch(0.202 0.029 162.067);
--secondary: oklch(0.23 0.007 166.078);
--secondary-foreground: oklch(0.78 0.013 166.435);
--accent: oklch(0.23 0.007 166.078);
--accent-foreground: oklch(0.78 0.013 166.435);
--destructive: oklch(0.628 0.22 29.075);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.807 0.098 162.947);
--chart-1: oklch(0.807 0.098 162.947);
--chart-2: oklch(0.23 0.007 166.078);
--chart-3: oklch(0.23 0.007 166.078);
--chart-4: oklch(0.264 0.008 166.014);
--chart-5: oklch(0.811 0.104 162.706);
}