P. \ Floresta is a shadcn/ui theme built around a pink primary color (#d16baa) with deep cyan accents (#164b55). The light mode uses a cyan-tinted background (#061618). Dark mode keeps the pink primary (#d16baa) on a cyan-tinted background (#061618).
| Token | Light | Dark |
|---|---|---|
| Background | #061618black | #061618black |
| Foreground | #ffd4c7peachpuff | #ffd4c7peachpuff |
| Card | #040e10black | #040e10black |
| Card foreground | #ffe8e0mistyrose | #ffe8e0mistyrose |
| Popover | #030b0cblack | #030b0cblack |
| Popover foreground | #fffbfasnow | #fffbfasnow |
| Primary | #d16baapalevioletred | #d16baapalevioletred |
| Primary foreground | #080206black | #080206black |
| Secondary | #532d44darkslategray | #532d44darkslategray |
| Secondary foreground | #e4cddbgainsboro | #e4cddbgainsboro |
| Muted | #22292bdarkslategray | #22292bdarkslategray |
| Muted foreground | #9badb0darkgray | #9badb0darkgray |
| Accent | #164b55darkslategray | #164b55darkslategray |
| Accent foreground | #b2e2ebpowderblue | #b2e2ebpowderblue |
| Destructive | #f91e01red | #f91e01red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #0f252ablack | #0f252ablack |
| Input | #133035darkslategray | #133035darkslategray |
| Ring | #d16baapalevioletred | #d16baapalevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.67:1 | AAA |
| Text on card | 16.58:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 6.86:1 | AA |
| Destructive | 4.03:1 | AA Large |
| Text on background | 13.67:1 | AAA |
| Text on card | 16.58:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 6.31:1 | AA |
| Accent | 6.86:1 | AA |
| Destructive | 4.03:1 | AA Large |
Paste this into your globals.css to use P. \ Floresta in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.186 0.022 209.908);
--foreground: oklch(0.903 0.052 37.593);
--muted: oklch(0.276 0.011 209.446);
--muted-foreground: oklch(0.735 0.021 209.43);
--popover: oklch(0.14 0.015 206.845);
--popover-foreground: oklch(0.991 0.004 37.72);
--card: oklch(0.156 0.017 208.399);
--card-foreground: oklch(0.947 0.028 37.632);
--border: oklch(0.25 0.03 210.377);
--input: oklch(0.288 0.036 210.552);
--primary: oklch(0.666 0.149 344.062);
--primary-foreground: oklch(0.107 0.02 339.663);
--secondary: oklch(0.353 0.066 343.271);
--secondary-foreground: oklch(0.872 0.032 340.253);
--accent: oklch(0.384 0.056 211.523);
--accent-foreground: oklch(0.883 0.051 209.506);
--destructive: oklch(0.624 0.246 30.558);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.666 0.149 344.062);
--chart-1: oklch(0.666 0.149 344.062);
--chart-2: oklch(0.353 0.066 343.271);
--chart-3: oklch(0.384 0.056 211.523);
--chart-4: oklch(0.381 0.072 343.344);
--chart-5: oklch(0.666 0.157 344.316);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.186 0.022 209.908);
--foreground: oklch(0.903 0.052 37.593);
--muted: oklch(0.276 0.011 209.446);
--muted-foreground: oklch(0.735 0.021 209.43);
--popover: oklch(0.14 0.015 206.845);
--popover-foreground: oklch(0.991 0.004 37.72);
--card: oklch(0.156 0.017 208.399);
--card-foreground: oklch(0.947 0.028 37.632);
--border: oklch(0.25 0.03 210.377);
--input: oklch(0.288 0.036 210.552);
--primary: oklch(0.666 0.149 344.062);
--primary-foreground: oklch(0.107 0.02 339.663);
--secondary: oklch(0.353 0.066 343.271);
--secondary-foreground: oklch(0.872 0.032 340.253);
--accent: oklch(0.384 0.056 211.523);
--accent-foreground: oklch(0.883 0.051 209.506);
--destructive: oklch(0.624 0.246 30.558);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.666 0.149 344.062);
--chart-1: oklch(0.666 0.149 344.062);
--chart-2: oklch(0.353 0.066 343.271);
--chart-3: oklch(0.384 0.056 211.523);
--chart-4: oklch(0.381 0.072 343.344);
--chart-5: oklch(0.666 0.157 344.316);
}