Ideal for shadcn/ui

Ideal is a shadcn/ui theme built around a red primary color (#dca698) with yellow accents (#dcc898). The light mode uses a neutral background (#ffffff). Dark mode keeps the red primary (#dca698) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#030303black
Popover foreground
#000000black
#ffffffwhite
Primary
#dca698tan
#dca698tan
Primary foreground
#311711black
#311711black
Secondary
#dc98adtan
#dc98adtan
Secondary foreground
#31111bblack
#31111bblack
Muted
#eceaealinen
#151314black
Muted foreground
#666666dimgray
#999999darkgray
Accent
#dcc898burlywood
#dcc898burlywood
Accent foreground
#312811black
#312811black
Destructive
#bc3e10firebrick
#ed5f2cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dca698tan
#dca698tan

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.88:1AAA
Secondary button7.46:1AAA
Muted text4.77:1AA
Accent8.82:1AAA
Destructive5.48:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button7.88:1AAA
Secondary button7.46:1AAA
Muted text6.47:1AA
Accent8.82:1AAA
Destructive6.27:1AA

CSS variables

Paste this into your globals.css to use Ideal in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.938 0.002 356.73);
  --muted-foreground: oklch(0.51 0 171.87);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.772 0.067 34.463);
  --primary-foreground: oklch(0.242 0.044 34.981);
  --secondary: oklch(0.753 0.085 359.744);
  --secondary-foreground: oklch(0.232 0.054 3.388);
  --accent: oklch(0.837 0.066 87.5);
  --accent-foreground: oklch(0.28 0.039 86.605);
  --destructive: oklch(0.539 0.17 37.551);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.772 0.067 34.463);
  --chart-1: oklch(0.772 0.067 34.463);
  --chart-2: oklch(0.753 0.085 359.744);
  --chart-3: oklch(0.837 0.066 87.5);
  --chart-4: oklch(0.78 0.074 359.281);
  --chart-5: oklch(0.771 0.071 34.489);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.191 0.004 357.181);
  --muted-foreground: oklch(0.683 0 180);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.772 0.067 34.463);
  --primary-foreground: oklch(0.242 0.044 34.981);
  --secondary: oklch(0.753 0.085 359.744);
  --secondary-foreground: oklch(0.232 0.054 3.388);
  --accent: oklch(0.837 0.066 87.5);
  --accent-foreground: oklch(0.28 0.039 86.605);
  --destructive: oklch(0.661 0.186 38.946);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.772 0.067 34.463);
  --chart-1: oklch(0.772 0.067 34.463);
  --chart-2: oklch(0.753 0.085 359.744);
  --chart-3: oklch(0.837 0.066 87.5);
  --chart-4: oklch(0.78 0.074 359.281);
  --chart-5: oklch(0.771 0.071 34.489);
}