Tokyo City No Italic for shadcn/ui

Tokyo City No Italic is a shadcn/ui theme built around a muted light blue primary color (#b6c4d2) with muted deep blue accents (#3a4b59). The light mode uses a blue-tinted background (#1c242b). Dark mode keeps the muted light blue primary (#b6c4d2) on a blue-tinted background (#1c242b).

Color palette

TokenLightDark
Background
#1c242bdarkslategray
#1c242bdarkslategray
Foreground
#d9e3ecgainsboro
#d9e3ecgainsboro
Card
#181f25black
#181f25black
Card foreground
#eaf0f5lavender
#eaf0f5lavender
Popover
#161c22black
#161c22black
Popover foreground
#fcfcfdwhite
#fcfcfdwhite
Primary
#b6c4d2lightsteelblue
#b6c4d2lightsteelblue
Primary foreground
#212b36darkslategray
#212b36darkslategray
Secondary
#374049darkslategray
#374049darkslategray
Secondary foreground
#d3d9degainsboro
#d3d9degainsboro
Muted
#282e33darkslategray
#282e33darkslategray
Muted foreground
#a4aeb7darkgray
#a4aeb7darkgray
Accent
#3a4b59darkslategray
#3a4b59darkslategray
Accent foreground
#dde3e9gainsboro
#dde3e9gainsboro
Destructive
#fe2e1borangered
#fe2e1borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#2b3136darkslategray
#2b3136darkslategray
Input
#32393edarkslategray
#32393edarkslategray
Ring
#b6c4d2lightsteelblue
#b6c4d2lightsteelblue

Contrast

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

Light mode
Text on background12.05:1AAA
Text on card14.48:1AAA
Primary button8.10:1AAA
Secondary button7.43:1AAA
Muted text6.06:1AA
Accent6.95:1AA
Destructive3.74:1AA Large
Dark mode
Text on background12.05:1AAA
Text on card14.48:1AAA
Primary button8.10:1AAA
Secondary button7.43:1AAA
Muted text6.06:1AA
Accent6.95:1AA
Destructive3.74:1AA Large

CSS variables

Paste this into your globals.css to use Tokyo City No Italic in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.256 0.018 244.961);
  --foreground: oklch(0.911 0.017 248.01);
  --muted: oklch(0.299 0.012 244.609);
  --muted-foreground: oklch(0.746 0.018 244.383);
  --popover: oklch(0.224 0.014 244.895);
  --popover-foreground: oklch(0.992 0.001 247.837);
  --card: oklch(0.235 0.015 244.919);
  --card-foreground: oklch(0.952 0.009 247.92);
  --border: oklch(0.309 0.012 244.571);
  --input: oklch(0.339 0.014 244.587);
  --primary: oklch(0.815 0.025 248.137);
  --primary-foreground: oklch(0.285 0.024 248.68);
  --secondary: oklch(0.366 0.019 248.358);
  --secondary-foreground: oklch(0.882 0.009 247.933);
  --accent: oklch(0.404 0.032 245.125);
  --accent-foreground: oklch(0.914 0.01 244.227);
  --destructive: oklch(0.642 0.241 30.07);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.815 0.025 248.137);
  --chart-1: oklch(0.815 0.025 248.137);
  --chart-2: oklch(0.366 0.019 248.358);
  --chart-3: oklch(0.404 0.032 245.125);
  --chart-4: oklch(0.394 0.021 248.369);
  --chart-5: oklch(0.814 0.028 248.175);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.256 0.018 244.961);
  --foreground: oklch(0.911 0.017 248.01);
  --muted: oklch(0.299 0.012 244.609);
  --muted-foreground: oklch(0.746 0.018 244.383);
  --popover: oklch(0.224 0.014 244.895);
  --popover-foreground: oklch(0.992 0.001 247.837);
  --card: oklch(0.235 0.015 244.919);
  --card-foreground: oklch(0.952 0.009 247.92);
  --border: oklch(0.309 0.012 244.571);
  --input: oklch(0.339 0.014 244.587);
  --primary: oklch(0.815 0.025 248.137);
  --primary-foreground: oklch(0.285 0.024 248.68);
  --secondary: oklch(0.366 0.019 248.358);
  --secondary-foreground: oklch(0.882 0.009 247.933);
  --accent: oklch(0.404 0.032 245.125);
  --accent-foreground: oklch(0.914 0.01 244.227);
  --destructive: oklch(0.642 0.241 30.07);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.815 0.025 248.137);
  --chart-1: oklch(0.815 0.025 248.137);
  --chart-2: oklch(0.366 0.019 248.358);
  --chart-3: oklch(0.404 0.032 245.125);
  --chart-4: oklch(0.394 0.021 248.369);
  --chart-5: oklch(0.814 0.028 248.175);
}