Winged is a shadcn/ui theme built around a green primary color (#cbdda2) with purple accents (#dda2cb). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#cbdda2) on a green-tinted background (#0c0e07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0e07black |
| Foreground | #030401black | #f8faf5whitesmoke |
| Card | #ffffffwhite | #0c0e07black |
| Card foreground | #030401black | #f8faf5whitesmoke |
| Popover | #ffffffwhite | #0c0e07black |
| Popover foreground | #030401black | #f8faf5whitesmoke |
| Primary | #cbdda2palegoldenrod | #cbdda2palegoldenrod |
| Primary foreground | #2d3815darkslategray | #2d3815darkslategray |
| Secondary | #a2cbddlightsteelblue | #a2cbddlightsteelblue |
| Secondary foreground | #152d38darkslategray | #152d38darkslategray |
| Muted | #e2eaeelavender | #11191dblack |
| Muted foreground | #5c6366dimgray | #99a0a3darkgray |
| Accent | #dda2cbplum | #dda2cbplum |
| Accent foreground | #38152ddarkslategray | #38152ddarkslategray |
| Destructive | #d23d14firebrick | #db3f14orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cbdda2palegoldenrod | #cbdda2palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.55:1 | AAA |
| Text on card | 20.55:1 | AAA |
| Primary button | 8.50:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 5.03:1 | AA |
| Accent | 7.67:1 | AAA |
| Destructive | 4.75:1 | AA |
| Text on background | 18.51:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 8.50:1 | AAA |
| Secondary button | 8.27:1 | AAA |
| Muted text | 6.68:1 | AA |
| Accent | 7.67:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Winged in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.017 119.892);
--muted: oklch(0.933 0.01 225.107);
--muted-foreground: oklch(0.494 0.01 225.215);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.103 0.017 119.892);
--card: oklch(1 0 180);
--card-foreground: oklch(0.103 0.017 119.892);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.869 0.08 121.632);
--primary-foreground: oklch(0.321 0.057 123.497);
--secondary: oklch(0.818 0.05 225.895);
--secondary-foreground: oklch(0.284 0.036 227.944);
--accent: oklch(0.78 0.087 337.856);
--accent-foreground: oklch(0.258 0.067 340.39);
--destructive: oklch(0.576 0.192 34.895);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0.08 121.632);
--chart-1: oklch(0.869 0.08 121.632);
--chart-2: oklch(0.818 0.05 225.895);
--chart-3: oklch(0.78 0.087 337.856);
--chart-4: oklch(0.84 0.044 225.726);
--chart-5: oklch(0.873 0.085 121.727);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.016 121.081);
--foreground: oklch(0.982 0.007 120.155);
--muted: oklch(0.208 0.014 226.048);
--muted-foreground: oklch(0.701 0.009 225.128);
--popover: oklch(0.157 0.016 121.081);
--popover-foreground: oklch(0.982 0.007 120.155);
--card: oklch(0.157 0.016 121.081);
--card-foreground: oklch(0.982 0.007 120.155);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.869 0.08 121.632);
--primary-foreground: oklch(0.321 0.057 123.497);
--secondary: oklch(0.818 0.05 225.895);
--secondary-foreground: oklch(0.284 0.036 227.944);
--accent: oklch(0.78 0.087 337.856);
--accent-foreground: oklch(0.258 0.067 340.39);
--destructive: oklch(0.595 0.199 34.861);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0.08 121.632);
--chart-1: oklch(0.869 0.08 121.632);
--chart-2: oklch(0.818 0.05 225.895);
--chart-3: oklch(0.78 0.087 337.856);
--chart-4: oklch(0.84 0.044 225.726);
--chart-5: oklch(0.873 0.085 121.727);
}