Serenity’s Reign Scallop is a shadcn/ui theme built around a blue primary color (#437ddb) with green accents (#7ddb43). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the blue primary (#437ddb) on a neutral background (#010204).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfdwhite | #010204black |
| Foreground | #020408black | #f8f9fcghostwhite |
| Card | #f8f9fcghostwhite | #030508black |
| Card foreground | #010204black | #fcfcfdwhite |
| Popover | #f8f9fcghostwhite | #030508black |
| Popover foreground | #010204black | #fcfcfdwhite |
| Primary | #437ddbroyalblue | #437ddbroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #db437dindianred | #db437dindianred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e7dadfgainsboro | #25181dblack |
| Muted foreground | #605c5edimgray | #a39fa0darkgray |
| Accent | #7ddb43yellowgreen | #7ddb43yellowgreen |
| Accent foreground | #22450ddarkgreen | #22450ddarkgreen |
| Destructive | #792102maroon | #fc632ctomato |
| Destructive foreground | #fec4aflightpink | #000000black |
| Border | #e8eaedlavender | #16191dblack |
| Input | #e8eaedlavender | #16191dblack |
| Ring | #437ddbroyalblue | #437ddbroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 4.04:1 | AA Large |
| Secondary button | 4.11:1 | AA Large |
| Muted text | 4.85:1 | AA |
| Accent | 6.28:1 | AA |
| Destructive | 6.76:1 | AA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 4.04:1 | AA Large |
| Secondary button | 4.11:1 | AA Large |
| Muted text | 6.53:1 | AA |
| Accent | 6.28:1 | AA |
| Destructive | 6.96:1 | AA |
Paste this into your globals.css to use Serenity’s Reign Scallop in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 259.936);
--foreground: oklch(0.107 0.015 250.441);
--muted: oklch(0.9 0.016 352.079);
--muted-foreground: oklch(0.48 0.005 351.906);
--popover: oklch(0.983 0.004 259.938);
--popover-foreground: oklch(0.085 0.012 250.441);
--card: oklch(0.983 0.004 259.938);
--card-foreground: oklch(0.085 0.012 250.441);
--border: oklch(0.936 0.005 259.94);
--input: oklch(0.936 0.005 259.94);
--primary: oklch(0.598 0.156 259.501);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.615 0.194 1.331);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.804 0.206 135.899);
--accent-foreground: oklch(0.35 0.091 136.037);
--destructive: oklch(0.386 0.126 37.338);
--destructive-foreground: oklch(0.866 0.073 40.891);
--ring: oklch(0.598 0.156 259.501);
--chart-1: oklch(0.598 0.156 259.501);
--chart-2: oklch(0.615 0.194 1.331);
--chart-3: oklch(0.804 0.206 135.899);
--chart-4: oklch(0.635 0.183 0.091);
--chart-5: oklch(0.597 0.163 259.521);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.009 252.759);
--foreground: oklch(0.983 0.003 259.938);
--muted: oklch(0.228 0.022 354.23);
--muted-foreground: oklch(0.705 0.005 351.786);
--popover: oklch(0.109 0.012 252.759);
--popover-foreground: oklch(0.992 0.002 259.936);
--card: oklch(0.109 0.012 252.759);
--card-foreground: oklch(0.992 0.002 259.936);
--border: oklch(0.211 0.01 259.924);
--input: oklch(0.211 0.01 259.924);
--primary: oklch(0.598 0.156 259.501);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.615 0.194 1.331);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.804 0.206 135.899);
--accent-foreground: oklch(0.35 0.091 136.037);
--destructive: oklch(0.689 0.198 38.765);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.598 0.156 259.501);
--chart-1: oklch(0.598 0.156 259.501);
--chart-2: oklch(0.615 0.194 1.331);
--chart-3: oklch(0.804 0.206 135.899);
--chart-4: oklch(0.635 0.183 0.091);
--chart-5: oklch(0.597 0.163 259.521);
}