feat: Enhance ThemeManager to ensure transparent themes render correctly for editable fields

This commit is contained in:
HueByte
2026-07-16 05:46:02 +02:00
parent a3a413f0b1
commit 5040c5c201
2 changed files with 10 additions and 2 deletions
+8 -1
View File
@@ -575,7 +575,14 @@ public static class ThemeManager
Focus = focus,
HotNormal = normal,
HotFocus = focus,
Disabled = normal
Disabled = normal,
// TextView/TextField draw their editable area with the Editable/ReadOnly roles. If
// left unset, Terminal.Gui derives an opaque background from Normal — which renders
// as a solid box behind the input under transparent themes. Pin them to the theme's
// own colors so the input matches its background (transparent stays transparent).
Editable = normal,
ReadOnly = normal
};
}