Skip to content

Commit

Permalink
change wording in destination bar, minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed Nov 12, 2023
1 parent 49d4281 commit 8bf883e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion data/src/theme/themes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Themes {
middleground: color!(0x272727),
foreground: color!(0x353535),
background: color!(0x151515),
border: color!(0x474747),
border: color!(0x555555),
accent: color!(0xBA84FC),
text: color!(0xE0E0E0),
error: color!(0xff5555),
Expand Down
2 changes: 1 addition & 1 deletion src/screen/config/sample_ripping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn view_destination_bar(ripping_cfg: &SampleRippingConfig) -> Element<Messag
Message::Destination(Some(destination))
});

let button = centered_button("Select").on_press(Message::DestinationDialog);
let button = centered_button("Open").on_press(Message::DestinationDialog);

row![input, button]
.spacing(5)
Expand Down
4 changes: 2 additions & 2 deletions src/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ impl rule::StyleSheet for Theme {
#[derive(Default, Debug, Clone, Copy)]
pub enum Scrollable {
#[default]
Description,
Normal,
Dark,
}

Expand All @@ -379,7 +379,7 @@ impl scrollable::StyleSheet for Theme {
let color = (p.middleground, p.foreground);

match style {
Scrollable::Description => from_appearance(color.0, color.1),
Scrollable::Normal => from_appearance(color.0, color.1),
Scrollable::Dark => from_appearance(color.1, color.0),
}
}
Expand Down

0 comments on commit 8bf883e

Please sign in to comment.