Skip to content

Commit

Permalink
Improve container Wrapper styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Jul 10, 2023
1 parent f3ddaeb commit 76510b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ impl container::StyleSheet for Theme {
_ => self.background.into(),
},
border_color: match style {
Self::Style::Wrapper => Color::TRANSPARENT,
Self::Style::GameListEntry | Self::Style::Notification => self.field,
Self::Style::ChangeBadge(change) => match change {
ScanChange::New => self.added,
Expand Down Expand Up @@ -288,6 +289,7 @@ impl container::StyleSheet for Theme {
_ => 0.0,
},
text_color: match style {
Self::Style::Wrapper => None,
Self::Style::DisabledBackup => Some(self.text_inverted),
Self::Style::ChangeBadge(change) => match change {
ScanChange::New => Some(self.added),
Expand Down

0 comments on commit 76510b5

Please sign in to comment.