-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Needs theme with no background color #7
Comments
Second this. I use a terminal with a translucent background: however, git-split-diffs adds an opaque background behind every character on the screen: It would be great if there were an option to render a theme without any background color on the non-highlighted lines (obviously, the lines highlighted as added or removed need to have a background color) |
Makes sense. The reason everything has a background is because I added support for alpha in colors, so that you could say e.g. line deletions are Anyway, will think of a fix. Would you rather have a way to unset background colors in existing themes, or just have a separate theme without backgrounds? I'm guessing the former would be better so you can use any theme |
Alternatively, a way to point to a custom |
Oh yeah that might be better. You can hackishly do that right now by making |
I hacked together a quick fix in #8! |
I just published v2.2.0 which adds support for using custom themes. The instructions are at https://github.com/banga/git-split-diffs/tree/v2.2.0?tab=readme-ov-file#custom-themes and https://github.com/banga/git-split-diffs/tree/v2.2.0?tab=readme-ov-file#want-to-remove-background-colors-from-a-theme. So far from personal usage, just removing |
I'm getting the following error when
|
Yeah to be clear, I've only added support to use custom themes for |
I use a black background in my terminal, and the "dark" themes aren't really enough. Either having a black theme or one without background color (meaning using the terminal's background) would be ideal.
Great project!
The text was updated successfully, but these errors were encountered: