Jot is a shadcn/ui theme built around a vivid light yellow primary color (#f7f4c4) with vivid light green accents (#e1f7c4). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid light yellow primary (#f7f4c4) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #040401black |
| Foreground | #111004black | #fcfcf8snow |
| Card | #fefefbwhite | #040401black |
| Card foreground | #111004black | #fcfcf8snow |
| Popover | #fefefbwhite | #040401black |
| Popover foreground | #111004black | #fcfcf8snow |
| Primary | #f7f4c4lemonchiffon | #f7f4c4lemonchiffon |
| Primary foreground | #201e04black | #201e04black |
| Secondary | #f7dac4bisque | #f7dac4bisque |
| Secondary foreground | #7a3e10saddlebrown | #7a3e10saddlebrown |
| Muted | #ded8d3gainsboro | #2c2521darkslategray |
| Muted foreground | #5a4e44darkolivegreen | #bbaea5darkgray |
| Accent | #e1f7c4lightgoldenrodyellow | #e1f7c4lightgoldenrodyellow |
| Accent foreground | #142004black | #142004black |
| Destructive | #692607maroon | #f16727chocolate |
| Destructive foreground | #f9c2a9lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7f4c4lemonchiffon | #f7f4c4lemonchiffon |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.86:1 | AAA |
| Primary button | 14.97:1 | AAA |
| Secondary button | 6.27:1 | AA |
| Muted text | 5.70:1 | AA |
| Accent | 14.82:1 | AAA |
| Destructive | 7.05:1 | AAA |
| Text on background | 19.97:1 | AAA |
| Text on card | 19.97:1 | AAA |
| Primary button | 14.97:1 | AAA |
| Secondary button | 6.27:1 | AA |
| Muted text | 6.94:1 | AA |
| Accent | 14.82:1 | AAA |
| Destructive | 6.72:1 | AA |
Paste this into your globals.css to use Jot in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 103.169);
--foreground: oklch(0.169 0.026 105.608);
--muted: oklch(0.886 0.01 60.131);
--muted-foreground: oklch(0.432 0.023 59.535);
--popover: oklch(0.996 0.004 103.169);
--popover-foreground: oklch(0.169 0.026 105.608);
--card: oklch(0.996 0.004 103.169);
--card-foreground: oklch(0.169 0.026 105.608);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.958 0.062 104.111);
--primary-foreground: oklch(0.229 0.042 105.469);
--secondary: oklch(0.908 0.044 59.606);
--secondary-foreground: oklch(0.432 0.1 52.59);
--accent: oklch(0.948 0.071 126.771);
--accent-foreground: oklch(0.223 0.051 129.129);
--destructive: oklch(0.365 0.105 41.418);
--destructive-foreground: oklch(0.858 0.073 46.071);
--ring: oklch(0.958 0.062 104.111);
--chart-1: oklch(0.958 0.062 104.111);
--chart-2: oklch(0.908 0.044 59.606);
--chart-3: oklch(0.948 0.071 126.771);
--chart-4: oklch(0.929 0.033 59.784);
--chart-5: oklch(0.96 0.064 104.143);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.014 106.012);
--foreground: oklch(0.989 0.005 103.187);
--muted: oklch(0.272 0.013 59.595);
--muted-foreground: oklch(0.76 0.02 59.924);
--popover: oklch(0.103 0.014 106.012);
--popover-foreground: oklch(0.989 0.005 103.187);
--card: oklch(0.103 0.014 106.012);
--card-foreground: oklch(0.989 0.005 103.187);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.958 0.062 104.111);
--primary-foreground: oklch(0.229 0.042 105.469);
--secondary: oklch(0.908 0.044 59.606);
--secondary-foreground: oklch(0.432 0.1 52.59);
--accent: oklch(0.948 0.071 126.771);
--accent-foreground: oklch(0.223 0.051 129.129);
--destructive: oklch(0.678 0.185 42.107);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.958 0.062 104.111);
--chart-1: oklch(0.958 0.062 104.111);
--chart-2: oklch(0.908 0.044 59.606);
--chart-3: oklch(0.948 0.071 126.771);
--chart-4: oklch(0.929 0.033 59.784);
--chart-5: oklch(0.96 0.064 104.143);
}