{"version":"2.1.111","anchor":"auto-theme-detection-match-terminal","canonical_anchor":"auto-theme-detection-match-terminal","heading":"Auto Theme Detection (Match Terminal)","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.111\/e\/auto-theme-detection-match-terminal","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.111","markdown":"### Auto Theme Detection (Match Terminal)\n\n**What**\n\nClaude Code can now automatically detect your terminal's light or dark theme and match it, using the \"Auto (match terminal)\" theme option.\n\n**Details**\n\n- A new system theme watcher uses OSC 11 terminal escape sequences to query the terminal's background color\n- The detected luminance determines whether the terminal is \"light\" or \"dark\"\n- Supports multiplexers (tmux, screen) with DCS passthrough and fallback detection\n- Theme changes are detected dynamically \u2014 if you switch your terminal's theme, Claude Code follows\n- The \"Auto (match terminal)\" option is now available in the theme picker\n\n**Evidence**\n\nSystem theme detection via OSC 11 in `Wh_()` at line ~185609 (search for `\"systemTheme: OSC 11\"`) \u2014 0 occurrences in v2.1.110, 2 in v2.1.111"}