From 8168ddbb6635fc2e769fd42f413b406d33f5e22b Mon Sep 17 00:00:00 2001 From: Josh Thomas Date: Wed, 1 Apr 2026 13:49:39 -0500 Subject: [PATCH] fix(extras.pi): brighten diff colors to increase readability --- lua/tokyonight/extra/pi.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lua/tokyonight/extra/pi.lua b/lua/tokyonight/extra/pi.lua index 95ae05a60..77cbf6b3f 100644 --- a/lua/tokyonight/extra/pi.lua +++ b/lua/tokyonight/extra/pi.lua @@ -5,6 +5,9 @@ local M = {} --- @param colors ColorScheme function M.generate(colors) colors.tool_error_bg = util.blend_bg(colors.error, 0.05) + colors.tool_diff_added = util.blend_bg(colors.green2, 0.8) + colors.tool_diff_removed = util.blend_bg(colors.red1, 0.65) + colors.tool_diff_context = util.blend_fg(colors.blue7, 0.3) local pi = util.template( [[{ "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json", @@ -45,9 +48,9 @@ function M.generate(colors) "mdHr": "${orange}", "mdListBullet": "${orange}", - "toolDiffAdded": "${diff.add}", - "toolDiffRemoved": "${diff.delete}", - "toolDiffContext": "${diff.text}", + "toolDiffAdded": "${tool_diff_added}", + "toolDiffRemoved": "${tool_diff_removed}", + "toolDiffContext": "${tool_diff_context}", "syntaxComment": "${comment}", "syntaxKeyword": "${purple}",