Flimsy for shadcn/ui

Flimsy is a shadcn/ui theme built around a vivid orange primary color (#ed7112) with vivid violet accents (#7112ed). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid orange primary (#ed7112) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#fefcfbsnow
#070503black
Foreground
#080502black
#fcfaf8snow
Card
#fdf9f7snow
#0b0704black
Card foreground
#040201black
#fdfcfcsnow
Popover
#fefcfbsnow
#070503black
Popover foreground
#080502black
#fcfaf8snow
Primary
#ed7112chocolate
#ed7112chocolate
Primary foreground
#000000black
#000000black
Secondary
#12ed71springgreen
#12ed71springgreen
Secondary foreground
#042f17black
#042f17black
Muted
#e1e5e3gainsboro
#1a1e1cblack
Muted foreground
#46534cdarkslategray
#acb9b2darkgray
Accent
#7112edblueviolet
#7112edblueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#bc4606firebrick
#f86f25tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ed7112chocolate
#ed7112chocolate

Contrast

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

Light mode
Text on background19.90:1AAA
Text on card19.84:1AAA
Primary button6.97:1AA
Secondary button9.40:1AAA
Muted text6.34:1AA
Accent6.97:1AA
Destructive5.24:1AA
Dark mode
Text on background19.55:1AAA
Text on card19.57:1AAA
Primary button6.97:1AA
Secondary button9.40:1AAA
Muted text8.29:1AAA
Accent6.97:1AA
Destructive7.30:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 60.246);
  --foreground: oklch(0.117 0.012 68.146);
  --muted: oklch(0.918 0.005 161.672);
  --muted-foreground: oklch(0.428 0.019 160.678);
  --popover: oklch(0.993 0.003 60.246);
  --popover-foreground: oklch(0.117 0.012 68.146);
  --card: oklch(0.986 0.005 60.207);
  --card-foreground: oklch(0.093 0.01 68.146);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.685 0.178 49.379);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.828 0.225 150.01);
  --secondary-foreground: oklch(0.271 0.065 153.283);
  --accent: oklch(0.501 0.273 291.526);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.549 0.165 41.475);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.685 0.178 49.379);
  --chart-1: oklch(0.685 0.178 49.379);
  --chart-2: oklch(0.828 0.225 150.01);
  --chart-3: oklch(0.501 0.273 291.526);
  --chart-4: oklch(0.833 0.218 151.035);
  --chart-5: oklch(0.689 0.182 48.694);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.117 0.011 67.199);
  --foreground: oklch(0.985 0.003 60.242);
  --muted: oklch(0.23 0.007 161.029);
  --muted-foreground: oklch(0.773 0.017 161.278);
  --popover: oklch(0.117 0.011 67.199);
  --popover-foreground: oklch(0.985 0.003 60.242);
  --card: oklch(0.134 0.012 66.94);
  --card-foreground: oklch(0.993 0.001 60.263);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.685 0.178 49.379);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.828 0.225 150.01);
  --secondary-foreground: oklch(0.271 0.065 153.283);
  --accent: oklch(0.501 0.273 291.526);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.699 0.186 44.395);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.685 0.178 49.379);
  --chart-1: oklch(0.685 0.178 49.379);
  --chart-2: oklch(0.828 0.225 150.01);
  --chart-3: oklch(0.501 0.273 291.526);
  --chart-4: oklch(0.833 0.218 151.035);
  --chart-5: oklch(0.689 0.182 48.694);
}