Re-enable hover styles

This commit is contained in:
Marshall Bowers
2023-10-10 11:48:25 -04:00
parent 40d58c9bc3
commit 8f7f38536d
8 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ impl<S: 'static + Send + Sync + Clone> Breadcrumb<S> {
.text_sm()
.text_color(theme.middle.base.default.foreground)
.rounded_md()
// .hover()
// .fill(theme.highest.base.hovered.background)
.hover()
.fill(theme.highest.base.hovered.background)
.child(self.path.clone().to_str().unwrap().to_string())
.child(if !self.symbols.is_empty() {
self.render_separator(&theme)
+2 -2
View File
@@ -137,8 +137,8 @@ impl<S: 'static + Send + Sync + Clone> CollabPanel<S> {
.px_2()
.flex()
.items_center()
// .hover()
// .fill(theme.lowest.variant.hovered.background)
.hover()
.fill(theme.lowest.variant.hovered.background)
// .active()
// .fill(theme.lowest.variant.pressed.background)
.child(
+2 -2
View File
@@ -62,8 +62,8 @@ impl<S: 'static + Send + Sync> IconButton<S> {
.items_center()
.justify_center()
.rounded_md()
// .hover()
// .fill(theme.highest.base.hovered.background)
.hover()
.fill(theme.highest.base.hovered.background)
// .active()
// .fill(theme.highest.base.pressed.background)
.child(IconElement::new(self.icon).color(icon_color))
+2 -2
View File
@@ -89,8 +89,8 @@ impl<S: 'static + Send + Sync + Clone> Palette<S> {
.px_2()
.py_0p5()
.rounded_lg()
// .hover()
// .fill(theme.lowest.base.hovered.background)
.hover()
.fill(theme.lowest.base.hovered.background)
// .active()
// .fill(theme.lowest.base.pressed.background)
.child(item.clone())