Warlike is a shadcn/ui theme built around a light pink primary color (#eb98cc) with light red accents (#eb98a2). The light mode uses a neutral background (#fdfbfd). Dark mode keeps the light pink primary (#eb98cc) on a neutral background (#040203).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfdsnow | #040203black |
| Foreground | #050103black | #fbf8fasnow |
| Card | #fdfbfdsnow | #040203black |
| Card foreground | #050103black | #fbf8fasnow |
| Popover | #fdfbfdsnow | #040203black |
| Popover foreground | #050103black | #fbf8fasnow |
| Primary | #eb98ccplum | #eb98ccplum |
| Primary foreground | #450d2fmaroon | #450d2fmaroon |
| Secondary | #e298ebplum | #e298ebplum |
| Secondary foreground | #3e0d45midnightblue | #3e0d45midnightblue |
| Muted | #ebdeedlavender | #1f1221black |
| Muted foreground | #504d51darkslategray | #b1aeb2darkgray |
| Accent | #eb98a2darksalmon | #eb98a2darksalmon |
| Accent foreground | #450d14maroon | #450d14maroon |
| Destructive | #b54408firebrick | #f66d23chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eb98ccplum | #eb98ccplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 6.43:1 | AA |
| Accent | 7.24:1 | AAA |
| Destructive | 5.51:1 | AA |
| Text on background | 19.66:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 7.33:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 8.18:1 | AAA |
| Accent | 7.24:1 | AAA |
| Destructive | 7.10:1 | AAA |
Paste this into your globals.css to use Warlike in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 339.531);
--foreground: oklch(0.082 0.025 339.769);
--muted: oklch(0.916 0.023 322.199);
--muted-foreground: oklch(0.426 0.006 322.163);
--popover: oklch(0.991 0.003 339.531);
--popover-foreground: oklch(0.082 0.025 339.769);
--card: oklch(0.991 0.003 339.531);
--card-foreground: oklch(0.082 0.025 339.769);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.779 0.118 342.578);
--primary-foreground: oklch(0.272 0.093 347.204);
--secondary: oklch(0.781 0.139 322.648);
--secondary-foreground: oklch(0.273 0.107 322.778);
--accent: oklch(0.766 0.101 12.094);
--accent-foreground: oklch(0.262 0.084 18.868);
--destructive: oklch(0.536 0.159 41.869);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.779 0.118 342.578);
--chart-1: oklch(0.779 0.118 342.578);
--chart-2: oklch(0.781 0.139 322.648);
--chart-3: oklch(0.766 0.101 12.094);
--chart-4: oklch(0.807 0.122 322.579);
--chart-5: oklch(0.778 0.123 342.713);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.012 339.612);
--foreground: oklch(0.983 0.004 339.561);
--muted: oklch(0.207 0.033 322.606);
--muted-foreground: oklch(0.755 0.005 322.137);
--popover: oklch(0.087 0.012 339.612);
--popover-foreground: oklch(0.983 0.004 339.561);
--card: oklch(0.087 0.012 339.612);
--card-foreground: oklch(0.983 0.004 339.561);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.779 0.118 342.578);
--primary-foreground: oklch(0.272 0.093 347.204);
--secondary: oklch(0.781 0.139 322.648);
--secondary-foreground: oklch(0.273 0.107 322.778);
--accent: oklch(0.766 0.101 12.094);
--accent-foreground: oklch(0.262 0.084 18.868);
--destructive: oklch(0.692 0.186 44.177);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.779 0.118 342.578);
--chart-1: oklch(0.779 0.118 342.578);
--chart-2: oklch(0.781 0.139 322.648);
--chart-3: oklch(0.766 0.101 12.094);
--chart-4: oklch(0.807 0.122 322.579);
--chart-5: oklch(0.778 0.123 342.713);
}