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: "light" theme makes cursor invincible #47

Closed
idelice opened this issue May 13, 2024 · 5 comments · Fixed by #48
Closed

bug: "light" theme makes cursor invincible #47

idelice opened this issue May 13, 2024 · 5 comments · Fixed by #48
Labels
bug Something isn't working

Comments

@idelice
Copy link

idelice commented May 13, 2024

Description

Enabling "light" theme causes cursor to be invincible

Neovim version?

0.9.4

What should happen?

The cursor should be visible

What happened instead?

It became invincible

Your configuration

return {
  "scottmckendry/cyberdream.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    require("cyberdream").setup({
      -- Recommended - see "Configuring" below for more config options
      -- transparent = true,
      italic_comments = true,
      hide_fillchars = true,
      borderless_telescope = true,
      terminal_colors = true,
      theme = {
        variant = "light",
        highlights = {
          Type = { fg = "NONE", bg = "NONE" },
        },
      },
    })
    vim.cmd("colorscheme cyberdream") -- set the colorscheme
  end,
}
@idelice idelice added the bug Something isn't working label May 13, 2024
@scottmckendry
Copy link
Owner

scottmckendry commented May 13, 2024

Thanks @idelice
Any chance you can add a screenshot to show the problem?

May I also ask which terminal you're using? If it's one of the ones that has an extra in the cyberdream repo, can you try using the light version of the config?

E.g. alacritty, wezterm

If you're still using a dark theme in your terminal, it won't play nicely with light, transparent cyberdream.

@scottmckendry scottmckendry added waiting for op This issue is waiting for a response from the original poster and removed waiting for op This issue is waiting for a response from the original poster labels May 13, 2024
@idelice
Copy link
Author

idelice commented May 13, 2024

I'm using Kitty and that may be why it looks so different from this guy who is using wezterm: https://www.reddit.com/r/neovim/comments/1cp8833/can_light_themes_be_pretty/#lightbox

Any chance you can add support for Kitty?

This is how it looks like in my Kitty terminal lol

Screenshot 2024-05-13 at 21 45 21

@scottmckendry
Copy link
Owner

Ah I see... yes, have just added a new extra for kitty here:

https://github.com/scottmckendry/cyberdream.nvim/blob/kitty-extra/extras/kitty/cyberdream-light.conf

Give it a spin. Keen to see how it looks :)

@scottmckendry scottmckendry added the waiting for op This issue is waiting for a response from the original poster label May 13, 2024
@idelice
Copy link
Author

idelice commented May 13, 2024

It looks better now, but I have few feedback items:

  1. the selected cursor text should have a different color to show the character at the cursor. Right now, it's completely black.
  2. better contrast for the characters. right now, it seems a bit hard to see the words e.g. "public class"
  3. it's hard to notice mini.files' borders
  4. which-keys' "red" characters could use better contrast
  5. lualine showing the current buffer name could use better contrast
    ... in general, it works, but contrast needs to be adjusted when using light mode.

But, great job! I appreciate it

Screenshot 2024-05-13 at 22 33 24 Screenshot 2024-05-13 at 22 36 26 Screenshot 2024-05-13 at 22 38 15

@scottmckendry scottmckendry removed the waiting for op This issue is waiting for a response from the original poster label May 13, 2024
@scottmckendry
Copy link
Owner

Great feedback! Thank you.

  1. Should now be addressed. I've added the cursor_text_color property to the kitty theme.
  2. This is subjective, but I can see what you mean from the screenshot. I'd suggest overriding the orange color in your config.
  3. Also subjective. I like the minimal borders in mini.files as is. But understand it's not for everyone. You can override the highlight group in your config. Specifically the MinifilesBorder group.
  4. See 2 😉
  5. Lualine might still be running the dark theme. You'll need to update your lualine config to require the light variant instead. E.g. require("lualine.themes.cyberdream-light"). Hopefully that will help!

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

Successfully merging a pull request may close this issue.

2 participants