test_1_for_ui_ is a shadcn/ui theme built around a light green primary color (#edf4bd) with light green accents (#d1f4bd). The light mode uses a neutral background (#fcfcf7). Dark mode keeps the light green primary (#edf4bd) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcf7snow | #040401black |
| Foreground | #0c0d02black | #ffffffwhite |
| Card | #fcfcf7snow | #040401black |
| Card foreground | #0c0d02black | #ffffffwhite |
| Popover | #fcfcf7snow | #040401black |
| Popover foreground | #0c0d02black | #ffffffwhite |
| Primary | #edf4bdpalegoldenrod | #edf4bdpalegoldenrod |
| Primary foreground | #131604black | #131604black |
| Secondary | #f4e0bdwheat | #f4e0bdwheat |
| Secondary foreground | #6e4c12saddlebrown | #6e4c12saddlebrown |
| Muted | #e4e1ddgainsboro | #22201bblack |
| Muted foreground | #575552dimgray | #adaca8darkgray |
| Accent | #d1f4bdpalegoldenrod | #d1f4bdpalegoldenrod |
| Accent foreground | #0a1604black | #0a1604black |
| Destructive | #a4300afirebrick | #f14a13orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e2e3degainsboro | #1b1c17black |
| Input | #e2e3degainsboro | #1b1c17black |
| Ring | #edf4bdpalegoldenrod | #edf4bdpalegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.04:1 | AAA |
| Text on card | 19.04:1 | AAA |
| Primary button | 16.00:1 | AAA |
| Secondary button | 6.01:1 | AA |
| Muted text | 5.71:1 | AA |
| Accent | 15.43:1 | AAA |
| Destructive | 6.98:1 | AA |
| Text on background | 20.54:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 16.00:1 | AAA |
| Secondary button | 6.01:1 | AA |
| Muted text | 7.18:1 | AAA |
| Accent | 15.43:1 | AAA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use test_1_for_ui_ in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 112.671);
--foreground: oklch(0.155 0.028 114.5);
--muted: oklch(0.912 0.007 81.512);
--muted-foreground: oklch(0.45 0.006 81.507);
--popover: oklch(0.99 0.007 112.671);
--popover-foreground: oklch(0.155 0.028 114.5);
--card: oklch(0.99 0.007 112.671);
--card-foreground: oklch(0.155 0.028 114.5);
--border: oklch(0.913 0.007 112.679);
--input: oklch(0.913 0.007 112.679);
--primary: oklch(0.949 0.072 113.949);
--primary-foreground: oklch(0.192 0.035 115.572);
--secondary: oklch(0.915 0.051 81.345);
--secondary-foreground: oklch(0.443 0.084 76.065);
--accent: oklch(0.929 0.081 134.192);
--accent-foreground: oklch(0.183 0.041 133.97);
--destructive: oklch(0.482 0.158 36.257);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.949 0.072 113.949);
--chart-1: oklch(0.949 0.072 113.949);
--chart-2: oklch(0.915 0.051 81.345);
--chart-3: oklch(0.929 0.081 134.192);
--chart-4: oklch(0.931 0.041 81.415);
--chart-5: oklch(0.952 0.074 114);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.014 113.586);
--foreground: oklch(1 0 180);
--muted: oklch(0.243 0.01 81.437);
--muted-foreground: oklch(0.743 0.005 81.512);
--popover: oklch(0.103 0.014 113.586);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.103 0.014 113.586);
--card-foreground: oklch(1 0 180);
--border: oklch(0.222 0.008 113.195);
--input: oklch(0.222 0.008 113.195);
--primary: oklch(0.949 0.072 113.949);
--primary-foreground: oklch(0.192 0.035 115.572);
--secondary: oklch(0.915 0.051 81.345);
--secondary-foreground: oklch(0.443 0.084 76.065);
--accent: oklch(0.929 0.081 134.192);
--accent-foreground: oklch(0.183 0.041 133.97);
--destructive: oklch(0.643 0.211 36.18);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.949 0.072 113.949);
--chart-1: oklch(0.949 0.072 113.949);
--chart-2: oklch(0.915 0.051 81.345);
--chart-3: oklch(0.929 0.081 134.192);
--chart-4: oklch(0.931 0.041 81.415);
--chart-5: oklch(0.952 0.074 114);
}