summaryrefslogtreecommitdiffstats
path: root/widget/src/text_input.rs
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2025-02-23 07:10:39 +0100
committerLibravatar GitHub <noreply@github.com>2025-02-23 07:10:39 +0100
commitfd1cfc05eae2d2527fc5fe0a4b30b133283c7095 (patch)
tree84179bc878ad1a92493fdb970344e056b4c4675e /widget/src/text_input.rs
parentf1ed99cb47997e1d194a41e7cdf2846f8eb5f8fa (diff)
parent873311558f1b96f7a40ee73ddb270c396607b9bb (diff)
downloadiced-fd1cfc05eae2d2527fc5fe0a4b30b133283c7095.tar.gz
iced-fd1cfc05eae2d2527fc5fe0a4b30b133283c7095.tar.bz2
iced-fd1cfc05eae2d2527fc5fe0a4b30b133283c7095.zip
Merge pull request #2811 from iced-rs/palette-tweaks
Tweak `Palette` Generation
Diffstat (limited to 'widget/src/text_input.rs')
-rw-r--r--widget/src/text_input.rs4
1 files changed, 2 insertions, 2 deletions
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,
};