Dramatic is a shadcn/ui theme built around a light orange primary color (#fbf5ef) with light violet accents (#f5effb). The light mode uses a neutral background (#fefdfb). Dark mode keeps the light orange primary (#fbf5ef) on a neutral background (#080502).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #080502black |
| Foreground | #110b03black | #faf8f5whitesmoke |
| Card | #fefdfbsnow | #080502black |
| Card foreground | #110b03black | #faf8f5whitesmoke |
| Popover | #fefdfbsnow | #080502black |
| Popover foreground | #110b03black | #faf8f5whitesmoke |
| Primary | #fbf5efseashell | #fbf5efseashell |
| Primary foreground | #402b12darkslategray | #402b12darkslategray |
| Secondary | #effbf5honeydew | #effbf5honeydew |
| Secondary foreground | #12402bdarkslategray | #12402bdarkslategray |
| Muted | #eef7f3whitesmoke | #08110dblack |
| Muted foreground | #4d5b55darkslategray | #a4b2acdarkgray |
| Accent | #f5effbwhitesmoke | #f5effbwhitesmoke |
| Accent foreground | #612790rebeccapurple | #612790rebeccapurple |
| Destructive | #9a2109firebrick | #f13813orangered |
| Destructive foreground | #fdded8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fbf5efseashell | #fbf5efseashell |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 12.36:1 | AAA |
| Secondary button | 11.00:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 8.46:1 | AAA |
| Destructive | 6.38:1 | AA |
| Text on background | 19.14:1 | AAA |
| Text on card | 19.14:1 | AAA |
| Primary button | 12.36:1 | AAA |
| Secondary button | 11.00:1 | AAA |
| Muted text | 8.68:1 | AAA |
| Accent | 8.46:1 | AAA |
| Destructive | 3.94:1 | AA Large |
Paste this into your globals.css to use Dramatic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 73.202);
--foreground: oklch(0.155 0.022 77.675);
--muted: oklch(0.967 0.011 167.501);
--muted-foreground: oklch(0.457 0.019 166.587);
--popover: oklch(0.993 0.002 73.202);
--popover-foreground: oklch(0.155 0.022 77.675);
--card: oklch(0.993 0.002 73.202);
--card-foreground: oklch(0.155 0.022 77.675);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.974 0.01 73.141);
--primary-foreground: oklch(0.309 0.05 69.57);
--secondary: oklch(0.977 0.014 167.411);
--secondary-foreground: oklch(0.334 0.063 160.333);
--accent: oklch(0.96 0.017 310.275);
--accent-foreground: oklch(0.413 0.165 305.362);
--destructive: oklch(0.45 0.16 32.617);
--destructive-foreground: oklch(0.925 0.035 31.159);
--ring: oklch(0.974 0.01 73.141);
--chart-1: oklch(0.974 0.01 73.141);
--chart-2: oklch(0.977 0.014 167.411);
--chart-3: oklch(0.96 0.017 310.275);
--chart-4: oklch(0.994 0.004 167.715);
--chart-5: oklch(0.974 0.011 73.136);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.014 80.939);
--foreground: oklch(0.979 0.004 73.189);
--muted: oklch(0.168 0.016 165.055);
--muted-foreground: oklch(0.75 0.017 167.162);
--popover: oklch(0.121 0.014 80.939);
--popover-foreground: oklch(0.979 0.004 73.189);
--card: oklch(0.121 0.014 80.939);
--card-foreground: oklch(0.979 0.004 73.189);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.974 0.01 73.141);
--primary-foreground: oklch(0.309 0.05 69.57);
--secondary: oklch(0.977 0.014 167.411);
--secondary-foreground: oklch(0.334 0.063 160.333);
--accent: oklch(0.96 0.017 310.275);
--accent-foreground: oklch(0.413 0.165 305.362);
--destructive: oklch(0.626 0.225 32.531);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.974 0.01 73.141);
--chart-1: oklch(0.974 0.01 73.141);
--chart-2: oklch(0.977 0.014 167.411);
--chart-3: oklch(0.96 0.017 310.275);
--chart-4: oklch(0.994 0.004 167.715);
--chart-5: oklch(0.974 0.011 73.136);
}