Skip to content
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

Dark mode: can't read non-focused buffer name #12

Open
chinwobble opened this issue Sep 27, 2020 · 2 comments
Open

Dark mode: can't read non-focused buffer name #12

chinwobble opened this issue Sep 27, 2020 · 2 comments

Comments

@chinwobble
Copy link

chinwobble commented Sep 27, 2020

Great colour scheme!

I just have a minor issue.
On windows + GVIM I have two buffers open:
image

Below the active buffer, I can read the name of the other buffer.

Here are my settings:

let g:github_colors_soft = 1
let g:airline_theme='github'
colorscheme github
set background=dark
@chinwobble
Copy link
Author

I think the issue is here:

if s:is_dark
  " base0 is now darkest
  let s:colors.base0        = s:lib.darktext[0]
  let s:colors.base1        = s:lib.darktext[1]
  let s:colors.base2        = s:lib.darktext[2]
  let s:colors.base3        = s:lib.darktext[3]
  let s:colors.base4        = s:lib.numDarkest
else
  let s:colors.base0          = s:lib.base0
  let s:colors.base1          = s:lib.base1
  let s:colors.base2          = s:lib.base2
  let s:colors.base3          = s:lib.base3
endif

When you use dark theme, it is set to darkest tone. However it should be the lightest tone.

let s:colors.base4 = s:lib.numDarkest

@cormacrelf
Copy link
Owner

I don't use airline anymore and I may have forgotten to update it. If anyone wants to fix the airline colours that'd be cool. But it will be in the airline theme not the main colour list. See the recent changes to the lightline theme for some idea of what should change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants