From 04c207627cb520e6a1887afa832e7b1ed80e53a1 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Mon, 13 Feb 2023 10:49:31 +0000 Subject: [PATCH] Put the placeholder styling background f495870b08fe90ca345dd4be61c57cdca2ec77d9 got a little too carried away. --- src/textual/widgets/_input.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/textual/widgets/_input.py b/src/textual/widgets/_input.py index f11dd7df8..c652da9a5 100644 --- a/src/textual/widgets/_input.py +++ b/src/textual/widgets/_input.py @@ -118,6 +118,9 @@ class Input(Widget, can_focus=True): color: $text; text-style: reverse; } + Input>.input--placeholder { + color: $text-disabled; + } """ cursor_blink = reactive(True)