Git Product home page Git Product logo

Comments (11)

forbearing avatar forbearing commented on July 19, 2024

I have added a transparent option to aurora.

set termguicolors
let t_Co=256
let g:airline_theme='oceanicnext'
hi Normal guibg=None ctermbg=None
hi Terminal guibg=NONE ctermbg=NONE
hi LineNr guibg=NONE ctermbg=NONE
hi SignColumn guibg=NONE ctermbg=NONE
hi EndOfBuffer guibg=NONE ctermbg=NONE

but when i open a floating terminal, the transparency is not complete.
Screen Shot 2022-06-14 at 8 24 07 PM
Screen Shot 2022-06-14 at 8 25 06 PM

from aurora.

ray-x avatar ray-x commented on July 19, 2024

Default terminal looks good to me
image
Using kitty...

from aurora.

peleusj avatar peleusj commented on July 19, 2024

Which kitty theme can make it transparent?

from aurora.

ray-x avatar ray-x commented on July 19, 2024

I think it comes with Kitty setup, not the color scheme

from aurora.

peleusj avatar peleusj commented on July 19, 2024

But the default setup seems can not make this theme transparent?

The background_opacity setup also will not effect the nvim theme transparency.

The author of Kitty mentioned here: dracula/vim#284 (comment):

In kitty the background color is made transparent if it is the same as the terminals background color. In alacritty, the background color is made transparent only if there is no background color set. In typical vim color themes, the normal background is set explicitly to a color instead of remaining unset (which is bad for performance, but that's another issue). So since the normal background is set, alacritty wont make it transparent, but kitty will, assuming the color is the same as the terminal's background color.

So how do you achieve the result of your screenshot is interesting.

from aurora.

ray-x avatar ray-x commented on July 19, 2024

Ok, I was wrong.
I have this in my setup

  vim.cmd("hi Normal guibg=NONE ctermbg=NONE") -- remove background
  vim.cmd("hi EndOfBuffer guibg=NONE ctermbg=NONE") -- remove background

Those will remove background. It was not kitty

from aurora.

ray-x avatar ray-x commented on July 19, 2024

@peleusj Would you check if latest version works for you?

from aurora.

peleusj avatar peleusj commented on July 19, 2024

Sorry for the delay.
It works perfect.
Thanks for your work!

from aurora.

peleusj avatar peleusj commented on July 19, 2024

And I hava a little problem.
Each cmp compeltion item's document is not transparent when colorscheme's transparent is on.
Not sure if it is setttings of colorscheme or cmp itself.

from aurora.

ray-x avatar ray-x commented on July 19, 2024

image
Not 100% sure, because my cmp popup is transparent.

from aurora.

peleusj avatar peleusj commented on July 19, 2024

You are right, I test again, it is transparent. May be it is the background color too black and I did not discover it.

Screen Shot 2022-09-05 at 10 14 47

from aurora.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.