Raise for shadcn/ui

Raise is a shadcn/ui theme built around a vivid teal primary color (#09dc96) with vivid yellow accents (#dc9609). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#09dc96) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#05140fblack
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#05140fblack
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#05140fblack
#ffffffwhite
Primary
#09dc96mediumspringgreen
#09dc96mediumspringgreen
Primary foreground
#011811black
#011811black
Secondary
#9609dcdarkviolet
#9609dcdarkviolet
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#dbd2dfgainsboro
#28202ddarkslategray
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#dc9609goldenrod
#dc9609goldenrod
Accent foreground
#181101black
#181101black
Destructive
#a13c02saddlebrown
#fb650eorangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#09dc96mediumspringgreen
#09dc96mediumspringgreen

Contrast

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

Light mode
Text on background18.86:1AAA
Text on card18.86:1AAA
Primary button10.28:1AAA
Secondary button6.22:1AA
Muted text4.56:1AA
Accent7.51:1AAA
Destructive6.62:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button10.28:1AAA
Secondary button6.22:1AA
Muted text6.24:1AA
Accent7.51:1AAA
Destructive6.97:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.176 0.024 170.664);
  --muted: oklch(0.875 0.02 314.716);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.176 0.024 170.664);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.176 0.024 170.664);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.791 0.175 161.186);
  --primary-foreground: oklch(0.189 0.036 169.05);
  --secondary: oklch(0.528 0.266 308.088);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.725 0.151 75.087);
  --accent-foreground: oklch(0.181 0.034 86.806);
  --destructive: oklch(0.492 0.145 42.725);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.791 0.175 161.186);
  --chart-1: oklch(0.791 0.175 161.186);
  --chart-2: oklch(0.528 0.266 308.088);
  --chart-3: oklch(0.725 0.151 75.087);
  --chart-4: oklch(0.553 0.279 308.013);
  --chart-5: oklch(0.8 0.178 160.83);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.258 0.027 314.318);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.791 0.175 161.186);
  --primary-foreground: oklch(0.189 0.036 169.05);
  --secondary: oklch(0.528 0.266 308.088);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.725 0.151 75.087);
  --accent-foreground: oklch(0.181 0.034 86.806);
  --destructive: oklch(0.689 0.201 42.892);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.791 0.175 161.186);
  --chart-1: oklch(0.791 0.175 161.186);
  --chart-2: oklch(0.528 0.266 308.088);
  --chart-3: oklch(0.725 0.151 75.087);
  --chart-4: oklch(0.553 0.279 308.013);
  --chart-5: oklch(0.8 0.178 160.83);
}