Skip to content

Is there a way to make background transparent in mini.hues? #1630

Closed Answered by echasnovski
srfsh asked this question in Q&A
Discussion options

You must be logged in to vote

'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 (like Normal, SignColumn, etc.).

My suggestion would indeed be to use 'mini.colors' and its add_transparency() method for color scheme. So basically:

  • Execute require('mini.hues').setup(...) to get the color scheme you'd like.
  • Execute require('mini.colors').get_colorscheme():add_transparency():write({ name = 'mine' }) (use argument for add_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 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echasnovski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.hues
2 participants