bump opentui to v0.1.58, fixing diff color issues in light themes

This commit is contained in:
Sebastian Herrlinger
2025-12-08 21:59:01 +01:00
parent 7a6cb85617
commit 1e7d78a215
4 changed files with 19 additions and 12 deletions

View File

@@ -572,6 +572,12 @@ function generateSubtleSyntax(theme: Theme) {
function getSyntaxRules(theme: Theme) {
return [
{
scope: ["default"],
style: {
foreground: theme.text,
},
},
{
scope: ["prompt"],
style: {

View File

@@ -1600,6 +1600,7 @@ ToolRegistry.register<typeof EditTool>({
showLineNumbers={true}
width="100%"
wrapMode={ctx.diffWrapMode()}
fg={theme.text}
addedBg={theme.diffAddedBg}
removedBg={theme.diffRemovedBg}
contextBg={theme.diffContextBg}