Regular is a shadcn/ui theme built around a vivid light teal primary color (#cefafd) with muted light teal accents (#d8dedf). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#cefafd) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #020808black | #fcfdfdwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #020808black | #fcfdfdwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #020808black | #fcfdfdwhite |
| Primary | #cefafdlightcyan | #cefafdlightcyan |
| Primary foreground | #022e31darkslategray | #022e31darkslategray |
| Secondary | #eaebeblavender | #252727darkslategray |
| Secondary foreground | #4f5454darkslategray | #bdc1c1silver |
| Muted | #dce0e0gainsboro | #1f2323black |
| Muted foreground | #515c5ddimgray | #a2aeaedarkgray |
| Accent | #d8dedfgainsboro | #384243darkslategray |
| Accent foreground | #3c4849darkslategray | #d3d9dalightgrey |
| Destructive | #a81210firebrick | #e91916red |
| Destructive foreground | #fdedeclinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cefafdlightcyan | #cefafdlightcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 13.00:1 | AAA |
| Secondary button | 6.44:1 | AA |
| Muted text | 5.18:1 | AA |
| Accent | 6.98:1 | AA |
| Destructive | 6.70:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 13.00:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 6.94:1 | AA |
| Accent | 7.26:1 | AAA |
| Destructive | 4.53:1 | AA |
Paste this into your globals.css to use Regular in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.015 199.693);
--muted: oklch(0.903 0.005 202.158);
--muted-foreground: oklch(0.465 0.014 201.912);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.015 199.693);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.015 199.693);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.955 0.045 201.778);
--primary-foreground: oklch(0.274 0.045 202.227);
--secondary: oklch(0.94 0.001 202.2);
--secondary-foreground: oklch(0.441 0.006 202.074);
--accent: oklch(0.897 0.007 202.128);
--accent-foreground: oklch(0.391 0.016 201.825);
--destructive: oklch(0.467 0.181 28.541);
--destructive-foreground: oklch(0.958 0.018 18.655);
--ring: oklch(0.955 0.045 201.778);
--chart-1: oklch(0.955 0.045 201.778);
--chart-2: oklch(0.94 0.001 202.2);
--chart-3: oklch(0.897 0.007 202.128);
--chart-4: oklch(0.962 0.001 202.206);
--chart-5: oklch(0.956 0.046 201.768);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 202.194);
--muted: oklch(0.253 0.006 201.96);
--muted-foreground: oklch(0.741 0.013 202.035);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 202.194);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 202.194);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.955 0.045 201.778);
--primary-foreground: oklch(0.274 0.045 202.227);
--secondary: oklch(0.272 0.003 202.093);
--secondary-foreground: oklch(0.808 0.004 202.161);
--accent: oklch(0.37 0.014 201.86);
--accent-foreground: oklch(0.881 0.007 202.124);
--destructive: oklch(0.594 0.234 28.735);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.955 0.045 201.778);
--chart-1: oklch(0.955 0.045 201.778);
--chart-2: oklch(0.272 0.003 202.093);
--chart-3: oklch(0.37 0.014 201.86);
--chart-4: oklch(0.303 0.004 202.087);
--chart-5: oklch(0.956 0.046 201.768);
}