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

Background transparent #46

Open
kamalkech opened this issue Sep 15, 2022 · 7 comments
Open

Background transparent #46

kamalkech opened this issue Sep 15, 2022 · 7 comments

Comments

@kamalkech
Copy link

option in readme not working, have u another idea how fixe it ?

@Mofiqul
Copy link
Owner

Mofiqul commented Sep 16, 2022

If its not working then its a bug. for time being you can do workaround like

overrides = {
    Normal = { fg = dracula.colors().white, bg='None' }
},

@kamalkech
Copy link
Author

overrides ??? i an not using nvchad

@Mario-SO
Copy link

@kamalkech he is referring to the overrides section in the dracula config file shown in the README

Still tried what @Mofiqul said and still not working unless I source the settings.lua file where I have vim.cmd[[colorscheme dracula]] I did the loading of the config before that command executes but still nothing until I source wherever the vim.cmd command is found

@graves501
Copy link

graves501 commented Jan 8, 2023

Like @Mario-SO mentioned, the background sadly is not transparent, even if you set transparent_bg = true before executing vim.cmd[[colorscheme dracula]]. Transparency works fine in my terminal when using e.g. catppuccin/nvim 🤔

@Mario-SO
Copy link

Mario-SO commented Jan 9, 2023

Yep I also switched to catppuccin/nvim 😁 like @graves501

Like @Mario-SO mentioned, the background sadly is not transparent, even if you set transparent_bg = true before executing vim.cmd[[colorscheme dracula]]. Transparency works fine in my terminal when using e.g. catppuccin/nvim 🤔

@Leo310
Copy link

Leo310 commented Nov 3, 2023

Any plans on fixing this?

EnderMaster77 pushed a commit to EnderMaster77/dracula.nvim that referenced this issue Apr 23, 2024
@ForeverZer0
Copy link

ForeverZer0 commented Dec 14, 2024

Out of curiosity, which terminal are using and what is its background color set to?

Some terminals (I know kitty does at least) doesn't render transparency correctly if both neovim and the terminal have the exact same RGB value. It took many hours of banging my head against the wall to finally figure it out, as the only colorscheme that didn't work was the one that I wanted to use to match my primary terminal colors. I ended up just changing the color value of one them by a single unit to fix it.

kovidgoyal/kitty#7563

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

6 participants