Open ryanmsnyder opened 12 months ago
Hi there, apologies for the delay. It's a bit of a roundabout process, but this could work:
local everforest = require("everforest")
local colours = require("everforest.colours")
-- Instead of `everforest.config`, you can add in your own config here by using
-- `everforest.setup({ show_eob = false)` before you generate the palette.
local palette = colours.generate_palette(everforest.config, vim.o.background)
local green = palette.green
Is there a function to easily get the current palette's colors? For example, with
catppuccin
, there's theget_palette
function:And then you can easily retrieve a color's hex value: