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

bug(notifier): Notification is not transparent in case the current theme is transparent #317

Closed
4 tasks done
pkropachev opened this issue Dec 16, 2024 · 1 comment
Closed
4 tasks done
Labels
bug Something isn't working

Comments

@pkropachev
Copy link

pkropachev commented Dec 16, 2024

Did you check docs and existing issues?

  • I have read all the snacks.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of snacks.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.10.2

Operating system/version

Ubuntu 20.04

Describe the bug

Notification is not transparent in case the current theme is transparent.

I use tokyonight theme and explicitly set transparent = true.

-- tokyonight theme
{
  "folke/tokyonight.nvim",
  opts = {
    style = "moon", -- moon, storm, night, day
    transparent = true,
    styles = {
      sidebars = "transparent",
      floats = "transparent",
    },
  },
},
...
{
  "LazyVim/LazyVim",
  opts = {
    colorscheme = "tokyonight",
  },
},

image

Steps To Reproduce

  1. Use folke/tokyonight.nvim theme with explicitly set transparent = true.
  2. Open neovim.
  3. Any notifications are not transparent.

Expected Behavior

Notifications are transparent in case using transparent theme.

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/snacks.nvim", opts = {} },
    -- add any other plugins here
  },
})
@pkropachev pkropachev added the bug Something isn't working label Dec 16, 2024
@folke
Copy link
Owner

folke commented Dec 16, 2024

That has been fixed already

@folke folke closed this as not planned Won't fix, can't repro, duplicate, stale Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants