From 65b99e5a775ca802d8cc49c83e3a525c15f58707 Mon Sep 17 00:00:00 2001 From: Gaetan Puleo Date: Thu, 24 Jun 2021 09:20:09 +0200 Subject: [PATCH] feat: added fern and lspsaga colors (#56) --- README.md | 1 + lua/tokyonight/theme.lua | 31 ++++++++++++++++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 440b064..835bbe4 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ A dark and light Neovim theme written in Lua ported from the Visual Studio Code + [Lightline](https://github.com/itchyny/lightline.vim) + [Neogit](https://github.com/TimUntersberger/neogit) + [vim-sneak](https://github.com/justinmk/vim-sneak) ++ [Fern](https://github.com/lambdalisue/fern.vim) ## ⚡️ Requirements diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 8cfc6a5..4491f1b 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -308,6 +308,18 @@ function M.setup(config) NvimTreeSymlink = { fg = c.blue }, -- NvimTreeFolderName= { fg = c.fg_float }, + -- Fern + FernBranchText = {fg = c.blue}, + + -- glyph palette + GlyphPalette1 ={ fg = c.red1 }, + GlyphPalette2 ={ fg = c.green }, + GlyphPalette3 ={ fg = c.yellow }, + GlyphPalette4 ={ fg = c.blue }, + GlyphPalette6 ={ fg = c.green1 }, + GlyphPalette7 ={ fg = c.fg }, + GlyphPalette9 ={ fg = c.red }, + -- Dashboard DashboardShortCut = { fg = c.cyan }, DashboardHeader = { fg = c.blue }, @@ -328,7 +340,24 @@ function M.setup(config) DiagnosticWarning = { fg = c.warning }, DiagnosticInformation = { fg = c.info }, DiagnosticHint = { fg = c.hint }, - + + LspFloatWinNormal = { bg = c.dark }, + LspFloatWinBorder = { fg = c.border_highlight }, + LspSagaBorderTitle = { fg = c.cyan }, + LspSagaHoverBorder = { fg = c.blue }, + LspSagaRenameBorder = { fg = c.green }, + LspSagaDefPreviewBorder = { fg = c.green }, + LspSagaCodeActionBorder = { fg = c.blue }, + LspSagaFinderSelection = { fg = c.bg_visual }, + LspSagaCodeActionTitle = { fg = c.blue1 }, + LspSagaCodeActionContent = { fg = c.purple }, + LspSagaSignatureHelpBorder = { fg = c.red }, + ReferencesCount = { fg = c.purple }, + DefinitionCount = { fg = c.purple }, + DefinitionIcon = { fg = c.blue }, + ReferencesIcon = { fg = c.blue }, + TargetWord = { fg = c.cyan }, + -- NeoVim healthError = { fg = c.error }, healthSuccess = { fg = c.green1 },