Comments (5)
Honestly this is not an issue of this color scheme, it's an issue of lazygit itself. For no reason it should use a white foreground because the program does not know if a terminal emulator color scheme is light or dark.
I can't make more compromise, because some other programs might use white as background, in that case bg_grey
will be too dark.
Fixed in a0d7069
from edge.
What about this patch?
diff --git a/colors/edge.vim b/colors/edge.vim
index 57b712e..4d6cf4c 100644
--- a/colors/edge.vim
+++ b/colors/edge.vim
@@ -328,14 +328,14 @@ endif
if ((has('termguicolors') && &termguicolors) || has('gui_running')) && !s:configuration.disable_terminal_colors
" Definition
let s:terminal = {
- \ 'black': &background ==# 'dark' ? s:palette.bg0 : s:palette.fg,
+ \ 'black': &background ==# 'dark' ? s:palette.bg3 : s:palette.fg,
\ 'red': s:palette.red,
\ 'yellow': s:palette.yellow,
\ 'green': s:palette.green,
\ 'cyan': s:palette.cyan,
\ 'blue': s:palette.blue,
\ 'purple': s:palette.purple,
- \ 'white': &background ==# 'dark' ? s:palette.fg : s:palette.bg0
+ \ 'white': &background ==# 'dark' ? s:palette.fg : s:palette.bg3
\ }
" Implementation: {{{
if !has('nvim')
Save the text as patch.diff
and execute git apply patch.diff
in the root directory of edge color scheme.
from edge.
Hi !
Thanks for answering so quick 😄
It does work in making the text readable but the contrast is very low, it is kinda taxing on the eyes. bg_grey
seems like the most readable to me. bg_grey
is the color used for the foreground text in the second screenshot in my original post. I think grey_dim
would probably also work and heighten the contrast between background and foreground a bit.
from edge.
Oh wow, I had not even considered lazygit being the issue.
I looked into it and it does seems to support configuration options for a light theme, as seen here.
So sorry for wasting you time, I'm not even sure a0d7069 is actually needed now 😕
from edge.
So sorry for wasting you time, I'm not even sure a0d7069 is actually needed now 😕
It is necessary indeed, some programs directly use white as foreground color and may not support light mode.
from edge.
Related Issues (20)
- Black background HOT 1
- How can I change the highlight of line when cursor move? HOT 1
- Support color for fzf.vim HOT 1
- Unexpected DiagnosticWarn Foreground Color HOT 3
- Change guibg not work HOT 1
- Edge doesn't appropriate with vim stable 8.2.2824 HOT 5
- The color quite hard to read in command mode. HOT 1
- Undercurl highlights rendered as underline HOT 3
- No border in floaterm fzf. HOT 1
- [Question] Is there any way to change vim colorscheme and status line theme at the same time? HOT 1
- Wrong coloring with Treesitter HOT 3
- Error: Undefined variable: NAME E116: Invalid arguments for function edge#highlight HOT 3
- What font do the examples use? HOT 1
- NvimTree background color is not transparent as before HOT 1
- Any plans to migrate theme to Lua? HOT 1
- when LSP loaded, highlight become weird since neovim0.9 HOT 3
- Color Palette difference between `README.md` and `autoload/edge.vim` HOT 13
- How do I disable the dimming? HOT 1
- Suggestion/Request Helix editor theme. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edge.