slugbyte / lackluster.nvim

a delightful and customizable mostly monochrome colorscheme thats soft on the eyes and supports treesitter, lsp, and heaps of neovim plugins.
MIT License
96 stars 6 forks source link

opacity option support #24

Closed ryoppippi closed 1 month ago

slugbyte commented 1 month ago

I can look into it.. do you mean allowing for transparent background?

slugbyte commented 1 month ago

I noticed in the tokyonight.nvim configuration they have a setting for transparent that does not set the background -> is this the feature your are requesting?

ryoppippi commented 1 month ago

Yes!!

slugbyte commented 1 month ago

A bit busy this week, but should have some time to make a feature to configure this as a default, It will take a medium size refactor of the colorscheme, but I was planning to do it anyway, in order to have some customization features like transpaent or string_color and quite a few more

for now if you want to do quick fix you can use thic code in config,

-- this will not work if you switch colorschems but it will work if you are using lackluster as your default colorscheme :)
vim.cmd.colorscheme("lackluster")
vim.api.nvim_set_hl(0, 'normal', {
     fg = '#cccccc',
     bg = 'none'
})
slugbyte commented 1 month ago

🎉 done :)

I added docs in the main readme on how to setup transparency, or change menu,poup,telescope bg colors

You can also now tweek some of the syntax colors too, I found with different transparent backgrounds comment needed to be altered to be readable

😆 from testing i now have a siik dragon wallpaper

Screenshot 2024-06-04 at 23 16 39

slugbyte commented 1 month ago

lemme know if you have any trouble :)

ryoppippi commented 1 month ago

@slugbyte Thanks! that transparent mode is brilliant!! I appreciate it!!! ❤️