scottmckendry / cyberdream.nvim

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

Request: change LineNr color #52

Closed EderLukas closed 5 months ago

EderLukas commented 5 months ago

Hi, I would like to ask if it is possible to change the LineNumber Color away from bgHighlight? Reason is, the line numbers are very thin and you can see them best with very high contrasts like black and white for example. In order to see the highlighted text, highlights needs to be darker then the text but brighter then the background which gives that colorgrade in which the thin linenumbers get hard to see (at least for me).

Otherwise, I really like the theme! Thank you for the great work!

scottmckendry commented 5 months ago

Glad you like the theme! Thanks for the feedback, I've brightened this highlight slightly in the most recent commit.

In case it's not quite as high-contrast as you were hoping, you can override specific highlight groups and their colours directly in your config.

For example:

{
    "scottmckendry/cyberdream.nvim",
    lazy = false,
    priority = 1000,
    config = function()
        local colors = require("cyberdream.colors").default
        require("cyberdream").setup({
            transparent = true,
            italic_comments = true,
            hide_fillchars = true,

            theme = {
                highlights = {
                    LineNr = { fg = colors.magenta },
                },
            },
        })
        vim.cmd("colorscheme cyberdream")
    end,
}

Will look like this: image

Let me know if you have any questions!

EderLukas commented 4 months ago

phenomenal! thank you very much!!