From 3690cafeb842dd69f2d432e84b5c5d5f50268f77 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 18 Feb 2026 18:50:02 +0000 Subject: [PATCH] tweak(ui): hover and active styles for title bar buttons --- packages/ui/src/components/button.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css index 8219ec92b..251eed848 100644 --- a/packages/ui/src/components/button.css +++ b/packages/ui/src/components/button.css @@ -48,13 +48,13 @@ } &:hover:not(:disabled) { - background-color: var(--surface-raised-base-hover); + background-color: var(--surface-base-hover); } &:focus-visible:not(:disabled) { - background-color: var(--surface-raised-base-hover); + background-color: var(--surface-base-hover); } &:active:not(:disabled) { - background-color: var(--surface-raised-base-active); + background-color: var(--surface-base-active); } &:disabled { color: var(--text-weak); @@ -65,10 +65,10 @@ } } &[data-selected="true"]:not(:disabled) { - background-color: var(--surface-raised-base-hover); + background-color: var(--surface-base-hover); } &[data-active="true"] { - background-color: var(--surface-raised-base-active); + background-color: var(--surface-base-active); } } @@ -172,7 +172,7 @@ } [data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] { - background-color: var(--surface-raised-base-active); + background-color: var(--surface-base-active); } [data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"] [data-slot="icon-svg"] { @@ -180,5 +180,5 @@ } [data-component="button"].titlebar-icon[data-variant="ghost"][aria-expanded="true"]:hover:not(:disabled) { - background-color: var(--surface-raised-base-active); + background-color: var(--surface-base-active); }