scottmckendry / cyberdream.nvim

🤖💤 High-contrast, Futuristic & Vibrant Coloursheme for Neovim
MIT License
730 stars 30 forks source link

There’s a fool who’s gone mad. #149

Closed WYJRichhhhh closed 2 days ago

WYJRichhhhh commented 2 days ago

Question or Suggestion

Issue: Display Issues with Cyberdream Theme in iTerm + tmux + Neovim

Environment

•   OS: macOS
•   Terminal: iTerm (light theme: Solarized Light)
•   tmux: Using Cyberdream theme plugin
•   Neovim:
•   Colorscheme: Cyberdream
•   Background: light
image

Problem Description

I’m encountering some display issues when using the Cyberdream theme across iTerm, tmux, and Neovim. I’ve configured iTerm with the Solarized Light theme, set tmux and Neovim to use the Cyberdream theme, and specified background=light in Neovim. However, I’m seeing unexpected behavior with the colors.

Steps to Reproduce

1.  Set iTerm to Solarized Light theme.
2.  Load Cyberdream in tmux.
3.  Set Neovim’s colorscheme to Cyberdream and background to light.

Expected vs. Actual Behavior

Expected: I reviewed the source code, and I understand that in light mode, the regular text in the Cyberdream theme should be black.

M.light = {
    bg = "#ffffff",
    bgAlt = "#eaeaea",
    bgHighlight = "#acacac",
    fg = "#16181a",
    grey = "#7b8496",
    blue = "#0057d1",
    green = "#008b0c",
    cyan = "#008c99",
    red = "#d11500",
    yellow = "#997b00",
    magenta = "#d100bf",
    pink = "#f40064",
    orange = "#d17c00",
    purple = "#a018ff",
}

Actual:

image

Since I’m not very familiar with how Neovim themes work or how to configure them, I hope you can help me identify the issue.

The Configuration like this:

-- 主题插件
return {
    {
        "scottmckendry/cyberdream.nvim",
        dev = true,
        lazy = false,
        priority = 1000,
        config = function()
            require("cyberdream").setup({
                transparent = true, -- 透明
                italic_comments = true, -- 斜体注释
                hide_fillchars = true, -- 隐藏fillchars ,比如md中的#
                terminal_colors = false, -- 终端颜色
                cache = true, -- 缓存
                borderless_telescope = { border = false, style = "flat" }, -- 无边框的telescope
                theme = { variant = "light" }, -- 主题
            })

            vim.cmd("colorscheme cyberdream") -- 设置vim主题
            vim.api.nvim_set_keymap("n", "<leader>tt", ":CyberdreamToggleMode<CR>", { noremap = true, silent = true })
        end,
    },
}
WYJRichhhhh commented 2 days ago

Also ,the CursorLine's bg color and Telescope's bg color ,like this:

image image

At first, they were light gray, which I really liked. Somehow (maybe because I was messing around with colors, which I don’t really understand), they turned dark.They are tormenting me.....

WYJRichhhhh commented 2 days ago

I uninstalled blink.cmp and installed nvim-cmp instead. Guess what? It fixed itself and went back to the way I liked it, even though I have no idea why.

image