update theme

This commit is contained in:
2026-10-09 11:19:56 +07:00
parent 5c15b0e840
commit 70540abd5d
11 changed files with 137 additions and 27 deletions
+3 -1
View File
@@ -191,7 +191,9 @@ impl RenderOnce for Tab {
.text_sm()
.rounded(px(theme::button_radius()))
.overflow_hidden()
.when(selected && !disabled, |this| this.bg(cx.theme().bg))
.when(selected && !disabled, |this| {
this.bg(cx.theme().element_active)
})
.when(!selected && !disabled, |this| {
this.hover(|this| {
this.bg(cx.theme().element_hover)