Align recording dialog behavior and shell theme styling
This commit is contained in:
1 parent
24e15f76cb
commit
8832a9bf2e
9 files changed
+269
-32
No files matched your search
@@ -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)),
|
||||
|
||||
Reference in new issue
Block a user