You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2025/05/12 17:48:26 UTC

(superset) 02/03: apply default theme boxShadow to cards

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch no_antd_v4
in repository https://gitbox.apache.org/repos/asf/superset.git

commit f00adac73ea8b151b5eb1447a7ecf811350d58f1
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Thu May 8 17:54:14 2025 -0700

    apply default theme boxShadow to cards
---
 superset-frontend/src/components/ListViewCard/index.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/src/components/ListViewCard/index.tsx b/superset-frontend/src/components/ListViewCard/index.tsx
index 1f35688bc6..252c24702a 100644
--- a/superset-frontend/src/components/ListViewCard/index.tsx
+++ b/superset-frontend/src/components/ListViewCard/index.tsx
@@ -41,8 +41,8 @@ const StyledCard = styled(Card)`
       height: 100%;
     }
     &:hover {
-      box-shadow: 8px 8px 28px 0px ${theme.colors.grayscale.light1};
-      transition: box-shadow ${theme.motionDurationMid} ease-in-out;
+      box-shadow: ${theme.boxShadow};
+      transition: box-shadow ${theme.motionDurationSlow} ease-in-out;
 
       .cover-footer {
         transform: translateY(0);