Tricky is a shadcn/ui theme built around a deep teal primary color (#114129) with deep pink accents (#411129). The light mode uses a neutral background (#fbfefc). Dark mode keeps the deep teal primary (#114129) on a neutral background (#030705).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #030705black |
| Foreground | #030d08black | #f9fbfamintcream |
| Card | #fbfefcwhite | #030705black |
| Card foreground | #030d08black | #f9fbfamintcream |
| Popover | #fbfefcwhite | #030705black |
| Popover foreground | #030d08black | #f9fbfamintcream |
| Primary | #114129darkslategray | #114129darkslategray |
| Primary foreground | #9ee6c2powderblue | #9ee6c2powderblue |
| Secondary | #411129darkslategray | #411129darkslategray |
| Secondary foreground | #e69ec2plum | #e69ec2plum |
| Muted | #eae1e6gainsboro | #1e1519black |
| Muted foreground | #53464ddarkslategray | #b9acb3darkgray |
| Accent | #411129darkslategray | #411129darkslategray |
| Accent foreground | #e69ec2plum | #e69ec2plum |
| Destructive | #6f260csaddlebrown | #e7531dchocolate |
| Destructive foreground | #f7c7b5peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #114129darkslategray | #114129darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 7.05:1 | AAA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 7.52:1 | AAA |
| Muted text | 8.16:1 | AAA |
| Accent | 7.52:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Tricky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 165.039);
--foreground: oklch(0.143 0.021 164.805);
--muted: oklch(0.918 0.011 345.455);
--muted-foreground: oklch(0.409 0.022 346.471);
--popover: oklch(0.994 0.004 165.039);
--popover-foreground: oklch(0.143 0.021 164.805);
--card: oklch(0.994 0.004 165.039);
--card-foreground: oklch(0.143 0.021 164.805);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.335 0.067 157.565);
--primary-foreground: oklch(0.867 0.088 162.099);
--secondary: oklch(0.266 0.08 352.984);
--secondary-foreground: oklch(0.779 0.097 348.177);
--accent: oklch(0.266 0.08 352.984);
--accent-foreground: oklch(0.779 0.097 348.177);
--destructive: oklch(0.375 0.109 38.568);
--destructive-foreground: oklch(0.867 0.061 40.934);
--ring: oklch(0.335 0.067 157.565);
--chart-1: oklch(0.335 0.067 157.565);
--chart-2: oklch(0.266 0.08 352.984);
--chart-3: oklch(0.266 0.08 352.984);
--chart-4: oklch(0.296 0.092 353.338);
--chart-5: oklch(0.339 0.07 157.201);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.012 165.253);
--foreground: oklch(0.986 0.002 165.09);
--muted: oklch(0.209 0.016 347.058);
--muted-foreground: oklch(0.757 0.018 345.769);
--popover: oklch(0.122 0.012 165.253);
--popover-foreground: oklch(0.986 0.002 165.09);
--card: oklch(0.122 0.012 165.253);
--card-foreground: oklch(0.986 0.002 165.09);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.335 0.067 157.565);
--primary-foreground: oklch(0.867 0.088 162.099);
--secondary: oklch(0.266 0.08 352.984);
--secondary-foreground: oklch(0.779 0.097 348.177);
--accent: oklch(0.266 0.08 352.984);
--accent-foreground: oklch(0.779 0.097 348.177);
--destructive: oklch(0.636 0.194 38.034);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.335 0.067 157.565);
--chart-1: oklch(0.335 0.067 157.565);
--chart-2: oklch(0.266 0.08 352.984);
--chart-3: oklch(0.266 0.08 352.984);
--chart-4: oklch(0.296 0.092 353.338);
--chart-5: oklch(0.339 0.07 157.201);
}