What version of bat are you using?
bat 0.15.1
Describe the bug you encountered:
The colorscheme appears different depending on if I'm connected via ssh (even localhost)
A subtle difference:

A more obvious difference when using delta with the TwoDark colorscheme:


I think my colors are set appropriately, since these test seem to work fine over ssh

Describe what you expected to happen?
The colorscheme matches.
How did you install bat?
apt-get, homebrew, GitHub release, etc.
nixpkgs
[paste the output of info.sh here]
~
โฏ bash info.sh
system
------
**$ uname -srm**
Linux 5.6.13-300.fc32.x86_64 x86_64
bat
---
**$ bat --version**
bat 0.15.1
**$ env**
bat_config
----------
bat_wrapper
-----------
No wrapper script for 'bat'.
bat_wrapper_function
--------------------
No wrapper function for 'bat'.
No wrapper function for 'cat'.
tool
----
**$ less --version**
less 551 (POSIX regular expressions)
This is most likely related to the COLORTERM environment variable which is probably not set on the remote machine? In this case, bat will fall back to 8bit colors instead of 24bit colors. See https://github.com/sharkdp/bat#troubleshooting
That was it! I can't believe I missed that section, thank you!
You're welcome. Let us know if you think that the documentation could be improved.
Most helpful comment
This is most likely related to the
COLORTERMenvironment variable which is probably not set on the remote machine? In this case,batwill fall back to 8bit colors instead of 24bit colors. See https://github.com/sharkdp/bat#troubleshooting