Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
chore(frontend): add cta color and collapsible animations to tailwind config (#6222)
Andrew Neilson60939624523d
diff --git a/skyvern-frontend/src/components/SidebarResourceLinks.tsx b/skyvern-frontend/src/components/SidebarResourceLinks.tsxindex 37b043b2a..bd7e358c7 100644--- a/skyvern-frontend/src/components/SidebarResourceLinks.tsx+++ b/skyvern-frontend/src/components/SidebarResourceLinks.tsx@@ -72,7 +72,7 @@ function SidebarResourceLinks({ collapsed }: Props) {{"w-7 justify-center": collapsed,"w-full gap-2.5 px-2": !collapsed,- "border-cta/30 bg-cta/10 text-cta hover:bg-cta/15 hover:text-cta-hover dark:border-cta/35 dark:bg-cta/15 dark:text-cta-foreground dark:hover:bg-cta/25 dark:hover:text-cta-foreground border shadow-[inset_0_1px_0_rgba(255,255,255,0.65)] dark:shadow-[inset_0_1px_0_rgba(255,255,255,0.08)]":+ "border border-cta/30 bg-cta/10 text-cta shadow-[inset_0_1px_0_rgba(255,255,255,0.65)] hover:bg-cta/15 hover:text-cta-hover dark:border-cta/35 dark:bg-cta/15 dark:text-cta-foreground dark:shadow-[inset_0_1px_0_rgba(255,255,255,0.08)] dark:hover:bg-cta/25 dark:hover:text-cta-foreground":link.cta,},)}diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsxindex 2772f7720..b163a3470 100644--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx@@ -713,7 +713,7 @@ function WorkflowRunTimelineBlockItem({{/* Container body — always mounted so open/close transitions animate */}{isContainer && (<Collapsible open={expanded}>- <CollapsibleContent className="motion-safe:data-[state=closed]:animate-collapsible-up-fade motion-safe:data-[state=open]:animate-collapsible-down-fade overflow-hidden">+ <CollapsibleContent className="overflow-hidden motion-safe:data-[state=closed]:animate-collapsible-up-fade motion-safe:data-[state=open]:animate-collapsible-down-fade">{hasActions && (<TimelineActionRowsblock={block}@@ -960,7 +960,7 @@ function LoopIterationRow({</div></div><Collapsible open={expanded}>- <CollapsibleContent className="motion-safe:data-[state=closed]:animate-collapsible-up-fade motion-safe:data-[state=open]:animate-collapsible-down-fade overflow-hidden">+ <CollapsibleContent className="overflow-hidden motion-safe:data-[state=closed]:animate-collapsible-up-fade motion-safe:data-[state=open]:animate-collapsible-down-fade"><TimelineSubItemsitems={group.items}activeItem={activeItem}diff --git a/skyvern-frontend/tailwind.config.js b/skyvern-frontend/tailwind.config.jsindex bf4c2e1f6..dcd45e52a 100644--- a/skyvern-frontend/tailwind.config.js+++ b/skyvern-frontend/tailwind.config.js@@ -31,6 +31,11 @@ module.exports = {DEFAULT: "hsl(var(--primary))",foreground: "hsl(var(--primary-foreground))",},+ cta: {+ DEFAULT: "hsl(var(--cta))",+ foreground: "hsl(var(--cta-foreground))",+ hover: "hsl(var(--cta-hover))",+ },secondary: {DEFAULT: "hsl(var(--secondary))",foreground: "hsl(var(--secondary-foreground))",@@ -97,6 +102,28 @@ module.exports = {from: { height: "var(--radix-accordion-content-height)" },to: { height: "0" },},+ "collapsible-down": {+ from: { height: "0" },+ to: { height: "var(--radix-collapsible-content-height)" },+ },+ "collapsible-up": {+ from: { height: "var(--radix-collapsible-content-height)" },+ to: { height: "0" },+ },+ "collapsible-down-fade": {+ from: { height: "0", opacity: "0" },+ to: {+ height: "var(--radix-collapsible-content-height)",+ opacity: "1",+ },+ },+ "collapsible-up-fade": {+ from: {+ height: "var(--radix-collapsible-content-height)",+ opacity: "1",+ },+ to: { height: "0", opacity: "0" },+ },glow: {"0%, 100%": { boxShadow: "0 0 8px 2px rgba(234, 179, 8, 0.3)" },"50%": { boxShadow: "0 0 24px 8px rgba(234, 179, 8, 0.6)" },@@ -105,6 +132,13 @@ module.exports = {animation: {"accordion-down": "accordion-down 0.2s ease-out","accordion-up": "accordion-up 0.2s ease-out",+ "collapsible-down":+ "collapsible-down 0.22s cubic-bezier(0.22, 1, 0.36, 1)",+ "collapsible-up": "collapsible-up 0.22s cubic-bezier(0.22, 1, 0.36, 1)",+ "collapsible-down-fade":+ "collapsible-down-fade 0.22s cubic-bezier(0.22, 1, 0.36, 1)",+ "collapsible-up-fade":+ "collapsible-up-fade 0.22s cubic-bezier(0.22, 1, 0.36, 1)",glow: "glow 2.5s ease-in-out infinite",},},