Significant Fresh Nectar is a shadcn/ui theme built around an orange primary color (#dba775) with violet accents (#a775db). The light mode uses a neutral background (#fdfaf6). Dark mode keeps the orange primary (#dba775) on an orange-tinted background (#0b0804).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf6snow | #0b0804black |
| Foreground | #080502black | #fcfaf8snow |
| Card | #fdf7f2floralwhite | #0e0a06black |
| Card foreground | #040201black | #fdfcfcsnow |
| Popover | #fdf7f2floralwhite | #0e0a06black |
| Popover foreground | #040201black | #fdfcfcsnow |
| Primary | #dba775darksalmon | #dba775darksalmon |
| Primary foreground | #180f06black | #180f06black |
| Secondary | #75dba7mediumaquamarine | #75dba7mediumaquamarine |
| Secondary foreground | #06180fblack | #06180fblack |
| Muted | #e8edeblavender | #121714black |
| Muted foreground | #4b534fdarkslategray | #acb4b0darkgray |
| Accent | #a775dbmediumpurple | #a775dbmediumpurple |
| Accent foreground | #000000black | #000000black |
| Destructive | #ab4512sienna | #e25b18chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #ecebe9linen | #1f1c1ablack |
| Input | #ecebe9linen | #1f1c1ablack |
| Ring | #dba775darksalmon | #dba775darksalmon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 10.90:1 | AAA |
| Muted text | 6.70:1 | AA |
| Accent | 6.21:1 | AA |
| Destructive | 5.86:1 | AA |
| Text on background | 19.23:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 8.81:1 | AAA |
| Secondary button | 10.90:1 | AAA |
| Muted text | 8.55:1 | AAA |
| Accent | 6.21:1 | AA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Significant Fresh Nectar in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.006 65.895);
--foreground: oklch(0.119 0.015 75.24);
--muted: oklch(0.942 0.007 164.102);
--muted-foreground: oklch(0.434 0.012 163.551);
--popover: oklch(0.979 0.009 65.858);
--popover-foreground: oklch(0.094 0.012 75.24);
--card: oklch(0.979 0.009 65.858);
--card-foreground: oklch(0.094 0.012 75.24);
--border: oklch(0.94 0.003 65.927);
--input: oklch(0.94 0.003 65.927);
--primary: oklch(0.765 0.09 63.912);
--primary-foreground: oklch(0.178 0.023 65.098);
--secondary: oklch(0.817 0.123 159.427);
--secondary-foreground: oklch(0.191 0.031 159.456);
--accent: oklch(0.655 0.154 304.82);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.52 0.146 42.505);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.765 0.09 63.912);
--chart-1: oklch(0.765 0.09 63.912);
--chart-2: oklch(0.817 0.123 159.427);
--chart-3: oklch(0.655 0.154 304.82);
--chart-4: oklch(0.831 0.113 160.029);
--chart-5: oklch(0.767 0.094 63.758);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.011 71.843);
--foreground: oklch(0.986 0.003 65.931);
--muted: oklch(0.198 0.01 162.95);
--muted-foreground: oklch(0.762 0.011 163.926);
--popover: oklch(0.149 0.012 68.797);
--popover-foreground: oklch(0.993 0.001 65.949);
--card: oklch(0.149 0.012 68.797);
--card-foreground: oklch(0.993 0.001 65.949);
--border: oklch(0.228 0.006 65.635);
--input: oklch(0.228 0.006 65.635);
--primary: oklch(0.765 0.09 63.912);
--primary-foreground: oklch(0.178 0.023 65.098);
--secondary: oklch(0.817 0.123 159.427);
--secondary-foreground: oklch(0.191 0.031 159.456);
--accent: oklch(0.655 0.154 304.82);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.638 0.183 42.082);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.765 0.09 63.912);
--chart-1: oklch(0.765 0.09 63.912);
--chart-2: oklch(0.817 0.123 159.427);
--chart-3: oklch(0.655 0.154 304.82);
--chart-4: oklch(0.831 0.113 160.029);
--chart-5: oklch(0.767 0.094 63.758);
}