Jot is a shadcn/ui theme built around a violet primary color (#682183) with purple accents (#83216c). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the violet primary (#682183) on a violet-tinted background (#09050b).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #09050bblack |
| Foreground | #100514black | #f8f5f9whitesmoke |
| Card | #fdfbfewhite | #09050bblack |
| Card foreground | #100514black | #f8f5f9whitesmoke |
| Popover | #fdfbfewhite | #09050bblack |
| Popover foreground | #100514black | #f8f5f9whitesmoke |
| Primary | #682183rebeccapurple | #682183rebeccapurple |
| Primary foreground | #f0def7lavender | #f0def7lavender |
| Secondary | #372183darkslateblue | #372183darkslateblue |
| Secondary foreground | #e4def7lavender | #e4def7lavender |
| Muted | #d7d1ebgainsboro | #1a142eblack |
| Muted foreground | #4f4c57darkslategray | #aaa8b3darkgray |
| Accent | #83216cpurple | #83216cpurple |
| Accent foreground | #f7def1mistyrose | #f7def1mistyrose |
| Destructive | #843006saddlebrown | #f4590borangered |
| Destructive foreground | #fcd4c0peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #682183rebeccapurple | #682183rebeccapurple |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 9.44:1 | AAA |
| Muted text | 5.67:1 | AA |
| Accent | 6.98:1 | AA |
| Destructive | 6.38:1 | AA |
| Text on background | 18.73:1 | AAA |
| Text on card | 18.73:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 9.44:1 | AAA |
| Muted text | 7.55:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 3.35:1 | AA Large |
Paste this into your globals.css to use Jot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 317.179);
--foreground: oklch(0.145 0.037 317.09);
--muted: oklch(0.873 0.036 296.336);
--muted-foreground: oklch(0.423 0.019 296.266);
--popover: oklch(0.99 0.005 317.179);
--popover-foreground: oklch(0.145 0.037 317.09);
--card: oklch(0.99 0.005 317.179);
--card-foreground: oklch(0.145 0.037 317.09);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.405 0.161 315.307);
--primary-foreground: oklch(0.923 0.038 317.096);
--secondary: oklch(0.344 0.153 285.846);
--secondary-foreground: oklch(0.914 0.034 296.415);
--accent: oklch(0.431 0.156 338.997);
--accent-foreground: oklch(0.927 0.036 333.861);
--destructive: oklch(0.425 0.124 41.651);
--destructive-foreground: oklch(0.898 0.053 48.11);
--ring: oklch(0.405 0.161 315.307);
--chart-1: oklch(0.405 0.161 315.307);
--chart-2: oklch(0.344 0.153 285.846);
--chart-3: oklch(0.431 0.156 338.997);
--chart-4: oklch(0.365 0.165 285.63);
--chart-5: oklch(0.406 0.167 315.127);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.018 318.459);
--foreground: oklch(0.974 0.006 317.174);
--muted: oklch(0.215 0.05 292.424);
--muted-foreground: oklch(0.736 0.017 296.675);
--popover: oklch(0.124 0.018 318.459);
--popover-foreground: oklch(0.974 0.006 317.174);
--card: oklch(0.124 0.018 318.459);
--card-foreground: oklch(0.974 0.006 317.174);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.405 0.161 315.307);
--primary-foreground: oklch(0.923 0.038 317.096);
--secondary: oklch(0.344 0.153 285.846);
--secondary-foreground: oklch(0.914 0.034 296.415);
--accent: oklch(0.431 0.156 338.997);
--accent-foreground: oklch(0.927 0.036 333.861);
--destructive: oklch(0.662 0.203 40.301);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.405 0.161 315.307);
--chart-1: oklch(0.405 0.161 315.307);
--chart-2: oklch(0.344 0.153 285.846);
--chart-3: oklch(0.431 0.156 338.997);
--chart-4: oklch(0.365 0.165 285.63);
--chart-5: oklch(0.406 0.167 315.127);
}