Artistic is a shadcn/ui theme built around a vivid orange primary color (#d8470e) with vivid cyan accents (#0e9fd8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#d8470e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #150904black | #fdfcfbsnow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #110703black | #ffffffwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #110703black | #ffffffwhite |
| Primary | #d8470echocolate | #d8470echocolate |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0e9fd8dodgerblue | #0e9fd8dodgerblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2ebeelavender | #111a1dblack |
| Muted foreground | #4c5b61dimgray | #9eadb3darkgray |
| Accent | #0e9fd8dodgerblue | #0e9fd8dodgerblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #5c100amaroon | #e83d30crimson |
| Destructive foreground | #f5a9a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d8470echocolate | #d8470echocolate |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.57:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 4.35:1 | AA Large |
| Secondary button | 3.02:1 | AA Large |
| Muted text | 5.81:1 | AA |
| Accent | 3.02:1 | AA Large |
| Destructive | 7.24:1 | AAA |
| Text on background | 20.49:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.35:1 | AA Large |
| Secondary button | 3.02:1 | AA Large |
| Muted text | 7.66:1 | AAA |
| Accent | 3.02:1 | AA Large |
| Destructive | 4.08: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.157 0.026 47.605);
--muted: oklch(0.933 0.01 223.243);
--muted-foreground: oklch(0.461 0.021 223.699);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.143 0.022 50.194);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.143 0.022 50.194);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.597 0.19 37.829);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.661 0.135 233.717);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.661 0.135 233.717);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.311 0.109 29.112);
--destructive-foreground: oklch(0.806 0.091 23.814);
--ring: oklch(0.597 0.19 37.829);
--chart-1: oklch(0.597 0.19 37.829);
--chart-2: oklch(0.661 0.135 233.717);
--chart-3: oklch(0.661 0.135 233.717);
--chart-4: oklch(0.693 0.142 233.824);
--chart-5: oklch(0.601 0.195 37.393);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.002 43.114);
--muted: oklch(0.209 0.014 224.132);
--muted-foreground: oklch(0.737 0.019 223.415);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.597 0.19 37.829);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.661 0.135 233.717);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.661 0.135 233.717);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.616 0.21 28.851);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.597 0.19 37.829);
--chart-1: oklch(0.597 0.19 37.829);
--chart-2: oklch(0.661 0.135 233.717);
--chart-3: oklch(0.661 0.135 233.717);
--chart-4: oklch(0.693 0.142 233.824);
--chart-5: oklch(0.601 0.195 37.393);
}