From 954f49d4d73d040ef9367800a662031cd92d9e09 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 22 Feb 2025 00:34:55 +0100 Subject: Add `weakest` and `strongest` to `Background` palette ... and tweak background shade generation logic. --- widget/src/text_input.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widget/src/text_input.rs') diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs index 697d0d64..5b6ee9e0 100644 --- a/widget/src/text_input.rs +++ b/widget/src/text_input.rs @@ -1802,10 +1802,10 @@ pub fn default(theme: &Theme, status: Status) -> Style { border: Border { radius: 2.0.into(), width: 1.0, - color: palette.background.strong.color, + color: palette.background.strongest.color, }, icon: palette.background.weak.text, - placeholder: palette.background.strong.color, + placeholder: palette.background.strongest.color, value: palette.background.base.text, selection: palette.primary.weak.color, }; -- cgit