Motel

Motel is a warm dark color theme. I made it to replace Rosé Pine in my editor, my terminal, and my browser.

Fifteen colors, one dark variant, 23 ports. MIT licensed.

Palette

Accents

Surfaces

Highlights

Text

Derived

Marquee

Role
rust
Hex
#ba5152
OKLCH
0.57 0.135 30
  • Keywords and builtins
  • Diagnostic errors
  • Cursor

Preview

contrast.tsTypeScript
// WCAG contrast ratio between two hex colors.
const GAMMA = 2.4;

function channel(value: number): number {
  const s = value / 255;
  return s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** GAMMA;
}

function luminance(hex: string): number {
  const [r, g, b] = [1, 3, 5]
    .map(i => channel(parseInt(hex.slice(i, i + 2), 16)));
  return 0.2126 * r + 0.7152 * g + 0.0722 * b;
}

export function contrast(a: string, b: string): number {
  const [hi, lo] = [luminance(a), luminance(b)].sort((x, y) => y - x);
  return (hi + 0.05) / (lo + 0.05);
}

contrast("#e2d3c1", "#18110d"); // 12.73, Bone on Asphalt
main · 0 errors, 0 warningsLn 19, Col 1 · UTF-8

Syntax highlighting is sparse. Variables, parameters, and function names use the default text color (“Bone”); keywords, strings, types, and numbers get an accent.

Ports

Every file is generated from palette.json, except the VS Code theme, which is tuned by hand.

Editors
Cursor & VS CodeUnzip, package it, then run Extensions: Install from VSIX and pick Motel as the color theme.
npx @vscode/vsce package --allow-missing-repository --skip-license
Cursor’s Agents window doesn’t use VS Code themes.
motel-vscode.zip
ZedPut it in ~/.config/zed/themes/ and choose Motel in the theme selector.motel.json
NeovimSave as colors/motel.lua in your config, then :colorscheme motel.motel.lua
HelixSave to ~/.config/helix/themes/ and set theme = "motel".motel.toml
Sublime TextDrop it in the Packages/User folder and select it as the color scheme.Motel.sublime-color-scheme
T3 CodeRun t3 theme set motel.json. It publishes the file and switches to it.motel.json
Terminals
WarpSave as ~/.warp/themes/motel.yaml, then pick Motel under Appearance.motel.yaml
GhosttyCopy to ~/.config/ghostty/themes/motel and set theme = motel.motel
iTerm2Profiles → Colors → Color Presets → Import.Motel.itermcolors
Kittyinclude motel.conf from kitty.conf.motel.conf
AlacrittyAdd the file to the import list in alacritty.toml.motel.toml
WezTermMerge the table into color_schemes in your config.motel.lua
Windows TerminalPaste the scheme into the schemes array in settings.json.motel.json
tmuxsource-file it from ~/.tmux.conf.motel.conf
Shell
zshSource it from ~/.zshrc. Sets LS_COLORS and EZA_COLORS.motel-zsh.sh
fishSave to ~/.config/fish/conf.d/.motel.fish
fzfSource it from your shell rc file.motel.sh
batAdd it as a custom theme. See the bat docs.motel.tmTheme
StarshipPaste into starship.toml and set palette = "motel".motel.toml
Apps and the web
ChromeUnzip. Open chrome://extensions, turn on Developer mode, and choose Load unpacked.motel-chrome.zip
SlackPreferences → Themes → Custom. Paste the line of hex values.slack.txt
ObsidianUse it as a CSS snippet, or put it in a theme folder.theme.css
CSSCustom properties for every role. Import it in a page.variables.css