diff --git a/skyvern-frontend/src/components/ui/button-variants.ts b/skyvern-frontend/src/components/ui/button-variants.ts index b9a6867f..893451ed 100644 --- a/skyvern-frontend/src/components/ui/button-variants.ts +++ b/skyvern-frontend/src/components/ui/button-variants.ts @@ -13,6 +13,8 @@ const buttonVariants = cva( "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground", secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80", + tertiary: + "bg-tertiary/20 text-tertiary-foreground border border-slate-500 hover:bg-tertiary/10 rounded-lg", ghost: "hover:bg-accent hover:text-accent-foreground", link: "text-primary underline-offset-4 hover:underline", }, diff --git a/skyvern-frontend/src/index.css b/skyvern-frontend/src/index.css index 49b927c0..9dbd5240 100644 --- a/skyvern-frontend/src/index.css +++ b/skyvern-frontend/src/index.css @@ -19,6 +19,9 @@ --secondary: 210 40% 96.1%; --secondary-foreground: 222.2 47.4% 11.2%; + --tertiary: 227.6 11.6% 48.8%; + --tertiary-foreground: 213 27% 84%; + --muted: 210 40% 96.1%; --muted-foreground: 215.4 16.3% 46.9%; diff --git a/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx b/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx index 3315fcf1..b24cfc05 100644 --- a/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx +++ b/skyvern-frontend/src/routes/workflows/editor/WorkflowHeader.tsx @@ -3,11 +3,16 @@ import { Button } from "@/components/ui/button"; import { ChevronDownIcon, ChevronUpIcon, - ExitIcon, PlayIcon, } from "@radix-ui/react-icons"; import { useNavigate, useParams } from "react-router-dom"; import { EditableNodeTitle } from "./nodes/components/EditableNodeTitle"; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/components/ui/tooltip"; type Props = { title: string; @@ -28,30 +33,8 @@ function WorkflowHeader({ const navigate = useNavigate(); return ( -
-
-
-
{ - navigate("/workflows"); - }} - > - -
-
-
{ - onSave(); - }} - > - -
-
-
-
-
+
+
-
+
+ + + + + + Save + +