diff --git a/config/nvim/lua/plugins/ui.lua b/config/nvim/lua/plugins/ui.lua index a19c4a3..ba14459 100644 --- a/config/nvim/lua/plugins/ui.lua +++ b/config/nvim/lua/plugins/ui.lua @@ -7,121 +7,6 @@ return { init = function() vim.cmd.colorscheme(vim.g.colors_theme) end, opts = { transparent = true, - on_colors = function(colors) - colors.gitSigns = { - add = colors.teal, - change = colors.purple, - delete = colors.red, - } - end, - on_highlights = function(hl, c) - local util = require 'tokyonight.util' - local prompt = '#2d3149' - - hl.NeoTreeFileNameOpened = { - fg = c.orange, - } - - hl.GitSignsCurrentLineBlame = { - fg = c.fg_gutter, - } - - hl.StatusLine = { - bg = util.darken(c.bg_dark, 0.98, '#000000'), - fg = c.fg_dark, - } - hl.StatusLineComment = { - bg = util.darken(c.bg_dark, 0.85, '#000000'), - fg = c.comment, - } - - hl.LineNrAbove = { - fg = c.fg_gutter, - } - hl.LineNr = { - fg = util.lighten(c.fg_gutter, 0.7), - } - hl.LineNrBelow = { - fg = c.fg_gutter, - } - - hl.MsgArea = { - bg = util.darken(c.bg_dark, 0.85, '#000000'), - } - - -- Spelling - hl.SpellBad = { - undercurl = true, - sp = '#7F3A43', - } - - -- Telescope - hl.TelescopeNormal = { - bg = c.bg_dark, - fg = c.fg_dark, - } - hl.TelescopeBorder = { - bg = c.bg_dark, - fg = c.bg_dark, - } - hl.TelescopePromptNormal = { - bg = prompt, - } - hl.TelescopePromptBorder = { - bg = prompt, - fg = prompt, - } - hl.TelescopePromptTitle = { - bg = c.bg, - fg = c.fg_dark, - } - hl.TelescopePreviewTitle = { - bg = c.bg_dark, - fg = c.bg_dark, - } - hl.TelescopeResultsTitle = { - bg = c.bg_dark, - fg = c.bg_dark, - } - - -- Indent - hl.MiniIndentscopeSymbol = { - fg = util.darken(c.bg_highlight, 0.30), - } - hl.IblScope = { - fg = util.darken(c.bg_highlight, 0.80), - } - - -- Floaterm - hl.Floaterm = { - bg = prompt, - } - hl.FloatermBorder = { - bg = prompt, - fg = prompt, - } - - -- Copilot - hl.CopilotSuggestion = { - fg = c.comment, - } - - -- NeoTree - hl.NeoTreeFileNameOpened = { - fg = c.fg, - bold = true, - } - hl.NvimTreeNormal = { - bg = util.darken(c.bg_dark, 0.85, '#000000'), - } - hl.NvimTreeNormalNC = { - bg = util.darken(c.bg_dark, 0.85, '#000000'), - } - hl.NvimTreeWinSeparator = { - fg = util.darken(c.bg_dark, 0.85, '#000000'), - bg = util.darken(c.bg_dark, 0.85, '#000000'), - } - end, }, },