mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-08 10:10:58 +00:00
bump opentui to v0.1.58, fixing diff color issues in light themes
This commit is contained in:
parent
7a6cb85617
commit
1e7d78a215
4 changed files with 19 additions and 12 deletions
|
|
@ -64,8 +64,8 @@
|
|||
"@opencode-ai/sdk": "workspace:*",
|
||||
"@opencode-ai/util": "workspace:*",
|
||||
"@openrouter/ai-sdk-provider": "1.2.8",
|
||||
"@opentui/core": "0.1.56",
|
||||
"@opentui/solid": "0.1.56",
|
||||
"@opentui/core": "0.1.58",
|
||||
"@opentui/solid": "0.1.58",
|
||||
"@parcel/watcher": "2.5.1",
|
||||
"@pierre/precision-diffs": "catalog:",
|
||||
"@solid-primitives/event-bus": "1.1.2",
|
||||
|
|
|
|||
|
|
@ -572,6 +572,12 @@ function generateSubtleSyntax(theme: Theme) {
|
|||
|
||||
function getSyntaxRules(theme: Theme) {
|
||||
return [
|
||||
{
|
||||
scope: ["default"],
|
||||
style: {
|
||||
foreground: theme.text,
|
||||
},
|
||||
},
|
||||
{
|
||||
scope: ["prompt"],
|
||||
style: {
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue