Skip to content

Automate browser based workflows with AI

fix(SKY-11384): use #f8fafc for active studio CTAs (#6844)

Celal Zamanoğlu4b2ce1ae85e3
diff --git a/skyvern-frontend/src/routes/workflows/copilot/cards/FixCard.tsx b/skyvern-frontend/src/routes/workflows/copilot/cards/FixCard.tsx
index 9a79d81bd..f9543a89d 100644
--- a/skyvern-frontend/src/routes/workflows/copilot/cards/FixCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/copilot/cards/FixCard.tsx
@@ -47,7 +47,7 @@ export function FixCard({ turn, onFix, onExplain }: FixCardProps) {
<button
type="button"
onClick={onFix}
- className="rounded-md bg-studio-accent px-3 py-1 text-xs font-medium text-studio-accent-foreground hover:bg-studio-accent/90"
+ className="rounded-md bg-studio-accent px-3 py-1 text-xs font-medium text-foreground hover:bg-studio-accent/90"
>
Fix with Copilot
</button>
diff --git a/skyvern-frontend/src/routes/workflows/studio/StudioTopBar.tsx b/skyvern-frontend/src/routes/workflows/studio/StudioTopBar.tsx
index 6d8c0919a..053031bc0 100644
--- a/skyvern-frontend/src/routes/workflows/studio/StudioTopBar.tsx
+++ b/skyvern-frontend/src/routes/workflows/studio/StudioTopBar.tsx
@@ -171,7 +171,7 @@ function StudioTabs() {
"flex items-center gap-2 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
selected
- ? "bg-studio-accent/15 text-studio-accent-2 ring-1 ring-inset ring-studio-accent/40"
+ ? "bg-studio-accent/15 text-foreground ring-1 ring-inset ring-studio-accent/40"
: "text-muted-foreground hover:bg-slate-elevation3 hover:text-foreground",
t.disabled &&
"cursor-default opacity-50 hover:bg-transparent hover:text-muted-foreground",
@@ -350,7 +350,6 @@ function RunStopButton() {
return (
<Button
size="lg"
- className="bg-studio-accent text-studio-accent-foreground hover:bg-studio-accent/90"
disabled={isRecording}
onClick={() => navigate(`/workflows/${workflowPermanentId}/run`)}
>
diff --git a/skyvern-frontend/src/routes/workflows/studio/runview/RunHero.tsx b/skyvern-frontend/src/routes/workflows/studio/runview/RunHero.tsx
index 3b1abff6c..85f8848f0 100644
--- a/skyvern-frontend/src/routes/workflows/studio/runview/RunHero.tsx
+++ b/skyvern-frontend/src/routes/workflows/studio/runview/RunHero.tsx
@@ -59,7 +59,7 @@ function ViewToggle({
"inline-flex items-center gap-1.5 rounded px-2 py-1 text-[11px] font-medium",
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
active
- ? "bg-studio-accent/15 text-studio-accent-2"
+ ? "bg-studio-accent/15 text-foreground"
: "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
)}
>
@@ -284,7 +284,7 @@ export function RunHero({
{onFix ? (
<Button
size="sm"
- className="bg-studio-accent text-studio-accent-foreground hover:bg-studio-accent/90"
+ className="bg-studio-accent text-foreground hover:bg-studio-accent/90"
onClick={onFix}
>
Fix with Copilot