Is there a way to make background transparent in mini.hues? #1630
-
Contributing guidelines
Module(s)mini.hues QuestionI'm unsure if this should be supported by mini.hues or mini.colors should take up this task. Feel free to guide, thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
echasnovski
Mar 2, 2025
Replies: 1 comment
-
'mini.hues' does not and will not support transparency out of the box. It can mostly be achieved by setting background attribute to My suggestion would indeed be to use 'mini.colors' and its
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
echasnovski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'mini.hues' does not and will not support transparency out of the box. It can mostly be achieved by setting background attribute to
NONE
in some common highlight groups (likeNormal
,SignColumn
, etc.).My suggestion would indeed be to use 'mini.colors' and its
add_transparency()
method for color scheme. So basically:require('mini.hues').setup(...)
to get the color scheme you'd like.require('mini.colors').get_colorscheme():add_transparency():write({ name = 'mine' })
(use argument foradd_transparency()
to adjust which highlight groups you want to make transparent) and it will add '~/.config/nvim/colors/mine.lua' color scheme file which you can later use via:colorscheme …