Close is a shadcn/ui theme built around a muted light green primary color (#ccd3c0) with muted light green accents (#c3d3c0). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the muted light green primary (#ccd3c0) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #030401black |
| Foreground | #060802black | #fdfdfcwhite |
| Card | #fbfcf8snow | #060802black |
| Card foreground | #030401black | #ffffffwhite |
| Popover | #fbfcf8snow | #060802black |
| Popover foreground | #030401black | #ffffffwhite |
| Primary | #ccd3c0lightgrey | #ccd3c0lightgrey |
| Primary foreground | #333928darkslategray | #333928darkslategray |
| Secondary | #d3d0c0lightgrey | #d3d0c0lightgrey |
| Secondary foreground | #393728darkslategray | #393728darkslategray |
| Muted | #f2f2edwhitesmoke | #12110dblack |
| Muted foreground | #585750dimgray | #afaea7darkgray |
| Accent | #c3d3c0silver | #c3d3c0silver |
| Accent foreground | #2a3928darkslategray | #2a3928darkslategray |
| Destructive | #a40a04darkred | #fa3f38tomato |
| Destructive foreground | #fedddcmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ccd3c0lightgrey | #ccd3c0lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.81:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 20.18:1 | AAA |
| Text on card | 20.11:1 | AAA |
| Primary button | 7.77:1 | AAA |
| Secondary button | 7.75:1 | AAA |
| Muted text | 8.47:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Close in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 122.257);
--foreground: oklch(0.128 0.019 121.77);
--muted: oklch(0.959 0.006 98.41);
--muted-foreground: oklch(0.456 0.011 98.659);
--popover: oklch(0.989 0.006 122.302);
--popover-foreground: oklch(0.102 0.015 121.77);
--card: oklch(0.989 0.006 122.302);
--card-foreground: oklch(0.102 0.015 121.77);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.857 0.027 122.714);
--primary-foreground: oklch(0.334 0.031 123.702);
--secondary: oklch(0.856 0.022 98.672);
--secondary-foreground: oklch(0.333 0.025 99.209);
--accent: oklch(0.849 0.032 140.984);
--accent-foreground: oklch(0.326 0.036 140.835);
--destructive: oklch(0.455 0.182 29.396);
--destructive-foreground: oklch(0.925 0.036 20.187);
--ring: oklch(0.857 0.027 122.714);
--chart-1: oklch(0.857 0.027 122.714);
--chart-2: oklch(0.856 0.022 98.672);
--chart-3: oklch(0.849 0.032 140.984);
--chart-4: oklch(0.877 0.019 98.616);
--chart-5: oklch(0.86 0.032 122.795);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.016 121.757);
--foreground: oklch(0.993 0.002 122.237);
--muted: oklch(0.178 0.009 98.986);
--muted-foreground: oklch(0.749 0.01 98.506);
--popover: oklch(0.129 0.02 121.757);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.129 0.02 121.757);
--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.857 0.027 122.714);
--primary-foreground: oklch(0.334 0.031 123.702);
--secondary: oklch(0.856 0.022 98.672);
--secondary-foreground: oklch(0.333 0.025 99.209);
--accent: oklch(0.849 0.032 140.984);
--accent-foreground: oklch(0.326 0.036 140.835);
--destructive: oklch(0.649 0.224 27.542);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.857 0.027 122.714);
--chart-1: oklch(0.857 0.027 122.714);
--chart-2: oklch(0.856 0.022 98.672);
--chart-3: oklch(0.849 0.032 140.984);
--chart-4: oklch(0.877 0.019 98.616);
--chart-5: oklch(0.86 0.032 122.795);
}