-
Notifications
You must be signed in to change notification settings - Fork 197
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 adjust background? #59
Comments
Hi, sorry for the delay (off for a month), yes you can use the |
Yes, it works. Thank you! |
@vbauerster what command specifically did you use? I tried |
@super-cooper If you want change the color with the augroup vim-one-customization
autocmd!
one#highlight('Normal', '', '29353B', 'none')
augroup END You can also have a try with my fork of vim-one, which is capable of customize the color palette like this, let g:one_dark_syntax_bg='#29353B' I haven't opened a pr of this feature yet, because I'm waiting the decision from rakr for my current pr. I don't see a way for a color scheme using the same color of your terminal. Besides, for terminal, you mainly defines 16 ANSI colors and everything is done. While in vim, not only you need to define a color palette, but need to adjust the foreground and background colors for every part of the vim, all kinds of syntax highlights, diff, 3rd party plugins, etc. Color schemes for them are very different. |
@laggardkernel hey, thanks for the quick reply! I'm gonna give your fork a shot :) EDIT: syntax on
let g:one_dark_syntax_bg='#29353B'
let g:one_allow_italics = 1
set background=dark
colo one
if (has("termguicolors"))
set termguicolors
endif Is something out of order or something? I also tried with the EDIT: Nevermind, figured it out. Using |
First of all thanks for this colorscheme. I mostly use the one with light background, but sometimes wish to adjust its background brightness. For example make bg a little darker or brighter depending on external illumination. How do I accomplish this? It is not clear from the readme page, should I use public
one#highlight
function? If yes, then which group?The text was updated successfully, but these errors were encountered: