Add claude.theme (ports Claude Code's default dark palette)

claude.theme: a dark irssi theme whose colours map 1:1 to the roles
Claude Code uses in its default dark UI:

  #8c8c8c  dim        timestamps, brackets, connective text
  #f85149  red        errors, netsplits, parts, private msg frames
  #56d364  green      joins, ctcp, dcc, netjoins, quiet activity
  #e3b341  yellow     messages-to-me, /me, statusbar chatter
  #4a9eff  blue       channel names, pubnicks, diff-style accents
  #c9a3ff  magenta    own nick / prompt / notices / hilights
  #4ec9b0  cyan       whois field names, info lines

Uses 24-bit true-colour escapes (%z<rrggbb>) so the shades land
exactly regardless of terminal palette. Requires irssi 1.2+ and a
truecolour-capable terminal (modern xterm/tmux both are).

irssi/config: switch the active theme from rainbow-dark to claude.
This commit is contained in:
2026-04-21 09:15:42 -07:00
parent 92b9e0ec99
commit dcde950329
2 changed files with 216 additions and 1 deletions

View File

@@ -471,7 +471,7 @@ statusbar = {
};
};
settings = {
core = { real_name = "g"; user_name = "g"; nick = "`"; theme = "rainbow-dark"; };
core = { real_name = "g"; user_name = "g"; nick = "`"; theme = "claude"; };
"fe-text" = { actlist_sort = "refnum"; };
"irc/core" = { cmds_max_at_once = "999999"; cmd_queue_speed = "0ms"; };