Skip to content

Commit 515bfa2

Browse files
authored
Merge pull request #284 from memohnsen/fix-launcher-borders
2 parents 3d17241 + 2553434 commit 515bfa2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/tile/elm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ fn footer(theme: Theme, current_mode: String, text: String) -> Element<'static,
271271
false,
272272
))),
273273
border: iced::Border {
274-
color: glass_border(theme.text_color(1.0), false),
274+
color: glass_border(theme.bg_color(), false),
275275
width: 0.,
276276
radius: Radius::new(radius).top(0.0),
277277
},

src/styles.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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.9),
47+
color: theme.bg_color(),
4848
width: 0.4,
4949
radius: Radius::new(14.0),
5050
},
@@ -120,7 +120,7 @@ pub fn results_scrollbar_style(tile: &ConfigTheme) -> scrollable::Style {
120120
scroller: scrollable::Scroller {
121121
background: Background::Color(tile.text_color(0.7)),
122122
border: Border {
123-
color: tile.text_color(1.),
123+
color: tile.bg_color(),
124124
width: 0.1,
125125
radius: Radius::new(0),
126126
},
@@ -159,7 +159,7 @@ pub fn result_row_container_style(tile: &ConfigTheme, focused: bool) -> containe
159159
container::Style {
160160
background: Some(Background::Color(glass_surface(tile.bg_color(), focused))),
161161
border: Border {
162-
color: glass_border(tile.text_color(1.), focused),
162+
color: glass_border(tile.bg_color(), focused),
163163
width: 0.,
164164
radius: Radius::new(0.0),
165165
},

0 commit comments

Comments
 (0)