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

Transparent Terminal Support #10

Closed
Christian77777 opened this issue Jul 20, 2021 · 4 comments
Closed

Transparent Terminal Support #10

Christian77777 opened this issue Jul 20, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Christian77777
Copy link

Really liking this vim theme, especially the deep variation.
However, one thing keeping me from using it is that I wish to have a transparent background in my supported terminal.
I was hoping you could implement a vim variable to toggle the appropriate colors to make that happen.
An example would be https://github.com/joshdick/onedark.vim#onedarkextend_highlight

@navarasu
Copy link
Owner

I will add a flag to enable or disable

vim.g.onedark_transparent_background = true

@navarasu navarasu self-assigned this Jul 22, 2021
@navarasu navarasu added the enhancement New feature or request label Jul 22, 2021
@navarasu
Copy link
Owner

Added transparent background support

To enable transparent background

let g:onedark_transparent_background = 1 " By default it is 0
colorscheme onedark
vim.g.onedark_transparent_background = true -- By default it is false
require('onedark').setup()

@axieax
Copy link

axieax commented Aug 13, 2021

Hi, just wondering whether it is possible to more finely customise the transparency of the background, e.g. opacity of 0.8.

@navarasu
Copy link
Owner

navarasu commented Aug 30, 2021

@axieax Please raise it as a new issue. I will add that option

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

No branches or pull requests

3 participants