From 4370d3de58ba824bb9aeed23e0f45562314e335a Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 15 Nov 2022 17:15:27 +0100 Subject: [PATCH] fix: don't use dark fg in floats --- lua/tokyonight/colors.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/tokyonight/colors.lua b/lua/tokyonight/colors.lua index aa5e946..ad1355c 100644 --- a/lua/tokyonight/colors.lua +++ b/lua/tokyonight/colors.lua @@ -81,6 +81,7 @@ M.moon = function() red = "#ff757f", -- red1 = "#c53b53", -- } + ret.comment = util.blend(ret.comment, ret.bg, "bb") ret.git = { change = util.blend(ret.blue, ret.bg, "ee"), add = util.blend(ret.green, ret.bg, "ee"), @@ -141,7 +142,7 @@ function M.setup(opts) colors.bg_search = colors.blue0 colors.fg_sidebar = colors.fg_dark -- colors.fg_float = config.options.styles.floats == "dark" and colors.fg_dark or colors.fg - colors.fg_float = colors.fg_dark + colors.fg_float = colors.fg colors.error = colors.red1 colors.warning = colors.yellow