Personal is a shadcn/ui theme built around a light indigo primary color (#d5d2ef) with light violet accents (#e3d2ef). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the light indigo primary (#d5d2ef) on a neutral background (#040307).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #040307black |
| Foreground | #030208black | #fcfbfdsnow |
| Card | #fbfbfeghostwhite | #040307black |
| Card foreground | #030208black | #fcfbfdsnow |
| Popover | #fbfbfeghostwhite | #040307black |
| Popover foreground | #030208black | #fcfbfdsnow |
| Primary | #d5d2efgainsboro | #d5d2efgainsboro |
| Primary foreground | #2d2669midnightblue | #2d2669midnightblue |
| Secondary | #d2deefgainsboro | #d2deefgainsboro |
| Secondary foreground | #264169darkslategray | #264169darkslategray |
| Muted | #d6d8dbgainsboro | #242629darkslategray |
| Muted foreground | #424243darkslategray | #bcbdbdsilver |
| Accent | #e3d2efgainsboro | #e3d2efgainsboro |
| Accent foreground | #4e2669darkslateblue | #4e2669darkslateblue |
| Destructive | #a73d0csaddlebrown | #ef5a15orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5d2efgainsboro | #d5d2efgainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 8.97:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 7.04:1 | AAA |
| Accent | 8.16:1 | AAA |
| Destructive | 6.34:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 8.97:1 | AAA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 8.08:1 | AAA |
| Accent | 8.16:1 | AAA |
| Destructive | 3.41:1 | AA Large |
Paste this into your globals.css to use Personal in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 290.938);
--foreground: oklch(0.094 0.023 287.999);
--muted: oklch(0.882 0.005 258.327);
--muted-foreground: oklch(0.38 0.002 258.323);
--popover: oklch(0.989 0.004 290.938);
--popover-foreground: oklch(0.094 0.023 287.999);
--card: oklch(0.989 0.004 290.938);
--card-foreground: oklch(0.094 0.023 287.999);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.875 0.039 290.148);
--primary-foreground: oklch(0.319 0.113 282.409);
--secondary: oklch(0.896 0.027 258.365);
--secondary-foreground: oklch(0.374 0.077 258.293);
--accent: oklch(0.887 0.043 311.998);
--accent-foreground: oklch(0.356 0.116 309.378);
--destructive: oklch(0.503 0.15 40.476);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.875 0.039 290.148);
--chart-1: oklch(0.875 0.039 290.148);
--chart-2: oklch(0.896 0.027 258.365);
--chart-3: oklch(0.887 0.043 311.998);
--chart-4: oklch(0.922 0.02 258.356);
--chart-5: oklch(0.873 0.042 290.088);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.103 0.014 289.411);
--foreground: oklch(0.99 0.003 290.965);
--muted: oklch(0.267 0.007 258.361);
--muted-foreground: oklch(0.797 0.001 258.317);
--popover: oklch(0.103 0.014 289.411);
--popover-foreground: oklch(0.99 0.003 290.965);
--card: oklch(0.103 0.014 289.411);
--card-foreground: oklch(0.99 0.003 290.965);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.875 0.039 290.148);
--primary-foreground: oklch(0.319 0.113 282.409);
--secondary: oklch(0.896 0.027 258.365);
--secondary-foreground: oklch(0.374 0.077 258.293);
--accent: oklch(0.887 0.043 311.998);
--accent-foreground: oklch(0.356 0.116 309.378);
--destructive: oklch(0.657 0.196 40.429);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.875 0.039 290.148);
--chart-1: oklch(0.875 0.039 290.148);
--chart-2: oklch(0.896 0.027 258.365);
--chart-3: oklch(0.887 0.043 311.998);
--chart-4: oklch(0.922 0.02 258.356);
--chart-5: oklch(0.873 0.042 290.088);
}