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

How to change the background color? #107

Open
LukaszBielsko opened this issue May 28, 2020 · 6 comments
Open

How to change the background color? #107

LukaszBielsko opened this issue May 28, 2020 · 6 comments

Comments

@LukaszBielsko
Copy link

I took me two days, to no avail.
I know how to change the syntax color, but background change is still a mystery.

Any help appreciated.

@Torbet
Copy link

Torbet commented Jun 5, 2020

have you figured it out? same question

@akinsho
Copy link

akinsho commented Jun 5, 2020

Not sure exactly what you mean but if it's switching between light and dark its

set background=light " or dark

If you mean change the background color of the colorscheme think you can do

one#highlight('Normal',  'foreground', 'background' 'gui options') " more details in the readme

@Torbet
Copy link

Torbet commented Jun 5, 2020

I wanted the background to be #ffffff instead of dark grey, figured it out now though

@LukaszBielsko
Copy link
Author

I wanted the background to be #ffffff instead of dark grey, figured it out now though

Pls do share it with us. Thanks.

@Torbet
Copy link

Torbet commented Jun 8, 2020

I switched over to this theme where in the autoload/onedark.vim I changed black to #ffffff and the term value to 0. It did not work without the cterm value change. Looking at the source for this theme, dark is tied to a value of 1 on like 294, perhaps try changing that to 0? otherwise I would recommend the other one dark theme, very good so far!

@ghost
Copy link

ghost commented May 21, 2021

It worked for me on neovim v0.4.4.

colorscheme one
set background=light
au ColorScheme * highlight Normal ctermbg=231

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

3 participants