From 5c2e091e2d783e077f042d1dff9d2b1a0fab4c9c Mon Sep 17 00:00:00 2001
From: Simon Ho <simonho.ubc@gmail.com>
Date: Sun, 14 Jul 2024 05:58:57 -0700
Subject: [PATCH] fix: use theme mode colors for mini statusline

---
 lua/kanagawa-paper/highlights/plugins.lua | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/lua/kanagawa-paper/highlights/plugins.lua b/lua/kanagawa-paper/highlights/plugins.lua
index a0ffe12..8dc670b 100644
--- a/lua/kanagawa-paper/highlights/plugins.lua
+++ b/lua/kanagawa-paper/highlights/plugins.lua
@@ -430,13 +430,13 @@ function M.setup(colors, opts)
 		MiniIconsBlue = { fg = theme.syn.fun },
 		MiniIconsCyan = { fg = theme.syn.type },
 		MiniIconsGreen = { fg = theme.syn.string },
-		MiniIconsGrey = { fg = theme.syn.comment },
+		MiniIconsGrey = { fg = theme.ui.fg },
 		MiniIconsOrange = { fg = theme.syn.constant },
 		MiniIconsPurple = { fg = theme.syn.statement },
 		MiniIconsRed = { fg = theme.syn.special3 },
 		MiniIconsYellow = { fg = theme.syn.identifier },
 
-		MiniIndentscopeSymbol = { fg = theme.syn.special1 },
+		MiniIndentscopeSymbol = { fg = theme.ui.indent },
 		MiniIndentscopePrefix = { nocombine = true }, -- Make it invisible
 
 		MiniJump = { link = "SpellRare" },
@@ -478,19 +478,19 @@ function M.setup(colors, opts)
 		MiniStarterItem = { link = "Normal" },
 		MiniStarterItemBullet = { link = "Delimiter" },
 		MiniStarterItemPrefix = { fg = theme.diag.warning },
-		MiniStarterSection = { fg = theme.diag.ok },
+		MiniStarterSection = { fg = palette.autumnGreen },
 		MiniStarterQuery = { fg = theme.diag.info },
 
 		MiniStatuslineDevinfo = { fg = theme.ui.fg_dim, bg = theme.ui.bg_p1 },
 		MiniStatuslineFileinfo = { fg = theme.ui.fg_dim, bg = theme.ui.bg_p1 },
 		MiniStatuslineFilename = { fg = theme.ui.fg_dim, bg = theme.ui.bg_dim },
 		MiniStatuslineInactive = { link = "StatusLineNC" },
-		MiniStatuslineModeCommand = { fg = theme.ui.bg, bg = theme.syn.operator, bold = true },
-		MiniStatuslineModeInsert = { fg = theme.ui.bg, bg = theme.diag.ok, bold = true },
-		MiniStatuslineModeNormal = { fg = theme.ui.bg_m3, bg = theme.syn.fun, bold = true },
-		MiniStatuslineModeOther = { fg = theme.ui.bg, bg = theme.syn.type, bold = true },
-		MiniStatuslineModeReplace = { fg = theme.ui.bg, bg = theme.syn.constant, bold = true },
-		MiniStatuslineModeVisual = { fg = theme.ui.bg, bg = theme.syn.keyword, bold = true },
+		MiniStatuslineModeCommand = { fg = theme.ui.bg, bg = theme.modes.command, bold = true },
+		MiniStatuslineModeInsert = { fg = theme.ui.bg, bg = theme.modes.insert, bold = true },
+		MiniStatuslineModeNormal = { fg = theme.ui.bg_m3, bg = theme.modes.normal, bold = true },
+		MiniStatuslineModeOther = { fg = theme.ui.bg_m3, bg = theme.modes.normal, bold = true },
+		MiniStatuslineModeReplace = { fg = theme.ui.bg, bg = theme.modes.replace, bold = true },
+		MiniStatuslineModeVisual = { fg = theme.ui.bg, bg = theme.modes.visual, bold = true },
 
 		MiniSurround = { link = "IncSearch" },