Lawyer is a shadcn/ui theme built around a vivid red primary color (#d11033) with vivid orange accents (#d14d10). The light mode uses a neutral background (#fcf8f9). Dark mode keeps the vivid red primary (#d11033) on a neutral background (#070304).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f9snow | #070304black |
| Foreground | #0c0405black | #ffffffwhite |
| Card | #faf5f6whitesmoke | #0a0506black |
| Card foreground | #080203black | #ffffffwhite |
| Popover | #fcf8f9snow | #070304black |
| Popover foreground | #0c0405black | #ffffffwhite |
| Primary | #d11033crimson | #d11033crimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d11094mediumvioletred | #d11094mediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f6eff4whitesmoke | #10090eblack |
| Muted foreground | #513d4bdarkslategray | #c2aebbsilver |
| Accent | #d14d10chocolate | #d14d10chocolate |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #9c2f07saddlebrown | #f55c24tomato |
| Destructive foreground | #fde2d8mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d11033crimson | #d11033crimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.25:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 5.49:1 | AA |
| Secondary button | 5.00:1 | AA |
| Muted text | 8.73:1 | AAA |
| Accent | 4.40:1 | AA Large |
| Destructive | 6.04:1 | AA |
| Text on background | 20.49:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 5.49:1 | AA |
| Secondary button | 5.00:1 | AA |
| Muted text | 9.42:1 | AAA |
| Accent | 4.40:1 | AA Large |
| Destructive | 6.41:1 | AA |
Paste this into your globals.css to use Lawyer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 4.42);
--foreground: oklch(0.121 0.019 4.815);
--muted: oklch(0.958 0.01 336.769);
--muted-foreground: oklch(0.388 0.035 338.237);
--popover: oklch(0.982 0.004 4.42);
--popover-foreground: oklch(0.121 0.019 4.815);
--card: oklch(0.973 0.006 4.476);
--card-foreground: oklch(0.106 0.017 4.685);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.547 0.214 21.481);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.575 0.237 346.741);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.592 0.178 40.249);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.466 0.151 37.037);
--destructive-foreground: oklch(0.932 0.033 41.073);
--ring: oklch(0.547 0.214 21.481);
--chart-1: oklch(0.547 0.214 21.481);
--chart-2: oklch(0.575 0.237 346.741);
--chart-3: oklch(0.592 0.178 40.249);
--chart-4: oklch(0.603 0.249 346.812);
--chart-5: oklch(0.553 0.218 22.114);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.109 0.011 4.545);
--foreground: oklch(1 0 180);
--muted: oklch(0.153 0.016 338.49);
--muted-foreground: oklch(0.771 0.03 337.291);
--popover: oklch(0.109 0.011 4.545);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.125 0.013 4.549);
--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.547 0.214 21.481);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.575 0.237 346.741);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.592 0.178 40.249);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.668 0.199 38.356);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.547 0.214 21.481);
--chart-1: oklch(0.547 0.214 21.481);
--chart-2: oklch(0.575 0.237 346.741);
--chart-3: oklch(0.592 0.178 40.249);
--chart-4: oklch(0.603 0.249 346.812);
--chart-5: oklch(0.553 0.218 22.114);
}