Ugly Dayflower is a shadcn/ui theme built around a vivid cyan primary color (#14a3e6) with vivid blue accents (#143ae6). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid cyan primary (#14a3e6) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbfcghostwhite | #010304black |
| Foreground | #000000black | #fcfdfdwhite |
| Card | #f5f8fawhitesmoke | #020608black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f5f8fawhitesmoke | #020608black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #14a3e6dodgerblue | #14a3e6dodgerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #14e6bfdarkturquoise | #14e6bfdarkturquoise |
| Secondary foreground | #042a23black | #042a23black |
| Muted | #dfece9lavender | #13201dblack |
| Muted foreground | #4b625edimgray | #9db4afdarkgray |
| Accent | #143ae6royalblue | #143ae6royalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #67140amaroon | #db2c14firebrick |
| Destructive foreground | #f7b4ablightpink | #ffffffwhite |
| Border | #e2e7e9lavender | #1e2629darkslategray |
| Input | #e2e7e9lavender | #1e2629darkslategray |
| Ring | #14a3e6dodgerblue | #14a3e6dodgerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 2.82:1 | Fail |
| Secondary button | 9.62:1 | AAA |
| Muted text | 5.38:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 7.18:1 | AAA |
| Text on background | 20.27:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 2.82:1 | Fail |
| Secondary button | 9.62:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 4.78:1 | AA |
Paste this into your globals.css to use Ugly Dayflower in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.003 226.892);
--foreground: oklch(0 0 0);
--muted: oklch(0.932 0.013 183.926);
--muted-foreground: oklch(0.476 0.028 182.651);
--popover: oklch(0.978 0.004 226.91);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.978 0.004 226.91);
--card-foreground: oklch(0 0 0);
--border: oklch(0.924 0.007 226.943);
--input: oklch(0.924 0.007 226.943);
--primary: oklch(0.68 0.145 237.224);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.826 0.154 174.515);
--secondary-foreground: oklch(0.257 0.044 177.565);
--accent: oklch(0.469 0.255 265.233);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.338 0.117 31.022);
--destructive-foreground: oklch(0.83 0.08 27.381);
--ring: oklch(0.68 0.145 237.224);
--chart-1: oklch(0.68 0.145 237.224);
--chart-2: oklch(0.826 0.154 174.515);
--chart-3: oklch(0.469 0.255 265.233);
--chart-4: oklch(0.842 0.155 175.135);
--chart-5: oklch(0.685 0.148 237.772);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.01 220.659);
--foreground: oklch(0.993 0.001 226.874);
--muted: oklch(0.23 0.018 182.047);
--muted-foreground: oklch(0.75 0.026 183.377);
--popover: oklch(0.117 0.013 220.659);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.117 0.013 220.659);
--card-foreground: oklch(1 0 180);
--border: oklch(0.261 0.012 227.54);
--input: oklch(0.261 0.012 227.54);
--primary: oklch(0.68 0.145 237.224);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.826 0.154 174.515);
--secondary-foreground: oklch(0.257 0.044 177.565);
--accent: oklch(0.469 0.255 265.233);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.578 0.213 31.001);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.68 0.145 237.224);
--chart-1: oklch(0.68 0.145 237.224);
--chart-2: oklch(0.826 0.154 174.515);
--chart-3: oklch(0.469 0.255 265.233);
--chart-4: oklch(0.842 0.155 175.135);
--chart-5: oklch(0.685 0.148 237.772);
}