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

Missing transparency depending on color scheme #41

Closed
0xricksanchez opened this issue May 17, 2023 · 3 comments
Closed

Missing transparency depending on color scheme #41

0xricksanchez opened this issue May 17, 2023 · 3 comments

Comments

@0xricksanchez
Copy link

0xricksanchez commented May 17, 2023

Hi, thanks for this nice plugin. I got a question, while testing it out I was running into the following scenarios, depending on what color scheme I was using:

  • kanagawa: Transparency as expected
  • catppuccin: transparency in telescope float but no nvimtree transparency,
  • tokyonight: no transparency in telescope float and no nvimtree transparency
  • rose-pine: no transparency in telescope float.

My configuration is as follows:

return {
  "xiyaowong/transparent.nvim",
  lazy = false,
  opts = {
    -- table: default groups
    groups = {
      "Normal",
      "NormalNC",
      "Comment",
      "Constant",
      "Special",
      "Identifier",
      "Statement",
      "PreProc",
      "Type",
      "Underlined",
      "Todo",
      "String",
      "Function",
      "Conditional",
      "Repeat",
      "Operator",
      "Structure",
      "LineNr",
      "NonText",
      "SignColumn",
      "CursorLineNr",
      "EndOfBuffer",
    },
    -- table: additional groups that should be cleared
    extra_groups = {
      "NormalFloat",
      "NvimTreeNormal",
      "NvimTreeNormalNC",
      "NvimTreeNormalFloat",
      "NvimTreeEndOfBuffer",
    },
    -- table: groups you don't want to clear
    exclude_groups = {},
  },
  keys = {
    { prefix .. "T", "<cmd>TransparentToggle<CR>", desc = "Toggle transparency" },
  },
}

Is this an issue with the plugin and potentially missing extra groups, or would you suggest it's a color scheme issue? If it's the latter, what would be the appropriate workaround.

If that's an issue that needs to be dealt with on a color scheme by color scheme basis, I and likely many others would appreciate the necessary options to override 😁

@0xricksanchez
Copy link
Author

0xricksanchez commented May 17, 2023

I have skimmed the issues. Rel: #4, #7, #18, #21, #40, #35, #36 ... but couldn't find any universal fix

@xiyaowong
Copy link
Owner

I tried your configuration and didn't find any issues. Maybe you can provide a minimal configuration to reproduce it. Reference #31 (comment)

@0xricksanchez
Copy link
Author

Maybe you can provide a minimal configuration to reproduce it

I’ll be on vacation for a while now. Maybe @Hugo-CASTELL or @NoName2001 can chip in. Otherwise I’ll see what I can do once I’m back :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants