Acclaimed for shadcn/ui

Acclaimed is a shadcn/ui theme built around a vivid indigo primary color (#8783fb) with vivid yellow accents (#f7fb83). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid indigo primary (#8783fb) on a neutral background (#030307).

Color palette

TokenLightDark
Background
#ffffffwhite
#030307black
Foreground
#03030dblack
#f9f9fbghostwhite
Card
#fcfcfcsnow
#05050ablack
Card foreground
#020208black
#fcfcfdwhite
Popover
#fcfcfcsnow
#05050ablack
Popover foreground
#020208black
#fcfcfdwhite
Primary
#8783fbmediumslateblue
#8783fbmediumslateblue
Primary foreground
#000000black
#000000black
Secondary
#f7fb83khaki
#f7fb83khaki
Secondary foreground
#484a02darkolivegreen
#484a02darkolivegreen
Muted
#efefeblinen
#141410black
Muted foreground
#50513edarkolivegreen
#c0c1aesilver
Accent
#f7fb83khaki
#f7fb83khaki
Accent foreground
#484a02darkolivegreen
#484a02darkolivegreen
Destructive
#880906darkred
#f41915red
Destructive foreground
#fcc5c5pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8783fbmediumslateblue
#8783fbmediumslateblue

Contrast

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

Light mode
Text on background20.53:1AAA
Text on card20.24:1AAA
Primary button6.69:1AA
Secondary button8.47:1AAA
Muted text7.05:1AAA
Accent8.47:1AAA
Destructive6.65:1AA
Dark mode
Text on background19.53:1AAA
Text on card19.82:1AAA
Primary button6.69:1AA
Secondary button8.47:1AAA
Muted text10.09:1AAA
Accent8.47:1AAA
Destructive4.20:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.105 0.029 282.667);
  --muted: oklch(0.952 0.006 108.049);
  --muted-foreground: oklch(0.428 0.029 109.158);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.091 0.025 282.779);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.091 0.025 282.779);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.67 0.173 282.172);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.961 0.143 110.511);
  --secondary-foreground: oklch(0.395 0.086 111.868);
  --accent: oklch(0.961 0.143 110.511);
  --accent-foreground: oklch(0.395 0.086 111.868);
  --destructive: oklch(0.399 0.158 28.884);
  --destructive-foreground: oklch(0.873 0.063 19.556);
  --ring: oklch(0.67 0.173 282.172);
  --chart-1: oklch(0.67 0.173 282.172);
  --chart-2: oklch(0.961 0.143 110.511);
  --chart-3: oklch(0.961 0.143 110.511);
  --chart-4: oklch(0.965 0.129 110.248);
  --chart-5: oklch(0.667 0.178 281.912);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.104 0.012 285.948);
  --foreground: oklch(0.982 0.003 287.876);
  --muted: oklch(0.189 0.008 108.737);
  --muted-foreground: oklch(0.805 0.026 108.513);
  --popover: oklch(0.119 0.014 285.948);
  --popover-foreground: oklch(0.991 0.002 287.908);
  --card: oklch(0.119 0.014 285.948);
  --card-foreground: oklch(0.991 0.002 287.908);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.67 0.173 282.172);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.961 0.143 110.511);
  --secondary-foreground: oklch(0.395 0.086 111.868);
  --accent: oklch(0.961 0.143 110.511);
  --accent-foreground: oklch(0.395 0.086 111.868);
  --destructive: oklch(0.614 0.243 28.807);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.67 0.173 282.172);
  --chart-1: oklch(0.67 0.173 282.172);
  --chart-2: oklch(0.961 0.143 110.511);
  --chart-3: oklch(0.961 0.143 110.511);
  --chart-4: oklch(0.965 0.129 110.248);
  --chart-5: oklch(0.667 0.178 281.912);
}