Artistic is a shadcn/ui theme built around a vivid orange primary color (#f6b888) with vivid blue accents (#88c7f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f6b888) on a neutral background (#040201).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040201black |
| Foreground | #120903black | #f8f7f6whitesmoke |
| Card | #ffffffwhite | #040201black |
| Card foreground | #120903black | #f8f7f6whitesmoke |
| Popover | #ffffffwhite | #040201black |
| Popover foreground | #120903black | #f8f7f6whitesmoke |
| Primary | #f6b888burlywood | #f6b888burlywood |
| Primary foreground | #472205maroon | #472205maroon |
| Secondary | #88c7f6lightskyblue | #88c7f6lightskyblue |
| Secondary foreground | #052b47midnightblue | #052b47midnightblue |
| Muted | #dbe1e6gainsboro | #191f24black |
| Muted foreground | #3b464fdarkslategray | #b0bcc4silver |
| Accent | #88c7f6lightskyblue | #88c7f6lightskyblue |
| Accent foreground | #052b47midnightblue | #052b47midnightblue |
| Destructive | #ca1f16firebrick | #dc2218crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6b888burlywood | #f6b888burlywood |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.69:1 | AAA |
| Text on card | 19.69:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 5.64:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 8.09:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 8.55:1 | AAA |
| Accent | 7.97:1 | AAA |
| Destructive | 4.88:1 | AA |
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.15 0.024 67.041);
--muted: oklch(0.907 0.009 240.426);
--muted-foreground: oklch(0.388 0.022 241.09);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.15 0.024 67.041);
--card: oklch(1 0 180);
--card-foreground: oklch(0.15 0.024 67.041);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.829 0.095 58.372);
--primary-foreground: oklch(0.298 0.069 53.251);
--secondary: oklch(0.804 0.093 242.241);
--secondary-foreground: oklch(0.279 0.066 246.669);
--accent: oklch(0.804 0.093 242.241);
--accent-foreground: oklch(0.279 0.066 246.669);
--destructive: oklch(0.539 0.204 29.173);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.829 0.095 58.372);
--chart-1: oklch(0.829 0.095 58.372);
--chart-2: oklch(0.804 0.093 242.241);
--chart-3: oklch(0.804 0.093 242.241);
--chart-4: oklch(0.826 0.082 241.879);
--chart-5: oklch(0.83 0.099 58.283);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.093 0.009 67.987);
--foreground: oklch(0.977 0.002 60.256);
--muted: oklch(0.237 0.013 241.082);
--muted-foreground: oklch(0.787 0.018 240.605);
--popover: oklch(0.093 0.009 67.987);
--popover-foreground: oklch(0.977 0.002 60.256);
--card: oklch(0.093 0.009 67.987);
--card-foreground: oklch(0.977 0.002 60.256);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.829 0.095 58.372);
--primary-foreground: oklch(0.298 0.069 53.251);
--secondary: oklch(0.804 0.093 242.241);
--secondary-foreground: oklch(0.279 0.066 246.669);
--accent: oklch(0.804 0.093 242.241);
--accent-foreground: oklch(0.279 0.066 246.669);
--destructive: oklch(0.575 0.219 29.207);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.829 0.095 58.372);
--chart-1: oklch(0.829 0.095 58.372);
--chart-2: oklch(0.804 0.093 242.241);
--chart-3: oklch(0.804 0.093 242.241);
--chart-4: oklch(0.826 0.082 241.879);
--chart-5: oklch(0.83 0.099 58.283);
}