Careless for shadcn/ui

Careless is a shadcn/ui theme built around a muted light orange primary color (#e7e1da) with muted light violet accents (#e1dae7). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light orange primary (#e7e1da) on an orange-tinted background (#0e0b06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e0b06black
Foreground
#150e05black
#fafaf9snow
Card
#fcfcfcsnow
#120d07black
Card foreground
#110b04black
#fdfcfcsnow
Popover
#fcfcfcsnow
#120d07black
Popover foreground
#110b04black
#fdfcfcsnow
Primary
#e7e1dagainsboro
#e7e1dagainsboro
Primary foreground
#564939darkolivegreen
#564939darkolivegreen
Secondary
#dae7e1gainsboro
#dae7e1gainsboro
Secondary foreground
#395649darkslategray
#395649darkslategray
Muted
#dbe6e1gainsboro
#19241fblack
Muted foreground
#374841darkslategray
#b7c8c0silver
Accent
#e1dae7gainsboro
#e1dae7gainsboro
Accent foreground
#493956darkslategray
#493956darkslategray
Destructive
#a82200firebrick
#ff3b0aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e7e1dagainsboro
#e7e1dagainsboro

Contrast

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

Light mode
Text on background19.14:1AAA
Text on card19.14:1AAA
Primary button6.72:1AA
Secondary button6.32:1AA
Muted text7.57:1AAA
Accent7.69:1AAA
Destructive7.25:1AAA
Dark mode
Text on background18.81:1AAA
Text on card18.82:1AAA
Primary button6.72:1AA
Secondary button6.32:1AA
Muted text9.15:1AAA
Accent7.69:1AAA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.169 0.023 76.067);
  --muted: oklch(0.915 0.013 168.319);
  --muted-foreground: oklch(0.385 0.024 166.824);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.155 0.02 78.771);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.155 0.02 78.771);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.913 0.011 74.879);
  --primary-foreground: oklch(0.414 0.031 74.224);
  --secondary: oklch(0.916 0.015 168.273);
  --secondary-foreground: oklch(0.425 0.04 165.74);
  --accent: oklch(0.898 0.018 310.909);
  --accent-foreground: oklch(0.375 0.052 309.863);
  --destructive: oklch(0.476 0.174 33.336);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.011 74.879);
  --chart-1: oklch(0.913 0.011 74.879);
  --chart-2: oklch(0.916 0.015 168.273);
  --chart-3: oklch(0.898 0.018 310.909);
  --chart-4: oklch(0.937 0.011 168.399);
  --chart-5: oklch(0.913 0.013 74.867);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.013 77.247);
  --foreground: oklch(0.985 0.001 74.948);
  --muted: oklch(0.249 0.018 166.522);
  --muted-foreground: oklch(0.817 0.021 168.009);
  --popover: oklch(0.165 0.015 74.953);
  --popover-foreground: oklch(0.993 0 74.95);
  --card: oklch(0.165 0.015 74.953);
  --card-foreground: oklch(0.993 0 74.95);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.913 0.011 74.879);
  --primary-foreground: oklch(0.414 0.031 74.224);
  --secondary: oklch(0.916 0.015 168.273);
  --secondary-foreground: oklch(0.425 0.04 165.74);
  --accent: oklch(0.898 0.018 310.909);
  --accent-foreground: oklch(0.375 0.052 309.863);
  --destructive: oklch(0.652 0.235 33.197);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.011 74.879);
  --chart-1: oklch(0.913 0.011 74.879);
  --chart-2: oklch(0.916 0.015 168.273);
  --chart-3: oklch(0.898 0.018 310.909);
  --chart-4: oklch(0.937 0.011 168.399);
  --chart-5: oklch(0.913 0.013 74.867);
}