Mother of Pearl Silver Dragon is a shadcn/ui theme built around a light blue primary color (#ccd8ea) with light indigo accents (#d0ccea). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the light blue primary (#ccd8ea) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #000000black |
| Foreground | #040911black | #ffffffwhite |
| Card | #f4f7fbghostwhite | #030303black |
| Card foreground | #03070cblack | #ffffffwhite |
| Popover | #f4f7fbghostwhite | #030303black |
| Popover foreground | #03070cblack | #ffffffwhite |
| Primary | #ccd8eagainsboro | #ccd8eagainsboro |
| Primary foreground | #263c5edarkslategray | #263c5edarkslategray |
| Secondary | #cce7eagainsboro | #cce7eagainsboro |
| Secondary foreground | #26585edarkslategray | #26585edarkslategray |
| Muted | #edf1f2whitesmoke | #0d1112black |
| Muted foreground | #49585adarkslategray | #a5b4b6darkgray |
| Accent | #d0cceathistle | #d0cceathistle |
| Accent foreground | #2d265emidnightblue | #2d265emidnightblue |
| Destructive | #c54302chocolate | #fd6a21tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e4e5e7gainsboro | #1b1c1dblack |
| Input | #e4e5e7gainsboro | #1b1c1dblack |
| Ring | #ccd8eagainsboro | #ccd8eagainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 7.70:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 6.55:1 | AA |
| Accent | 8.72:1 | AAA |
| Destructive | 5.03:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.70:1 | AAA |
| Secondary button | 6.12:1 | AA |
| Muted text | 8.86:1 | AAA |
| Accent | 8.72:1 | AAA |
| Destructive | 7.25:1 | AAA |
Paste this into your globals.css to use Mother of Pearl Silver Dragon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 259.939);
--foreground: oklch(0.136 0.021 253.606);
--muted: oklch(0.957 0.004 206.413);
--muted-foreground: oklch(0.448 0.018 206.268);
--popover: oklch(0.974 0.007 259.941);
--popover-foreground: oklch(0.123 0.018 251.199);
--card: oklch(0.974 0.007 259.941);
--card-foreground: oklch(0.123 0.018 251.199);
--border: oklch(0.922 0.002 259.937);
--input: oklch(0.922 0.002 259.937);
--primary: oklch(0.879 0.028 259.94);
--primary-foreground: oklch(0.355 0.066 259.55);
--secondary: oklch(0.909 0.028 206.292);
--secondary-foreground: oklch(0.428 0.054 206.894);
--accent: oklch(0.858 0.041 290.854);
--accent-foreground: oklch(0.311 0.096 284.672);
--destructive: oklch(0.56 0.176 39.681);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.879 0.028 259.94);
--chart-1: oklch(0.879 0.028 259.94);
--chart-2: oklch(0.909 0.028 206.292);
--chart-3: oklch(0.858 0.041 290.854);
--chart-4: oklch(0.928 0.022 206.317);
--chart-5: oklch(0.878 0.03 259.938);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.174 0.007 206.275);
--muted-foreground: oklch(0.758 0.016 206.327);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.225 0.004 259.946);
--input: oklch(0.225 0.004 259.946);
--primary: oklch(0.879 0.028 259.94);
--primary-foreground: oklch(0.355 0.066 259.55);
--secondary: oklch(0.909 0.028 206.292);
--secondary-foreground: oklch(0.428 0.054 206.894);
--accent: oklch(0.858 0.041 290.854);
--accent-foreground: oklch(0.311 0.096 284.672);
--destructive: oklch(0.699 0.195 42.578);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.879 0.028 259.94);
--chart-1: oklch(0.879 0.028 259.94);
--chart-2: oklch(0.909 0.028 206.292);
--chart-3: oklch(0.858 0.041 290.854);
--chart-4: oklch(0.928 0.022 206.317);
--chart-5: oklch(0.878 0.03 259.938);
}