@@ -27,14 +27,14 @@ pub fn rustcast_text_input_style(theme: &ConfigTheme) -> text_input::Style {
2727 text_input:: Style {
2828 background : Background :: Color ( surface) ,
2929 border : Border {
30- color : glass_border ( theme. text_color ( 1.0 ) , focused) ,
30+ color : glass_border ( theme. text_color ( 0. ) , focused) ,
3131 width : 0. ,
32- radius : Radius :: new ( 15 .) . bottom ( 0. ) ,
32+ radius : Radius :: new ( 10 .) . bottom ( 0. ) ,
3333 } ,
34- icon : theme. text_color ( 0.75 ) ,
35- placeholder : theme. text_color ( 0.50 ) ,
36- value : theme. text_color ( 1.0 ) ,
37- selection : with_alpha ( theme. text_color ( 1.0 ) , 0.20 ) ,
34+ icon : theme. text_color ( 0. ) ,
35+ placeholder : theme. text_color ( 0.2 ) ,
36+ value : theme. text_color ( 0.9 ) ,
37+ selection : theme. text_color ( 0.2 ) ,
3838 }
3939}
4040
@@ -44,7 +44,7 @@ pub fn contents_style(theme: &ConfigTheme) -> container::Style {
4444 background : None ,
4545 text_color : None ,
4646 border : iced:: Border {
47- color : theme. text_color ( 0.7 ) ,
47+ color : theme. text_color ( 0.9 ) ,
4848 width : 0.4 ,
4949 radius : Radius :: new ( 14.0 ) ,
5050 } ,
@@ -275,8 +275,8 @@ pub fn settings_slider_style(theme: &ConfigTheme) -> slider::Style {
275275
276276/// Helper fn for making a color look like its glassy
277277pub fn glass_surface ( base : Color , focused : bool ) -> Color {
278- let t = if focused { 0.3 } else { 0.06 } ;
279- let a = if focused { 0.3 } else { 0.22 } ;
278+ let t = if focused { 0.2 } else { 0.06 } ;
279+ let a = if focused { 0.9 } else { 0.58 } ;
280280 with_alpha ( tint ( base, t) , a)
281281}
282282
0 commit comments