Skylight is a shadcn/ui theme built around a light green primary color (#bfe3c4) with light red accents (#e3c4bf). The light mode uses a neutral background (#f8fcf8). Dark mode keeps the light green primary (#bfe3c4) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf8mintcream | #020803black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f4faf5whitesmoke | #040c05black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f4faf5whitesmoke | #040c05black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #bfe3c4lightgrey | #bfe3c4lightgrey |
| Primary foreground | #224f28darkslategray | #224f28darkslategray |
| Secondary | #c4bfe3lightsteelblue | #c4bfe3lightsteelblue |
| Secondary foreground | #28224fmidnightblue | #28224fmidnightblue |
| Muted | #eae9f2lavender | #0f0d16black |
| Muted foreground | #595959dimgray | #a6a6a6darkgray |
| Accent | #e3c4bfthistle | #e3c4bfthistle |
| Accent foreground | #4f2822darkslategray | #4f2822darkslategray |
| Destructive | #8b0d04darkred | #f94134tomato |
| Destructive foreground | #fdc7c4pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bfe3c4lightgrey | #bfe3c4lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 19.90:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 7.77:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 19.86:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 7.90:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Skylight in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 149.603);
--foreground: oklch(0 0 0);
--muted: oklch(0.937 0.012 292.302);
--muted-foreground: oklch(0.465 0 180);
--popover: oklch(0.98 0.01 149.561);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.98 0.01 149.561);
--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.882 0.058 148.835);
--primary-foreground: oklch(0.383 0.082 146.509);
--secondary: oklch(0.82 0.051 291.337);
--secondary-foreground: oklch(0.284 0.079 286.264);
--accent: oklch(0.845 0.037 28.218);
--accent-foreground: oklch(0.326 0.06 29.852);
--destructive: oklch(0.405 0.158 29.942);
--destructive-foreground: oklch(0.877 0.062 23.133);
--ring: oklch(0.882 0.058 148.835);
--chart-1: oklch(0.882 0.058 148.835);
--chart-2: oklch(0.82 0.051 291.337);
--chart-3: oklch(0.845 0.037 28.218);
--chart-4: oklch(0.85 0.042 291.59);
--chart-5: oklch(0.884 0.062 148.772);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.02 148.656);
--foreground: oklch(1 0 180);
--muted: oklch(0.167 0.019 290.344);
--muted-foreground: oklch(0.724 0 180);
--popover: oklch(0.14 0.023 148.611);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.023 148.611);
--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.882 0.058 148.835);
--primary-foreground: oklch(0.383 0.082 146.509);
--secondary: oklch(0.82 0.051 291.337);
--secondary-foreground: oklch(0.284 0.079 286.264);
--accent: oklch(0.845 0.037 28.218);
--accent-foreground: oklch(0.326 0.06 29.852);
--destructive: oklch(0.649 0.221 28.872);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.882 0.058 148.835);
--chart-1: oklch(0.882 0.058 148.835);
--chart-2: oklch(0.82 0.051 291.337);
--chart-3: oklch(0.845 0.037 28.218);
--chart-4: oklch(0.85 0.042 291.59);
--chart-5: oklch(0.884 0.062 148.772);
}