Theme 1 is a shadcn/ui theme built around a cyan primary color (#46828b) with red accents (#8b4f46). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the cyan primary (#46828b) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfdghostwhite | #030707black |
| Foreground | #000000black | #f6f8f9whitesmoke |
| Card | #f2fbfcaliceblue | #040a0bblack |
| Card foreground | #000000black | #f9fafbghostwhite |
| Popover | #f2fbfcaliceblue | #040a0bblack |
| Popover foreground | #000000black | #f9fafbghostwhite |
| Primary | #46828bsteelblue | #46828bsteelblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #8b4f46sienna | #8b4f46sienna |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eeececlinen | #131111black |
| Muted foreground | #655a58dimgray | #a79c9adarkgray |
| Accent | #8b4f46sienna | #8b4f46sienna |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #99160adarkred | #f13827orangered |
| Destructive foreground | #fddcd9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #46828bsteelblue | #46828bsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.32:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 4.35:1 | AA Large |
| Secondary button | 6.33:1 | AA |
| Muted text | 5.67:1 | AA |
| Accent | 6.33:1 | AA |
| Destructive | 6.62:1 | AA |
| Text on background | 19.02:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 4.35:1 | AA Large |
| Secondary button | 6.33:1 | AA |
| Muted text | 7.04:1 | AAA |
| Accent | 6.33:1 | AA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Theme 1 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 207.907);
--foreground: oklch(0 0 0);
--muted: oklch(0.946 0.002 27.942);
--muted-foreground: oklch(0.476 0.015 28.127);
--popover: oklch(0.982 0.009 207.895);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.009 207.895);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.569 0.064 208.393);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.496 0.082 29.614);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.496 0.082 29.614);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.44 0.167 30.085);
--destructive-foreground: oklch(0.92 0.037 24.016);
--ring: oklch(0.569 0.064 208.393);
--chart-1: oklch(0.569 0.064 208.393);
--chart-2: oklch(0.496 0.082 29.614);
--chart-3: oklch(0.496 0.082 29.614);
--chart-4: oklch(0.522 0.087 29.633);
--chart-5: oklch(0.575 0.068 208.538);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.01 205.476);
--foreground: oklch(0.978 0.002 207.923);
--muted: oklch(0.18 0.003 28.01);
--muted-foreground: oklch(0.701 0.014 28.042);
--popover: oklch(0.138 0.011 205.67);
--popover-foreground: oklch(0.986 0.002 207.927);
--card: oklch(0.138 0.011 205.67);
--card-foreground: oklch(0.986 0.002 207.927);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.569 0.064 208.393);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.496 0.082 29.614);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.496 0.082 29.614);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.627 0.223 29.826);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.569 0.064 208.393);
--chart-1: oklch(0.569 0.064 208.393);
--chart-2: oklch(0.496 0.082 29.614);
--chart-3: oklch(0.496 0.082 29.614);
--chart-4: oklch(0.522 0.087 29.633);
--chart-5: oklch(0.575 0.068 208.538);
}