Crystal Ball Kiwi4 for shadcn/ui

Crystal Ball Kiwi4 is a shadcn/ui theme built around a muted deep teal primary color (#365956) with muted deep blue accents (#364b59). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted deep teal primary (#365956) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#fbfefewhite
#010404black
Foreground
#010908black
#f8fcfbmintcream
Card
#fbfefewhite
#010404black
Card foreground
#010908black
#f8fcfbmintcream
Popover
#fbfefewhite
#010404black
Popover foreground
#010908black
#f8fcfbmintcream
Primary
#365956darkslategray
#365956darkslategray
Primary foreground
#d9e8e7gainsboro
#d9e8e7gainsboro
Secondary
#365944darkslategray
#365944darkslategray
Secondary foreground
#d9e8dfgainsboro
#d9e8dfgainsboro
Muted
#eceeedwhitesmoke
#111312black
Muted foreground
#414944darkslategray
#b6beb9silver
Accent
#364b59darkslategray
#364b59darkslategray
Accent foreground
#d9e2e8gainsboro
#d9e2e8gainsboro
Destructive
#802805saddlebrown
#f86c35tomato
Destructive foreground
#fdcdbapeachpuff
#000000black
Border
#e9ececlavender
#1c2120black
Input
#e9ececlavender
#1c2120black
Ring
#365956darkslategray
#365956darkslategray

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button6.10:1AA
Secondary button6.19:1AA
Muted text7.97:1AAA
Accent6.93:1AA
Destructive6.59:1AA
Dark mode
Text on background19.90:1AAA
Text on card19.90:1AAA
Primary button6.10:1AA
Secondary button6.19:1AA
Muted text9.83:1AAA
Accent6.93:1AA
Destructive7.18:1AAA

CSS variables

Paste this into your globals.css to use Crystal Ball Kiwi4 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 190.002);
  --foreground: oklch(0.128 0.019 189.103);
  --muted: oklch(0.948 0.002 160.176);
  --muted-foreground: oklch(0.396 0.014 159.427);
  --popover: oklch(0.995 0.003 190.002);
  --popover-foreground: oklch(0.128 0.019 189.103);
  --card: oklch(0.995 0.003 190.002);
  --card-foreground: oklch(0.128 0.019 189.103);
  --border: oklch(0.941 0.003 190.002);
  --input: oklch(0.941 0.003 190.002);
  --primary: oklch(0.437 0.042 187.71);
  --primary-foreground: oklch(0.919 0.016 189.668);
  --secondary: oklch(0.431 0.055 156.844);
  --secondary-foreground: oklch(0.917 0.02 159.715);
  --accent: oklch(0.401 0.036 238.01);
  --accent-foreground: oklch(0.907 0.013 236.642);
  --destructive: oklch(0.407 0.128 38.292);
  --destructive-foreground: oklch(0.885 0.06 42.666);
  --ring: oklch(0.437 0.042 187.71);
  --chart-1: oklch(0.437 0.042 187.71);
  --chart-2: oklch(0.431 0.055 156.844);
  --chart-3: oklch(0.401 0.036 238.01);
  --chart-4: oklch(0.462 0.06 156.789);
  --chart-5: oklch(0.442 0.046 187.464);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.011 189.341);
  --foreground: oklch(0.987 0.004 189.992);
  --muted: oklch(0.183 0.004 159.781);
  --muted-foreground: oklch(0.794 0.011 159.9);
  --popover: oklch(0.099 0.011 189.341);
  --popover-foreground: oklch(0.987 0.004 189.992);
  --card: oklch(0.099 0.011 189.341);
  --card-foreground: oklch(0.987 0.004 189.992);
  --border: oklch(0.242 0.006 189.472);
  --input: oklch(0.242 0.006 189.472);
  --primary: oklch(0.437 0.042 187.71);
  --primary-foreground: oklch(0.919 0.016 189.668);
  --secondary: oklch(0.431 0.055 156.844);
  --secondary-foreground: oklch(0.917 0.02 159.715);
  --accent: oklch(0.401 0.036 238.01);
  --accent-foreground: oklch(0.907 0.013 236.642);
  --destructive: oklch(0.695 0.184 40.472);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.437 0.042 187.71);
  --chart-1: oklch(0.437 0.042 187.71);
  --chart-2: oklch(0.431 0.055 156.844);
  --chart-3: oklch(0.401 0.036 238.01);
  --chart-4: oklch(0.462 0.06 156.789);
  --chart-5: oklch(0.442 0.046 187.464);
}