Align recording dialog behavior and shell theme styling

This commit is contained in:
Samuel Onoja committed 2026-09-28 09:15:13 +01:00
1 parent 24e15f76cb
commit 8832a9bf2e
9 files changed
+269 -32

No files matched your search

+3 -3
View File
@@ -146,10 +146,10 @@ fn styled_button(p: Palette, selected: bool, navigation: bool) -> theme::Button
} else {
p.card
};
let on = if selected {
ferese_theme::foreground(background, p.text)
let (background, on) = if selected {
ferese_theme::accent_pair(background, p.text)
} else {
p.text
(background, p.text)
};
button::Style {
background: Some(Background::Color(background)),
+2 -1
View File
@@ -341,7 +341,8 @@ impl FereseShell {
palette.surface_popover
}),
);
let badge_text = ferese_theme::foreground(badge_fill, color(palette.text_primary));
let (badge_fill, badge_text) =
ferese_theme::accent_pair(badge_fill, color(palette.text_primary));
let badge = container(
text(count.to_string())
.size(10)