Untimely for shadcn/ui

Untimely is a shadcn/ui theme built around a light purple primary color (#f7e3f6) with light teal accents (#e3f6f7). The light mode uses a neutral background (#ffffff). Dark mode keeps the light purple primary (#f7e3f6) on a purple-tinted background (#0b040b).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b040bblack
Foreground
#080208black
#faf5faghostwhite
Card
#fcfcfcsnow
#0f060eblack
Card foreground
#040104black
#fcf8fbsnow
Popover
#fcfcfcsnow
#0f060eblack
Popover foreground
#040104black
#fcf8fbsnow
Primary
#f7e3f6lavenderblush
#f7e3f6lavenderblush
Primary foreground
#83257fpurple
#83257fpurple
Secondary
#f6f7e3beige
#f6f7e3beige
Secondary foreground
#32340fdarkslategray
#32340fdarkslategray
Muted
#e3e4d3gainsboro
#2b2c1bdarkslategray
Muted foreground
#696963dimgray
#9c9c96darkgray
Accent
#e3f6f7lightcyan
#e3f6f7lightcyan
Accent foreground
#0f3234darkslategray
#0f3234darkslategray
Destructive
#a32900firebrick
#fa3e00orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f7e3f6lavenderblush
#f7e3f6lavenderblush

Contrast

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

Light mode
Text on background20.53:1AAA
Text on card20.31:1AAA
Primary button6.82:1AA
Secondary button11.84:1AAA
Muted text4.28:1AA Large
Accent12.32:1AAA
Destructive7.30:1AAA
Dark mode
Text on background18.79:1AAA
Text on card18.98:1AAA
Primary button6.82:1AA
Secondary button11.84:1AAA
Muted text5.12:1AA
Accent12.32:1AAA
Destructive3.64:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.107 0.029 328.685);
  --muted: oklch(0.913 0.023 109.169);
  --muted-foreground: oklch(0.519 0.009 109.044);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.085 0.023 328.685);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.085 0.023 328.685);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.938 0.033 327.359);
  --primary-foreground: oklch(0.447 0.165 330.061);
  --secondary: oklch(0.97 0.026 109.205);
  --secondary-foreground: oklch(0.313 0.056 111.895);
  --accent: oklch(0.96 0.02 200.643);
  --accent-foreground: oklch(0.292 0.04 200.043);
  --destructive: oklch(0.473 0.164 35.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.938 0.033 327.359);
  --chart-1: oklch(0.938 0.033 327.359);
  --chart-2: oklch(0.97 0.026 109.205);
  --chart-3: oklch(0.96 0.02 200.643);
  --chart-4: oklch(0.983 0.015 108.991);
  --chart-5: oklch(0.937 0.035 327.376);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.126 0.022 328.186);
  --foreground: oklch(0.975 0.008 327.117);
  --muted: oklch(0.288 0.029 110.516);
  --muted-foreground: oklch(0.691 0.009 108.944);
  --popover: oklch(0.14 0.025 328.418);
  --popover-foreground: oklch(0.983 0.006 327.09);
  --card: oklch(0.14 0.025 328.418);
  --card-foreground: oklch(0.983 0.006 327.09);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.938 0.033 327.359);
  --primary-foreground: oklch(0.447 0.165 330.061);
  --secondary: oklch(0.97 0.026 109.205);
  --secondary-foreground: oklch(0.313 0.056 111.895);
  --accent: oklch(0.96 0.02 200.643);
  --accent-foreground: oklch(0.292 0.04 200.043);
  --destructive: oklch(0.646 0.229 34.517);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.938 0.033 327.359);
  --chart-1: oklch(0.938 0.033 327.359);
  --chart-2: oklch(0.97 0.026 109.205);
  --chart-3: oklch(0.96 0.02 200.643);
  --chart-4: oklch(0.983 0.015 108.991);
  --chart-5: oklch(0.937 0.035 327.376);
}