feat: highlight hold on hover

This commit is contained in:
Asger Juul Brunshøj 2025-02-26 13:41:28 +01:00
parent 1d7374d387
commit f1d0fc68c5

View File

@ -169,7 +169,7 @@ fn Hold(hold: models::Hold, role: Signal<Option<HoldRole>>) -> impl IntoView {
None => Some("brightness-50"),
// None => None,
};
let mut s = "bg-sky-100 aspect-square rounded".to_string();
let mut s = "bg-sky-100 aspect-square rounded hover:brightness-125".to_string();
if let Some(c) = role_classes {
s.push(' ');
s.push_str(c);