Phone is a shadcn/ui theme built around a vivid yellow primary color (#e6e61e) with vivid purple accents (#e61ee6). The light mode uses a neutral background (#fefefb). Dark mode keeps the vivid yellow primary (#e6e61e) on a neutral background (#040401).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #040401black |
| Foreground | #040401black | #fbfbf9snow |
| Card | #fefefbwhite | #040401black |
| Card foreground | #040401black | #fbfbf9snow |
| Popover | #fefefbwhite | #040401black |
| Popover foreground | #040401black | #fbfbf9snow |
| Primary | #e6e61egold | #e6e61egold |
| Primary foreground | #323206black | #323206black |
| Secondary | #1ee6e6turquoise | #1ee6e6turquoise |
| Secondary foreground | #063232darkslategray | #063232darkslategray |
| Muted | #d1e6e6gainsboro | #192e2edarkslategray |
| Muted foreground | #3b4a4adarkslategray | #b5c4c4silver |
| Accent | #e61ee6magenta | #e61ee6magenta |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ae3009firebrick | #e43e0corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e6e61egold | #e6e61egold |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.27:1 | AAA |
| Text on card | 20.27:1 | AAA |
| Primary button | 9.84:1 | AAA |
| Secondary button | 8.95:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 3.68:1 | AA Large |
| Destructive | 6.49:1 | AA |
| Text on background | 19.80:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 9.84:1 | AAA |
| Secondary button | 8.95:1 | AAA |
| Muted text | 7.91:1 | AAA |
| Accent | 3.68:1 | AA Large |
| Destructive | 4.20:1 | AA Large |
Paste this into your globals.css to use Phone in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 106.459);
--foreground: oklch(0.107 0.018 109.11);
--muted: oklch(0.909 0.022 196.772);
--muted-foreground: oklch(0.395 0.019 196.423);
--popover: oklch(0.995 0.003 106.459);
--popover-foreground: oklch(0.107 0.018 109.11);
--card: oklch(0.995 0.003 106.459);
--card-foreground: oklch(0.107 0.018 109.11);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.896 0.19 109.696);
--primary-foreground: oklch(0.309 0.062 109.539);
--secondary: oklch(0.839 0.14 194.818);
--secondary-foreground: oklch(0.291 0.046 194.922);
--accent: oklch(0.656 0.289 328.272);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.5 0.169 35.237);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.19 109.696);
--chart-1: oklch(0.896 0.19 109.696);
--chart-2: oklch(0.839 0.14 194.818);
--chart-3: oklch(0.656 0.289 328.272);
--chart-4: oklch(0.845 0.138 194.861);
--chart-5: oklch(0.907 0.194 109.712);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.104 0.015 108.688);
--foreground: oklch(0.987 0.002 106.441);
--muted: oklch(0.284 0.027 195.756);
--muted-foreground: oklch(0.809 0.016 196.841);
--popover: oklch(0.104 0.015 108.688);
--popover-foreground: oklch(0.987 0.002 106.441);
--card: oklch(0.104 0.015 108.688);
--card-foreground: oklch(0.987 0.002 106.441);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.896 0.19 109.696);
--primary-foreground: oklch(0.309 0.062 109.539);
--secondary: oklch(0.839 0.14 194.818);
--secondary-foreground: oklch(0.291 0.046 194.922);
--accent: oklch(0.656 0.289 328.272);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.608 0.208 34.922);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.19 109.696);
--chart-1: oklch(0.896 0.19 109.696);
--chart-2: oklch(0.839 0.14 194.818);
--chart-3: oklch(0.656 0.289 328.272);
--chart-4: oklch(0.845 0.138 194.861);
--chart-5: oklch(0.907 0.194 109.712);
}