Artistic is a shadcn/ui theme built around a deep yellow primary color (#544721) with deep green accents (#485421). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep yellow primary (#544721) on a neutral background (#040302).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040302black |
| Foreground | #080602black | #ffffffwhite |
| Card | #ffffffwhite | #040302black |
| Card foreground | #080602black | #ffffffwhite |
| Popover | #ffffffwhite | #040302black |
| Popover foreground | #080602black | #ffffffwhite |
| Primary | #544721darkolivegreen | #544721darkolivegreen |
| Primary foreground | #e7ddc1wheat | #e7ddc1wheat |
| Secondary | #542d21saddlebrown | #542d21saddlebrown |
| Secondary foreground | #e7c9c1pink | #e7c9c1pink |
| Muted | #e5dad7gainsboro | #281d1ablack |
| Muted foreground | #675a56dimgray | #a99c98darkgray |
| Accent | #485421darkolivegreen | #485421darkolivegreen |
| Accent foreground | #dee7c1palegoldenrod | #dee7c1palegoldenrod |
| Destructive | #621809maroon | #ea411forangered |
| Destructive foreground | #f7b4a6lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #544721darkolivegreen | #544721darkolivegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 4.83:1 | AA |
| Accent | 6.31:1 | AA |
| Destructive | 7.27:1 | AAA |
| Text on background | 20.62:1 | AAA |
| Text on card | 20.62:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 6.14:1 | AA |
| Accent | 6.31:1 | AA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Artistic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.015 95.314);
--muted: oklch(0.896 0.013 37.676);
--muted-foreground: oklch(0.478 0.018 37.614);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.015 95.314);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.015 95.314);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.402 0.058 89.687);
--primary-foreground: oklch(0.897 0.039 90.379);
--secondary: oklch(0.345 0.062 37.715);
--secondary-foreground: oklch(0.86 0.035 37.609);
--accent: oklch(0.425 0.076 120.717);
--accent-foreground: oklch(0.911 0.051 118.097);
--destructive: oklch(0.332 0.109 33.104);
--destructive-foreground: oklch(0.828 0.081 31.558);
--ring: oklch(0.402 0.058 89.687);
--chart-1: oklch(0.402 0.058 89.687);
--chart-2: oklch(0.345 0.062 37.715);
--chart-3: oklch(0.425 0.076 120.717);
--chart-4: oklch(0.374 0.069 37.714);
--chart-5: oklch(0.406 0.061 89.508);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.008 93.928);
--foreground: oklch(1 0 180);
--muted: oklch(0.244 0.019 37.595);
--muted-foreground: oklch(0.703 0.016 37.648);
--popover: oklch(0.097 0.008 93.928);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.097 0.008 93.928);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.402 0.058 89.687);
--primary-foreground: oklch(0.897 0.039 90.379);
--secondary: oklch(0.345 0.062 37.715);
--secondary-foreground: oklch(0.86 0.035 37.609);
--accent: oklch(0.425 0.076 120.717);
--accent-foreground: oklch(0.911 0.051 118.097);
--destructive: oklch(0.622 0.211 32.969);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.402 0.058 89.687);
--chart-1: oklch(0.402 0.058 89.687);
--chart-2: oklch(0.345 0.062 37.715);
--chart-3: oklch(0.425 0.076 120.717);
--chart-4: oklch(0.374 0.069 37.714);
--chart-5: oklch(0.406 0.061 89.508);
}