From 1a8199cb4e42bba46db479a30ab16922c7a9b1d2 Mon Sep 17 00:00:00 2001 From: yogeshbhutkar Date: Wed, 8 Jan 2025 10:02:19 +0530 Subject: [PATCH] Button: Update hover styles to account for pressed state --- packages/components/src/button/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/button/style.scss b/packages/components/src/button/style.scss index 460aeaa2781cdf..ba299a66a0a47b 100644 --- a/packages/components/src/button/style.scss +++ b/packages/components/src/button/style.scss @@ -164,7 +164,7 @@ color: $components-color-accent; background: transparent; - &:hover:not(:disabled, [aria-disabled="true"]) { + &:hover:not(:disabled, [aria-disabled="true"], .is-pressed) { background: color-mix(in srgb, $components-color-accent 4%, transparent); color: $components-color-accent-darker-20; }