summaryrefslogtreecommitdiffstats
path: root/style/src/pick_list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'style/src/pick_list.rs')
-rw-r--r--style/src/pick_list.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/style/src/pick_list.rs b/style/src/pick_list.rs
index a757ba98..d1801e5f 100644
--- a/style/src/pick_list.rs
+++ b/style/src/pick_list.rs
@@ -5,6 +5,7 @@ use iced_core::{Background, Color};
#[derive(Debug, Clone, Copy)]
pub struct Style {
pub text_color: Color,
+ pub placeholder_color: Color,
pub background: Background,
pub border_radius: f32,
pub border_width: f32,
@@ -16,6 +17,7 @@ impl std::default::Default for Style {
fn default() -> Self {
Self {
text_color: Color::BLACK,
+ placeholder_color: [0.4, 0.4, 0.4].into(),
background: Background::Color([0.87, 0.87, 0.87].into()),
border_radius: 0.0,
border_width: 1.0,