fix(tui): preserve readability when terminal theme is unknown

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-29 11:28:53 +08:00
1 parent 4f7479ca64
commit cf25e91b17
14 files changed
+185 -101

No files matched your search

+3 -2
View File
@@ -2,6 +2,7 @@ import {
TextRenderable,
type BoxRenderable,
type CliRenderer,
type ColorInput,
type KeyEvent,
} from "@opentui/core"
@@ -13,8 +14,8 @@ import {
import { PickerMenu, type PickerMenuTheme } from "./picker-menu"
interface RuntimeControlsTheme extends PickerMenuTheme {
accent: string
faint: string
accent: ColorInput
faint: ColorInput
}
type Choice =