"https://raw.githubusercontent.com/Colorsublime/Colorsublime-Themes/master/themes/(name).tmTheme" for shadcn/ui

"https://raw.githubusercontent.com/Colorsublime/Colorsublime-Themes/master/themes/(name).tmTheme" is a shadcn/ui theme built around a vivid red primary color (#ff0000) with muted deep red accents (#3d3333). The light mode uses a red-tinted background (#131010). Dark mode keeps the vivid red primary (#ff0000) on a red-tinted background (#131010).

Color palette

TokenLightDark
Background
#131010black
#131010black
Foreground
#f0ffffazure
#f0ffffazure
Card
#0e0c0cblack
#0e0c0cblack
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#0b0909black
#0b0909black
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#ff0000red
#ff0000red
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#d2acactan
#d2acactan
Secondary foreground
#321b1bblack
#321b1bblack
Muted
#2b2222darkslategray
#2b2222darkslategray
Muted foreground
#b09b9brosybrown
#b09b9brosybrown
Accent
#3d3333darkslategray
#3d3333darkslategray
Accent foreground
#d5cdcdlightgrey
#d5cdcdlightgrey
Destructive
#f03d3dtomato
#f03d3dtomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#1f1f1fblack
#1f1f1fblack
Input
#262626darkslategray
#262626darkslategray
Ring
#ff0000red
#ff0000red

Contrast

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

Light mode
Text on background18.39:1AAA
Text on card19.54:1AAA
Primary button3.99:1AA Large
Secondary button7.84:1AAA
Muted text5.93:1AA
Accent7.80:1AAA
Destructive3.85:1AA Large
Dark mode
Text on background18.39:1AAA
Text on card19.54:1AAA
Primary button3.99:1AA Large
Secondary button7.84:1AAA
Muted text5.93:1AA
Accent7.80:1AAA
Destructive3.85:1AA Large

CSS variables

Paste this into your globals.css to use "https://raw.githubusercontent.com/Colorsublime/Colorsublime-Themes/master/themes/(name).tmTheme" in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.178 0.005 17.666);
  --foreground: oklch(0.989 0.016 196.897);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.144 0.003 17.536);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.155 0.004 17.585);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.238 0 161.565);
  --input: oklch(0.27 0 180);
  --primary: oklch(0.628 0.258 29.234);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.779 0.045 18.157);
  --secondary-foreground: oklch(0.252 0.037 19.95);
  --accent: oklch(0.332 0.015 17.907);
  --accent-foreground: oklch(0.855 0.009 17.336);
  --destructive: oklch(0.632 0.216 25.967);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.628 0.258 29.234);
  --chart-1: oklch(0.628 0.258 29.234);
  --chart-2: oklch(0.779 0.045 18.157);
  --chart-3: oklch(0.332 0.015 17.907);
  --chart-4: oklch(0.806 0.039 17.989);
  --chart-5: oklch(0.634 0.261 29.327);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.178 0.005 17.666);
  --foreground: oklch(0.989 0.016 196.897);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.144 0.003 17.536);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.155 0.004 17.585);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.238 0 161.565);
  --input: oklch(0.27 0 180);
  --primary: oklch(0.628 0.258 29.234);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.779 0.045 18.157);
  --secondary-foreground: oklch(0.252 0.037 19.95);
  --accent: oklch(0.332 0.015 17.907);
  --accent-foreground: oklch(0.855 0.009 17.336);
  --destructive: oklch(0.632 0.216 25.967);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.628 0.258 29.234);
  --chart-1: oklch(0.628 0.258 29.234);
  --chart-2: oklch(0.779 0.045 18.157);
  --chart-3: oklch(0.332 0.015 17.907);
  --chart-4: oklch(0.806 0.039 17.989);
  --chart-5: oklch(0.634 0.261 29.327);
}