You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is now an experimental light theme for but in the latest nightly release, which is primarily targeting the TUI but also improves the overall look of the but CLI. It includes Monokai Light for the diffs, but also makes the rest of the UI more readable on a light background. It was added with #13446.
For those that want to try it out early, it can be activated by setting the environment variable EXPERIMENTAL_BUT_LIGHT_THEME to any value.
The environment variable will go away at some point and be replaced with a better way of activation (guessing and global setting, probably). We'll keep this issue open until we get there!
We've now solidified this and added in official support by setting the environment variable BUT_THEME=light (or dark, which is the default`.
$ but help<snip>
Environment variables:
BUT_PAGER Sets the pager for large outputs. [default: less]
BUT_THEME Sets the theme for but. Options: dark, light. [default: dark]
Activity
Byron commentedon Apr 7, 2026
Thanks for reporting! This might be already available or planned, but @davidpdrsn would know for sure.
davidpdrsn commentedon Apr 7, 2026
Oh yes we should definitely support this somehow!
slarse commentedon Apr 22, 2026
There is now an experimental light theme for
butin the latest nightly release, which is primarily targeting the TUI but also improves the overall look of thebutCLI. It includes Monokai Light for the diffs, but also makes the rest of the UI more readable on a light background. It was added with #13446.For those that want to try it out early, it can be activated by setting the environment variable
EXPERIMENTAL_BUT_LIGHT_THEMEto any value.The environment variable will go away at some point and be replaced with a better way of activation (guessing and global setting, probably). We'll keep this issue open until we get there!
slarse commentedon May 29, 2026
We've now solidified this and added in official support by setting the environment variable
BUT_THEME=light(ordark, which is the default`.The theme is applied to both TUI and CLI.