Skip to content

Commit 79160f4

Browse files
authored
Merge pull request #1440 from Hummer12007/bg-fix
drop background from root container
2 parents ed6a94b + ba06d24 commit 79160f4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/appearance/theme/container.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ pub fn primary_background_hover(theme: &Theme) -> Style {
100100
}
101101
}
102102

103+
pub fn root(theme: &Theme) -> Style {
104+
Style {
105+
text_color: Some(theme.styles().text.primary.color),
106+
..Default::default()
107+
}
108+
}
109+
103110
pub fn general(theme: &Theme) -> Style {
104111
Style {
105112
background: Some(Background::Color(theme.styles().general.background)),

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ impl Halloy {
14981498
container(screen)
14991499
.width(Length::Fill)
15001500
.height(Length::Fill)
1501-
.style(theme::container::general),
1501+
.style(theme::container::root),
15021502
)
15031503
.padding(padding::top(platform_specific_padding));
15041504

0 commit comments

Comments
 (0)