OM Theme (Default Dracula Italic) is a shadcn/ui theme built around a light yellow primary color (#f8f8f2) with muted deep indigo accents (#30334f). The light mode uses an indigo-tinted background (#131420). Dark mode keeps the light yellow primary (#f8f8f2) on an indigo-tinted background (#131420).
| Token | Light | Dark |
|---|---|---|
| Background | #131420black | #131420black |
| Foreground | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Card | #101019black | #101019black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0e0e16black | #0e0e16black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
| Primary foreground | #35351ddarkslategray | #35351ddarkslategray |
| Secondary | #4d4d33darkolivegreen | #4d4d33darkolivegreen |
| Secondary foreground | #e0e0d1gainsboro | #e0e0d1gainsboro |
| Muted | #22222bdarkslategray | #22222bdarkslategray |
| Muted foreground | #9b9db0darkgray | #9b9db0darkgray |
| Accent | #30334fdarkslategray | #30334fdarkslategray |
| Accent foreground | #d0d1e2lightgrey | #d0d1e2lightgrey |
| Destructive | #e02b0borangered | #e02b0borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #21222cdarkslategray | #21222cdarkslategray |
| Input | #272934darkslategray | #272934darkslategray |
| Ring | #f8f8f2whitesmoke | #f8f8f2whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 17.10:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.87:1 | AA |
| Accent | 8.10:1 | AAA |
| Destructive | 4.65:1 | AA |
| Text on background | 17.10:1 | AAA |
| Text on card | 18.89:1 | AAA |
| Primary button | 11.72:1 | AAA |
| Secondary button | 6.54:1 | AA |
| Muted text | 5.87:1 | AA |
| Accent | 8.10:1 | AAA |
| Destructive | 4.65:1 | AA |
Paste this into your globals.css to use OM Theme (Default Dracula Italic) in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.198 0.023 280.086);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.257 0.016 281.125);
--muted-foreground: oklch(0.7 0.029 281.507);
--popover: oklch(0.168 0.016 280.423);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.178 0.019 280.296);
--card-foreground: oklch(1 0 180);
--border: oklch(0.255 0.018 280.914);
--input: oklch(0.283 0.022 280.843);
--primary: oklch(0.977 0.008 106.548);
--primary-foreground: oklch(0.322 0.04 108.432);
--secondary: oklch(0.411 0.04 108.031);
--secondary-foreground: oklch(0.904 0.02 106.802);
--accent: oklch(0.332 0.05 279.341);
--accent-foreground: oklch(0.865 0.023 281.756);
--destructive: oklch(0.586 0.218 31.71);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.977 0.008 106.548);
--chart-1: oklch(0.977 0.008 106.548);
--chart-2: oklch(0.411 0.04 108.031);
--chart-3: oklch(0.332 0.05 279.341);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.198 0.023 280.086);
--foreground: oklch(0.977 0.008 106.548);
--muted: oklch(0.257 0.016 281.125);
--muted-foreground: oklch(0.7 0.029 281.507);
--popover: oklch(0.168 0.016 280.423);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.178 0.019 280.296);
--card-foreground: oklch(1 0 180);
--border: oklch(0.255 0.018 280.914);
--input: oklch(0.283 0.022 280.843);
--primary: oklch(0.977 0.008 106.548);
--primary-foreground: oklch(0.322 0.04 108.432);
--secondary: oklch(0.411 0.04 108.031);
--secondary-foreground: oklch(0.904 0.02 106.802);
--accent: oklch(0.332 0.05 279.341);
--accent-foreground: oklch(0.865 0.023 281.756);
--destructive: oklch(0.586 0.218 31.71);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.977 0.008 106.548);
--chart-1: oklch(0.977 0.008 106.548);
--chart-2: oklch(0.411 0.04 108.031);
--chart-3: oklch(0.332 0.05 279.341);
--chart-4: oklch(0.444 0.044 108.055);
--chart-5: oklch(0.978 0.009 106.563);
}