From 16924958da6c90dc6755ed3a2f62c15e4569dea0 Mon Sep 17 00:00:00 2001 From: Mike Fortman Date: Wed, 6 Nov 2024 09:52:21 -0600 Subject: [PATCH] refactor: Design tweaks canvas actions and templates based on uplift feedback (#4418) * uplift sweep for canvas actions and templates * [autofix.ci] apply automated fixes * test fix * test fix 2 * one more fix --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: anovazzi1 Co-authored-by: Cristhian Zanforlin Lousa --- .../src/components/canvasControlsComponent/index.tsx | 4 +++- .../src/components/flowToolbarComponent/index.tsx | 6 +++--- .../components/GetStartedComponent/index.tsx | 10 +++++----- .../templatesModal/components/navComponent/index.tsx | 6 +++--- src/frontend/src/modals/templatesModal/index.tsx | 4 ++-- .../tests/extended/features/starter-projects.spec.ts | 6 +++--- src/frontend/tests/extended/features/twoEdges.spec.ts | 2 +- 7 files changed, 20 insertions(+), 18 deletions(-) diff --git a/src/frontend/src/components/canvasControlsComponent/index.tsx b/src/frontend/src/components/canvasControlsComponent/index.tsx index 2eed2883d..b4a8e29c4 100644 --- a/src/frontend/src/components/canvasControlsComponent/index.tsx +++ b/src/frontend/src/components/canvasControlsComponent/index.tsx @@ -108,7 +108,9 @@ const CanvasControls = ({ children }) => { tooltipText={isInteractive ? "Lock" : "Unlock"} onClick={onToggleInteractivity} backgroundClasses={isInteractive ? "" : "bg-destructive"} - iconClasses={isInteractive ? "" : "text-primary-foreground"} + iconClasses={ + isInteractive ? "" : "text-primary-foreground dark:text-primary" + } testId="lock_unlock" /> {children} diff --git a/src/frontend/src/components/flowToolbarComponent/index.tsx b/src/frontend/src/components/flowToolbarComponent/index.tsx index ece682615..cc2ece25d 100644 --- a/src/frontend/src/components/flowToolbarComponent/index.tsx +++ b/src/frontend/src/components/flowToolbarComponent/index.tsx @@ -76,10 +76,10 @@ export default function FlowToolbar(): JSX.Element {