fix(tui): preserve readability when terminal theme is unknown
This commit is contained in:
1 parent
4f7479ca64
commit
cf25e91b17
14 files changed
+185
-101
No files matched your search
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user