refactor(tui): extract system theme generation (#36753)

This commit is contained in:
James Long 2026-07-13 16:39:06 -04:00 committed by GitHub
commit 4c45a5cf23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 206 additions and 268 deletions

View file

@ -1,7 +1,7 @@
/** @jsxImportSource @opentui/solid */
import type { ColorInput, RGBA, ScrollBoxRenderable } from "@opentui/core"
import { Locale } from "../../util/locale"
import { tint } from "../../context/theme"
import { tint } from "../../theme/color"
import { createEffect, createMemo, For, Match, Switch } from "solid-js"
import { buildFileTree, flattenFileTree, type FileTreeItem, type FileTreeRow } from "./diff-viewer-file-tree-utils"
import { Panel } from "./diff-viewer-ui"