From bf4a8a986cbc8f5c193adb2ed0cd2970f672040f Mon Sep 17 00:00:00 2001 From: Simon Ho Date: Mon, 20 Jan 2025 23:26:41 -0800 Subject: [PATCH] fix(dap): make breakpoints and UI buttons more readable --- lua/kanagawa-paper/highlights/editor.lua | 6 ------ lua/kanagawa-paper/highlights/plugins.lua | 9 +++++---- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/lua/kanagawa-paper/highlights/editor.lua b/lua/kanagawa-paper/highlights/editor.lua index d0e933c..f26b407 100644 --- a/lua/kanagawa-paper/highlights/editor.lua +++ b/lua/kanagawa-paper/highlights/editor.lua @@ -146,12 +146,6 @@ function M.setup(colors, opts) -- WinBarNC Window bar of not-current windows. WinBarNC = { fg = theme.ui.fg_dim, bg = opts.dimInactive and theme.ui.bg_dim or "NONE" }, - -- SignColumnSB = { link = "SignColumn" }, - -- NormalSB = { link = "Normal" }, - - debugPC = { bg = theme.diff.delete }, - debugBreakpoint = { fg = theme.syn.special1, bg = theme.ui.bg_gutter }, - DiagnosticError = { fg = theme.diag.error }, DiagnosticWarn = { fg = theme.diag.warning }, DiagnosticInfo = { fg = theme.diag.info }, diff --git a/lua/kanagawa-paper/highlights/plugins.lua b/lua/kanagawa-paper/highlights/plugins.lua index 6f379fa..84c4b71 100644 --- a/lua/kanagawa-paper/highlights/plugins.lua +++ b/lua/kanagawa-paper/highlights/plugins.lua @@ -150,25 +150,26 @@ function M.setup(colors, opts) -- Dap-UI DapUIScope = { link = "Special" }, DapUIType = { link = "Type" }, - DapUIModifiedValue = { fg = theme.syn.special1, bold = true }, + DapUIModifiedValue = { fg = theme.vcs.changed, bold = true }, DapUIDecoration = { fg = theme.ui.float.fg_border }, DapUIThread = { fg = theme.syn.identifier }, DapUIStoppedThread = { fg = theme.syn.special1 }, DapUISource = { fg = theme.syn.special2 }, DapUILineNumber = { fg = theme.syn.special1 }, DapUIFloatBorder = { fg = theme.ui.float.fg_border }, - DapUIWatchesEmpty = { fg = theme.diag.error }, + DapUIWatchesEmpty = { fg = theme.diag.warning }, DapUIWatchesValue = { fg = theme.syn.identifier }, DapUIWatchesError = { fg = theme.diag.error }, DapUIBreakpointsPath = { link = "Directory" }, DapUIBreakpointsInfo = { fg = theme.diag.info }, - DapUIBreakpointsCurrentLine = { fg = theme.syn.identifier, bold = true }, + DapUIBreakpointsWarn = { fg = theme.diag.warning }, + DapUIBreakpointsCurrentLine = { fg = theme.diag.error, bold = true }, DapUIBreakpointsDisabledLine = { link = "Comment" }, DapUIStepOver = { fg = theme.syn.special1 }, DapUIStepInto = { fg = theme.syn.special1 }, DapUIStepBack = { fg = theme.syn.special1 }, DapUIStepOut = { fg = theme.syn.special1 }, - DapUIStop = { fg = theme.diag.error }, + DapUIStop = { fg = theme.syn.special2 }, DapUIPlayPause = { fg = theme.syn.string }, DapUIRestart = { fg = theme.syn.string }, DapUIUnavailable = { fg = theme.syn.comment },