Dame is a shadcn/ui theme built around a vivid light cyan primary color (#90e6f3) with vivid light red accents (#f39d90). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid light cyan primary (#90e6f3) on a cyan-tinted background (#070d0e).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #070d0eblack |
| Foreground | #050e10black | #f6f8f9whitesmoke |
| Card | #fbfdfewhite | #070d0eblack |
| Card foreground | #050e10black | #f6f8f9whitesmoke |
| Popover | #fbfdfewhite | #070d0eblack |
| Popover foreground | #050e10black | #f6f8f9whitesmoke |
| Primary | #90e6f3lightskyblue | #90e6f3lightskyblue |
| Primary foreground | #08414adarkslategray | #08414adarkslategray |
| Secondary | #f39d90darksalmon | #f39d90darksalmon |
| Secondary foreground | #4a1108maroon | #4a1108maroon |
| Muted | #f4eceblinen | #140c0bblack |
| Muted foreground | #695f5ddimgray | #a29796darkgray |
| Accent | #f39d90darksalmon | #f39d90darksalmon |
| Accent foreground | #4a1108maroon | #4a1108maroon |
| Destructive | #a21d0bfirebrick | #f14c37tomato |
| Destructive foreground | #fde5e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #90e6f3lightskyblue | #90e6f3lightskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.16:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 7.94:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 5.33:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 18.39:1 | AAA |
| Text on card | 18.39:1 | AAA |
| Primary button | 7.94:1 | AAA |
| Secondary button | 7.33:1 | AAA |
| Muted text | 6.81:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 3.59:1 | AA Large |
Paste this into your globals.css to use Dame in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 207.923);
--foreground: oklch(0.155 0.015 206.916);
--muted: oklch(0.95 0.008 27.979);
--muted-foreground: oklch(0.495 0.014 28.094);
--popover: oklch(0.994 0.002 207.923);
--popover-foreground: oklch(0.155 0.015 206.916);
--card: oklch(0.994 0.002 207.923);
--card-foreground: oklch(0.155 0.015 206.916);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.875 0.085 208.152);
--primary-foreground: oklch(0.346 0.056 210.845);
--secondary: oklch(0.78 0.105 29.198);
--secondary-foreground: oklch(0.275 0.088 31.705);
--accent: oklch(0.78 0.105 29.198);
--accent-foreground: oklch(0.275 0.088 31.705);
--destructive: oklch(0.461 0.171 30.99);
--destructive-foreground: oklch(0.942 0.026 26.648);
--ring: oklch(0.875 0.085 208.152);
--chart-1: oklch(0.875 0.085 208.152);
--chart-2: oklch(0.78 0.105 29.198);
--chart-3: oklch(0.78 0.105 29.198);
--chart-4: oklch(0.806 0.091 28.922);
--chart-5: oklch(0.878 0.088 208.188);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.011 207.178);
--foreground: oklch(0.978 0.003 207.922);
--muted: oklch(0.165 0.014 28.589);
--muted-foreground: oklch(0.685 0.012 28.033);
--popover: oklch(0.152 0.011 207.178);
--popover-foreground: oklch(0.978 0.003 207.922);
--card: oklch(0.152 0.011 207.178);
--card-foreground: oklch(0.978 0.003 207.922);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.875 0.085 208.152);
--primary-foreground: oklch(0.346 0.056 210.845);
--secondary: oklch(0.78 0.105 29.198);
--secondary-foreground: oklch(0.275 0.088 31.705);
--accent: oklch(0.78 0.105 29.198);
--accent-foreground: oklch(0.275 0.088 31.705);
--destructive: oklch(0.647 0.205 30.75);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.875 0.085 208.152);
--chart-1: oklch(0.875 0.085 208.152);
--chart-2: oklch(0.78 0.105 29.198);
--chart-3: oklch(0.78 0.105 29.198);
--chart-4: oklch(0.806 0.091 28.922);
--chart-5: oklch(0.878 0.088 208.188);
}