slugbyte / lackluster.nvim

a delightful and customizable mostly monochrome colorscheme thats soft on the eyes and supports treesitter, lsp, and heaps of neovim plugins.
MIT License
194 stars 11 forks source link

[Suggestion] Make Comments in lackluster-mint blend less with the background color #32

Closed ybtre closed 3 months ago

ybtre commented 3 months ago

Loving the theme so far! My only issue is that the comments can blend and are hard to read because they are too close to the background color

image

ybtre commented 3 months ago

maybe they can be close to the NOTE: color?

slugbyte commented 3 months ago

So glad you are enjoying the theme! Also thank you for the feed back! I totally get that the comments are pretty dark!

I decided to slightly bump the brightness from #343434 to #3A3A3A, but I do tend to prefer darker comments, because I want the executable code to stand out. I tend to think of the comments as slightly dimmed out, because they mostly just suggestions.

If that is not bright enough for you thoguht, I do have another solution! A few days ago I added the ability to manually configure comment colors (and a few other things) for this very reason, I figure not everyone is going to have my same preferences.

heres an example config that you could edit

local lackluster = require("lackluster")

-- you need to call setup before you set colorscheme
lackluster.setup({
    -- You can overwrite the following syntax colors by setting them to one of...
    --   1) a hexcode like "#a1b2c3" for a custom color
    --   2) "default" or nil will just use whatever lackluster's default is.
    --   3) lackluster.color.[color name] -- red, blue, green, orange, lack, luster, gray1-9
    tweak_syntax = {
        comment = "#3A3A3A", -- this is the current value, you might want to try #444444
        -- there are more things you can update, check the (optinal) tweek colors and transparency section on the readme
    },
})

-- colorscheme must be set after after setup()!
vim.cmd.colorscheme("lackluster")
slugbyte commented 3 months ago

lemme know if this works for you :)

ybtre commented 3 months ago

Thank you! Both the slight lightening you did and the tweak you suggested work!

Edit: I understand the logic to keep comments less distracting, I just sometimes also use them to take notes about some logic or to leave/write a TODO at work.