Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(sandbox): the motion lab's no-op transition rows tint on hover (#8623)

Cindy Zhangf3a9d8c398f2
diff --git a/apps/sandbox/src/app/(sandbox)/pages/motion-lab/MotionLab.module.css b/apps/sandbox/src/app/(sandbox)/pages/motion-lab/MotionLab.module.css
index e04af5a145..9feb2ebabc 100644
--- a/apps/sandbox/src/app/(sandbox)/pages/motion-lab/MotionLab.module.css
+++ b/apps/sandbox/src/app/(sandbox)/pages/motion-lab/MotionLab.module.css
@@ -749,7 +749,7 @@
}
.tintRow:hover {
- background: var(--color-background-hover, var(--color-background-elevated));
+ background-color: var(--color-overlay-hover);
}
/* NavItem's hover tint (NavTintRig). Before: as shipped, it snaps on where
@@ -783,8 +783,11 @@
transition-property: background-color;
}
+/* The hover overlay token Astryx ships: the rule used to read two names no
+ theme defines, so the row never tinted and the pane showed nothing to
+ compare. */
.noopRow:hover {
- background: var(--color-background-hover, var(--color-background-elevated));
+ background-color: var(--color-overlay-hover);
}
/* ------------------------------------------------------------- origin ----- */