Surroundings is a shadcn/ui theme built around a vivid teal primary color (#53e9d0) with muted light teal accents (#cee4e0). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid teal primary (#53e9d0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #000000black |
| Foreground | #03110fblack | #f5f9f9whitesmoke |
| Card | #fbfefdwhite | #000000black |
| Card foreground | #03110fblack | #f5f9f9whitesmoke |
| Popover | #fbfefdwhite | #000000black |
| Popover foreground | #03110fblack | #f5f9f9whitesmoke |
| Primary | #53e9d0turquoise | #53e9d0turquoise |
| Primary foreground | #010908black | #010908black |
| Secondary | #e3edeblavender | #191a1ablack |
| Secondary foreground | #162220black | #b1b4b4darkgray |
| Muted | #edf7f5whitesmoke | #081210black |
| Muted foreground | #636968dimgray | #969c9bdarkgray |
| Accent | #cee4e0gainsboro | #2e3836darkslategray |
| Accent foreground | #2d524cdarkslategray | #c7d1cflightgrey |
| Destructive | #c7120ffirebrick | #f14441tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #53e9d0turquoise | #53e9d0turquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.96:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 13.32:1 | AAA |
| Secondary button | 13.67:1 | AAA |
| Muted text | 5.13:1 | AA |
| Accent | 6.50:1 | AA |
| Destructive | 5.95:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 13.32:1 | AAA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 6.83:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 3.72:1 | AA Large |
Paste this into your globals.css to use Surroundings in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 185.367);
--foreground: oklch(0.164 0.023 182.643);
--muted: oklch(0.969 0.01 185.166);
--muted-foreground: oklch(0.515 0.008 185.056);
--popover: oklch(0.994 0.003 185.367);
--popover-foreground: oklch(0.164 0.023 182.643);
--card: oklch(0.994 0.003 185.367);
--card-foreground: oklch(0.164 0.023 182.643);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.848 0.131 179.791);
--primary-foreground: oklch(0.128 0.018 185.036);
--secondary: oklch(0.938 0.01 185.17);
--secondary-foreground: oklch(0.239 0.016 183.552);
--accent: oklch(0.901 0.024 184.74);
--accent-foreground: oklch(0.41 0.044 182.188);
--destructive: oklch(0.527 0.208 28.812);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.131 179.791);
--chart-1: oklch(0.848 0.131 179.791);
--chart-2: oklch(0.938 0.01 185.17);
--chart-3: oklch(0.901 0.024 184.74);
--chart-4: oklch(0.959 0.007 185.268);
--chart-5: oklch(0.854 0.134 179.591);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.98 0.005 185.326);
--muted: oklch(0.17 0.015 183.061);
--muted-foreground: oklch(0.688 0.007 185.175);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.98 0.005 185.326);
--card: oklch(0 0 0);
--card-foreground: oklch(0.98 0.005 185.326);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.848 0.131 179.791);
--primary-foreground: oklch(0.128 0.018 185.036);
--secondary: oklch(0.217 0.002 185.255);
--secondary-foreground: oklch(0.767 0.004 185.329);
--accent: oklch(0.33 0.013 184.418);
--accent-foreground: oklch(0.852 0.01 185.134);
--destructive: oklch(0.64 0.21 26.18);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.848 0.131 179.791);
--chart-1: oklch(0.848 0.131 179.791);
--chart-2: oklch(0.217 0.002 185.255);
--chart-3: oklch(0.33 0.013 184.418);
--chart-4: oklch(0.25 0.002 185.238);
--chart-5: oklch(0.854 0.134 179.591);
}