Skip to content

Automate browser based workflows with AI

SKY-10130 (3/3): detect identical-reply loops + hard rewrite (#6161)

Andrew Neilsonba3c86d2c4d0
diff --git a/.github/sync.yml b/.github/sync.yml
index 5ea6404aa..f8866018e 100644
--- a/.github/sync.yml
+++ b/.github/sync.yml
@@ -19,6 +19,8 @@ Skyvern-AI/skyvern-cloud:
- source: skyvern-frontend/src/
dest: skyvern-frontend/src/
deleteOrphaned: true
+ - source: skyvern-frontend/tailwind.config.js
+ dest: skyvern-frontend/tailwind.config.js
- source: evaluation/
dest: evaluation/
deleteOrphaned: true
diff --git a/skyvern-frontend/src/components/BrowserStream.tsx b/skyvern-frontend/src/components/BrowserStream.tsx
index 615623270..65f8fec35 100644
--- a/skyvern-frontend/src/components/BrowserStream.tsx
+++ b/skyvern-frontend/src/components/BrowserStream.tsx
@@ -945,7 +945,7 @@ function BrowserStream({
</div>
)}
{!isReady && (
- <div className="absolute left-0 top-1/2 flex aspect-video max-h-full w-full -translate-y-1/2 flex-col items-center justify-center gap-2 rounded-md border border-slate-800 text-sm text-slate-400">
+ <div className="absolute left-0 top-1/2 flex aspect-video max-h-full w-full -translate-y-1/2 flex-col items-center justify-center gap-2 rounded-md border border-border text-sm text-muted-foreground">
<StreamStatusPanel diagnostic={streamDiagnostic}>
{isBrowserSessionBackendReady && (
<>
diff --git a/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx b/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx
index 9a5612be4..8afef6f8f 100644
--- a/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx
+++ b/skyvern-frontend/src/components/DataSchemaInputGroup/WorkflowDataSchemaInputGroup.tsx
@@ -92,7 +92,7 @@ function WorkflowDataSchemaInputGroup({
<div className="flex h-7 items-center justify-between">
<div className="flex gap-4">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">Data Schema</Label>
+ <Label className="text-xs text-muted-foreground">Data Schema</Label>
<HelpTooltip
content={helpTooltip ?? helpTooltips["task"]["dataSchema"]}
/>
@@ -206,7 +206,9 @@ function WorkflowDataSchemaInputGroup({
</DialogHeader>
<div className="grid grid-cols-2 gap-4">
<div className="space-y-2">
- <Label className="text-sm text-slate-400">Current Schema</Label>
+ <Label className="text-sm text-muted-foreground">
+ Current Schema
+ </Label>
<CodeEditor
language="json"
value={value}
@@ -218,7 +220,7 @@ function WorkflowDataSchemaInputGroup({
/>
</div>
<div className="space-y-2">
- <Label className="text-sm text-slate-400">
+ <Label className="text-sm text-muted-foreground">
Proposed Schema
</Label>
<CodeEditor
diff --git a/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx b/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx
index ebc7e7ec6..7bd58bef4 100644
--- a/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx
+++ b/skyvern-frontend/src/components/DeleteConfirmationDialog.tsx
@@ -47,11 +47,11 @@ function DeleteConfirmationDialog({
The following blocks reference this item and will be
updated:
</p>
- <ul className="list-inside list-disc space-y-1 text-sm text-slate-300">
+ <ul className="list-inside list-disc space-y-1 text-sm text-muted-foreground">
{affectedBlocks.map((block) => (
<li key={block.nodeId}>
<span className="font-medium">{block.label}</span>
- <span className="text-slate-400">
+ <span className="text-muted-foreground">
{" "}
(
{[
diff --git a/skyvern-frontend/src/components/EngineSelector.tsx b/skyvern-frontend/src/components/EngineSelector.tsx
index 180e2352b..97963d2e4 100644
--- a/skyvern-frontend/src/components/EngineSelector.tsx
+++ b/skyvern-frontend/src/components/EngineSelector.tsx
@@ -66,7 +66,7 @@ function BadgeLabel({ option }: { option: EngineOption }) {
className={cn("rounded px-1.5 py-0.5 text-[10px] font-medium", {
"bg-green-500/20 text-green-400": option.badgeVariant === "success",
"bg-amber-500/20 text-amber-400": option.badgeVariant === "warning",
- "bg-slate-500/20 text-slate-400":
+ "bg-slate-elevation5/20 text-muted-foreground":
option.badgeVariant === "default" || !option.badgeVariant,
})}
>
diff --git a/skyvern-frontend/src/components/FileUpload.tsx b/skyvern-frontend/src/components/FileUpload.tsx
index 93d9fbf58..0c8cc1e24 100644
--- a/skyvern-frontend/src/components/FileUpload.tsx
+++ b/skyvern-frontend/src/components/FileUpload.tsx
@@ -130,7 +130,7 @@ function FileUpload({ value, onChange, required }: Props) {
<Label
htmlFor={inputId}
className={cn(
- "flex w-full cursor-pointer items-center justify-center border border-dashed py-8 hover:border-slate-500",
+ "flex w-full cursor-pointer items-center justify-center border border-dashed py-8 hover:border-input",
)}
onDragOver={(event) => {
event.preventDefault();
diff --git a/skyvern-frontend/src/components/FloatingWindow.tsx b/skyvern-frontend/src/components/FloatingWindow.tsx
index accad32ed..5eb7179d8 100644
--- a/skyvern-frontend/src/components/FloatingWindow.tsx
+++ b/skyvern-frontend/src/components/FloatingWindow.tsx
@@ -578,8 +578,8 @@ function FloatingWindow({
pointerEvents: "auto",
overflow: "hidden",
}}
- className={cn("rounded-xl border border-slate-700", {
- "hover:border-slate-600": !isMaximized,
+ className={cn("rounded-xl border border-border", {
+ "hover:border-foreground": !isMaximized,
})}
handleStyles={{
bottomLeft: {
diff --git a/skyvern-frontend/src/components/ImprovePrompt.tsx b/skyvern-frontend/src/components/ImprovePrompt.tsx
index dc99cd6f5..ac3d23cff 100644
--- a/skyvern-frontend/src/components/ImprovePrompt.tsx
+++ b/skyvern-frontend/src/components/ImprovePrompt.tsx
@@ -142,7 +142,7 @@ function ImprovePrompt(props: Props) {
setSelectedPromptVersion(value as "improved" | "original")
}
/>
- <div className="max-h-96 overflow-y-auto rounded-md border border-slate-700 bg-slate-800 p-4">
+ <div className="max-h-96 overflow-y-auto rounded-md border border-border bg-slate-elevation5 p-4">
<p className="whitespace-pre-wrap text-sm">
{selectedPromptVersion === "improved"
? improvedPrompt
diff --git a/skyvern-frontend/src/components/Logo.tsx b/skyvern-frontend/src/components/Logo.tsx
index f07323ae5..dc47f6528 100644
--- a/skyvern-frontend/src/components/Logo.tsx
+++ b/skyvern-frontend/src/components/Logo.tsx
@@ -1,6 +1,12 @@
function Logo() {
const src = "/logo.png";
- return <img src={src} alt="Logo" />;
+ return (
+ <img
+ src={src}
+ alt="Logo"
+ className="hue-rotate-180 invert dark:hue-rotate-0 dark:invert-0"
+ />
+ );
}
export { Logo };
diff --git a/skyvern-frontend/src/components/LogoMinimized.tsx b/skyvern-frontend/src/components/LogoMinimized.tsx
index fa92bac59..7574ef464 100644
--- a/skyvern-frontend/src/components/LogoMinimized.tsx
+++ b/skyvern-frontend/src/components/LogoMinimized.tsx
@@ -1,6 +1,12 @@
function LogoMinimized() {
const src = "/logo-small.png";
- return <img src={src} alt="Minimized Logo" />;
+ return (
+ <img
+ src={src}
+ alt="Minimized Logo"
+ className="hue-rotate-180 invert dark:hue-rotate-0 dark:invert-0"
+ />
+ );
}
export { LogoMinimized };
diff --git a/skyvern-frontend/src/components/ModelSelector.tsx b/skyvern-frontend/src/components/ModelSelector.tsx
index 8ee48f73a..a51da512c 100644
--- a/skyvern-frontend/src/components/ModelSelector.tsx
+++ b/skyvern-frontend/src/components/ModelSelector.tsx
@@ -79,7 +79,9 @@ function ModelSelector({
return (
<div className="flex items-center justify-between">
<div className="flex gap-2">
- <Label className="text-xs font-normal text-slate-300">Model</Label>
+ <Label className="text-xs font-normal text-muted-foreground">
+ Model
+ </Label>
<HelpTooltip content="The LLM model to use for this block" />
</div>
<div className="relative flex items-center">
@@ -112,13 +114,13 @@ function ModelSelector({
{value && clearable && (
<>
<div
- className="pointer-events-none absolute right-8 top-1/2 h-5 w-px -translate-y-1/2 bg-slate-200 opacity-70 dark:bg-slate-700"
+ className="pointer-events-none absolute right-8 top-1/2 h-5 w-px -translate-y-1/2 bg-slate-elevation3 opacity-70 dark:bg-slate-elevation4"
aria-hidden="true"
/>
<button
type="button"
aria-label="Clear selection"
- className="absolute right-0 z-10 flex h-9 w-8 items-center justify-center text-slate-400 hover:text-red-500 focus:outline-none"
+ className="absolute right-0 z-10 flex h-9 w-8 items-center justify-center text-muted-foreground hover:text-red-500 focus:outline-none"
onClick={() => onChange(null)}
tabIndex={0}
>
diff --git a/skyvern-frontend/src/components/NavLinkGroup.tsx b/skyvern-frontend/src/components/NavLinkGroup.tsx
index 06cf77e1f..be215a29e 100644
--- a/skyvern-frontend/src/components/NavLinkGroup.tsx
+++ b/skyvern-frontend/src/components/NavLinkGroup.tsx
@@ -47,13 +47,14 @@ function NavLinkItem({
onClick={onItemClick ? () => onItemClick(link) : undefined}
className={({ isActive }) => {
return cn(
- "block rounded-lg py-2 pl-3 text-slate-400 hover:bg-muted hover:text-primary",
+ "block rounded-lg py-2 pl-3 text-muted-foreground hover:bg-muted hover:text-primary",
{ "py-1 pl-0 text-[0.8rem]": isMobile },
{
- "bg-muted": isActive,
+ "border border-brand/30 bg-brand-soft text-foreground hover:bg-brand-soft hover:text-foreground dark:border-brand/40 dark:bg-brand/10 dark:text-brand-foreground":
+ isActive,
},
{
- "text-primary": groupIsActive,
+ "text-primary": groupIsActive && !isActive,
"px-3": sidebarCollapsed,
},
);
@@ -78,11 +79,12 @@ function NavLinkItem({
</div>
{!sidebarCollapsed && (link.beta || link.training) && (
<Badge
- className="rounded-[40px] px-2 py-1"
- style={{
- backgroundColor: groupIsActive ? "#301615" : "#1E1016",
- color: groupIsActive ? "#EA580C" : "#8D3710",
- }}
+ className={cn(
+ "rounded-full px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide",
+ link.beta
+ ? "bg-destructive text-destructive-foreground hover:bg-destructive/90"
+ : "bg-brand text-brand-foreground hover:bg-brand/90",
+ )}
>
{link.beta ? "Beta" : "Training"}
</Badge>
@@ -126,7 +128,7 @@ function NavLinkGroup({
})}
>
<div
- className={cn("py-2 text-slate-400", {
+ className={cn("py-2 text-muted-foreground", {
"text-primary": groupIsActive,
"mt-2 py-1 text-[0.8rem] font-medium uppercase": isMobile,
})}
@@ -209,7 +211,7 @@ function NavLinkGroup({
: undefined
}
className={cn(
- "flex w-full items-center gap-2 rounded-lg py-2 pl-3 text-slate-400 hover:bg-muted hover:text-primary",
+ "flex w-full items-center gap-2 rounded-lg py-2 pl-3 text-muted-foreground hover:bg-muted hover:text-primary",
{ "py-1 pl-0 text-[0.8rem]": isMobile },
{
"justify-center px-3": sidebarCollapsed,
diff --git a/skyvern-frontend/src/components/PushTotpCodeForm.tsx b/skyvern-frontend/src/components/PushTotpCodeForm.tsx
index 346cf61a1..f45c92a31 100644
--- a/skyvern-frontend/src/components/PushTotpCodeForm.tsx
+++ b/skyvern-frontend/src/components/PushTotpCodeForm.tsx
@@ -174,7 +174,7 @@ function PushTotpCodeForm({
readOnly={mutation.isPending}
className="min-h-[4.5rem]"
/>
- <p className="text-xs text-slate-400">
+ <p className="text-xs text-muted-foreground">
We only store this to help the current login. Avoid pasting unrelated
sensitive data.
</p>
diff --git a/skyvern-frontend/src/components/RadialMenu.tsx b/skyvern-frontend/src/components/RadialMenu.tsx
index b5c00cf03..163012983 100644
--- a/skyvern-frontend/src/components/RadialMenu.tsx
+++ b/skyvern-frontend/src/components/RadialMenu.tsx
@@ -179,17 +179,17 @@ export function RadialMenu({
>
<button
disabled={!isEnabled}
- className="flex items-center justify-center rounded-full bg-white shadow-lg hover:bg-gray-50 disabled:cursor-not-allowed"
+ className="flex items-center justify-center rounded-full bg-popover shadow-popover hover:bg-muted disabled:cursor-not-allowed"
style={{
width: btnSize,
height: btnSize,
}}
>
- <div className="text-gray-700">{item.icon}</div>
+ <div className="text-popover-foreground">{item.icon}</div>
</button>
{item.text && (
<span
- className="whitespace-nowrap rounded bg-white px-2 py-1 text-xs text-gray-700 shadow-md"
+ className="whitespace-nowrap rounded bg-popover px-2 py-1 text-xs text-popover-foreground shadow-popover"
style={{
opacity: isEnabled ? 1 : 0.5,
cursor: isEnabled ? "pointer" : "not-allowed",
@@ -233,7 +233,7 @@ export function RadialMenu({
setIsOpen(false);
}}
disabled={!isEnabled}
- className="absolute left-1/2 top-1/2 z-30 flex items-center justify-center rounded-full bg-white shadow-lg transition-all duration-300 ease-out hover:bg-gray-50 disabled:cursor-not-allowed"
+ className="absolute left-1/2 top-1/2 z-30 flex items-center justify-center rounded-full bg-popover shadow-popover transition-all duration-300 ease-out hover:bg-muted disabled:cursor-not-allowed"
style={{
width: btnSize,
height: btnSize,
@@ -245,7 +245,7 @@ export function RadialMenu({
transitionDelay: isOpen ? `${index * 50}ms` : "0ms",
}}
>
- <div className="text-gray-700">{item.icon}</div>
+ <div className="text-foreground">{item.icon}</div>
</button>
{item.text && (
<div
@@ -254,7 +254,7 @@ export function RadialMenu({
item.onClick();
setIsOpen(false);
}}
- className="absolute left-1/2 top-1/2 z-30 cursor-pointer whitespace-nowrap rounded bg-white px-2 py-1 text-xs text-gray-700 shadow-md transition-all duration-300 ease-out"
+ className="absolute left-1/2 top-1/2 z-30 cursor-pointer whitespace-nowrap rounded bg-popover px-2 py-1 text-xs text-popover-foreground shadow-popover transition-all duration-300 ease-out"
style={{
transform: isOpen
? rotateText
diff --git a/skyvern-frontend/src/components/SelfHealApiKeyBanner.tsx b/skyvern-frontend/src/components/SelfHealApiKeyBanner.tsx
index f59bb4461..d6b13745e 100644
--- a/skyvern-frontend/src/components/SelfHealApiKeyBanner.tsx
+++ b/skyvern-frontend/src/components/SelfHealApiKeyBanner.tsx
@@ -168,7 +168,7 @@ function SelfHealApiKeyBanner() {
return (
<div className="px-4 pt-4">
- <Alert className="flex flex-col items-center gap-2 border-slate-700 bg-slate-900 text-slate-50">
+ <Alert className="flex flex-col items-center gap-2 border-border bg-slate-elevation1 text-foreground">
<AlertTitle className="text-center text-base font-semibold tracking-wide">
{copy.title}
</AlertTitle>
@@ -182,13 +182,15 @@ function SelfHealApiKeyBanner() {
to regenerate it automatically.
</p>
{data?.detail ? (
- <p className="text-xs text-slate-300">{data.detail}</p>
+ <p className="text-xs text-muted-foreground">{data.detail}</p>
) : null}
{data?.next_step ? (
- <p className="text-xs text-slate-300">{data.next_step}</p>
+ <p className="text-xs text-muted-foreground">
+ {data.next_step}
+ </p>
) : null}
{authIssue ? (
- <p className="text-xs text-slate-300">
+ <p className="text-xs text-muted-foreground">
Last failed request: HTTP {authIssue.statusCode}
{authIssue.path ? ` at ${authIssue.path}` : ""}
{authIssue.detail ? ` (${authIssue.detail})` : ""}
diff --git a/skyvern-frontend/src/components/Splitter.tsx b/skyvern-frontend/src/components/Splitter.tsx
index b7c3155a6..0d1f776f9 100644
--- a/skyvern-frontend/src/components/Splitter.tsx
+++ b/skyvern-frontend/src/components/Splitter.tsx
@@ -15,11 +15,11 @@ function Handle({
return (
<div
className={cn(
- "absolute flex h-[1.25rem] w-[10px] flex-wrap items-center justify-center gap-[2px] bg-slate-800 pb-1 pt-1",
+ "absolute flex h-[1.25rem] w-[10px] flex-wrap items-center justify-center gap-[2px] bg-slate-elevation5 pb-1 pt-1",
{
"cursor-col-resize": direction === "vertical",
"cursor-row-resize": direction === "horizontal",
- "bg-slate-700": isDragging,
+ "bg-slate-elevation4": isDragging,
},
)}
onDoubleClick={() => onDoubleClick?.()}
@@ -430,8 +430,8 @@ function Splitter({
onDoubleClick={snap}
>
<div
- className={cn("h-full w-[2px] bg-slate-800", {
- "bg-slate-700": isDragging,
+ className={cn("h-full w-[2px] bg-slate-elevation5", {
+ "bg-slate-elevation4": isDragging,
})}
/>
<Handle
diff --git a/skyvern-frontend/src/components/Status404.tsx b/skyvern-frontend/src/components/Status404.tsx
index 3c6c4b91c..622823ff4 100644
--- a/skyvern-frontend/src/components/Status404.tsx
+++ b/skyvern-frontend/src/components/Status404.tsx
@@ -8,11 +8,11 @@ function Status404() {
style={{ height: "calc(100vh - 7.5rem)" }}
>
<div className="absolute flex h-full w-full items-center justify-center">
- <div className="animate-roll-right-404 relative flex h-[13rem] w-[13rem] flex-col items-center justify-center rounded-full bg-white/5 text-xl font-bold text-white">
+ <div className="animate-roll-right-404 relative flex h-[13rem] w-[13rem] flex-col items-center justify-center rounded-full bg-foreground/5 text-xl font-bold text-foreground">
<div className="animate-fade-in-404">404</div>
<div className="opacity-50">Not Found</div>
<div className="animate-orbit-404 absolute h-full w-full">
- <div className="animate-fade-in-slow-404 relative h-[2rem] w-[2rem] translate-x-[5.5rem] translate-y-[5.5rem] rounded-full bg-white/10" />
+ <div className="animate-fade-in-slow-404 relative h-[2rem] w-[2rem] translate-x-[5.5rem] translate-y-[5.5rem] rounded-full bg-foreground/10" />
</div>
</div>
</div>
diff --git a/skyvern-frontend/src/components/StatusBadge.tsx b/skyvern-frontend/src/components/StatusBadge.tsx
index 6f95fca0e..8e1150de1 100644
--- a/skyvern-frontend/src/components/StatusBadge.tsx
+++ b/skyvern-frontend/src/components/StatusBadge.tsx
@@ -12,22 +12,26 @@ function StatusBadge({ className, status }: Props) {
return (
<Badge
- className={cn("flex h-7 w-24 justify-center", className, {
- "bg-green-900 text-green-50 hover:bg-green-900/80":
- status === Status.Completed,
- "bg-orange-900 text-orange-50 hover:bg-orange-900/80":
- status === Status.Terminated,
- "bg-gray-900 text-gray-50 hover:bg-gray-900/80":
- status === Status.Created,
- "bg-red-900 text-red-50 hover:bg-red-900/80":
- status === Status.Failed ||
- status === Status.Canceled ||
- status === Status.TimedOut,
- "bg-yellow-900 text-yellow-50 hover:bg-yellow-900/80":
- status === Status.Running ||
- status === Status.Queued ||
- status === "pending",
- })}
+ className={cn(
+ "flex h-7 w-24 justify-center rounded-full",
+ {
+ "bg-green-900 text-green-50 hover:bg-green-900/80":
+ status === Status.Completed,
+ "bg-orange-900 text-orange-50 hover:bg-orange-900/80":
+ status === Status.Terminated,
+ "bg-gray-900 text-gray-50 hover:bg-gray-900/80":
+ status === Status.Created,
+ "bg-red-900 text-red-50 hover:bg-red-900/80":
+ status === Status.Failed ||
+ status === Status.Canceled ||
+ status === Status.TimedOut,
+ "bg-yellow-900 text-yellow-50 hover:bg-yellow-900/80":
+ status === Status.Running ||
+ status === Status.Queued ||
+ status === "pending",
+ },
+ className,
+ )}
>
{statusText}
</Badge>
diff --git a/skyvern-frontend/src/components/SwitchBar.tsx b/skyvern-frontend/src/components/SwitchBar.tsx
index 6eb11a13d..48f5f05a9 100644
--- a/skyvern-frontend/src/components/SwitchBar.tsx
+++ b/skyvern-frontend/src/components/SwitchBar.tsx
@@ -24,7 +24,7 @@ function SwitchBar({ className, highlight, options, value, onChange }: Props) {
return (
<div
className={cn(
- "flex w-fit gap-1 rounded-sm border border-slate-700 p-2",
+ "flex w-fit gap-1 rounded-sm border border-border p-2",
className,
)}
>
@@ -34,10 +34,10 @@ function SwitchBar({ className, highlight, options, value, onChange }: Props) {
<div
key={option.value}
className={cn(
- "flex cursor-pointer items-center whitespace-nowrap rounded-sm px-3 py-2 text-xs hover:bg-slate-700",
+ "flex cursor-pointer items-center whitespace-nowrap rounded-sm px-3 py-2 text-xs hover:bg-slate-elevation4",
{
- "bg-slate-700/40": highlight && !selected,
- "bg-slate-700": selected,
+ "bg-slate-elevation4/40": highlight && !selected,
+ "bg-slate-elevation4": selected,
},
)}
onClick={() => {
diff --git a/skyvern-frontend/src/components/SwitchBarNavigation.tsx b/skyvern-frontend/src/components/SwitchBarNavigation.tsx
index 265870720..58c5a72ee 100644
--- a/skyvern-frontend/src/components/SwitchBarNavigation.tsx
+++ b/skyvern-frontend/src/components/SwitchBarNavigation.tsx
@@ -15,7 +15,7 @@ function SwitchBarNavigation({ options }: Props) {
const [searchParams] = useSearchParams();
return (
- <div className="flex w-fit gap-2 rounded-sm border border-slate-700 p-2">
+ <div className="flex w-fit gap-2 rounded-sm border border-border p-2">
{options.map((option) => {
return (
<NavLink
@@ -24,9 +24,9 @@ function SwitchBarNavigation({ options }: Props) {
key={option.to}
className={({ isActive }) => {
return cn(
- "flex cursor-pointer items-center justify-center rounded-sm px-3 py-2 text-center hover:bg-slate-700",
+ "flex cursor-pointer items-center justify-center rounded-sm px-3 py-2 text-center hover:bg-slate-elevation4",
{
- "bg-slate-700": isActive,
+ "bg-slate-elevation4": isActive,
},
);
}}
diff --git a/skyvern-frontend/src/components/TableSearchInput.tsx b/skyvern-frontend/src/components/TableSearchInput.tsx
index ec5ca89e4..42586dd68 100644
--- a/skyvern-frontend/src/components/TableSearchInput.tsx
+++ b/skyvern-frontend/src/components/TableSearchInput.tsx
@@ -27,7 +27,7 @@ function TableSearchInput({
return (
<div className={cn("relative", className)}>
<div className="pointer-events-none absolute left-0 top-0 flex h-9 w-9 items-center justify-center">
- <MagnifyingGlassIcon className="size-5 text-slate-400" />
+ <MagnifyingGlassIcon className="size-5 text-muted-foreground" />
</div>
<Input
value={value}
diff --git a/skyvern-frontend/src/components/TestWebhookDialog.tsx b/skyvern-frontend/src/components/TestWebhookDialog.tsx
index 51dc0bf00..59c936386 100644
--- a/skyvern-frontend/src/components/TestWebhookDialog.tsx
+++ b/skyvern-frontend/src/components/TestWebhookDialog.tsx
@@ -300,11 +300,11 @@ function TestWebhookDialog({
<CollapsibleContent className="mt-4 space-y-4">
<div className="space-y-2">
<Label>Headers Sent</Label>
- <div className="space-y-1 rounded-md border bg-slate-50 p-3 font-mono text-sm dark:bg-slate-950">
+ <div className="space-y-1 rounded-md border bg-slate-elevation1 p-3 font-mono text-sm dark:bg-background">
{Object.entries(result.headers_sent).map(
([key, value]) => (
<div key={key}>
- <span className="text-slate-600 dark:text-slate-400">
+ <span className="text-muted-foreground dark:text-muted-foreground">
{key}:
</span>{" "}
{value}
diff --git a/skyvern-frontend/src/components/TriggerTypeBadge.tsx b/skyvern-frontend/src/components/TriggerTypeBadge.tsx
index bdd8c4eda..e93df5f6b 100644
--- a/skyvern-frontend/src/components/TriggerTypeBadge.tsx
+++ b/skyvern-frontend/src/components/TriggerTypeBadge.tsx
@@ -15,7 +15,7 @@ const triggerConfig: Record<
{ icon: React.ReactNode; label: string }
> = {
[TriggerType.Manual]: {
- icon: <CursorArrowIcon className="size-3.5 text-slate-400" />,
+ icon: <CursorArrowIcon className="size-3.5 text-muted-foreground" />,
label: "Manual",
},
[TriggerType.Api]: {
diff --git a/skyvern-frontend/src/components/VerificationCodeBanner.tsx b/skyvern-frontend/src/components/VerificationCodeBanner.tsx
index bfdcf9077..98b945475 100644
--- a/skyvern-frontend/src/components/VerificationCodeBanner.tsx
+++ b/skyvern-frontend/src/components/VerificationCodeBanner.tsx
@@ -59,13 +59,13 @@ function VerificationCodeBanner({
<div className="flex items-center justify-between border-b border-amber-500/30 bg-amber-500/10 px-4 py-2.5">
<div className="flex min-w-0 flex-1 items-center gap-2">
<LockClosedIcon className="h-3.5 w-3.5 flex-shrink-0 text-amber-400" />
- <p className="truncate text-xs text-slate-200">
- <span className="text-slate-100">{label}</span> needs 2FA
+ <p className="truncate text-xs text-foreground">
+ <span className="text-foreground">{label}</span> needs 2FA
</p>
{timeRemaining !== null && (
<span
className={`ml-2 flex items-center gap-1 text-xs font-medium ${
- isTimeCritical ? "text-red-300" : "text-slate-400"
+ isTimeCritical ? "text-red-300" : "text-muted-foreground"
}`}
>
<ClockIcon className="h-3 w-3" />
diff --git a/skyvern-frontend/src/components/WebhookReplayDialog.tsx b/skyvern-frontend/src/components/WebhookReplayDialog.tsx
index 2c65737d3..572fcff72 100644
--- a/skyvern-frontend/src/components/WebhookReplayDialog.tsx
+++ b/skyvern-frontend/src/components/WebhookReplayDialog.tsx
@@ -269,7 +269,7 @@ export function WebhookReplayDialog({
</div>
{replayResult && (
- <div className="max-h-[320px] space-y-3 overflow-y-auto rounded-md border border-slate-200 p-4">
+ <div className="max-h-[320px] space-y-3 overflow-y-auto rounded-md border border-border p-4">
<div className="flex flex-wrap gap-4 text-sm">
<span>
<span className="font-medium">Status:</span>{" "}
@@ -288,7 +288,7 @@ export function WebhookReplayDialog({
</div>
)}
{replayResult.response_body && (
- <div className="space-y-2 rounded-md border border-slate-200/80 p-2">
+ <div className="space-y-2 rounded-md border border-border/80 p-2">
<Label>Response Body</Label>
<CodeEditor
language="json"
diff --git a/skyvern-frontend/src/components/WorkflowBlockInputSet.tsx b/skyvern-frontend/src/components/WorkflowBlockInputSet.tsx
index 5396cce17..d751f50d9 100644
--- a/skyvern-frontend/src/components/WorkflowBlockInputSet.tsx
+++ b/skyvern-frontend/src/components/WorkflowBlockInputSet.tsx
@@ -66,7 +66,9 @@ function WorkflowBlockInputSet(props: Props) {
);
})
) : (
- <span className="flex items-center gap-2 text-slate-400">&nbsp;</span>
+ <span className="flex items-center gap-2 text-muted-foreground">
+ &nbsp;
+ </span>
)}
</div>
<div className="absolute right-0 top-0 flex size-9 cursor-pointer items-center justify-center">
diff --git a/skyvern-frontend/src/components/ZoomableImage.tsx b/skyvern-frontend/src/components/ZoomableImage.tsx
index d205d757f..6b28d2886 100644
--- a/skyvern-frontend/src/components/ZoomableImage.tsx
+++ b/skyvern-frontend/src/components/ZoomableImage.tsx
@@ -38,7 +38,7 @@ function ZoomableImage(props: HTMLImageElementProps) {
{modalOpen && (
<div
className={clsx(
- "fixed inset-0 z-50 flex justify-center overflow-auto bg-black bg-opacity-75 p-16",
+ "fixed inset-0 z-50 flex justify-center overflow-auto bg-black/75 p-16",
{
"items-center": !zoom,
"items-baseline": zoom,
diff --git a/skyvern-frontend/src/components/ui/badge-variants.ts b/skyvern-frontend/src/components/ui/badge-variants.ts
index 79bbaeb46..3a1b48899 100644
--- a/skyvern-frontend/src/components/ui/badge-variants.ts
+++ b/skyvern-frontend/src/components/ui/badge-variants.ts
@@ -10,11 +10,11 @@ const badgeVariants = cva(
secondary:
"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
success:
- "border-transparent bg-success/40 text-success-foreground shadow hover:bg-success/30",
+ "border-transparent bg-green-900 text-green-50 hover:bg-green-900/80",
warning:
- "border-transparent bg-warning/40 text-warning-foreground shadow hover:bg-warning/30",
+ "border-transparent bg-yellow-900 text-yellow-50 hover:bg-yellow-900/80",
destructive:
- "border-transparent bg-destructive/40 text-destructive-foreground shadow hover:bg-destructive/30",
+ "border-transparent bg-red-900 text-red-50 hover:bg-red-900/80",
outline: "text-foreground",
},
},
diff --git a/skyvern-frontend/src/components/ui/button-variants.test.ts b/skyvern-frontend/src/components/ui/button-variants.test.ts
new file mode 100644
index 000000000..cd2e80cef
--- /dev/null
+++ b/skyvern-frontend/src/components/ui/button-variants.test.ts
@@ -0,0 +1,30 @@
+import { describe, expect, it } from "vitest";
+import { buttonVariants } from "./button-variants";
+
+describe("buttonVariants v2 tokenization", () => {
+ it("destructive uses --destructive token, not bg-red-900 literal", () => {
+ const result = buttonVariants({ variant: "destructive" });
+ expect(result).toContain("bg-destructive");
+ expect(result).not.toMatch(/bg-red-\d/);
+ });
+
+ it("tertiary border is tokenized, not border-slate-NNN", () => {
+ const result = buttonVariants({ variant: "tertiary" });
+ expect(result).not.toMatch(/border-slate-\d/);
+ });
+
+ it("default still uses bg-primary text-primary-foreground", () => {
+ const result = buttonVariants({ variant: "default" });
+ expect(result).toContain("bg-primary");
+ expect(result).toContain("text-primary-foreground");
+ });
+});
+
+describe("buttonVariants brand variant", () => {
+ it("brand variant uses brand-cta tokens and shadow", () => {
+ const result = buttonVariants({ variant: "brand" });
+ expect(result).toContain("bg-brand-cta");
+ expect(result).toContain("text-brand-cta-foreground");
+ expect(result).toContain("shadow-sm");
+ });
+});
diff --git a/skyvern-frontend/src/components/ui/button-variants.ts b/skyvern-frontend/src/components/ui/button-variants.ts
index 55fbe60b0..0a4a908e0 100644
--- a/skyvern-frontend/src/components/ui/button-variants.ts
+++ b/skyvern-frontend/src/components/ui/button-variants.ts
@@ -7,8 +7,10 @@ const buttonVariants = cva(
variant: {
default:
"bg-primary text-primary-foreground shadow hover:bg-primary/90 font-bold",
+ brand:
+ "bg-brand-cta text-brand-cta-foreground shadow-sm hover:bg-brand-cta/90 font-semibold",
destructive:
- "bg-red-900 text-destructive-foreground shadow-sm hover:bg-destructive/90",
+ "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
disabled:
"hover:bg-accent hover:text-accent-foreground opacity-50 pointer-events-none",
outline:
@@ -16,7 +18,7 @@ const buttonVariants = cva(
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",
+ "bg-tertiary/20 text-foreground border border-input 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/components/ui/card-variants.test.ts b/skyvern-frontend/src/components/ui/card-variants.test.ts
index ecfe047cf..6df8f19bf 100644
--- a/skyvern-frontend/src/components/ui/card-variants.test.ts
+++ b/skyvern-frontend/src/components/ui/card-variants.test.ts
@@ -8,7 +8,7 @@ describe("cardVariants", () => {
expect(result).toContain("border");
expect(result).toContain("bg-card");
expect(result).toContain("text-card-foreground");
- expect(result).toContain("shadow");
+ expect(result).toContain("shadow-card");
});
it("defaults to tone=default when no tone is passed", () => {
@@ -39,7 +39,7 @@ describe("cardVariants", () => {
] as const) {
const result = cardVariants({ tone });
expect(result).toContain("rounded-xl");
- expect(result).toContain("shadow");
+ expect(result).toContain("shadow-card");
expect(result).toContain("bg-card");
}
});
diff --git a/skyvern-frontend/src/components/ui/card-variants.ts b/skyvern-frontend/src/components/ui/card-variants.ts
index 4bdf8404e..01763b4be 100644
--- a/skyvern-frontend/src/components/ui/card-variants.ts
+++ b/skyvern-frontend/src/components/ui/card-variants.ts
@@ -2,7 +2,7 @@ import { cva } from "class-variance-authority";
/** Default tone preserves pre-cva Card output. Non-default tones swap only the border color (border-tint, no background wash). */
const cardVariants = cva(
- "rounded-xl border bg-card text-card-foreground shadow",
+ "rounded-xl border bg-card text-card-foreground shadow-card",
{
variants: {
tone: {
diff --git a/skyvern-frontend/src/components/ui/css-vars.test.ts b/skyvern-frontend/src/components/ui/css-vars.test.ts
index 08a57ec6d..a37b5c22f 100644
--- a/skyvern-frontend/src/components/ui/css-vars.test.ts
+++ b/skyvern-frontend/src/components/ui/css-vars.test.ts
@@ -99,6 +99,34 @@ describe.each(CSS_FILES)("%s defines DS token vars", (file) => {
it("defines --warning under .dark", () => {
expect(dark).toMatch(/--warning:\s*[^;]+;/);
});
+
+ it("defines --brand under :root", () => {
+ expect(root).toMatch(/--brand:\s*[^;]+;/);
+ });
+
+ it("defines --brand-foreground under :root", () => {
+ expect(root).toMatch(/--brand-foreground:\s*[^;]+;/);
+ });
+
+ it("defines --brand-soft under :root", () => {
+ expect(root).toMatch(/--brand-soft:\s*[^;]+;/);
+ });
+
+ it("defines --brand under .dark", () => {
+ expect(dark).toMatch(/--brand:\s*[^;]+;/);
+ });
+
+ it("defines --shadow-card under :root", () => {
+ expect(root).toMatch(/--shadow-card:\s*[^;]+;/);
+ });
+
+ it("defines --xy-controls-button-background-color under :root", () => {
+ expect(root).toMatch(/--xy-controls-button-background-color:\s*[^;]+;/);
+ });
+
+ it("defines --xy-controls-button-background-color under .dark", () => {
+ expect(dark).toMatch(/--xy-controls-button-background-color:\s*[^;]+;/);
+ });
});
describe("--ring is consistent across cloud/eval/src", () => {
@@ -118,3 +146,24 @@ describe("--ring is consistent across cloud/eval/src", () => {
expect(new Set(values).size).toBe(1);
});
});
+
+describe("light-mode neutral hierarchy", () => {
+ // Skyvern Figma DS intentionally collapses --secondary, --muted, and --accent
+ // to a single neutral surface in dark mode (#1e293b) and the corresponding
+ // light gray in light mode. Don't enforce 3-way distinct.
+ function tokenValue(css: string, selector: string, name: string): string {
+ const block = blockBetween(css, selector);
+ const m = block.match(new RegExp(`--${name}:\\s*([^;]+);`));
+ return (m?.[1] ?? "").trim();
+ }
+
+ it.each(CSS_FILES)(
+ "--secondary, --muted, --accent are defined in :root of %s",
+ (file) => {
+ const css = load(file);
+ expect(tokenValue(css, ":root", "secondary")).toBeTruthy();
+ expect(tokenValue(css, ":root", "muted")).toBeTruthy();
+ expect(tokenValue(css, ":root", "accent")).toBeTruthy();
+ },
+ );
+});
diff --git a/skyvern-frontend/src/components/ui/dialog.tsx b/skyvern-frontend/src/components/ui/dialog.tsx
index db16e295b..d65fa3a40 100644
--- a/skyvern-frontend/src/components/ui/dialog.tsx
+++ b/skyvern-frontend/src/components/ui/dialog.tsx
@@ -19,7 +19,7 @@ const DialogOverlay = React.forwardRef<
<DialogPrimitive.Overlay
ref={ref}
className={cn(
- "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
+ "fixed inset-0 z-50 bg-black/40 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
className,
)}
{...props}
diff --git a/skyvern-frontend/src/components/ui/drawer.tsx b/skyvern-frontend/src/components/ui/drawer.tsx
index c8c445c98..fb3c74960 100644
--- a/skyvern-frontend/src/components/ui/drawer.tsx
+++ b/skyvern-frontend/src/components/ui/drawer.tsx
@@ -26,7 +26,7 @@ const DrawerOverlay = React.forwardRef<
>(({ className, ...props }, ref) => (
<DrawerPrimitive.Overlay
ref={ref}
- className={cn("fixed inset-0 z-50 bg-black/80", className)}
+ className={cn("fixed inset-0 z-50 bg-black/40", className)}
{...props}
/>
));
diff --git a/skyvern-frontend/src/components/ui/tailwind-extensions.test.ts b/skyvern-frontend/src/components/ui/tailwind-extensions.test.ts
new file mode 100644
index 000000000..d4c1b5beb
--- /dev/null
+++ b/skyvern-frontend/src/components/ui/tailwind-extensions.test.ts
@@ -0,0 +1,36 @@
+import { describe, expect, it } from "vitest";
+// @ts-expect-error tailwind.config.js has no type declarations
+import config from "../../../tailwind.config.js";
+
+type TailwindConfigLike = {
+ theme?: { extend?: { colors?: unknown; boxShadow?: unknown } };
+};
+
+describe("tailwind v2 brand + shadow extensions", () => {
+ const cfg = config as TailwindConfigLike;
+ const colors = (cfg.theme?.extend?.colors ?? {}) as Record<string, unknown>;
+ const boxShadow = (cfg.theme?.extend?.boxShadow ?? {}) as Record<
+ string,
+ string
+ >;
+
+ it("registers brand color with DEFAULT/foreground/soft", () => {
+ expect(colors.brand).toBeDefined();
+ const brand = colors.brand as Record<string, string>;
+ expect(brand.DEFAULT).toBe("hsl(var(--brand))");
+ expect(brand.foreground).toBe("hsl(var(--brand-foreground))");
+ expect(brand.soft).toBe("hsl(var(--brand-soft))");
+ });
+
+ it("registers shadow.sm from --shadow-sm", () => {
+ expect(boxShadow.sm).toBe("var(--shadow-sm)");
+ });
+
+ it("registers shadow.card from --shadow-card", () => {
+ expect(boxShadow.card).toBe("var(--shadow-card)");
+ });
+
+ it("registers shadow.popover from --shadow-popover", () => {
+ expect(boxShadow.popover).toBe("var(--shadow-popover)");
+ });
+});
diff --git a/skyvern-frontend/src/index.css b/skyvern-frontend/src/index.css
index fd45c056d..87cb303fe 100644
--- a/skyvern-frontend/src/index.css
+++ b/skyvern-frontend/src/index.css
@@ -4,60 +4,68 @@
@layer base {
:root {
- --background: 0 0% 100%;
- --foreground: 222.2 84% 4.9%;
+ /* Light tokens — contrast-bumped to match dark-mode visual weight (OpenAI Platform / Linear references) */
+ --background: 0 0% 96%;
+ --foreground: 0 0% 9%;
--card: 0 0% 100%;
- --card-foreground: 222.2 84% 4.9%;
+ --card-foreground: 0 0% 9%;
--popover: 0 0% 100%;
- --popover-foreground: 222.2 84% 4.9%;
+ --popover-foreground: 0 0% 9%;
- --primary: 222.2 47.4% 11.2%;
- --primary-foreground: 210 40% 98%;
+ --primary: 0 0% 9%;
+ --primary-foreground: 0 0% 100%;
- --secondary: 210 40% 96.1%;
- --secondary-foreground: 222.2 47.4% 11.2%;
+ --secondary: 0 0% 94%;
+ --secondary-foreground: 0 0% 9%;
- --tertiary: 227.6 11.6% 48.8%;
- --tertiary-foreground: 213 27% 84%;
+ --tertiary: 220 9% 36%;
+ --tertiary-foreground: 0 0% 100%;
- --muted: 210 40% 96.1%;
- --muted-foreground: 215.4 16.3% 46.9%;
+ --muted: 0 0% 94%;
+ --muted-foreground: 0 0% 32%;
- --accent: 210 40% 96.1%;
- --accent-foreground: 222.2 47.4% 11.2%;
+ --accent: 0 0% 92%;
+ --accent-foreground: 0 0% 9%;
- --destructive: 0 84.2% 60.2%;
- --destructive-foreground: 210 40% 98%;
+ --destructive: 0 72% 45%;
+ --destructive-foreground: 0 86% 97%;
--error-bg-light: rgba(220, 38, 38, 0.1);
- --warning: 32.1 94.6% 43.7%; /* amber-600 */
- --warning-foreground: 36 100% 97.1%; /* amber-50 */
+ --warning: 41 96% 40%;
+ --warning-foreground: 55 92% 95%;
- --success: 142.1 76.2% 36.3%; /* green-600 */
- --success-foreground: 138.5 76.5% 96.7%; /* green-50 */
+ --success: 142 71% 36%;
+ --success-foreground: 138 76% 97%;
- --border: 214.3 31.8% 91.4%;
- --input: 214.3 31.8% 91.4%;
- --ring: 222.2 84% 5%;
+ --border: 0 0% 84%;
+ --input: 0 0% 84%;
+ --ring: 199 89% 48%;
--radius: 0.5rem;
- --tertiary: 227.6 11.6% 48.8%;
- --tertiary-foreground: 213 27% 84%;
+ --slate-elevation-1: 0 0% 97%;
+ --slate-elevation-2: 0 0% 94%;
+ --slate-elevation-3: 0 0% 91%;
+ --slate-elevation-4: 0 0% 87%;
+ --slate-elevation-5: 0 0% 83%;
- --warning: 32.1 94.6% 43.7%; /* amber-600 */
- --warning-foreground: 36 100% 97.1%; /* amber-50 */
+ --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.1);
+ --shadow-card:
+ 0 1px 2px 0 rgba(15, 23, 42, 0.1), 0 1px 3px 0 rgba(15, 23, 42, 0.14);
+ --shadow-card-hover: 0 6px 16px -4px rgba(15, 23, 42, 0.18);
+ --shadow-elevated: 0 12px 28px -8px rgba(15, 23, 42, 0.2);
+ --shadow-popover: 0 12px 28px -8px rgba(15, 23, 42, 0.22);
- --success: 142.1 76.2% 36.3%; /* green-600 */
- --success-foreground: 138.5 76.5% 96.7%; /* green-50 */
+ --brand: 199 89% 48%;
+ --brand-foreground: 0 0% 100%;
+ --brand-soft: 199 89% 92%;
+
+ --brand-cta: 199 89% 36%;
+ --brand-cta-foreground: 0 0% 100%;
- --slate-elevation-1: 222 47% 96%;
- --slate-elevation-2: 222 40% 93%;
- --slate-elevation-3: 222 35% 90%;
- --slate-elevation-4: 222 30% 87%;
- --slate-elevation-5: 222 25% 84%;
+ --xy-controls-button-background-color: hsl(var(--slate-elevation-2));
}
.dark {
@@ -82,7 +90,7 @@
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
- --destructive: 0 72.2% 50.6%; /* red-600 */
+ --destructive: 0 72.2% 45%; /* red-700 (darkened from red-600 for AA on solid bg) */
--destructive-foreground: 0 85.7% 97.3%; /* red-50 */
--error-bg-light: rgba(220, 38, 38, 0.1);
@@ -101,6 +109,22 @@
--slate-elevation-3: 227 30% 14%;
--slate-elevation-4: 231 26% 18%;
--slate-elevation-5: 230 22% 22%;
+
+ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
+ --shadow-card: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 1px 3px 0 rgba(0, 0, 0, 0.4);
+ --shadow-popover: 0 4px 12px -2px rgba(0, 0, 0, 0.5);
+
+ --brand: 199 89% 48%;
+ --brand-foreground: 0 0% 100%;
+ --brand-soft: 199 89% 25%;
+
+ --shadow-card-hover: 0 6px 20px -4px rgba(0, 0, 0, 0.5);
+ --shadow-elevated: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
+
+ --brand-cta: 199 89% 36%;
+ --brand-cta-foreground: 0 0% 100%;
+
+ --xy-controls-button-background-color: hsl(var(--slate-elevation-3));
}
}
diff --git a/skyvern-frontend/src/routes/browserProfiles/BrowserProfileDetailPage.tsx b/skyvern-frontend/src/routes/browserProfiles/BrowserProfileDetailPage.tsx
index aecfc11e4..8246954f9 100644
--- a/skyvern-frontend/src/routes/browserProfiles/BrowserProfileDetailPage.tsx
+++ b/skyvern-frontend/src/routes/browserProfiles/BrowserProfileDetailPage.tsx
@@ -43,7 +43,7 @@ function BrowserProfileDetailPage() {
)}
{!isLoading && (isError || !profile) && (
- <div className="rounded-md border border-slate-700 bg-slate-elevation1 p-6 text-sm text-slate-300">
+ <div className="rounded-md border bg-slate-elevation1 p-6 text-sm text-muted-foreground">
Browser profile not found.
</div>
)}
@@ -54,10 +54,12 @@ function BrowserProfileDetailPage() {
<div className="space-y-2">
<h1 className="text-2xl">{profile.name}</h1>
{profile.description && (
- <p className="text-sm text-slate-300">{profile.description}</p>
+ <p className="text-sm text-muted-foreground">
+ {profile.description}
+ </p>
)}
{profile.deleted_at && (
- <p className="text-sm text-amber-400">
+ <p className="text-sm text-warning">
Deleted {basicLocalTimeFormat(profile.deleted_at)}
</p>
)}
@@ -80,9 +82,9 @@ function BrowserProfileDetailPage() {
</div>
</div>
- <div className="rounded-lg border border-slate-700 bg-slate-elevation1 p-6">
+ <div className="rounded-lg border bg-slate-elevation1 p-6">
<dl className="grid grid-cols-1 gap-x-6 gap-y-4 sm:grid-cols-[180px_1fr]">
- <dt className="text-sm text-slate-400">ID</dt>
+ <dt className="text-sm text-muted-foreground">ID</dt>
<dd className="flex items-center font-mono text-sm">
<span className="break-all">{profile.browser_profile_id}</span>
<CopyText
@@ -91,14 +93,14 @@ function BrowserProfileDetailPage() {
/>
</dd>
- <dt className="text-sm text-slate-400">Source Browser</dt>
+ <dt className="text-sm text-muted-foreground">Source Browser</dt>
<dd className="text-sm">
{profile.source_browser_type ?? (
<span className="opacity-50">—</span>
)}
</dd>
- <dt className="text-sm text-slate-400">Created</dt>
+ <dt className="text-sm text-muted-foreground">Created</dt>
<dd
className="text-sm"
title={basicTimeFormat(profile.created_at)}
@@ -106,7 +108,7 @@ function BrowserProfileDetailPage() {
{basicLocalTimeFormat(profile.created_at)}
</dd>
- <dt className="text-sm text-slate-400">Last Modified</dt>
+ <dt className="text-sm text-muted-foreground">Last Modified</dt>
<dd
className="text-sm"
title={basicTimeFormat(profile.modified_at)}
diff --git a/skyvern-frontend/src/routes/browserProfiles/BrowserProfileItem.tsx b/skyvern-frontend/src/routes/browserProfiles/BrowserProfileItem.tsx
index e724e9898..87c5f1ace 100644
--- a/skyvern-frontend/src/routes/browserProfiles/BrowserProfileItem.tsx
+++ b/skyvern-frontend/src/routes/browserProfiles/BrowserProfileItem.tsx
@@ -42,24 +42,24 @@ function BrowserProfileItem({ profile }: Props) {
return (
<TableRow
- className="cursor-pointer hover:bg-slate-elevation2"
+ className="cursor-pointer transition-colors hover:bg-muted/40"
onClick={handleRowClick}
>
<TableCell className="truncate">
<span title={profile.name}>{profile.name}</span>
</TableCell>
- <TableCell className="truncate text-slate-400">
+ <TableCell className="truncate text-muted-foreground">
{profile.description ? (
<span title={profile.description}>{profile.description}</span>
) : (
<span className="opacity-50">—</span>
)}
</TableCell>
- <TableCell className="truncate text-slate-400">
+ <TableCell className="truncate text-muted-foreground">
{profile.source_browser_type ?? <span className="opacity-50">—</span>}
</TableCell>
<TableCell
- className="text-slate-400"
+ className="text-muted-foreground"
title={basicTimeFormat(profile.created_at)}
>
{basicLocalTimeFormat(profile.created_at)}
diff --git a/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesList.tsx b/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesList.tsx
index ed37bccc6..f693a12bc 100644
--- a/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesList.tsx
+++ b/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesList.tsx
@@ -85,7 +85,7 @@ function BrowserProfilesList({ searchKey }: Props = {}) {
if (isError) {
return (
- <div className="rounded-md border border-slate-700 bg-slate-elevation1 p-6 text-sm text-slate-300">
+ <div className="rounded-md border bg-slate-elevation1 p-6 text-sm text-muted-foreground">
<div className="mb-3">Failed to load browser profiles.</div>
<Button
variant="secondary"
@@ -104,17 +104,17 @@ function BrowserProfilesList({ searchKey }: Props = {}) {
if (pageItems.length === 0 && page === 1) {
return (
- <div className="rounded-md border border-slate-700 bg-slate-elevation1 p-10 text-sm text-slate-300">
+ <div className="rounded-md border bg-slate-elevation1 p-10 text-sm text-muted-foreground">
{hasSearch ? (
<>No browser profiles match &ldquo;{searchKey}&rdquo;.</>
) : (
<div className="flex flex-col items-center gap-3 text-center">
- <BrowserIcon className="size-10 text-slate-400" />
+ <BrowserIcon className="size-10 text-muted-foreground" />
<div className="space-y-1">
- <p className="text-base font-medium text-slate-100">
+ <p className="text-base font-medium text-foreground">
No browser profiles yet
</p>
- <p className="mx-auto max-w-md text-sm text-slate-400">
+ <p className="mx-auto max-w-md text-sm text-muted-foreground">
Start a session, then click Save Profile on the session page to
capture it here.
</p>
@@ -129,21 +129,15 @@ function BrowserProfilesList({ searchKey }: Props = {}) {
<div className="space-y-4">
<div className="rounded-lg border">
<Table className="w-full table-fixed">
- <TableHeader className="rounded-t-lg bg-slate-elevation2">
+ <TableHeader className="rounded-t-lg bg-slate-elevation2 text-muted-foreground [&_tr]:border-b-0">
<TableRow>
- <TableHead className="w-1/4 truncate rounded-tl-lg text-slate-400">
+ <TableHead className="w-1/4 truncate rounded-tl-lg">
Name
</TableHead>
- <TableHead className="w-1/3 truncate text-slate-400">
- Description
- </TableHead>
- <TableHead className="w-1/6 truncate text-slate-400">
- Source Browser
- </TableHead>
- <TableHead className="w-1/6 truncate text-slate-400">
- Created
- </TableHead>
- <TableHead className="w-32 truncate rounded-tr-lg text-right text-slate-400">
+ <TableHead className="w-1/3 truncate">Description</TableHead>
+ <TableHead className="w-1/6 truncate">Source Browser</TableHead>
+ <TableHead className="w-1/6 truncate">Created</TableHead>
+ <TableHead className="w-32 truncate rounded-tr-lg text-right">
Actions
</TableHead>
</TableRow>
@@ -159,9 +153,9 @@ function BrowserProfilesList({ searchKey }: Props = {}) {
</Table>
<div className="relative px-3 py-3">
<div className="absolute left-3 top-1/2 flex -translate-y-1/2 items-center gap-2 text-sm">
- <span className="text-slate-400">Items per page</span>
+ <span className="text-muted-foreground">Items per page</span>
<select
- className="h-9 rounded-md border border-slate-300 bg-background px-3"
+ className="h-9 rounded-md border bg-background px-3"
value={itemsPerPage}
onChange={(e) => {
const next = Number(e.target.value);
diff --git a/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesPage.tsx b/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesPage.tsx
index 4446c2991..8c7d0f1c2 100644
--- a/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesPage.tsx
+++ b/skyvern-frontend/src/routes/browserProfiles/BrowserProfilesPage.tsx
@@ -24,7 +24,7 @@ function BrowserProfilesPage() {
return (
<div className="space-y-5">
<h1 className="text-2xl">Browser Profiles</h1>
- <div className="w-96 text-sm text-slate-300">{subHeaderText}</div>
+ <div className="w-96 text-sm text-muted-foreground">{subHeaderText}</div>
<div className="flex items-center justify-between gap-4">
<TableSearchInput
value={search}
diff --git a/skyvern-frontend/src/routes/browserProfiles/CreateBrowserProfileButton.tsx b/skyvern-frontend/src/routes/browserProfiles/CreateBrowserProfileButton.tsx
index 740076d59..bbc7b95f2 100644
--- a/skyvern-frontend/src/routes/browserProfiles/CreateBrowserProfileButton.tsx
+++ b/skyvern-frontend/src/routes/browserProfiles/CreateBrowserProfileButton.tsx
@@ -23,6 +23,7 @@ function CreateBrowserProfileButton({
return (
<Button
+ variant="brand"
size={size}
disabled={disabled}
title={
diff --git a/skyvern-frontend/src/routes/browserProfiles/DeleteBrowserProfileButton.tsx b/skyvern-frontend/src/routes/browserProfiles/DeleteBrowserProfileButton.tsx
index 39c4a119d..468dc020f 100644
--- a/skyvern-frontend/src/routes/browserProfiles/DeleteBrowserProfileButton.tsx
+++ b/skyvern-frontend/src/routes/browserProfiles/DeleteBrowserProfileButton.tsx
@@ -50,10 +50,10 @@ function DeleteBrowserProfileButton({ profile, onDeleted }: Props) {
<DialogHeader>
<DialogTitle>Are you sure?</DialogTitle>
</DialogHeader>
- <div className="text-sm text-slate-400">
+ <div className="text-sm text-muted-foreground">
The browser profile{" "}
- <span className="font-bold text-primary">{profile.name}</span> will be
- deleted. Workflows referencing this profile will no longer find it.
+ <span className="font-bold text-foreground">{profile.name}</span> will
+ be deleted. Workflows referencing this profile will no longer find it.
</div>
<DialogFooter>
<DialogClose asChild>
diff --git a/skyvern-frontend/src/routes/browserProfiles/SaveSessionAsBrowserProfileDialog.tsx b/skyvern-frontend/src/routes/browserProfiles/SaveSessionAsBrowserProfileDialog.tsx
index 95f7133df..c17764c6c 100644
--- a/skyvern-frontend/src/routes/browserProfiles/SaveSessionAsBrowserProfileDialog.tsx
+++ b/skyvern-frontend/src/routes/browserProfiles/SaveSessionAsBrowserProfileDialog.tsx
@@ -72,15 +72,17 @@ function SaveSessionAsBrowserProfileDialog({
</DialogHeader>
<form onSubmit={handleSubmit}>
<div className="grid gap-4 pb-4">
- <div className="rounded-md border border-slate-700 bg-slate-elevation2 px-3 py-2">
- <div className="text-xs text-slate-400">Source session</div>
- <div className="truncate font-mono text-xs text-slate-200">
+ <div className="rounded-md border bg-slate-elevation2 px-3 py-2">
+ <div className="text-xs text-muted-foreground">
+ Source session
+ </div>
+ <div className="truncate font-mono text-xs text-foreground">
{browserSessionId}
</div>
</div>
<div className="grid gap-2">
<Label htmlFor="save-browser-profile-name">
- Name <span className="text-red-400">*</span>
+ Name <span className="text-destructive">*</span>
</Label>
<Input
id="save-browser-profile-name"
@@ -92,7 +94,8 @@ function SaveSessionAsBrowserProfileDialog({
</div>
<div className="grid gap-2">
<Label htmlFor="save-browser-profile-description">
- Description <span className="text-slate-400">(optional)</span>
+ Description{" "}
+ <span className="text-muted-foreground">(optional)</span>
</Label>
<Textarea
id="save-browser-profile-description"
@@ -111,7 +114,7 @@ function SaveSessionAsBrowserProfileDialog({
>
Cancel
</Button>
- <Button type="submit" disabled={!canSubmit}>
+ <Button type="submit" variant="brand" disabled={!canSubmit}>
Save Profile
</Button>
</DialogFooter>
diff --git a/skyvern-frontend/src/routes/browserSessions/BrowserSession.tsx b/skyvern-frontend/src/routes/browserSessions/BrowserSession.tsx
index 33d55f2fa..e11d0339c 100644
--- a/skyvern-frontend/src/routes/browserSessions/BrowserSession.tsx
+++ b/skyvern-frontend/src/routes/browserSessions/BrowserSession.tsx
@@ -132,7 +132,7 @@ function BrowserSession() {
? "bg-blue-500/20 text-blue-500"
: browserSession.status === "failed"
? "bg-red-500/20 text-red-500"
- : "bg-gray-500/20 text-gray-500"
+ : "bg-muted-foreground/20 text-muted-foreground"
}`}
>
{browserSession.status}
@@ -175,7 +175,7 @@ function BrowserSession() {
{browserSessionId && browserSession?.status === "running" && (
<div className="ml-auto flex items-center gap-2">
<Button
- variant="default"
+ variant="brand"
onClick={() => setIsSaveProfileDialogOpen(true)}
>
<BrowserIcon className="mr-2 h-4 w-4" />
diff --git a/skyvern-frontend/src/routes/browserSessions/BrowserSessionDownloads.tsx b/skyvern-frontend/src/routes/browserSessions/BrowserSessionDownloads.tsx
index 82e1bee9d..e4213f23b 100644
--- a/skyvern-frontend/src/routes/browserSessions/BrowserSessionDownloads.tsx
+++ b/skyvern-frontend/src/routes/browserSessions/BrowserSessionDownloads.tsx
@@ -94,8 +94,10 @@ function BrowserSessionDownloads() {
return (
<div className="flex h-full w-full items-center justify-center">
<div className="text-center">
- <div className="mb-2 text-lg text-gray-500">No downloaded files</div>
- <div className="text-sm text-gray-400">
+ <div className="mb-2 text-lg text-muted-foreground">
+ No downloaded files
+ </div>
+ <div className="text-sm text-muted-foreground">
Files downloaded during this browser session will appear here
</div>
</div>
@@ -107,7 +109,7 @@ function BrowserSessionDownloads() {
<div className="h-full w-full overflow-auto p-4">
<div className="mb-4">
<h2 className="text-xl font-semibold">Downloaded Files</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-muted-foreground">
Files downloaded during this browser session
</p>
</div>
@@ -130,7 +132,7 @@ function BrowserSessionDownloads() {
{filename}
</span>
{file.modified_at && (
- <div className="mt-0.5 text-xs text-gray-500">
+ <div className="mt-0.5 text-xs text-muted-foreground">
{new Date(file.modified_at).toLocaleString()}
</div>
)}
diff --git a/skyvern-frontend/src/routes/browserSessions/BrowserSessionVideo.tsx b/skyvern-frontend/src/routes/browserSessions/BrowserSessionVideo.tsx
index 8b88e2f1d..a325fc128 100644
--- a/skyvern-frontend/src/routes/browserSessions/BrowserSessionVideo.tsx
+++ b/skyvern-frontend/src/routes/browserSessions/BrowserSessionVideo.tsx
@@ -62,10 +62,10 @@ function BrowserSessionVideo() {
return (
<div className="flex h-full w-full items-center justify-center">
<div className="text-center">
- <div className="mb-2 text-lg text-gray-500">
+ <div className="mb-2 text-lg text-muted-foreground">
No recordings available
</div>
- <div className="text-sm text-gray-400">
+ <div className="text-sm text-muted-foreground">
{isSessionRunning
? "Recordings will be available after the session completes"
: "No recordings were created for this session"}
@@ -79,7 +79,7 @@ function BrowserSessionVideo() {
<div className="h-full w-full p-4">
<div className="mb-4">
<h2 className="text-xl font-semibold">Browser Session Videos</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-muted-foreground">
Recorded videos from this browser session
</p>
</div>
@@ -94,7 +94,7 @@ function BrowserSessionVideo() {
<h3 className="font-medium">
{recording.filename || `Recording ${index + 1}`}
{recording.modified_at && (
- <span className="ml-2 text-sm text-gray-500">
+ <span className="ml-2 text-sm text-muted-foreground">
({new Date(recording.modified_at).toLocaleString()})
</span>
)}
@@ -111,7 +111,7 @@ function BrowserSessionVideo() {
>
Your browser does not support the video tag.
</video>
- <div className="mt-2 text-xs text-gray-500">
+ <div className="mt-2 text-xs text-muted-foreground">
<a
href={getRecordingUrl(recording.url)!}
target="_blank"
@@ -123,13 +123,13 @@ function BrowserSessionVideo() {
</div>
</div>
) : (
- <div className="text-gray-500">
+ <div className="text-muted-foreground">
Video URL not available - video may still be processing
</div>
)}
{recording.checksum && (
- <div className="mt-2 text-sm text-gray-600">
+ <div className="mt-2 text-sm text-muted-foreground">
Checksum: {recording.checksum}
</div>
)}
diff --git a/skyvern-frontend/src/routes/browserSessions/BrowserSessionWorkflowRuns.tsx b/skyvern-frontend/src/routes/browserSessions/BrowserSessionWorkflowRuns.tsx
index 4e928ce9c..43489a6c8 100644
--- a/skyvern-frontend/src/routes/browserSessions/BrowserSessionWorkflowRuns.tsx
+++ b/skyvern-frontend/src/routes/browserSessions/BrowserSessionWorkflowRuns.tsx
@@ -76,8 +76,10 @@ function BrowserSessionWorkflowRuns() {
return (
<div className="flex h-full w-full items-center justify-center">
<div className="text-center">
- <div className="mb-2 text-lg text-gray-500">No runs available</div>
- <div className="text-sm text-gray-400">
+ <div className="mb-2 text-lg text-muted-foreground">
+ No runs available
+ </div>
+ <div className="text-sm text-muted-foreground">
No workflow runs on this browser session
</div>
</div>
diff --git a/skyvern-frontend/src/routes/browserSessions/BrowserSessions.tsx b/skyvern-frontend/src/routes/browserSessions/BrowserSessions.tsx
index f308d6a98..126c9b2bf 100644
--- a/skyvern-frontend/src/routes/browserSessions/BrowserSessions.tsx
+++ b/skyvern-frontend/src/routes/browserSessions/BrowserSessions.tsx
@@ -59,7 +59,7 @@ function sessionIsOpen(browserSession: BrowserSession): boolean {
}
const No = () => (
- <Badge className="flex h-7 w-12 justify-center bg-gray-800 text-orange-50 hover:bg-gray-900">
+ <Badge className="flex h-7 w-12 justify-center bg-red-900 text-red-50 hover:bg-red-900/80">
No
</Badge>
);
@@ -185,7 +185,7 @@ function BrowserSessions() {
<GlobeIcon className="size-6" />
<h1 className="text-2xl">Browsers</h1>
</div>
- <p className="text-slate-300">
+ <p className="text-muted-foreground">
Create your own live browsers to interact with websites, or run
workflows in.
</p>
@@ -196,6 +196,7 @@ function BrowserSessions() {
<div className="flex justify-end">
<div className="flex gap-4">
<Button
+ variant="brand"
disabled={createBrowserSessionMutation.isPending}
onClick={() => {
setIsDrawerOpen(true);
@@ -214,26 +215,26 @@ function BrowserSessions() {
<Table className="w-full table-fixed">
<TableHeader className="rounded-t-lg bg-slate-elevation2">
<TableRow>
- <TableHead className="w-1/4 truncate rounded-tl-lg text-slate-400">
+ <TableHead className="w-1/4 truncate rounded-tl-lg text-muted-foreground">
ID
</TableHead>
- <TableHead className="w-1/12 truncate text-slate-400">
+ <TableHead className="w-1/12 truncate text-muted-foreground">
Open
</TableHead>
- <TableHead className="w-1/6 truncate text-slate-400">
+ <TableHead className="w-1/6 truncate text-muted-foreground">
<span className="mr-2">Occupied</span>
<HelpTooltip
className="inline"
content="Browser is busy running a task or workflow"
/>
</TableHead>
- <TableHead className="w-1/6 truncate text-slate-400">
+ <TableHead className="w-1/6 truncate text-muted-foreground">
Started
</TableHead>
- <TableHead className="w-1/6 truncate text-slate-400">
+ <TableHead className="w-1/6 truncate text-muted-foreground">
Timeout
</TableHead>
- <TableHead className="w-1/2 truncate text-slate-400">
+ <TableHead className="w-1/2 truncate text-muted-foreground">
CDP Url
</TableHead>
</TableRow>
@@ -315,11 +316,13 @@ function BrowserSessions() {
)}
</TableBody>
</Table>
- <div className="relative px-3 py-3">
- <div className="absolute left-3 top-1/2 flex -translate-y-1/2 items-center gap-2 text-sm">
- <span className="text-slate-400">Items per page</span>
+ <div className="flex flex-col items-center gap-3 px-3 py-3 sm:flex-row sm:justify-between">
+ <div className="flex items-center gap-2 text-sm">
+ <span className="whitespace-nowrap text-muted-foreground">
+ Items per page
+ </span>
<select
- className="h-9 rounded-md border border-slate-300 bg-background"
+ className="h-9 rounded-md border border-border bg-background"
value={itemsPerPage}
onChange={(e) => {
const next = Number(e.target.value);
diff --git a/skyvern-frontend/src/routes/credentials/CredentialItem.tsx b/skyvern-frontend/src/routes/credentials/CredentialItem.tsx
index eba1972e1..18983c239 100644
--- a/skyvern-frontend/src/routes/credentials/CredentialItem.tsx
+++ b/skyvern-frontend/src/routes/credentials/CredentialItem.tsx
@@ -63,10 +63,10 @@ function CredentialItem({ credential, onStartBackgroundTest }: Props) {
<div className="border-l pl-5">
<div className="flex gap-5">
<div className="shrink-0 space-y-2">
- <p className="text-sm text-slate-400">Username/Email</p>
- <p className="text-sm text-slate-400">Password</p>
+ <p className="text-sm text-muted-foreground">Username/Email</p>
+ <p className="text-sm text-muted-foreground">Password</p>
{credentialData.totp_type !== "none" && (
- <p className="text-sm text-slate-400">2FA Type</p>
+ <p className="text-sm text-muted-foreground">2FA Type</p>
)}
</div>
<div className="space-y-2">
@@ -86,8 +86,8 @@ function CredentialItem({ credential, onStartBackgroundTest }: Props) {
<div className="flex gap-5 border-l pl-5">
<div className="flex gap-5">
<div className="shrink-0 space-y-2">
- <p className="text-sm text-slate-400">Card Number</p>
- <p className="text-sm text-slate-400">Brand</p>
+ <p className="text-sm text-muted-foreground">Card Number</p>
+ <p className="text-sm text-muted-foreground">Brand</p>
</div>
</div>
<div className="flex gap-5">
@@ -104,9 +104,9 @@ function CredentialItem({ credential, onStartBackgroundTest }: Props) {
credentialDetails = (
<div className="flex gap-5 border-l pl-5">
<div className="shrink-0 space-y-2">
- <p className="text-sm text-slate-400">Secret Value</p>
+ <p className="text-sm text-muted-foreground">Secret Value</p>
{credentialData.secret_label ? (
- <p className="text-sm text-slate-400">Type</p>
+ <p className="text-sm text-muted-foreground">Type</p>
) : null}
</div>
<div className="space-y-2">
@@ -125,7 +125,9 @@ function CredentialItem({ credential, onStartBackgroundTest }: Props) {
<p className="w-full truncate" title={credential.name}>
{credential.name}
</p>
- <p className="text-sm text-slate-400">{credential.credential_id}</p>
+ <p className="text-sm text-muted-foreground">
+ {credential.credential_id}
+ </p>
{activeTest && (
<div className="flex items-center gap-1 text-xs">
<ReloadIcon className="size-3 animate-spin text-blue-400" />
diff --git a/skyvern-frontend/src/routes/credentials/CredentialsList.tsx b/skyvern-frontend/src/routes/credentials/CredentialsList.tsx
index 45935bc53..1837ed5df 100644
--- a/skyvern-frontend/src/routes/credentials/CredentialsList.tsx
+++ b/skyvern-frontend/src/routes/credentials/CredentialsList.tsx
@@ -65,7 +65,7 @@ function CredentialsList({ filter, onStartBackgroundTest }: Props = {}) {
if (filteredCredentials.length === 0 && page === 1) {
return (
- <div className="rounded-md border border-slate-700 bg-slate-elevation1 p-6 text-sm text-slate-300">
+ <div className="rounded-md border border-border bg-slate-elevation1 p-6 text-sm text-muted-foreground">
{filter ? EMPTY_MESSAGE[filter] : "No credentials stored yet."}
</div>
);
diff --git a/skyvern-frontend/src/routes/credentials/CredentialsPage.tsx b/skyvern-frontend/src/routes/credentials/CredentialsPage.tsx
index b165422c0..c665a2511 100644
--- a/skyvern-frontend/src/routes/credentials/CredentialsPage.tsx
+++ b/skyvern-frontend/src/routes/credentials/CredentialsPage.tsx
@@ -58,10 +58,12 @@ function CredentialsPage() {
<div className="space-y-5">
<h1 className="text-2xl">Credentials</h1>
<div className="flex items-center justify-between">
- <div className="w-96 text-sm text-slate-300">{subHeaderText}</div>
+ <div className="w-96 text-sm text-muted-foreground">
+ {subHeaderText}
+ </div>
<DropdownMenu modal={false}>
<DropdownMenuTrigger asChild>
- <Button>
+ <Button variant="brand">
<PlusIcon className="mr-2 size-6" /> Add
</Button>
</DropdownMenuTrigger>
@@ -140,8 +142,8 @@ function CredentialsPage() {
{/* Footer note - only for Passwords and Credit Cards tabs */}
{activeTab !== "twoFactor" && (
- <div className="mt-8 border-t border-slate-700 pt-4">
- <div className="text-sm italic text-slate-400">
+ <div className="mt-8 border-t border-border pt-4">
+ <div className="text-sm italic text-muted-foreground">
<strong>Note:</strong> This feature requires a Bitwarden-compatible
server ({" "}
<a
diff --git a/skyvern-frontend/src/routes/credentials/CredentialsTotpTab.tsx b/skyvern-frontend/src/routes/credentials/CredentialsTotpTab.tsx
index 6ba1cd8a2..ea24d58da 100644
--- a/skyvern-frontend/src/routes/credentials/CredentialsTotpTab.tsx
+++ b/skyvern-frontend/src/routes/credentials/CredentialsTotpTab.tsx
@@ -69,9 +69,9 @@ function CredentialsTotpTab() {
return (
<div className="space-y-6">
- <div className="rounded-lg border border-slate-700 bg-slate-elevation1 p-6">
+ <div className="rounded-lg border border-border bg-slate-elevation1 p-6">
<h2 className="text-lg font-semibold">Push a 2FA Code</h2>
- <p className="mt-1 text-sm text-slate-400">
+ <p className="mt-1 text-sm text-muted-foreground">
Paste the verification message you received. Skyvern extracts the code
and attaches it to the relevant run.
</p>
@@ -160,7 +160,7 @@ function CredentialsTotpTab() {
)}
{!isFeatureUnavailable && (
- <div className="rounded-lg border border-slate-700 bg-slate-elevation1">
+ <div className="rounded-lg border border-border bg-slate-elevation1">
<Table>
<TableHeader>
<TableRow>
@@ -189,7 +189,7 @@ function CredentialsTotpTab() {
<TableRow>
<TableCell
colSpan={6}
- className="text-center text-sm text-slate-300"
+ className="text-center text-sm text-muted-foreground"
>
No 2FA codes yet. Paste a verification message above or
configure automatic forwarding.
@@ -212,7 +212,7 @@ function CredentialsTotpTab() {
{code.otp_type ?? "unknown"}
</Badge>
{code.source ? (
- <span className="ml-2 text-xs text-slate-400">
+ <span className="ml-2 text-xs text-muted-foreground">
{code.source}
</span>
) : null}
diff --git a/skyvern-frontend/src/routes/credentials/CreditCardCredentialContent.tsx b/skyvern-frontend/src/routes/credentials/CreditCardCredentialContent.tsx
index 86289c91e..8e1390408 100644
--- a/skyvern-frontend/src/routes/credentials/CreditCardCredentialContent.tsx
+++ b/skyvern-frontend/src/routes/credentials/CreditCardCredentialContent.tsx
@@ -70,7 +70,7 @@ function CreditCardCredentialContent({
<div className="flex">
<div className="w-72 shrink-0 space-y-1">
<div>Name</div>
- <div className="text-sm text-slate-400">
+ <div className="text-sm text-muted-foreground">
The name of the credential
</div>
</div>
diff --git a/skyvern-frontend/src/routes/credentials/DeleteCredentialButton.tsx b/skyvern-frontend/src/routes/credentials/DeleteCredentialButton.tsx
index 1bbc9aa04..ceb030198 100644
--- a/skyvern-frontend/src/routes/credentials/DeleteCredentialButton.tsx
+++ b/skyvern-frontend/src/routes/credentials/DeleteCredentialButton.tsx
@@ -71,7 +71,7 @@ function DeleteCredentialButton({ credential }: Props) {
<DialogHeader>
<DialogTitle>Are you sure?</DialogTitle>
</DialogHeader>
- <div className="text-sm text-slate-400">
+ <div className="text-sm text-muted-foreground">
The credential{" "}
<span className="font-bold text-primary">{credential.name}</span> will
be PERMANENTLY deleted. The Skyvern team has no way to restore a
diff --git a/skyvern-frontend/src/routes/credentials/PasswordCredentialContent.tsx b/skyvern-frontend/src/routes/credentials/PasswordCredentialContent.tsx
index 8a6de2789..889e23a2c 100644
--- a/skyvern-frontend/src/routes/credentials/PasswordCredentialContent.tsx
+++ b/skyvern-frontend/src/routes/credentials/PasswordCredentialContent.tsx
@@ -295,7 +295,7 @@ function PasswordCredentialContent({
</AccordionTrigger>
<AccordionContent>
<div className="space-y-4">
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
Set up Skyvern to automatically retrieve two-factor
authentication codes.
</p>
@@ -365,11 +365,11 @@ function PasswordCredentialContent({
)}
</div>
</div>
- <p className="mt-1 text-sm text-slate-400">
+ <p className="mt-1 text-sm text-muted-foreground">
{totpIdentifierHelper}
</p>
</div>
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
<Link
to="https://www.skyvern.com/contact"
target="_blank"
@@ -425,7 +425,7 @@ function PasswordCredentialContent({
/>
)}
</div>
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
You need to find the authenticator secret from the website
where you are using the credential. Here are some guides
from popular authenticator apps:{" "}
diff --git a/skyvern-frontend/src/routes/credentials/SecretCredentialContent.tsx b/skyvern-frontend/src/routes/credentials/SecretCredentialContent.tsx
index 93e5bca1a..d7dcca776 100644
--- a/skyvern-frontend/src/routes/credentials/SecretCredentialContent.tsx
+++ b/skyvern-frontend/src/routes/credentials/SecretCredentialContent.tsx
@@ -43,7 +43,7 @@ function SecretCredentialContent({
<div className="flex">
<div className="w-72 shrink-0 space-y-1">
<Label>Name</Label>
- <div className="text-sm text-slate-400">
+ <div className="text-sm text-muted-foreground">
The name of the credential
</div>
</div>
@@ -132,7 +132,7 @@ function SecretCredentialContent({
</div>
</div>
)}
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
{
"Use in HTTP Request blocks with: {{ credential_name.secret_value }}"
}
diff --git a/skyvern-frontend/src/routes/discover/WorkflowTemplateCard.tsx b/skyvern-frontend/src/routes/discover/WorkflowTemplateCard.tsx
index f49dda25a..cf6e54f8a 100644
--- a/skyvern-frontend/src/routes/discover/WorkflowTemplateCard.tsx
+++ b/skyvern-frontend/src/routes/discover/WorkflowTemplateCard.tsx
@@ -1,25 +1,34 @@
+import { LightningBoltIcon } from "@radix-ui/react-icons";
+import { cn } from "@/util/utils";
+
type Props = {
title: string;
- image: string;
onClick: () => void;
};
-function WorkflowTemplateCard({ title, image, onClick }: Props) {
+function WorkflowTemplateCard({ title, onClick }: Props) {
return (
- <div className="h-52 w-full cursor-pointer rounded-xl" onClick={onClick}>
- <div className="h-28 rounded-t-xl bg-slate-elevation1 px-6 pt-6">
- <img src={image} alt={title} className="h-full w-full object-contain" />
+ <button
+ onClick={onClick}
+ className={cn(
+ "group flex h-52 w-full cursor-pointer flex-col overflow-hidden rounded-xl border border-border bg-card text-left shadow-card transition-shadow hover:shadow-card-hover",
+ )}
+ >
+ <div className="relative flex h-28 items-center justify-center bg-gradient-to-br from-brand-soft to-slate-elevation2">
+ <div className="flex size-12 items-center justify-center rounded-full bg-brand-cta text-brand-cta-foreground shadow-sm">
+ <LightningBoltIcon className="size-6" />
+ </div>
</div>
- <div className="h-24 space-y-1 rounded-b-xl bg-slate-elevation2 p-3">
+ <div className="flex h-24 flex-col gap-1 p-3">
<h1
- className="line-clamp-2 overflow-hidden text-ellipsis"
+ className="line-clamp-2 overflow-hidden text-ellipsis text-sm font-medium text-foreground"
title={title}
>
{title}
</h1>
- <p className="text-sm text-slate-400">Template</p>
+ <p className="text-xs text-muted-foreground">Template</p>
</div>
- </div>
+ </button>
);
}
diff --git a/skyvern-frontend/src/routes/discover/WorkflowTemplates.tsx b/skyvern-frontend/src/routes/discover/WorkflowTemplates.tsx
index 2b690024c..18da36331 100644
--- a/skyvern-frontend/src/routes/discover/WorkflowTemplates.tsx
+++ b/skyvern-frontend/src/routes/discover/WorkflowTemplates.tsx
@@ -1,9 +1,9 @@
+import { LightningBoltIcon } from "@radix-ui/react-icons";
+
import { Skeleton } from "@/components/ui/skeleton";
import { useGlobalWorkflowsQuery } from "../workflows/hooks/useGlobalWorkflowsQuery";
import { useNavigate } from "react-router-dom";
import { WorkflowTemplateCard } from "./WorkflowTemplateCard";
-import testImg from "@/assets/promptBoxBg.png";
-import { TEMPORARY_TEMPLATE_IMAGES } from "./TemporaryTemplateImages";
import {
Carousel,
CarouselContent,
@@ -12,27 +12,55 @@ import {
CarouselPrevious,
} from "@/components/ui/carousel";
+const VISIBLE_SLOTS = 5;
+
function WorkflowTemplates() {
const { data: workflowTemplates, isLoading } = useGlobalWorkflowsQuery();
const navigate = useNavigate();
if (isLoading) {
return (
- <div className="flex gap-6">
- <Skeleton className="h-48 w-56 rounded-xl" />
- <Skeleton className="h-48 w-56 rounded-xl" />
- <Skeleton className="h-48 w-56 rounded-xl" />
+ <div className="space-y-5">
+ <h1 className="flex items-center gap-2 text-2xl">
+ <LightningBoltIcon className="size-6" />
+ Explore Workflows
+ </h1>
+ <div className="flex gap-6">
+ <Skeleton className="h-52 w-56 rounded-xl" />
+ <Skeleton className="h-52 w-56 rounded-xl" />
+ <Skeleton className="h-52 w-56 rounded-xl" />
+ </div>
</div>
);
}
- if (!workflowTemplates) {
- return null;
+ if (!workflowTemplates || workflowTemplates.length === 0) {
+ return (
+ <div className="space-y-5">
+ <h1 className="flex items-center gap-2 text-2xl">
+ <LightningBoltIcon className="size-6" />
+ Explore Workflows
+ </h1>
+ <div className="flex flex-col items-center gap-3 rounded-xl border border-dashed border-border bg-muted/40 py-12">
+ <LightningBoltIcon className="size-8 text-muted-foreground" />
+ <div className="text-base font-medium">No templates yet</div>
+ <p className="max-w-sm text-center text-sm text-muted-foreground">
+ Workflow templates will appear here once published. In the meantime,
+ describe a task above to generate a workflow from scratch.
+ </p>
+ </div>
+ </div>
+ );
}
+ const showArrows = workflowTemplates.length > VISIBLE_SLOTS;
+
return (
<div className="space-y-5">
- <h1 className="text-xl">Explore Workflows</h1>
+ <h1 className="flex items-center gap-2 text-2xl">
+ <LightningBoltIcon className="size-6" />
+ Explore Workflows
+ </h1>
<Carousel
opts={{
align: "start",
@@ -48,10 +76,6 @@ function WorkflowTemplates() {
>
<WorkflowTemplateCard
title={workflow.title}
- image={
- TEMPORARY_TEMPLATE_IMAGES[workflow.workflow_permanent_id] ??
- testImg
- }
onClick={() => {
navigate(
`/workflows/${workflow.workflow_permanent_id}/build`,
@@ -61,8 +85,12 @@ function WorkflowTemplates() {
</CarouselItem>
))}
</CarouselContent>
- <CarouselPrevious className="-left-4" />
- <CarouselNext className="-right-4" />
+ {showArrows && (
+ <>
+ <CarouselPrevious className="-left-4" />
+ <CarouselNext className="-right-4" />
+ </>
+ )}
</Carousel>
</div>
);
diff --git a/skyvern-frontend/src/routes/history/RunHistory.tsx b/skyvern-frontend/src/routes/history/RunHistory.tsx
index f582e6514..17865dc1c 100644
--- a/skyvern-frontend/src/routes/history/RunHistory.tsx
+++ b/skyvern-frontend/src/routes/history/RunHistory.tsx
@@ -1,4 +1,5 @@
import {
+ CounterClockwiseClockIcon,
ExclamationTriangleIcon,
LightningBoltIcon,
MixerHorizontalIcon,
@@ -236,12 +237,17 @@ function RunHistory() {
));
}
- // No runs found
if (runs?.length === 0) {
return (
<TableRow>
<TableCell colSpan={6}>
- <div className="text-center">No runs found</div>
+ <div className="flex flex-col items-center gap-3 py-12">
+ <CounterClockwiseClockIcon className="size-8 text-muted-foreground" />
+ <div className="text-base font-medium">No runs yet</div>
+ <p className="text-sm text-muted-foreground">
+ Workflow and task runs will appear here once they execute.
+ </p>
+ </div>
</TableCell>
</TableRow>
);
@@ -263,17 +269,17 @@ function RunHistory() {
{triggerType && <TriggerTypeBadge triggerType={triggerType} />}
{run.script_run && (
<Tip content="Ran with code">
- <LightningBoltIcon className="text-[gold]" />
+ <LightningBoltIcon className="text-warning" />
</Tip>
)}
{run.workflow_deleted && (
<Tip content="Source workflow deleted">
- <ExclamationTriangleIcon className="text-amber-400" />
+ <ExclamationTriangleIcon className="text-warning" />
</Tip>
)}
<span
className={cn(
- run.workflow_deleted && "text-slate-400",
+ run.workflow_deleted && "text-muted-foreground",
"truncate",
)}
>
@@ -287,7 +293,7 @@ function RunHistory() {
return (
<React.Fragment key={run.task_run_id}>
<TableRow
- className="cursor-pointer"
+ className="cursor-pointer transition-colors hover:bg-muted/40"
onClick={(event) => {
handleNavigate(event, navPath);
}}
@@ -305,7 +311,9 @@ function RunHistory() {
{isKnownStatus(run.status) ? (
<StatusBadge status={run.status} />
) : (
- <span className="text-sm text-slate-400">{run.status}</span>
+ <span className="text-sm text-muted-foreground">
+ {run.status}
+ </span>
)}
</TableCell>
<TableCell
@@ -314,7 +322,7 @@ function RunHistory() {
>
{basicLocalTimeFormat(run.created_at)}
</TableCell>
- <TableCell className="text-slate-400">
+ <TableCell className="text-muted-foreground">
{executionTime ?? "-"}
</TableCell>
<TableCell>
@@ -330,7 +338,7 @@ function RunHistory() {
event.stopPropagation();
toggleParametersExpanded(run.run_id);
}}
- className={cn(isExpanded && "text-blue-400")}
+ className={cn(isExpanded && "text-brand")}
>
<MixerHorizontalIcon className="h-4 w-4" />
</Button>
@@ -347,10 +355,7 @@ function RunHistory() {
{isExpanded && run.workflow_permanent_id && (
<TableRow key={`${run.run_id}-params`}>
- <TableCell
- colSpan={6}
- className="bg-slate-50 dark:bg-slate-900/50"
- >
+ <TableCell colSpan={6} className="bg-muted/50">
<WorkflowRunParametersInline
workflowPermanentId={run.workflow_permanent_id}
workflowRunId={run.run_id}
@@ -374,8 +379,15 @@ function RunHistory() {
return (
<div className="space-y-4">
- <header>
- <h1 className="text-2xl">Run History</h1>
+ <header className="space-y-3">
+ <div className="flex items-center gap-2">
+ <CounterClockwiseClockIcon className="size-6" />
+ <h1 className="text-2xl">Run History</h1>
+ </div>
+ <p className="text-muted-foreground">
+ Browse every workflow run, task run, and Skyvern 2.0 session in your
+ organization.
+ </p>
</header>
{workflowPermanentIdFilter ? (
<div
@@ -431,23 +443,31 @@ function RunHistory() {
<Table className="sm:table-fixed">
<TableHeader className="rounded-t-lg bg-slate-elevation2">
<TableRow>
- <TableHead className="w-[20%] rounded-tl-lg text-slate-400">
+ <TableHead className="w-[20%] rounded-tl-lg text-muted-foreground">
Run ID
</TableHead>
- <TableHead className="w-[20%] text-slate-400">Detail</TableHead>
- <TableHead className="w-[16%] text-slate-400">Status</TableHead>
- <TableHead className="w-[27%] text-slate-400">
+ <TableHead className="w-[20%] text-muted-foreground">
+ Detail
+ </TableHead>
+ <TableHead className="w-[16%] text-muted-foreground">
+ Status
+ </TableHead>
+ <TableHead className="w-[27%] text-muted-foreground">
Created At
</TableHead>
- <TableHead className="w-[8%] text-slate-400">Duration</TableHead>
- <TableHead className="w-[8%] rounded-tr-lg text-slate-400"></TableHead>
+ <TableHead className="w-[8%] text-muted-foreground">
+ Duration
+ </TableHead>
+ <TableHead className="w-[8%] rounded-tr-lg text-muted-foreground"></TableHead>
</TableRow>
</TableHeader>
<TableBody>{displayTableBody()}</TableBody>
</Table>
- <div className="relative px-3 py-3">
- <div className="absolute left-3 top-1/2 flex -translate-y-1/2 items-center gap-2 text-sm">
- <span className="text-slate-400">Items per page</span>
+ <div className="flex flex-col items-center gap-3 px-3 py-3 sm:flex-row sm:justify-between">
+ <div className="flex items-center gap-2 text-sm">
+ <span className="whitespace-nowrap text-muted-foreground">
+ Items per page
+ </span>
<Select
value={String(itemsPerPage)}
onValueChange={(size) => {
@@ -557,7 +577,7 @@ function WorkflowRunParametersInline({
if (!hasParameters && !hasExtraHeaders) {
return (
- <div className="ml-8 py-4 text-sm text-slate-400">
+ <div className="ml-8 py-4 text-sm text-muted-foreground">
No parameters for this run
</div>
);
diff --git a/skyvern-frontend/src/routes/integrations/IntegrationsUnavailable.tsx b/skyvern-frontend/src/routes/integrations/IntegrationsUnavailable.tsx
index 91576f50e..b4778148c 100644
--- a/skyvern-frontend/src/routes/integrations/IntegrationsUnavailable.tsx
+++ b/skyvern-frontend/src/routes/integrations/IntegrationsUnavailable.tsx
@@ -16,14 +16,14 @@ function IntegrationsUnavailable() {
Third-party integrations are available in Skyvern Cloud.
</CardDescription>
</CardHeader>
- <CardContent className="text-sm text-slate-400">
+ <CardContent className="text-sm text-muted-foreground">
<p>
Connect your Google account and other providers by signing up at{" "}
<a
href="https://app.skyvern.com"
target="_blank"
rel="noopener noreferrer"
- className="text-slate-200 underline hover:text-slate-100"
+ className="text-foreground underline hover:text-foreground"
>
app.skyvern.com
</a>
diff --git a/skyvern-frontend/src/routes/schedules/CreateOrgScheduleDialog.tsx b/skyvern-frontend/src/routes/schedules/CreateOrgScheduleDialog.tsx
index 5cd2ef1f4..cc8ac38d7 100644
--- a/skyvern-frontend/src/routes/schedules/CreateOrgScheduleDialog.tsx
+++ b/skyvern-frontend/src/routes/schedules/CreateOrgScheduleDialog.tsx
@@ -201,7 +201,7 @@ function CreateOrgScheduleDialog({ open, onOpenChange }: Readonly<Props>) {
<div className="space-y-2">
<Label>Workflow</Label>
{selectedWorkflow ? (
- <div className="flex items-center justify-between rounded-md border border-slate-700 bg-slate-elevation3 px-3 py-2">
+ <div className="flex items-center justify-between rounded-md border border-border bg-slate-elevation3 px-3 py-2">
<span className="text-sm">{selectedWorkflow.title}</span>
<Button
variant="ghost"
@@ -221,12 +221,12 @@ function CreateOrgScheduleDialog({ open, onOpenChange }: Readonly<Props>) {
placeholder="Search workflows..."
/>
{workflowPickerOpen && (
- <div className="max-h-40 overflow-y-auto rounded-md border border-slate-700 bg-slate-elevation3">
+ <div className="max-h-40 overflow-y-auto rounded-md border border-border bg-slate-elevation3">
{workflows.map((wf) => (
<button
key={wf.workflow_permanent_id}
type="button"
- className="w-full px-3 py-2 text-left text-sm hover:bg-slate-700"
+ className="w-full px-3 py-2 text-left text-sm hover:bg-slate-elevation4"
onClick={() => {
setSelectedWorkflow(wf);
setWorkflowSearch("");
@@ -236,7 +236,7 @@ function CreateOrgScheduleDialog({ open, onOpenChange }: Readonly<Props>) {
</button>
))}
{workflows.length === 0 && (
- <div className="px-3 py-2 text-sm text-slate-500">
+ <div className="px-3 py-2 text-sm text-muted-foreground">
No workflows found
</div>
)}
@@ -303,7 +303,7 @@ function CreateOrgScheduleDialog({ open, onOpenChange }: Readonly<Props>) {
className={cn(!valid && cronExpression && "border-destructive")}
/>
{humanReadable && (
- <p className="text-sm text-slate-400">{humanReadable}</p>
+ <p className="text-sm text-muted-foreground">{humanReadable}</p>
)}
{!valid && cronExpression && (
<p className="text-sm text-destructive">
@@ -331,14 +331,14 @@ function CreateOrgScheduleDialog({ open, onOpenChange }: Readonly<Props>) {
placeholder="Search timezones..."
/>
{timezoneFilter !== null && (
- <div className="max-h-40 overflow-y-auto rounded-md border border-slate-700 bg-slate-elevation3">
+ <div className="max-h-40 overflow-y-auto rounded-md border border-border bg-slate-elevation3">
{filteredTimezones.slice(0, 20).map((tz) => (
<button
key={tz}
type="button"
className={cn(
- "w-full px-3 py-1.5 text-left text-sm hover:bg-slate-700",
- tz === timezone && "bg-slate-700 text-slate-50",
+ "w-full px-3 py-1.5 text-left text-sm hover:bg-slate-elevation4",
+ tz === timezone && "bg-slate-elevation4 text-foreground",
)}
onMouseDown={(e) => {
e.preventDefault();
@@ -350,24 +350,24 @@ function CreateOrgScheduleDialog({ open, onOpenChange }: Readonly<Props>) {
</button>
))}
{filteredTimezones.length === 0 && (
- <div className="px-3 py-2 text-sm text-slate-500">
+ <div className="px-3 py-2 text-sm text-muted-foreground">
No timezones found
</div>
)}
</div>
)}
- <p className="text-xs text-slate-500">Current: {timezone}</p>
+ <p className="text-xs text-muted-foreground">Current: {timezone}</p>
</div>
{/* Next Runs Preview */}
{nextRuns.length > 0 && (
<div className="space-y-2">
<Label>Next Scheduled Runs</Label>
- <div className="space-y-1 rounded-md border border-slate-700 bg-slate-elevation3 p-3">
+ <div className="space-y-1 rounded-md border border-border bg-slate-elevation3 p-3">
{nextRuns.map((run) => (
<div
key={run.toISOString()}
- className="text-xs text-slate-400"
+ className="text-xs text-muted-foreground"
>
{formatNextRun(run, timezone)}
</div>
diff --git a/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx b/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx
index 9037e5682..b1b7a2c7a 100644
--- a/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx
+++ b/skyvern-frontend/src/routes/schedules/ScheduleDetailPage.tsx
@@ -112,7 +112,7 @@ function ScheduleDetailPage() {
if (isLoading) {
return (
<div className="flex items-center justify-center py-20">
- <ReloadIcon className="size-6 animate-spin text-slate-400" />
+ <ReloadIcon className="size-6 animate-spin text-muted-foreground" />
</div>
);
}
@@ -234,18 +234,20 @@ function ScheduleDetailPage() {
<ArrowLeftIcon className="size-4" />
</Button>
<div className="flex-1">
- <h1 className="text-2xl font-normal text-slate-50">
+ <h1 className="text-2xl font-normal text-foreground">
{schedule.name ?? workflowTitle}
</h1>
{schedule.description && (
- <p className="text-sm text-slate-400">{schedule.description}</p>
+ <p className="text-sm text-muted-foreground">
+ {schedule.description}
+ </p>
)}
- <p className="text-xs text-slate-500">
+ <p className="text-xs text-muted-foreground">
{humanReadable} · {schedule.timezone}
</p>
<Link
to={`/workflows/${schedule.workflow_permanent_id}/runs`}
- className="mt-1 inline-block text-xs text-slate-400 hover:text-slate-200 hover:underline"
+ className="mt-1 inline-block text-xs text-muted-foreground hover:text-foreground hover:underline"
onClick={(e) => e.stopPropagation()}
>
{workflowTitle} runs →
@@ -265,9 +267,11 @@ function ScheduleDetailPage() {
{/* Content grid */}
<div className="grid grid-cols-2 gap-6">
{/* Schedule Configuration */}
- <div className="rounded-lg border border-slate-700 p-4">
+ <div className="rounded-lg border border-border p-4">
<div className="mb-4 flex items-center justify-between">
- <h3 className="text-sm text-slate-400">Schedule Configuration</h3>
+ <h3 className="text-sm text-muted-foreground">
+ Schedule Configuration
+ </h3>
{!editing && (
<Button
variant="ghost"
@@ -350,7 +354,9 @@ function ScheduleDetailPage() {
)}
/>
{editHumanReadable && (
- <p className="text-xs text-slate-400">{editHumanReadable}</p>
+ <p className="text-xs text-muted-foreground">
+ {editHumanReadable}
+ </p>
)}
{!editValid && editCron && (
<p className="text-xs text-destructive">
@@ -379,14 +385,15 @@ function ScheduleDetailPage() {
className="h-8 text-sm"
/>
{timezoneFilter !== null && (
- <div className="max-h-32 overflow-y-auto rounded-md border border-slate-700 bg-slate-elevation3">
+ <div className="max-h-32 overflow-y-auto rounded-md border border-border bg-slate-elevation3">
{filteredTimezones.slice(0, 15).map((tz) => (
<button
key={tz}
type="button"
className={cn(
- "w-full px-3 py-1 text-left text-xs hover:bg-slate-700",
- tz === editTimezone && "bg-slate-700 text-slate-50",
+ "w-full px-3 py-1 text-left text-xs hover:bg-slate-elevation4",
+ tz === editTimezone &&
+ "bg-slate-elevation4 text-foreground",
)}
onMouseDown={(e) => {
e.preventDefault();
@@ -398,13 +405,13 @@ function ScheduleDetailPage() {
</button>
))}
{filteredTimezones.length === 0 && (
- <div className="px-3 py-1.5 text-xs text-slate-500">
+ <div className="px-3 py-1.5 text-xs text-muted-foreground">
No timezones found
</div>
)}
</div>
)}
- <p className="text-xs text-slate-500">
+ <p className="text-xs text-muted-foreground">
Current: {editTimezone}
</p>
</div>
@@ -417,7 +424,7 @@ function ScheduleDetailPage() {
{editNextRuns.map((run) => (
<p
key={run.toISOString()}
- className="text-xs text-slate-500"
+ className="text-xs text-muted-foreground"
>
{formatNextRun(run, editTimezone)}
</p>
@@ -449,18 +456,18 @@ function ScheduleDetailPage() {
) : (
<div className="space-y-3">
<div className="flex items-start justify-between">
- <span className="text-sm text-slate-400">Frequency</span>
- <span className="text-sm text-slate-50">{humanReadable}</span>
+ <span className="text-sm text-muted-foreground">Frequency</span>
+ <span className="text-sm text-foreground">{humanReadable}</span>
</div>
<div className="flex items-start justify-between">
- <span className="text-sm text-slate-400">Timezone</span>
- <span className="text-sm text-slate-50">
+ <span className="text-sm text-muted-foreground">Timezone</span>
+ <span className="text-sm text-foreground">
{schedule.timezone}
</span>
</div>
<div className="flex items-start justify-between">
- <span className="text-sm text-slate-400">Cron</span>
- <code className="font-mono text-xs text-slate-50">
+ <span className="text-sm text-muted-foreground">Cron</span>
+ <code className="font-mono text-xs text-foreground">
{schedule.cron_expression}
</code>
</div>
@@ -470,22 +477,24 @@ function ScheduleDetailPage() {
{/* Details + Upcoming Runs */}
<div className="space-y-6">
- <div className="rounded-lg border border-slate-700 p-4">
- <h3 className="mb-4 text-sm text-slate-400">Details</h3>
+ <div className="rounded-lg border border-border p-4">
+ <h3 className="mb-4 text-sm text-muted-foreground">Details</h3>
<div className="space-y-2">
<div className="flex items-start justify-between">
- <span className="text-sm text-slate-400">Created</span>
+ <span className="text-sm text-muted-foreground">Created</span>
<span
- className="text-sm text-slate-50"
+ className="text-sm text-foreground"
title={basicTimeFormat(schedule.created_at)}
>
{basicLocalTimeFormat(schedule.created_at)}
</span>
</div>
<div className="flex items-start justify-between">
- <span className="text-sm text-slate-400">Last Modified</span>
+ <span className="text-sm text-muted-foreground">
+ Last Modified
+ </span>
<span
- className="text-sm text-slate-50"
+ className="text-sm text-foreground"
title={basicTimeFormat(schedule.modified_at)}
>
{basicLocalTimeFormat(schedule.modified_at)}
@@ -495,8 +504,8 @@ function ScheduleDetailPage() {
</div>
{hasUserFacingParameters(workflowParameters) && (
- <div className="rounded-lg border border-slate-700 p-4">
- <h3 className="mb-4 text-sm text-slate-400">
+ <div className="rounded-lg border border-border p-4">
+ <h3 className="mb-4 text-sm text-muted-foreground">
Workflow Parameters
</h3>
<div className="space-y-2">
@@ -511,22 +520,22 @@ function ScheduleDetailPage() {
key={parameter.key}
className="flex items-start justify-between gap-4"
>
- <span className="font-mono text-xs text-slate-400">
+ <span className="font-mono text-xs text-muted-foreground">
{parameter.key}
</span>
- <span className="max-w-[60%] truncate text-right text-xs text-slate-50">
+ <span className="max-w-[60%] truncate text-right text-xs text-foreground">
{hasValue ? (
formatScheduleParameterValue(storedValue)
) : parameter.default_value !== null &&
parameter.default_value !== undefined ? (
- <span className="italic text-slate-500">
+ <span className="italic text-muted-foreground">
default:{" "}
{formatScheduleParameterValue(
parameter.default_value,
)}
</span>
) : (
- <span className="italic text-slate-500">
+ <span className="italic text-muted-foreground">
(not set)
</span>
)}
@@ -538,14 +547,16 @@ function ScheduleDetailPage() {
</div>
)}
- <div className="rounded-lg border border-slate-700 p-4">
- <h3 className="mb-4 text-sm text-slate-400">Upcoming Runs</h3>
- <p className="mb-2 text-xs text-slate-400">
+ <div className="rounded-lg border border-border p-4">
+ <h3 className="mb-4 text-sm text-muted-foreground">
+ Upcoming Runs
+ </h3>
+ <p className="mb-2 text-xs text-muted-foreground">
Next {next_runs.length} runs
</p>
<div className="space-y-0.5">
{next_runs.map((run) => (
- <p key={run} className="text-xs text-slate-500">
+ <p key={run} className="text-xs text-muted-foreground">
{formatNextRun(new Date(run), schedule.timezone)}
</p>
))}
diff --git a/skyvern-frontend/src/routes/schedules/SchedulesPage.tsx b/skyvern-frontend/src/routes/schedules/SchedulesPage.tsx
index ca92c87b6..a69e19929 100644
--- a/skyvern-frontend/src/routes/schedules/SchedulesPage.tsx
+++ b/skyvern-frontend/src/routes/schedules/SchedulesPage.tsx
@@ -113,7 +113,7 @@ function StatusDisplay({ enabled }: Readonly<{ enabled: boolean }>) {
<circle cx="8" cy="8" r="4" fill="currentColor" />
</svg>
</span>
- <span className="text-sm capitalize text-slate-300">active</span>
+ <span className="text-sm capitalize text-muted-foreground">active</span>
</div>
);
}
@@ -124,7 +124,7 @@ function StatusDisplay({ enabled }: Readonly<{ enabled: boolean }>) {
<circle cx="8" cy="8" r="4" fill="currentColor" />
</svg>
</span>
- <span className="text-sm capitalize text-slate-300">paused</span>
+ <span className="text-sm capitalize text-muted-foreground">paused</span>
</div>
);
}
@@ -408,7 +408,7 @@ function SchedulesPage() {
{statusFilters.length > 0 && (
<button
type="button"
- className="w-full cursor-pointer p-2 text-left text-sm text-slate-400 hover:text-slate-200"
+ className="w-full cursor-pointer p-2 text-left text-sm text-muted-foreground hover:text-foreground"
onClick={() => {
setStatusFilters([]);
setPage(1);
@@ -420,7 +420,7 @@ function SchedulesPage() {
</DropdownMenuContent>
</DropdownMenu>
</div>
- <Button onClick={() => setCreateDialogOpen(true)}>
+ <Button variant="brand" onClick={() => setCreateDialogOpen(true)}>
<PlusIcon className="mr-1.5 size-4" />
Create Schedule
</Button>
@@ -428,9 +428,9 @@ function SchedulesPage() {
{/* Table */}
<div className="space-y-4">
- <div className="overflow-hidden rounded-lg border border-slate-700">
+ <div className="overflow-hidden rounded-lg border border-border">
<Table className="table-fixed">
- <TableHeader className="bg-slate-elevation2 text-slate-400 [&_tr]:border-b-0">
+ <TableHeader className="bg-slate-elevation2 text-muted-foreground [&_tr]:border-b-0">
<TableRow>
{showCheckbox && (
<TableHead className="w-[3%]">
@@ -454,7 +454,7 @@ function SchedulesPage() {
{isLoading && (
<TableRow>
<TableCell colSpan={columnCount} className="py-8 text-center">
- <ReloadIcon className="mx-auto size-5 animate-spin text-slate-400" />
+ <ReloadIcon className="mx-auto size-5 animate-spin text-muted-foreground" />
</TableCell>
</TableRow>
)}
@@ -466,7 +466,7 @@ function SchedulesPage() {
>
Failed to load schedules.
{error?.message && (
- <span className="block text-xs text-slate-500">
+ <span className="block text-xs text-muted-foreground">
{error.message}
</span>
)}
@@ -477,7 +477,7 @@ function SchedulesPage() {
<TableRow>
<TableCell
colSpan={columnCount}
- className="py-8 text-center text-sm text-slate-500"
+ className="py-8 text-center text-sm text-muted-foreground"
>
No schedules found.
</TableCell>
@@ -522,13 +522,13 @@ function SchedulesPage() {
<TableCell className="truncate font-medium">
{schedule.workflow_title}
</TableCell>
- <TableCell className="truncate text-slate-400">
+ <TableCell className="truncate text-muted-foreground">
{schedule.name ?? "\u2014"}
</TableCell>
- <TableCell className="text-slate-400">
+ <TableCell className="text-muted-foreground">
{cronToHumanReadable(schedule.cron_expression)}
</TableCell>
- <TableCell className="text-slate-400">
+ <TableCell className="text-muted-foreground">
{schedule.next_run ? (
<span title={basicTimeFormat(schedule.next_run)}>
{basicLocalTimeFormat(schedule.next_run)}
@@ -592,7 +592,7 @@ function SchedulesPage() {
{/* Pagination with Items per page */}
<div className="grid grid-cols-3 items-center px-4 py-2">
<div className="flex items-center gap-2">
- <span className="whitespace-nowrap text-sm text-slate-400">
+ <span className="whitespace-nowrap text-sm text-muted-foreground">
Items per page
</span>
<Select value={String(pageSize)} onValueChange={setPageSize}>
@@ -655,11 +655,11 @@ function SchedulesPage() {
{/* Multi-select bulk action bar */}
{selected.size > 0 && (
- <div className="fixed inset-x-0 bottom-6 mx-auto flex w-fit items-center gap-3 rounded-lg border border-slate-700 bg-slate-900 px-6 py-3 shadow-xl">
- <span className="text-sm text-slate-300">
+ <div className="fixed inset-x-0 bottom-6 mx-auto flex w-fit items-center gap-3 rounded-lg border border-border bg-slate-elevation1 px-6 py-3 shadow-xl">
+ <span className="text-sm text-muted-foreground">
{isBulkOperating ? "Processing…" : `${selected.size} selected`}
</span>
- <div className="h-6 w-px bg-slate-700" />
+ <div className="h-6 w-px bg-slate-elevation4" />
<Button
size="sm"
className="bg-green-900 text-green-50 hover:bg-green-800"
diff --git a/skyvern-frontend/src/routes/streaming/InteractiveStreamView.tsx b/skyvern-frontend/src/routes/streaming/InteractiveStreamView.tsx
index b99bf31eb..caa1c0f74 100644
--- a/skyvern-frontend/src/routes/streaming/InteractiveStreamView.tsx
+++ b/skyvern-frontend/src/routes/streaming/InteractiveStreamView.tsx
@@ -25,8 +25,8 @@ interface InteractiveStreamViewProps {
function UrlBar({ url }: { url: string }) {
return (
- <div className="flex h-8 w-full items-center gap-2 rounded-t-md bg-slate-800 px-3 text-xs text-slate-300">
- <GlobeIcon className="h-3 w-3 flex-shrink-0 text-slate-400" />
+ <div className="flex h-8 w-full items-center gap-2 rounded-t-md bg-slate-elevation5 px-3 text-xs text-muted-foreground">
+ <GlobeIcon className="h-3 w-3 flex-shrink-0 text-muted-foreground" />
<span className="truncate">{url}</span>
</div>
);
diff --git a/skyvern-frontend/src/routes/streaming/StreamDiagnostics.tsx b/skyvern-frontend/src/routes/streaming/StreamDiagnostics.tsx
index e496be994..7972617a7 100644
--- a/skyvern-frontend/src/routes/streaming/StreamDiagnostics.tsx
+++ b/skyvern-frontend/src/routes/streaming/StreamDiagnostics.tsx
@@ -32,7 +32,7 @@ const STREAM_MODE_COPY: Record<
unavailable: {
label: "Unavailable",
title: "Browser streaming is unavailable for this session",
- className: "border-slate-500/40 bg-slate-500/10 text-slate-300",
+ className: "border-border bg-muted text-muted-foreground",
},
};
@@ -70,20 +70,22 @@ function StreamStatusPanel({
return (
<div
className={cn(
- "flex h-full w-full items-center justify-center rounded-md bg-slate-900 p-6 text-slate-300",
+ "flex h-full w-full items-center justify-center rounded-md border bg-slate-elevation1 p-6 text-muted-foreground",
className,
)}
>
<div className="flex max-w-md flex-col gap-2 text-sm">
- <div className="flex items-center gap-2 font-medium text-slate-100">
- <InfoCircledIcon className="h-4 w-4 flex-shrink-0 text-slate-400" />
+ <div className="flex items-center gap-2 font-medium text-foreground">
+ <InfoCircledIcon className="h-4 w-4 flex-shrink-0 text-muted-foreground" />
<span>{diagnostic.title}</span>
</div>
{diagnostic.detail && (
- <div className="text-slate-400">{diagnostic.detail}</div>
+ <div className="text-muted-foreground">{diagnostic.detail}</div>
)}
{diagnostic.hint && (
- <div className="text-xs text-slate-500">{diagnostic.hint}</div>
+ <div className="text-xs text-muted-foreground/70">
+ {diagnostic.hint}
+ </div>
)}
{children}
</div>
diff --git a/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx b/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx
index f7e045879..ff8d0477f 100644
--- a/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/CreateNewTaskForm.tsx
@@ -242,7 +242,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The starting URL for the task
</h2>
</div>
@@ -266,7 +266,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Navigation Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Where should Skyvern go and what should Skyvern
do?
</h2>
@@ -297,7 +297,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Navigation Payload</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify important parameters, routes, or
states
</h2>
@@ -375,7 +375,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Data Extraction Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
What outputs are you looking to get?
</h2>
</div>
@@ -403,7 +403,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Data Schema</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify the output format in JSON
</h2>
</div>
@@ -454,7 +454,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Include Action History</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Whether to include action history when verifying
the task completion.
</h2>
@@ -484,7 +484,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Max Steps Override</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Want to allow this task to execute more or less
steps than the default?
</h2>
@@ -522,7 +522,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Webhook Callback URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The URL of a webhook endpoint to send the
extracted information
</h2>
@@ -574,7 +574,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<div className="flex items-center gap-2 text-lg">
Proxy Location
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
Route Skyvern through one of our available
proxies.
</h2>
@@ -604,7 +604,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Max Screenshot Scrolls</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
{`The maximum number of scrolls for the post action screenshot. Default is ${MAX_SCREENSHOT_SCROLLS_DEFAULT}. If it's set to 0, it will take the current viewport screenshot.`}
</h2>
</div>
@@ -642,7 +642,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Extra HTTP Headers</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify some self defined HTTP requests headers in
Dict format
</h2>
@@ -671,7 +671,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Error Messages</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify any error outputs you would like to be
notified about
</h2>
@@ -703,7 +703,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">2FA Identifier</h1>
- <h2 className="text-base text-slate-400"></h2>
+ <h2 className="text-base text-muted-foreground"></h2>
</div>
</FormLabel>
<div className="w-full">
@@ -729,7 +729,7 @@ function CreateNewTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Browser Address</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The address of the Browser server to use for the
task run.
</h2>
diff --git a/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx b/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx
index eacad780d..fbcc3d7c1 100644
--- a/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/ExampleCasePill.tsx
@@ -6,13 +6,16 @@ type Props = {
function ExampleCasePill({ icon, label, onClick }: Props) {
return (
- <div
- className="flex cursor-pointer gap-2 whitespace-normal rounded-sm bg-slate-elevation3 px-4 py-3 hover:bg-slate-elevation5 lg:whitespace-nowrap"
+ <button
+ type="button"
onClick={onClick}
+ className="group flex items-center gap-2 whitespace-normal rounded-full border border-border bg-card px-3 py-2 text-sm shadow-sm transition-shadow hover:shadow-card-hover lg:whitespace-nowrap"
>
- <div>{icon}</div>
- <div>{label}</div>
- </div>
+ <span className="flex size-7 items-center justify-center rounded-full bg-brand-soft text-brand transition-colors group-hover:bg-brand-cta group-hover:text-brand-cta-foreground [&>svg]:size-3.5">
+ {icon}
+ </span>
+ <span>{label}</span>
+ </button>
);
}
diff --git a/skyvern-frontend/src/routes/tasks/create/PromptBox.tsx b/skyvern-frontend/src/routes/tasks/create/PromptBox.tsx
index c77288b2f..c84797881 100644
--- a/skyvern-frontend/src/routes/tasks/create/PromptBox.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/PromptBox.tsx
@@ -2,7 +2,6 @@ import { getClient } from "@/api/AxiosClient";
import { Createv2TaskRequest, ProxyLocation } from "@/api/types";
import { stringify as convertToYAML } from "yaml";
import { WorkflowCreateYAMLRequest } from "@/routes/workflows/types/workflowYamlTypes";
-import img from "@/assets/promptBoxBg.png";
import { AutoResizingTextarea } from "@/components/AutoResizingTextarea/AutoResizingTextarea";
import { CartIcon } from "@/components/icons/CartIcon";
import { GraphIcon } from "@/components/icons/GraphIcon";
@@ -306,20 +305,25 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
return (
<div>
- <div
- className="rounded-sm py-[4.25rem]"
- style={{
- background: `url(${img}) 50% / cover no-repeat`,
- }}
- >
- <div className="mx-auto flex min-w-44 flex-col items-center gap-7 px-8">
- <span className="text-2xl">
- What task would you like to accomplish?
- </span>
+ <div className="relative overflow-hidden rounded-2xl border border-border bg-card py-14 shadow-card">
+ <div
+ aria-hidden
+ className="pointer-events-none absolute inset-0 bg-gradient-to-br from-brand-soft via-brand-soft/30 to-card dark:from-brand/15 dark:via-card dark:to-card"
+ />
+ <div className="relative mx-auto flex min-w-44 flex-col items-center gap-6 px-8">
+ <div className="flex flex-col items-center gap-2 text-center">
+ <span className="text-2xl font-semibold">
+ What task would you like to accomplish?
+ </span>
+ <p className="max-w-md text-sm text-muted-foreground">
+ Describe what you want Skyvern to do. We&apos;ll generate a
+ workflow you can run, edit, and re-use.
+ </p>
+ </div>
<div className="flex w-full max-w-xl flex-col">
<div
className={cn(
- "flex w-full items-center gap-2 rounded-xl bg-slate-700 py-2 pr-4",
+ "flex w-full items-center gap-2 rounded-xl bg-slate-elevation4 py-2 pr-4",
{
"pointer-events-none opacity-50": promptImprovalIsPending,
},
@@ -373,12 +377,12 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
</div>
{showAdvancedSettings ? (
<div className="rounded-b-lg px-2">
- <div className="space-y-4 rounded-b-xl bg-slate-900 p-4">
+ <div className="space-y-4 rounded-b-xl bg-slate-elevation1 p-4">
<header>Advanced Settings</header>
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Webhook Callback URL</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
The URL of a webhook endpoint to send the extracted
information
</div>
@@ -411,7 +415,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Proxy Location</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
Route Skyvern through one of our available proxies.
</div>
</div>
@@ -423,7 +427,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Browser Session ID</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
The ID of a persistent browser session
</div>
</div>
@@ -438,7 +442,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Browser Address</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
The address of the Browser server to use for the task
run.
</div>
@@ -454,7 +458,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">2FA Identifier</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
The identifier for a 2FA code for this task.
</div>
</div>
@@ -468,7 +472,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Extra HTTP Headers</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
Specify some self defined HTTP requests headers in Dict
format
</div>
@@ -493,7 +497,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Generate Script</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
Whether to generate scripts for this task run (on
success).
</div>
@@ -508,7 +512,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Publish Workflow</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
Whether to create a workflow alongside this task run.
Will also be created if "Generate Scripts" is true.
</div>
@@ -523,7 +527,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Max Steps Override</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
The maximum number of steps to take for this task.
</div>
</div>
@@ -538,7 +542,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Data Schema</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
Specify the output data schema in JSON format
</div>
</div>
@@ -556,7 +560,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
<div className="flex gap-16">
<div className="w-48 shrink-0">
<div className="text-sm">Max Screenshot Scrolls</div>
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
{`The maximum number of scrolls for the post action screenshot. Default is ${MAX_SCREENSHOT_SCROLLS_DEFAULT}. If it's set to 0, it will take the current viewport screenshot.`}
</div>
</div>
@@ -574,7 +578,7 @@ function PromptBox({ enableCopilotHandoff = false }: PromptBoxProps) {
</div>
</div>
</div>
- <div className="flex flex-wrap justify-center gap-4 rounded-sm bg-slate-elevation1 p-4">
+ <div className="flex flex-wrap justify-center gap-3 px-4 py-6">
{exampleCases.map((example) => {
return (
<ExampleCasePill
diff --git a/skyvern-frontend/src/routes/tasks/create/SavedTaskCard.tsx b/skyvern-frontend/src/routes/tasks/create/SavedTaskCard.tsx
index a9d828325..29fbcc859 100644
--- a/skyvern-frontend/src/routes/tasks/create/SavedTaskCard.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/SavedTaskCard.tsx
@@ -83,7 +83,7 @@ function SavedTaskCard({ workflowId, title, url, description }: Props) {
>
<CardHeader
className={cn("rounded-t-md bg-slate-elevation1", {
- "bg-slate-900": hovering,
+ "bg-slate-elevation1": hovering,
})}
>
<CardTitle className="flex items-center justify-between font-normal">
@@ -144,15 +144,15 @@ function SavedTaskCard({ workflowId, title, url, description }: Props) {
</DialogContent>
</Dialog>
</CardTitle>
- <CardDescription className="overflow-hidden text-ellipsis whitespace-nowrap text-slate-400">
+ <CardDescription className="overflow-hidden text-ellipsis whitespace-nowrap text-muted-foreground">
{url}
</CardDescription>
</CardHeader>
<CardContent
className={cn(
- "h-36 cursor-pointer overflow-scroll rounded-b-md bg-slate-elevation3 p-4 text-sm text-slate-300",
+ "h-36 cursor-pointer overflow-scroll rounded-b-md bg-slate-elevation3 p-4 text-sm text-muted-foreground",
{
- "bg-slate-800": hovering,
+ "bg-slate-elevation5": hovering,
},
)}
onClick={() => {
diff --git a/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx b/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx
index 6662e0f20..cc48664e5 100644
--- a/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/SavedTaskForm.tsx
@@ -322,7 +322,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Title</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Name of your task
</h2>
</div>
@@ -346,7 +346,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Description</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
What is the purpose of the task?
</h2>
</div>
@@ -374,7 +374,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The starting URL for the task
</h2>
</div>
@@ -398,7 +398,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Navigation Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Where should Skyvern go and what should Skyvern
do?
</h2>
@@ -429,7 +429,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Navigation Payload</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify important parameters, routes, or
states
</h2>
@@ -507,7 +507,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Data Extraction Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
What outputs are you looking to get?
</h2>
</div>
@@ -535,7 +535,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Data Schema</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify the output format in JSON
</h2>
</div>
@@ -591,7 +591,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Max Steps Override</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Want to allow this task to execute more or less
steps than the default?
</h2>
@@ -629,7 +629,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Webhook Callback URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The URL of a webhook endpoint to send the
extracted information
</h2>
@@ -681,7 +681,7 @@ function SavedTaskForm({ initialValues }: Props) {
<div className="flex items-center gap-2 text-lg">
Proxy Location
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
Route Skyvern through one of our available
proxies.
</h2>
@@ -712,7 +712,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">Error Messages</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify any error outputs you would like to be
notified about
</h2>
@@ -744,7 +744,7 @@ function SavedTaskForm({ initialValues }: Props) {
<FormLabel>
<div className="w-72">
<h1 className="text-lg">2FA Identifier</h1>
- <h2 className="text-base text-slate-400"></h2>
+ <h2 className="text-base text-muted-foreground"></h2>
</div>
</FormLabel>
<div className="w-full">
diff --git a/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsx b/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsx
index d4feeb73d..df4330767 100644
--- a/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/SavedTasks.tsx
@@ -118,7 +118,7 @@ function SavedTasks() {
>
<CardHeader
className={cn("rounded-t-md bg-slate-elevation1", {
- "bg-slate-900": hovering,
+ "bg-slate-elevation1": hovering,
})}
>
<CardTitle className="font-normal">New Task</CardTitle>
@@ -126,9 +126,9 @@ function SavedTasks() {
</CardHeader>
<CardContent
className={cn(
- "flex h-36 cursor-pointer items-center justify-center rounded-b-md bg-slate-elevation3 p-4 text-sm text-slate-300",
+ "flex h-36 cursor-pointer items-center justify-center rounded-b-md bg-slate-elevation3 p-4 text-sm text-muted-foreground",
{
- "bg-slate-800": hovering,
+ "bg-slate-elevation5": hovering,
},
)}
onClick={() => {
diff --git a/skyvern-frontend/src/routes/tasks/create/TaskFormSection.tsx b/skyvern-frontend/src/routes/tasks/create/TaskFormSection.tsx
index 07b86fa0a..5cee6e2a6 100644
--- a/skyvern-frontend/src/routes/tasks/create/TaskFormSection.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/TaskFormSection.tsx
@@ -33,14 +33,14 @@ function TaskFormSection({
>
<div
className={cn(
- "flex w-7 items-center justify-center rounded-full border border-slate-400",
+ "flex w-7 items-center justify-center rounded-full border border-border",
{
"border-destructive": !active && hasError,
- "bg-slate-400 text-slate-950": active || hovering,
+ "bg-slate-elevation4 text-foreground": active || hovering,
},
)}
>
- <span className={"text-slate-50"}>{String(index)}</span>
+ <span className={"text-foreground"}>{String(index)}</span>
</div>
<span
className={cn("text-lg", {
diff --git a/skyvern-frontend/src/routes/tasks/create/TaskTemplateCard.tsx b/skyvern-frontend/src/routes/tasks/create/TaskTemplateCard.tsx
index 0a735df55..5ed0565ea 100644
--- a/skyvern-frontend/src/routes/tasks/create/TaskTemplateCard.tsx
+++ b/skyvern-frontend/src/routes/tasks/create/TaskTemplateCard.tsx
@@ -28,19 +28,19 @@ function TaskTemplateCard({ title, description, body, onClick }: Props) {
>
<CardHeader
className={cn("rounded-t-md bg-slate-elevation1", {
- "bg-slate-900": hovering,
+ "bg-slate-elevation1": hovering,
})}
>
<CardTitle className="font-normal">{title}</CardTitle>
- <CardDescription className="overflow-hidden text-ellipsis whitespace-nowrap text-slate-400">
+ <CardDescription className="overflow-hidden text-ellipsis whitespace-nowrap text-muted-foreground">
{description}
</CardDescription>
</CardHeader>
<CardContent
className={cn(
- "h-36 cursor-pointer rounded-b-md bg-slate-elevation3 p-4 text-sm text-slate-300",
+ "h-36 cursor-pointer rounded-b-md bg-slate-elevation3 p-4 text-sm text-muted-foreground",
{
- "bg-slate-800": hovering,
+ "bg-slate-elevation5": hovering,
},
)}
onClick={() => {
diff --git a/skyvern-frontend/src/routes/tasks/detail/ActionCardCompact.tsx b/skyvern-frontend/src/routes/tasks/detail/ActionCardCompact.tsx
index 2178b7491..8983868f2 100644
--- a/skyvern-frontend/src/routes/tasks/detail/ActionCardCompact.tsx
+++ b/skyvern-frontend/src/routes/tasks/detail/ActionCardCompact.tsx
@@ -88,8 +88,8 @@ function ActionCardCompact({
className={cn(
"group rounded-md bg-slate-elevation4 ring-1 ring-transparent transition-all duration-200",
{
- "ring-1 ring-white/40 hover:ring-white/40": active,
- "hover:ring-white/25": !active,
+ "ring-1 ring-brand/60 hover:ring-brand/60": active,
+ "hover:ring-border": !active,
},
cardClassName,
)}
@@ -98,7 +98,7 @@ function ActionCardCompact({
<button
type="button"
onClick={onSelect}
- className="flex min-h-[40px] flex-1 cursor-pointer items-center gap-2 rounded-md px-3 py-2 text-left outline-none focus-visible:ring-1 focus-visible:ring-white/40"
+ className="flex min-h-[40px] flex-1 cursor-pointer items-center gap-2 rounded-md px-3 py-2 text-left outline-none focus-visible:ring-1 focus-visible:ring-brand"
>
<span
aria-hidden="true"
@@ -107,18 +107,23 @@ function ActionCardCompact({
"bg-destructive": !success,
})}
/>
- <span className="shrink-0 text-xs tabular-nums text-slate-500">
+ <span className="shrink-0 text-xs tabular-nums text-muted-foreground">
#{index}
</span>
{icon && (
- <span className="shrink-0 text-slate-300" aria-hidden="true">
+ <span
+ className="shrink-0 text-muted-foreground"
+ aria-hidden="true"
+ >
{icon}
</span>
)}
- <span className="shrink-0 text-xs text-slate-300">{label}</span>
+ <span className="shrink-0 text-xs text-muted-foreground">
+ {label}
+ </span>
<span
className={cn(
- "min-w-0 flex-1 truncate text-xs text-slate-200",
+ "min-w-0 flex-1 truncate text-xs text-foreground",
reasoningPreview.length === 0 && "invisible",
)}
>
@@ -130,7 +135,7 @@ function ActionCardCompact({
<Tooltip delayDuration={300}>
<TooltipTrigger asChild>
<span className="shrink-0" aria-label="Code Execution">
- <LightningBoltIcon className="h-4 w-4 text-[gold]" />
+ <LightningBoltIcon className="h-4 w-4 text-warning" />
</span>
</TooltipTrigger>
<TooltipContent className="max-w-[250px]">
@@ -144,7 +149,7 @@ function ActionCardCompact({
aria-label={expanded ? "Collapse details" : "Expand details"}
aria-expanded={expanded}
onClick={onToggleExpanded}
- className="mr-2 shrink-0 rounded p-0.5 text-slate-400 outline-none hover:bg-slate-elevation3 hover:text-slate-200 focus-visible:ring-1 focus-visible:ring-white/40"
+ className="mr-2 shrink-0 rounded p-0.5 text-muted-foreground outline-none hover:bg-slate-elevation3 hover:text-foreground focus-visible:ring-1 focus-visible:ring-brand"
>
{expanded ? (
<ChevronDownIcon className="h-4 w-4" />
@@ -153,33 +158,33 @@ function ActionCardCompact({
)}
</button>
</div>
- <CollapsibleContent className="space-y-2 px-3 pb-3 pt-1 text-xs text-slate-400">
+ <CollapsibleContent className="space-y-2 px-3 pb-3 pt-1 text-xs text-muted-foreground">
{action.reasoning && (
<div className="rounded bg-slate-elevation5 p-2">
- <div className="mb-1 text-[10px] uppercase tracking-wide text-slate-500">
+ <div className="mb-1 text-[10px] uppercase tracking-wide text-muted-foreground">
Reasoning
</div>
- <div className="whitespace-pre-wrap break-words text-slate-300">
+ <div className="whitespace-pre-wrap break-words text-foreground">
{action.reasoning}
</div>
</div>
)}
{inputValue != null && inputValue.length > 0 && (
<div className="rounded bg-slate-elevation5 p-2">
- <div className="mb-1 text-[10px] uppercase tracking-wide text-slate-500">
+ <div className="mb-1 text-[10px] uppercase tracking-wide text-muted-foreground">
Input
</div>
- <div className="whitespace-pre-wrap break-words font-mono text-slate-300">
+ <div className="whitespace-pre-wrap break-words font-mono text-foreground">
{inputValue}
</div>
</div>
)}
{confidencePct != null && (
<div className="flex items-center gap-2">
- <span className="text-[10px] uppercase tracking-wide text-slate-500">
+ <span className="text-[10px] uppercase tracking-wide text-muted-foreground">
Confidence
</span>
- <span className="tabular-nums text-slate-300">
+ <span className="tabular-nums text-foreground">
{confidencePct}%
</span>
</div>
diff --git a/skyvern-frontend/src/routes/tasks/detail/RunViewingModeToggle.tsx b/skyvern-frontend/src/routes/tasks/detail/RunViewingModeToggle.tsx
index 9bf425ffc..9bbaa886f 100644
--- a/skyvern-frontend/src/routes/tasks/detail/RunViewingModeToggle.tsx
+++ b/skyvern-frontend/src/routes/tasks/detail/RunViewingModeToggle.tsx
@@ -25,9 +25,9 @@ function ModeButton({ active, label, onClick, children }: ModeButtonProps) {
aria-pressed={active}
onClick={onClick}
className={cn(
- "flex h-6 w-7 items-center justify-center rounded-sm text-slate-400 outline-none transition-colors hover:text-slate-100 focus-visible:ring-1 focus-visible:ring-white/40",
+ "flex h-6 w-7 items-center justify-center rounded-sm text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-1 focus-visible:ring-brand",
{
- "bg-slate-600 text-slate-50": active,
+ "bg-slate-elevation4 text-foreground": active,
},
)}
>
@@ -49,7 +49,7 @@ function RunViewingModeToggle() {
role="group"
aria-label="Action list view density"
data-slot="run-viewing-mode-toggle"
- className="flex h-7 items-center gap-0.5 rounded-md border border-slate-700 bg-slate-elevation2 p-0.5"
+ className="flex h-7 items-center gap-0.5 rounded-md border bg-slate-elevation2 p-0.5"
>
<ModeButton
active={viewMode === "compact"}
diff --git a/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx b/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx
index 81329600c..99b5b2e64 100644
--- a/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx
+++ b/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx
@@ -133,11 +133,11 @@ function ScrollableActionList({
refs.current[i] = element;
}}
className={cn(
- "flex cursor-pointer rounded-lg border-2 bg-slate-elevation3 hover:border-slate-50",
+ "flex cursor-pointer rounded-lg border-2 bg-slate-elevation3 hover:border-foreground",
{
"border-l-destructive": !action.success,
"border-l-success": action.success,
- "border-slate-50": selected,
+ "border-foreground ring-1 ring-ring": selected,
},
)}
onClick={() => onActiveIndexChange(i)}
@@ -179,11 +179,13 @@ function ScrollableActionList({
)}
</div>
</div>
- <div className="text-xs text-slate-400">{action.reasoning}</div>
+ <div className="text-xs text-muted-foreground">
+ {action.reasoning}
+ </div>
{action.type === ActionTypes.InputText && (
<>
<Separator />
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
Input: {action.input}
</div>
</>
@@ -198,10 +200,10 @@ function ScrollableActionList({
return (
<div className="h-[40rem] w-1/3 rounded border bg-slate-elevation1">
<div className="flex items-center gap-2 p-4">
- <div className="flex h-8 flex-1 items-center justify-center rounded-sm bg-slate-700 px-3 text-xs text-gray-50">
+ <div className="flex h-8 flex-1 items-center justify-center rounded-sm bg-slate-elevation4 px-3 text-xs text-foreground">
Actions: {taskDetails.actions}
</div>
- <div className="flex h-8 flex-1 items-center justify-center rounded-sm bg-slate-700 px-3 text-xs text-gray-50">
+ <div className="flex h-8 flex-1 items-center justify-center rounded-sm bg-slate-elevation4 px-3 text-xs text-foreground">
Steps: {taskDetails.steps}
</div>
{isViewingV2 && <RunViewingModeToggle />}
@@ -218,10 +220,11 @@ function ScrollableActionList({
}}
className={cn(
useCompact
- ? "flex cursor-pointer items-center gap-2 rounded-md border-2 bg-slate-elevation3 px-3 py-2 text-xs hover:border-slate-50"
- : "flex cursor-pointer rounded-lg border-2 bg-slate-elevation3 p-4 hover:border-slate-50",
+ ? "flex cursor-pointer items-center gap-2 rounded-md border-2 bg-slate-elevation3 px-3 py-2 text-xs hover:border-foreground"
+ : "flex cursor-pointer rounded-lg border-2 bg-slate-elevation3 p-4 hover:border-foreground",
{
- "border-slate-50": activeIndex === "stream",
+ "border-foreground ring-1 ring-ring":
+ activeIndex === "stream",
},
)}
onClick={() => onActiveIndexChange("stream")}
@@ -233,7 +236,7 @@ function ScrollableActionList({
useCompact ? "h-3 w-3 animate-pulse" : "h-6 w-6",
)}
/>
- <span className={cn(useCompact && "text-xs text-slate-200")}>
+ <span className={cn(useCompact && "text-xs text-foreground")}>
Live
</span>
</div>
diff --git a/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx b/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx
index 65a9d66b6..8c298ac40 100644
--- a/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx
+++ b/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx
@@ -306,7 +306,7 @@ function TaskDetails() {
)}
</div>
</div>
- <div className="text-2xl text-slate-400 underline underline-offset-4">
+ <div className="text-2xl text-muted-foreground underline underline-offset-4">
{workflowIsLoading || workflowRunIsLoading ? (
<Skeleton className="h-8 w-64" />
) : (
diff --git a/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx b/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx
index 81d69b64d..b2422977c 100644
--- a/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx
+++ b/skyvern-frontend/src/routes/tasks/detail/TaskParameters.tsx
@@ -43,7 +43,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The starting URL for the task
</h2>
</div>
@@ -52,7 +52,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Navigation Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Where should Skyvern go and what should Skyvern do?
</h2>
</div>
@@ -64,7 +64,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Navigation Payload</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify important parameters, routes, or states
</h2>
</div>
@@ -84,7 +84,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Data Extraction Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
What outputs are you looking to get?
</h2>
</div>
@@ -96,7 +96,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Data Schema</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify the output format in JSON
</h2>
</div>
@@ -120,7 +120,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Extra HTTP Headers</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify some self-defined HTTP requests headers
</h2>
</div>
@@ -139,7 +139,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Webhook Callback URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The URL of a webhook endpoint to send the extracted information
</h2>
</div>
@@ -148,7 +148,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Max Screenshot Scrolls</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The maximum number of times to scroll the page
</h2>
</div>
@@ -161,7 +161,7 @@ function TaskParameters() {
<div className="flex gap-16">
<div className="w-72">
<h1 className="text-lg">Include Action History</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Include the action history in the completion verification
</h2>
</div>
diff --git a/skyvern-frontend/src/routes/tasks/list/TasksPage.tsx b/skyvern-frontend/src/routes/tasks/list/TasksPage.tsx
index 0326a6474..29a1d821c 100644
--- a/skyvern-frontend/src/routes/tasks/list/TasksPage.tsx
+++ b/skyvern-frontend/src/routes/tasks/list/TasksPage.tsx
@@ -10,12 +10,12 @@ function TasksPage() {
return (
<div className="space-y-8">
<PromptBox />
- <div className="flex w-fit gap-1 rounded-sm border border-slate-700 p-2">
+ <div className="flex w-fit gap-1 rounded-sm border border-border p-2">
<div
className={cn(
- "cursor-pointer rounded-sm px-3 py-2 hover:bg-slate-700",
+ "cursor-pointer rounded-sm px-3 py-2 hover:bg-slate-elevation4",
{
- "bg-slate-700": view === "history",
+ "bg-slate-elevation4": view === "history",
},
)}
onClick={() => setView("history")}
@@ -24,9 +24,9 @@ function TasksPage() {
</div>
<div
className={cn(
- "cursor-pointer rounded-sm px-3 py-2 hover:bg-slate-700",
+ "cursor-pointer rounded-sm px-3 py-2 hover:bg-slate-elevation4",
{
- "bg-slate-700": view === "myTasks",
+ "bg-slate-elevation4": view === "myTasks",
},
)}
onClick={() => setView("myTasks")}
diff --git a/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx b/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx
index e01f77554..5606d8fbd 100644
--- a/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx
+++ b/skyvern-frontend/src/routes/workflows/RunWorkflowForm.tsx
@@ -572,7 +572,7 @@ function RunWorkflowForm({
<h1 className="text-3xl">
Parameters{workflow?.title ? ` - ${workflow.title}` : ""}
</h1>
- <h2 className="text-lg text-slate-400">
+ <h2 className="text-lg text-muted-foreground">
Fill the placeholder values that you have linked throughout your
workflow.
</h2>
@@ -606,6 +606,7 @@ function RunWorkflowForm({
/>
<Button
type="submit"
+ variant="brand"
disabled={
runWorkflowMutation.isPending ||
hasLoginBlockValidationError ||
@@ -737,17 +738,17 @@ function RunWorkflowForm({
return (
<FormItem>
<div className="flex gap-16">
- <FormLabel className="!text-slate-50">
+ <FormLabel className="!text-foreground">
<div className="w-72">
<div className="flex items-center gap-2 text-lg">
{parameter.key}
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{getLabelForWorkflowParameterType(
parameter.workflow_parameter_type,
)}
</span>
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
{parameter.description}
</h2>
</div>
@@ -826,7 +827,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Webhook Callback URL
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
The URL of a webhook endpoint to send the details of
the workflow result.
</h2>
@@ -886,7 +887,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Proxy Location
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
Route Skyvern through one of our available proxies.
</h2>
</div>
@@ -937,7 +938,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Run With
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
{descriptions[field.value] ?? descriptions.agent}
</h2>
</div>
@@ -978,7 +979,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
AI Fallback (self-healing)
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
If the run fails when running with code, keep this on
to have AI attempt to fix the issue and regenerate the
code.
@@ -1024,7 +1025,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Browser Session ID
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
Use a persistent browser session to maintain
state and enable browser interaction.
</h2>
@@ -1061,7 +1062,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Browser Profile
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
Load a saved browser profile to reuse cookies,
storage, and signed-in state for this run.
</h2>
@@ -1094,7 +1095,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Browser Address
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
The address of the Browser server to use for
the workflow run.
</h2>
@@ -1132,7 +1133,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Extra HTTP Headers
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
Specify some self defined HTTP requests
headers in Dict format
</h2>
@@ -1202,7 +1203,7 @@ function RunWorkflowForm({
<div className="flex items-center gap-2 text-lg">
Max Screenshot Scrolls
</div>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
{`The maximum number of scrolls for the post action screenshot. Default is ${MAX_SCREENSHOT_SCROLLS_DEFAULT}. If it's set to 0, it will take the current viewport screenshot.`}
</h2>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx b/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx
index 3c99b9b8d..4bdf20eb2 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowBlockCollapsibleContent.tsx
@@ -126,9 +126,9 @@ function WorkflowBlockCollapsibleContent({ task, onNavigate }: Props) {
{statusIsFinalized(task) && (
<div
className={cn(
- "cursor-pointer rounded-sm px-3 py-2 text-slate-400 hover:bg-slate-700",
+ "cursor-pointer rounded-sm px-3 py-2 text-muted-foreground hover:bg-slate-elevation4",
{
- "bg-slate-700 text-foreground":
+ "bg-slate-elevation4 text-foreground":
activeTab === "output",
},
)}
@@ -146,9 +146,10 @@ function WorkflowBlockCollapsibleContent({ task, onNavigate }: Props) {
<div
className={cn(
- "cursor-pointer rounded-sm px-3 py-2 text-slate-400 hover:bg-slate-700 hover:text-foreground",
+ "cursor-pointer rounded-sm px-3 py-2 text-muted-foreground hover:bg-slate-elevation4 hover:text-foreground",
{
- "bg-slate-700 text-foreground": activeTab === "goal",
+ "bg-slate-elevation4 text-foreground":
+ activeTab === "goal",
},
)}
onClick={() => {
@@ -159,9 +160,9 @@ function WorkflowBlockCollapsibleContent({ task, onNavigate }: Props) {
</div>
<div
className={cn(
- "cursor-pointer rounded-sm px-3 py-2 text-slate-400 hover:bg-slate-700 hover:text-foreground",
+ "cursor-pointer rounded-sm px-3 py-2 text-muted-foreground hover:bg-slate-elevation4 hover:text-foreground",
{
- "bg-slate-700 text-foreground":
+ "bg-slate-elevation4 text-foreground":
activeTab === "parameters",
},
)}
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx b/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
index 6fa1120a3..cd7b717b7 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
@@ -280,7 +280,7 @@ function WorkflowPage() {
>
{basicLocalTimeFormat(workflowRun.created_at)}
</TableCell>
- <TableCell className="text-slate-400">
+ <TableCell className="text-muted-foreground">
{formatExecutionTime(
workflowRun.started_at ?? workflowRun.created_at,
workflowRun.finished_at,
@@ -323,7 +323,7 @@ function WorkflowPage() {
<TableRow key={`${workflowRun.workflow_run_id}-params`}>
<TableCell
colSpan={5}
- className="bg-slate-50 dark:bg-slate-900/50"
+ className="bg-slate-elevation1 dark:bg-slate-elevation1/50"
>
<WorkflowRunParameters
workflowPermanentId={workflowPermanentId}
@@ -349,9 +349,11 @@ function WorkflowPage() {
workflowPermanentId={workflowPermanentId}
workflowRunId={openRunParams}
/>
- <div className="relative px-3 py-3">
- <div className="absolute left-3 top-1/2 flex -translate-y-1/2 items-center gap-2 text-sm">
- <span className="text-slate-400">Items per page</span>
+ <div className="flex flex-col items-center gap-3 px-3 py-3 sm:flex-row sm:justify-between">
+ <div className="flex items-center gap-2 text-sm">
+ <span className="whitespace-nowrap text-muted-foreground">
+ Items per page
+ </span>
<Select
value={String(pageSize)}
onValueChange={(size) => {
@@ -477,7 +479,7 @@ function WorkflowRunParameters({
if (!run || !run.parameters || Object.keys(run.parameters).length === 0) {
return (
- <div className="ml-8 py-4 text-sm text-slate-400">
+ <div className="ml-8 py-4 text-sm text-muted-foreground">
No parameters for this run
</div>
);
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx
index 110b879c9..7ca634724 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx
@@ -375,12 +375,12 @@ function WorkflowRun() {
/>
) : null}
</div>
- <h2 className="text-2xl text-slate-400">{workflowRunId}</h2>
+ <h2 className="text-2xl text-muted-foreground">{workflowRunId}</h2>
{workflowRun &&
(workflowRun.started_at ||
workflowRun.finished_at ||
isWorkflowDeleted) && (
- <div className="flex flex-wrap gap-x-4 gap-y-1 text-sm text-slate-400">
+ <div className="flex flex-wrap gap-x-4 gap-y-1 text-sm text-muted-foreground">
{workflowRun.started_at && (
<span title={basicTimeFormat(workflowRun.started_at)}>
Started: {basicLocalTimeFormat(workflowRun.started_at)}
@@ -401,7 +401,7 @@ function WorkflowRun() {
)}
{workflowRun?.browser_session_id && (
<Link
- className="font-mono text-sm text-slate-400 hover:text-slate-200 hover:underline hover:underline-offset-2"
+ className="font-mono text-sm text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-2"
to={`/browser-session/${workflowRun.browser_session_id}/stream`}
>
Browser Session: {workflowRun.browser_session_id}
@@ -409,7 +409,7 @@ function WorkflowRun() {
)}
{workflowRun?.browser_profile_id && (
<Link
- className="font-mono text-sm text-slate-400 hover:text-slate-200 hover:underline hover:underline-offset-2"
+ className="font-mono text-sm text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-2"
to={`/browser-profiles/${workflowRun.browser_profile_id}`}
>
Browser Profile: {workflowRun.browser_profile_id}
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx
index 54750b164..3a8c6fad4 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowRunParameters.tsx
@@ -64,7 +64,7 @@ function WorkflowRunParameters() {
<div className="space-y-8">
<header className="space-y-5">
<h1 className="text-3xl">Parameters</h1>
- <h2 className="text-lg text-slate-400">
+ <h2 className="text-lg text-muted-foreground">
Fill the placeholder values that you have linked throughout your
workflow.
</h2>
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowScriptDetailPage.tsx b/skyvern-frontend/src/routes/workflows/WorkflowScriptDetailPage.tsx
index 18a6b6dc5..ce8107763 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowScriptDetailPage.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowScriptDetailPage.tsx
@@ -55,10 +55,10 @@ function StatusDistribution({
running: "bg-blue-500",
failed: "bg-red-500",
terminated: "bg-orange-500",
- canceled: "bg-slate-400",
+ canceled: "bg-slate-elevation4",
timed_out: "bg-yellow-500",
- created: "bg-slate-300",
- queued: "bg-slate-300",
+ created: "bg-slate-elevation4",
+ queued: "bg-slate-elevation4",
};
return (
@@ -67,7 +67,7 @@ function StatusDistribution({
{Object.entries(statusCounts).map(([status, count]) => (
<div
key={status}
- className={statusColors[status] ?? "bg-slate-300"}
+ className={statusColors[status] ?? "bg-slate-elevation4"}
style={{ width: `${(count / totalCount) * 100}%` }}
title={`${status}: ${count} (${Math.round((count / totalCount) * 100)}%)`}
/>
@@ -77,7 +77,7 @@ function StatusDistribution({
{Object.entries(statusCounts).map(([status, count]) => (
<div key={status} className="flex items-center gap-1.5">
<div
- className={`size-2.5 rounded-full ${statusColors[status] ?? "bg-slate-300"}`}
+ className={`size-2.5 rounded-full ${statusColors[status] ?? "bg-slate-elevation4"}`}
/>
<span>
{status}: {count} ({Math.round((count / totalCount) * 100)}%)
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowScriptsPage.tsx b/skyvern-frontend/src/routes/workflows/WorkflowScriptsPage.tsx
index b93acf33e..fd56d1de5 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowScriptsPage.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowScriptsPage.tsx
@@ -288,8 +288,8 @@ function ScriptsTableRows({
<TableRow>
<TableCell colSpan={TABLE_COL_COUNT}>
<div className="flex flex-col items-center gap-2 py-12 text-center">
- <FileTextIcon className="size-8 text-slate-400" />
- <p className="text-sm text-slate-500">
+ <FileTextIcon className="size-8 text-muted-foreground" />
+ <p className="text-sm text-muted-foreground">
No scripts yet. Scripts are created automatically when this
workflow runs with Code mode enabled.
</p>
diff --git a/skyvern-frontend/src/routes/workflows/Workflows.tsx b/skyvern-frontend/src/routes/workflows/Workflows.tsx
index b1c867179..4580ce52b 100644
--- a/skyvern-frontend/src/routes/workflows/Workflows.tsx
+++ b/skyvern-frontend/src/routes/workflows/Workflows.tsx
@@ -387,18 +387,18 @@ function Workflows() {
return (
<div className="space-y-10">
- <div className="flex h-32 justify-between gap-6">
+ <div className="flex flex-col gap-6 lg:h-32 lg:flex-row lg:justify-between">
<div className="space-y-5">
<div className="flex items-center gap-2">
<LightningBoltIcon className="size-6" />
<h1 className="text-2xl">Workflows</h1>
</div>
- <p className="text-slate-300">
+ <p className="text-muted-foreground">
Create your own complex workflows by connecting web agents together.
Define a series of actions, set it, and forget it.
</p>
</div>
- <div className="flex gap-5">
+ <div className="flex flex-wrap gap-5 lg:flex-nowrap">
<NarrativeCard
index={1}
description="Save browser sessions and reuse them in subsequent runs"
@@ -458,13 +458,13 @@ function Workflows() {
))}
</div>
) : (
- <div className="rounded-lg border border-slate-200 bg-slate-elevation1 py-6 text-center dark:border-slate-700">
+ <div className="rounded-lg border border-border bg-slate-elevation1 py-6 text-center dark:border-border">
<div className="mx-auto max-w-md">
<FolderIcon className="mx-auto mb-3 h-10 w-10 text-blue-400 opacity-50" />
- <h3 className="mb-2 text-slate-900 dark:text-slate-100">
+ <h3 className="mb-2 text-foreground dark:text-foreground">
Organize Your Workflows with Folders
</h3>
- <p className="mb-4 text-sm text-slate-500 dark:text-slate-400">
+ <p className="mb-4 text-sm text-muted-foreground dark:text-muted-foreground">
Keep your workflows organized by creating folders. Group
related workflows together by project, team, or workflow type
for easier management.
@@ -520,7 +520,10 @@ function Workflows() {
/>
<DropdownMenu modal={false}>
<DropdownMenuTrigger asChild>
- <Button disabled={createWorkflowMutation.isPending}>
+ <Button
+ variant="brand"
+ disabled={createWorkflowMutation.isPending}
+ >
{createWorkflowMutation.isPending ? (
<ReloadIcon className="mr-2 h-4 w-4 animate-spin" />
) : (
@@ -557,12 +560,16 @@ function Workflows() {
<Table className="table-fixed">
<TableHeader className="rounded-t-lg bg-slate-elevation2">
<TableRow>
- <TableHead className="w-[25%] rounded-tl-lg text-slate-400">
+ <TableHead className="w-[25%] rounded-tl-lg text-muted-foreground">
ID
</TableHead>
- <TableHead className="w-[30%] text-slate-400">Title</TableHead>
- <TableHead className="w-[15%] text-slate-400">Folder</TableHead>
- <TableHead className="w-[15%] text-slate-400">
+ <TableHead className="w-[30%] text-muted-foreground">
+ Title
+ </TableHead>
+ <TableHead className="w-[15%] text-muted-foreground">
+ Folder
+ </TableHead>
+ <TableHead className="w-[15%] text-muted-foreground">
Created At
</TableHead>
<TableHead className="w-[15%] rounded-tr-lg"></TableHead>
@@ -634,7 +641,7 @@ function Workflows() {
</div>
</TableCell>
<TableCell>
- <span className="text-slate-400">-</span>
+ <span className="text-muted-foreground">-</span>
</TableCell>
<TableCell>
{basicLocalTimeFormat(workflow.created_at)}
@@ -731,7 +738,7 @@ function Workflows() {
</span>
</div>
) : (
- <span className="text-slate-400">-</span>
+ <span className="text-muted-foreground">-</span>
)}
</TableCell>
<TableCell
@@ -847,7 +854,7 @@ function Workflows() {
>
<TableCell
colSpan={5}
- className="bg-slate-50 dark:bg-slate-900/50"
+ className="bg-slate-elevation1 dark:bg-slate-elevation1/50"
>
<ParameterDisplayInline
parameters={parameterItems}
@@ -863,11 +870,13 @@ function Workflows() {
)}
</TableBody>
</Table>
- <div className="relative px-3 py-3">
- <div className="absolute left-3 top-1/2 flex -translate-y-1/2 items-center gap-2 text-sm">
- <span className="text-slate-400">Items per page</span>
+ <div className="flex flex-col items-center gap-3 px-3 py-3 sm:flex-row sm:justify-between">
+ <div className="flex items-center gap-2 text-sm">
+ <span className="whitespace-nowrap text-muted-foreground">
+ Items per page
+ </span>
<select
- className="h-9 rounded-md border border-slate-300 bg-background px-3"
+ className="h-9 rounded-md border border-border bg-background px-3"
value={itemsPerPage}
onChange={(e) => {
const next = Number(e.target.value);
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowsBetaAlertCard.tsx b/skyvern-frontend/src/routes/workflows/WorkflowsBetaAlertCard.tsx
index 156cd7700..15f466d05 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowsBetaAlertCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowsBetaAlertCard.tsx
@@ -2,7 +2,7 @@ import { Button } from "@/components/ui/button";
function WorkflowsBetaAlertCard() {
return (
- <div className="flex flex-col items-center rounded-lg bg-slate-900 p-4 shadow">
+ <div className="flex flex-col items-center rounded-lg bg-slate-elevation1 p-4 shadow">
<header>
<h1 className="py-4 text-3xl">Workflows (Beta)</h1>
</header>
diff --git a/skyvern-frontend/src/routes/workflows/components/BlockCodeEditor.tsx b/skyvern-frontend/src/routes/workflows/components/BlockCodeEditor.tsx
index 4a4cc1d19..8c97ab768 100644
--- a/skyvern-frontend/src/routes/workflows/components/BlockCodeEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/BlockCodeEditor.tsx
@@ -52,7 +52,7 @@ function BlockCodeEditor({
<div
className={cn(
- "transform-origin-center flex h-full w-[30rem] flex-col space-y-4 rounded-lg border border-slate-600 bg-slate-elevation3 px-6 py-4 transition-all",
+ "transform-origin-center flex h-full w-[30rem] flex-col space-y-4 rounded-lg border border-border bg-slate-elevation3 px-6 py-4 transition-all",
)}
onClick={(e) => {
onClick?.(e);
@@ -61,7 +61,7 @@ function BlockCodeEditor({
<header className="relative !mt-0 flex h-[2.75rem] justify-between gap-2">
{blockType ? (
<div className="flex w-full gap-2">
- <div className="relative flex h-[2.75rem] w-[2.75rem] items-center justify-center overflow-hidden rounded border border-slate-600">
+ <div className="relative flex h-[2.75rem] w-[2.75rem] items-center justify-center overflow-hidden rounded border border-border">
<WorkflowBlockIcon
workflowBlockType={blockType}
className="size-6"
@@ -74,11 +74,13 @@ function BlockCodeEditor({
<div className="flex w-full flex-col gap-1">
{blockLabel}
<div className="flex w-full items-center justify-center gap-1">
- <span className="text-xs text-slate-400">{blockTitle}</span>
+ <span className="text-xs text-muted-foreground">
+ {blockTitle}
+ </span>
<div className="ml-auto scale-[60%] opacity-50">
<KeyIcon />
</div>
- <span className="text-xs text-slate-400">
+ <span className="text-xs text-muted-foreground">
{cacheKeyValue === "" || !cacheKeyValue
? "(none)"
: cacheKeyValue}
@@ -91,7 +93,7 @@ function BlockCodeEditor({
{title ?? blockLabel}
</header>
)}
- <div className="absolute right-[-0.5rem] top-0 flex h-[2rem] w-[2rem] items-center justify-center rounded hover:bg-slate-800">
+ <div className="absolute right-[-0.5rem] top-0 flex h-[2rem] w-[2rem] items-center justify-center rounded hover:bg-slate-elevation5">
<ExitIcon
onClick={() => {
const result = onExit ? onExit() : true;
@@ -120,7 +122,7 @@ function BlockCodeEditor({
/>
</div>
) : (
- <div className="flex h-full w-full items-center justify-center bg-slate-950">
+ <div className="flex h-full w-full items-center justify-center bg-background">
No script defined
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/components/BlockOutputs.tsx b/skyvern-frontend/src/routes/workflows/components/BlockOutputs.tsx
index 27c2c7b48..e68106de4 100644
--- a/skyvern-frontend/src/routes/workflows/components/BlockOutputs.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/BlockOutputs.tsx
@@ -101,7 +101,7 @@ function BlockOutputs({
)}
{pageName === "override" && (
<header className="flex w-full items-center justify-end gap-2 text-xs">
- <Label className="text-xs font-normal text-slate-300">
+ <Label className="text-xs font-normal text-muted-foreground">
Use Override
</Label>
<HelpTooltip content="Use this override instead of the last block output" />
@@ -134,7 +134,7 @@ function BlockOutputs({
/>
</>
) : (
- <div className="flex h-full w-full flex-1 items-center justify-center bg-slate-950">
+ <div className="flex h-full w-full flex-1 items-center justify-center bg-background">
No output defined
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/components/BrowserProfileSelector.tsx b/skyvern-frontend/src/routes/workflows/components/BrowserProfileSelector.tsx
index ef6b22b4a..e3f8f150a 100644
--- a/skyvern-frontend/src/routes/workflows/components/BrowserProfileSelector.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/BrowserProfileSelector.tsx
@@ -125,7 +125,7 @@ function BrowserProfileSelector({
</span>
</div>
<div className="flex items-center pr-2">
- <ChevronDownIcon className="size-4 text-slate-500" />
+ <ChevronDownIcon className="size-4 text-muted-foreground" />
</div>
</div>
);
@@ -163,14 +163,14 @@ function BrowserProfileSelector({
)}
>
{hasValue ? (
- <span className="text-slate-200">{triggerLabel}</span>
+ <span className="text-foreground">{triggerLabel}</span>
) : (
<span className="text-muted-foreground">{triggerLabel}</span>
)}
</div>
<div className="flex items-center pr-2">
<ChevronDownIcon
- className={`size-4 text-slate-500 transition-transform ${open ? "rotate-180" : ""}`}
+ className={`size-4 text-muted-foreground transition-transform ${open ? "rotate-180" : ""}`}
/>
</div>
</div>
@@ -178,17 +178,17 @@ function BrowserProfileSelector({
{open && (
<div
ref={dropdownRef}
- className="absolute z-50 mt-1 w-full overflow-hidden rounded-md border border-slate-600 bg-slate-800 shadow-lg"
+ className="absolute z-50 mt-1 w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-popover"
onMouseDown={(e) => e.preventDefault()}
>
- <div className="border-b border-slate-600 px-3 py-2">
+ <div className="border-b px-3 py-2">
<input
ref={inputRef}
type="text"
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
placeholder="Search browser profiles..."
- className="w-full bg-transparent text-sm text-slate-200 placeholder:text-muted-foreground focus-visible:outline-none"
+ className="w-full bg-transparent text-sm text-foreground placeholder:text-muted-foreground focus-visible:outline-none"
/>
</div>
<div
@@ -206,11 +206,11 @@ function BrowserProfileSelector({
type="button"
onMouseDown={(e) => e.preventDefault()}
onClick={() => handleSelect(null)}
- className={`flex w-full items-center px-3 py-2 text-left text-sm transition-colors hover:bg-slate-700 ${
- !hasValue ? "bg-slate-700" : ""
+ className={`flex w-full items-center px-3 py-2 text-left text-sm transition-colors hover:bg-accent ${
+ !hasValue ? "bg-accent" : ""
}`}
>
- <span className="text-slate-200">None</span>
+ <span className="text-foreground">None</span>
</button>
{(isFetching || isTyping) && profiles.length === 0 ? (
<>
@@ -225,7 +225,7 @@ function BrowserProfileSelector({
))}
</>
) : profiles.length === 0 ? (
- <div className="px-3 py-3 text-xs text-slate-500">
+ <div className="px-3 py-3 text-xs text-muted-foreground">
{debouncedSearch
? `No browser profiles match "${debouncedSearch}".`
: "No browser profiles found."}
@@ -240,15 +240,15 @@ function BrowserProfileSelector({
type="button"
onMouseDown={(e) => e.preventDefault()}
onClick={() => handleSelect(profile.browser_profile_id)}
- className={`flex w-full flex-col gap-0.5 px-3 py-2 text-left text-sm transition-colors hover:bg-slate-700 ${
- isSelected ? "bg-slate-700" : ""
+ className={`flex w-full flex-col gap-0.5 px-3 py-2 text-left text-sm transition-colors hover:bg-accent ${
+ isSelected ? "bg-accent" : ""
}`}
>
- <span className="font-medium text-slate-200">
+ <span className="font-medium text-foreground">
{profile.name}
</span>
{profile.description && (
- <span className="truncate text-xs text-slate-400">
+ <span className="truncate text-xs text-muted-foreground">
{profile.description}
</span>
)}
@@ -257,7 +257,7 @@ function BrowserProfileSelector({
})}
{isFetchingNextPage && (
<div className="flex items-center justify-center py-2">
- <ReloadIcon className="h-3 w-3 animate-spin text-slate-400" />
+ <ReloadIcon className="h-3 w-3 animate-spin text-muted-foreground" />
</div>
)}
</>
diff --git a/skyvern-frontend/src/routes/workflows/components/ColumnMappingEditor.tsx b/skyvern-frontend/src/routes/workflows/components/ColumnMappingEditor.tsx
index 890f0f4b8..6b4ee1991 100644
--- a/skyvern-frontend/src/routes/workflows/components/ColumnMappingEditor.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ColumnMappingEditor.tsx
@@ -91,7 +91,7 @@ function ColumnMappingEditor({
if (entries.length === 0) {
return (
- <div className="rounded-md border border-dashed border-slate-700 bg-slate-900/40 p-3 text-xs text-slate-400">
+ <div className="rounded-md border border-dashed border-border bg-slate-elevation1/40 p-3 text-xs text-muted-foreground">
<div className="mb-2">
No column mappings. Add mappings when your data is a list of objects;
each source field maps to one sheet column.
@@ -112,7 +112,7 @@ function ColumnMappingEditor({
return (
<div className={cn("space-y-2", disabled && "opacity-60")}>
- <div className="grid grid-cols-[1fr_1fr_auto] gap-2 text-[0.65rem] uppercase tracking-wider text-slate-500">
+ <div className="grid grid-cols-[1fr_1fr_auto] gap-2 text-[0.65rem] uppercase tracking-wider text-muted-foreground">
<Label className="text-[0.65rem]">Source field</Label>
<Label className="text-[0.65rem]">
Destination
diff --git a/skyvern-frontend/src/routes/workflows/components/CreateFromTemplateDialog.tsx b/skyvern-frontend/src/routes/workflows/components/CreateFromTemplateDialog.tsx
index ceb330cc0..f2a072266 100644
--- a/skyvern-frontend/src/routes/workflows/components/CreateFromTemplateDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/CreateFromTemplateDialog.tsx
@@ -56,7 +56,7 @@ function CreateFromTemplateDialog({
</DialogHeader>
<div className="space-y-4">
<div className="relative">
- <MagnifyingGlassIcon className="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400" />
+ <MagnifyingGlassIcon className="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
<Input
value={search}
onChange={(e) => setSearch(e.target.value)}
@@ -74,22 +74,22 @@ function CreateFromTemplateDialog({
</div>
) : filteredTemplates.length === 0 ? (
<div className="flex flex-col items-center justify-center py-12 text-center">
- <BookmarkFilledIcon className="mb-3 h-10 w-10 text-slate-400" />
+ <BookmarkFilledIcon className="mb-3 h-10 w-10 text-muted-foreground" />
{templates.length === 0 ? (
<>
- <p className="text-slate-600 dark:text-slate-300">
+ <p className="text-muted-foreground dark:text-muted-foreground">
No templates yet
</p>
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
Save a workflow as a template to see it here.
</p>
</>
) : (
<>
- <p className="text-slate-600 dark:text-slate-300">
+ <p className="text-muted-foreground dark:text-muted-foreground">
No templates match your search
</p>
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
Try a different search term.
</p>
</>
@@ -114,11 +114,11 @@ function CreateFromTemplateDialog({
</span>
</div>
{template.description && (
- <p className="line-clamp-2 text-xs text-slate-500">
+ <p className="line-clamp-2 text-xs text-muted-foreground">
{template.description}
</p>
)}
- <p className="text-xs text-slate-400">
+ <p className="text-xs text-muted-foreground">
{template.workflow_definition.blocks.length} block
{template.workflow_definition.blocks.length !== 1
? "s"
diff --git a/skyvern-frontend/src/routes/workflows/components/CredentialSelector.tsx b/skyvern-frontend/src/routes/workflows/components/CredentialSelector.tsx
index c52301026..0650c5f3e 100644
--- a/skyvern-frontend/src/routes/workflows/components/CredentialSelector.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/CredentialSelector.tsx
@@ -86,7 +86,7 @@ function CredentialSelector({ value, onChange, placeholder, required }: Props) {
</>
)}
</div>
- <p className="text-xs text-slate-400">
+ <p className="text-xs text-muted-foreground">
{credential.credential_type === "password"
? "Password"
: credential.credential_type === "credit_card"
diff --git a/skyvern-frontend/src/routes/workflows/components/DataSchema.tsx b/skyvern-frontend/src/routes/workflows/components/DataSchema.tsx
index e248bb2ef..c7efd9146 100644
--- a/skyvern-frontend/src/routes/workflows/components/DataSchema.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/DataSchema.tsx
@@ -11,7 +11,7 @@ function DataSchema({ value, onChange }: Props) {
if (value === null) {
return (
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">Data Schema</Label>
+ <Label className="text-xs text-muted-foreground">Data Schema</Label>
<Checkbox
checked={false}
onCheckedChange={() => {
@@ -25,7 +25,7 @@ function DataSchema({ value, onChange }: Props) {
return (
<div className="space-y-2">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">Data Schema</Label>
+ <Label className="text-xs text-muted-foreground">Data Schema</Label>
<Checkbox
checked
onCheckedChange={() => {
diff --git a/skyvern-frontend/src/routes/workflows/components/FolderCard.tsx b/skyvern-frontend/src/routes/workflows/components/FolderCard.tsx
index 7846f8d5a..e8e494b84 100644
--- a/skyvern-frontend/src/routes/workflows/components/FolderCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/FolderCard.tsx
@@ -32,7 +32,7 @@ function FolderCard({ folder, isSelected, onClick }: FolderCardProps) {
"relative flex h-24 flex-col gap-3 rounded-lg border p-4 text-left transition-colors hover:border-blue-400",
isSelected
? "border-blue-400 bg-blue-50 ring-2 ring-blue-400/20 dark:bg-blue-950/20"
- : "border-slate-200 bg-slate-elevation1 dark:border-slate-700",
+ : "border-border bg-slate-elevation1 dark:border-border",
)}
>
<div className="flex items-start gap-3">
@@ -41,7 +41,7 @@ function FolderCard({ folder, isSelected, onClick }: FolderCardProps) {
</div>
<div className="flex min-w-0 flex-1 flex-col gap-1">
<div className="flex items-start justify-between gap-2">
- <h3 className="truncate text-sm font-medium text-slate-900 dark:text-slate-100">
+ <h3 className="truncate text-sm font-medium text-foreground dark:text-foreground">
{folder.title}
</h3>
<div
@@ -56,7 +56,7 @@ function FolderCard({ folder, isSelected, onClick }: FolderCardProps) {
<TooltipTrigger asChild>
<button
onClick={() => setIsEditDialogOpen(true)}
- className="rounded p-1.5 text-slate-400 transition-colors hover:bg-slate-500/20 hover:text-slate-300"
+ className="rounded p-1.5 text-muted-foreground transition-colors hover:bg-slate-elevation5/20 hover:text-muted-foreground"
aria-label="Edit folder"
>
<Pencil1Icon className="h-4 w-4" />
@@ -71,7 +71,7 @@ function FolderCard({ folder, isSelected, onClick }: FolderCardProps) {
/>
</div>
</div>
- <p className="text-xs text-slate-500 dark:text-slate-400">
+ <p className="text-xs text-muted-foreground dark:text-muted-foreground">
{folder.workflow_count}{" "}
{folder.workflow_count === 1 ? "workflow" : "workflows"}
</p>
diff --git a/skyvern-frontend/src/routes/workflows/components/GoogleOAuthCredentialSelector.tsx b/skyvern-frontend/src/routes/workflows/components/GoogleOAuthCredentialSelector.tsx
index 1370e68fb..0dbef781e 100644
--- a/skyvern-frontend/src/routes/workflows/components/GoogleOAuthCredentialSelector.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/GoogleOAuthCredentialSelector.tsx
@@ -98,7 +98,7 @@ function GoogleOAuthCredentialSelector({
<button
type="button"
onClick={handleUseAccountPicker}
- className="text-xs text-slate-400 underline hover:text-slate-300"
+ className="text-xs text-muted-foreground underline hover:text-muted-foreground"
>
Use account picker
</button>
@@ -122,7 +122,7 @@ function GoogleOAuthCredentialSelector({
<p className="text-sm font-medium">
<SelectItemText>{cred.credential_name}</SelectItemText>
</p>
- <p className="text-xs text-slate-400">{cred.id}</p>
+ <p className="text-xs text-muted-foreground">{cred.id}</p>
</div>
</CustomSelectItem>
))}
diff --git a/skyvern-frontend/src/routes/workflows/components/InlineCreateRow.tsx b/skyvern-frontend/src/routes/workflows/components/InlineCreateRow.tsx
index e462b8e5d..c828dfb54 100644
--- a/skyvern-frontend/src/routes/workflows/components/InlineCreateRow.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/InlineCreateRow.tsx
@@ -22,7 +22,7 @@ function InlineCreateRow({
return (
<button
type="button"
- className="flex w-full items-center gap-2 px-3 py-2 text-left text-xs text-slate-200 hover:bg-slate-700"
+ className="flex w-full items-center gap-2 px-3 py-2 text-left text-xs text-foreground hover:bg-slate-elevation4"
onClick={() => setEditing(true)}
disabled={isSubmitting}
>
@@ -56,7 +56,7 @@ function InlineCreateRow({
/>
<button
type="button"
- className="rounded p-1 text-slate-300 hover:bg-slate-700 disabled:opacity-50"
+ className="rounded p-1 text-muted-foreground hover:bg-slate-elevation4 disabled:opacity-50"
onClick={() => value.trim() && onConfirm(value.trim())}
disabled={isSubmitting || !value.trim()}
aria-label="Confirm"
@@ -65,7 +65,7 @@ function InlineCreateRow({
</button>
<button
type="button"
- className="rounded p-1 text-slate-400 hover:bg-slate-700"
+ className="rounded p-1 text-muted-foreground hover:bg-slate-elevation4"
onClick={() => {
setEditing(false);
setValue("");
diff --git a/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx b/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx
index 4c09ee07d..a23968e42 100644
--- a/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ParameterDisplayInline.tsx
@@ -45,7 +45,7 @@ function ParameterDisplayInline({
}: ParameterDisplayInlineProps) {
if (!parameters || parameters.length === 0) {
return (
- <div className={cn("ml-8 py-4 text-sm text-slate-400", className)}>
+ <div className={cn("ml-8 py-4 text-sm text-muted-foreground", className)}>
{emptyMessage}
</div>
);
@@ -63,7 +63,7 @@ function ParameterDisplayInline({
<div
key={parameter.key}
className={cn(
- "grid gap-6 rounded border bg-white p-3 text-sm dark:border-slate-800 dark:bg-slate-900",
+ "grid gap-6 rounded border border-border bg-card p-3 text-sm",
showDescription
? "grid-cols-[minmax(200px,1fr)_minmax(200px,1fr)_minmax(300px,2fr)]"
: "grid-cols-[minmax(200px,1fr)_minmax(300px,2fr)]",
@@ -76,20 +76,22 @@ function ParameterDisplayInline({
</div>
<div className="truncate">
{displayValue === "-" ? (
- <span className="text-slate-400">-</span>
+ <span className="text-muted-foreground">-</span>
) : (
<HighlightText text={displayValue} query={searchQuery} />
)}
</div>
{showDescription ? (
- <div className="text-slate-500">
+ <div className="text-muted-foreground">
{parameter.description ? (
<HighlightText
text={parameter.description}
query={searchQuery}
/>
) : (
- <span className="text-slate-400">No description</span>
+ <span className="text-muted-foreground">
+ No description
+ </span>
)}
</div>
) : null}
diff --git a/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx b/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx
index bdd12eb1d..109419724 100644
--- a/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ParametersDialogBase.tsx
@@ -60,7 +60,7 @@ export function ParametersDialogBase({
<div className="flex flex-wrap items-center gap-2">
<div className="break-all font-mono text-sm">{item.key}</div>
{item.description ? (
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
— {item.description}
</div>
) : null}
@@ -102,7 +102,7 @@ export function ParametersDialogBase({
<DialogTitle>{title}</DialogTitle>
</DialogHeader>
{items.length === 0 ? (
- <div className="text-sm text-slate-400">No parameters.</div>
+ <div className="text-sm text-muted-foreground">No parameters.</div>
) : (
<div className="space-y-3">
<Label className="text-xs">{sectionLabel}</Label>
diff --git a/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx b/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx
index 8a9b5327c..b929df5a6 100644
--- a/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ScheduleParametersSection.tsx
@@ -33,11 +33,11 @@ function ScheduleParametersSection({
<div className="space-y-2">
<div className="space-y-1">
<Label>Workflow Parameters</Label>
- <p className="text-xs text-slate-500">
+ <p className="text-xs text-muted-foreground">
Values supplied here are used every time this schedule runs.
</p>
</div>
- <div className="space-y-4 rounded-md border border-slate-700 bg-slate-elevation3 p-3">
+ <div className="space-y-4 rounded-md border border-border bg-slate-elevation3 p-3">
{workflowParameters.map((parameter) => {
const error = errors?.[parameter.key];
const required = isRequired(parameter);
@@ -55,14 +55,14 @@ function ScheduleParametersSection({
</span>
)}
</Label>
- <span className="text-[10px] uppercase tracking-wide text-slate-500">
+ <span className="text-[10px] uppercase tracking-wide text-muted-foreground">
{getLabelForWorkflowParameterType(
parameter.workflow_parameter_type,
)}
</span>
</div>
{parameter.description && (
- <p className="text-xs text-slate-500">
+ <p className="text-xs text-muted-foreground">
{parameter.description}
</p>
)}
diff --git a/skyvern-frontend/src/routes/workflows/components/SheetTabCombobox.tsx b/skyvern-frontend/src/routes/workflows/components/SheetTabCombobox.tsx
index 0644a4b2a..fe1f29069 100644
--- a/skyvern-frontend/src/routes/workflows/components/SheetTabCombobox.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/SheetTabCombobox.tsx
@@ -94,7 +94,7 @@ function SheetTabCombobox({
e.preventDefault();
}
}}
- className="nopan w-[var(--radix-popover-trigger-width)] overflow-hidden rounded-md border border-slate-700 bg-slate-900 p-0 shadow-lg"
+ className="nopan w-[var(--radix-popover-trigger-width)] overflow-hidden rounded-md border border-border bg-slate-elevation1 p-0 shadow-lg"
>
<SheetTabListPanel
credentialId={credentialId}
@@ -197,14 +197,14 @@ function SheetTabListPanel({
if (isReconnectRequired(tabsQuery.error)) {
return (
<div className="w-full p-3 text-xs">
- <p className="mb-2 text-slate-200">
+ <p className="mb-2 text-foreground">
Reconnect this Google account to enable the sheet picker.
</p>
<a
href="/integrations"
target="_blank"
rel="noopener noreferrer"
- className="inline-flex items-center gap-1 text-slate-300 underline hover:text-slate-100"
+ className="inline-flex items-center gap-1 text-muted-foreground underline hover:text-foreground"
>
Open integrations <ExternalLinkIcon className="size-3" />
</a>
@@ -224,7 +224,7 @@ function SheetTabListPanel({
return (
<>
{allowCreate ? (
- <div className="border-b border-slate-700">
+ <div className="border-b border-border">
<InlineCreateRow
label="Create new sheet"
placeholder="Sheet title"
@@ -241,14 +241,16 @@ function SheetTabListPanel({
))}
</div>
) : tabs.length === 0 ? (
- <div className="px-3 py-3 text-xs text-slate-500">No sheets.</div>
+ <div className="px-3 py-3 text-xs text-muted-foreground">
+ No sheets.
+ </div>
) : (
tabs.map((tab, index) => (
<button
key={tab.sheet_id}
type="button"
onClick={() => onPick(tab.title, index)}
- className="flex w-full px-3 py-2 text-left text-xs text-slate-200 hover:bg-slate-700"
+ className="flex w-full px-3 py-2 text-left text-xs text-foreground hover:bg-slate-elevation4"
>
{tab.title}
</button>
diff --git a/skyvern-frontend/src/routes/workflows/components/SpreadsheetCombobox.tsx b/skyvern-frontend/src/routes/workflows/components/SpreadsheetCombobox.tsx
index 536ef94ee..816c7d4d7 100644
--- a/skyvern-frontend/src/routes/workflows/components/SpreadsheetCombobox.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/SpreadsheetCombobox.tsx
@@ -137,7 +137,7 @@ function SpreadsheetCombobox({
e.preventDefault();
}
}}
- className="nopan w-[var(--radix-popover-trigger-width)] overflow-hidden rounded-md border border-slate-700 bg-slate-900 p-0 shadow-lg"
+ className="nopan w-[var(--radix-popover-trigger-width)] overflow-hidden rounded-md border border-border bg-slate-elevation1 p-0 shadow-lg"
>
<SpreadsheetListPanel
credentialId={credentialId}
@@ -214,14 +214,14 @@ function SpreadsheetListPanel({
if (isReconnectRequired(listing.error)) {
return (
<div className="w-full p-3 text-xs">
- <p className="mb-2 text-slate-200">
+ <p className="mb-2 text-foreground">
Reconnect this Google account to enable the sheet picker.
</p>
<a
href="/integrations"
target="_blank"
rel="noopener noreferrer"
- className="inline-flex items-center gap-1 text-slate-300 underline hover:text-slate-100"
+ className="inline-flex items-center gap-1 text-muted-foreground underline hover:text-foreground"
>
Open integrations <ExternalLinkIcon className="size-3" />
</a>
@@ -242,7 +242,7 @@ function SpreadsheetListPanel({
return (
<>
{allowCreate ? (
- <div className="border-b border-slate-700">
+ <div className="border-b border-border">
<InlineCreateRow
label="Create new spreadsheet"
placeholder="Spreadsheet title"
@@ -277,7 +277,7 @@ function SpreadsheetListPanel({
Could not load spreadsheets. Please try again.
</div>
) : items.length === 0 ? (
- <div className="px-3 py-3 text-xs text-slate-500">
+ <div className="px-3 py-3 text-xs text-muted-foreground">
No spreadsheets found.
</div>
) : (
@@ -293,11 +293,11 @@ function SpreadsheetListPanel({
firstSheetName: null,
})
}
- className="flex w-full flex-col gap-0.5 px-3 py-2 text-left text-xs hover:bg-slate-700"
+ className="flex w-full flex-col gap-0.5 px-3 py-2 text-left text-xs hover:bg-slate-elevation4"
>
- <span className="font-medium text-slate-200">{ss.name}</span>
+ <span className="font-medium text-foreground">{ss.name}</span>
{ss.modified_time ? (
- <span className="text-slate-500">
+ <span className="text-muted-foreground">
Modified {new Date(ss.modified_time).toLocaleString()}
</span>
) : null}
@@ -305,7 +305,7 @@ function SpreadsheetListPanel({
))}
{listing.isFetchingNextPage ? (
<div className="flex items-center justify-center py-2">
- <ReloadIcon className="size-3 animate-spin text-slate-400" />
+ <ReloadIcon className="size-3 animate-spin text-muted-foreground" />
</div>
) : null}
</>
diff --git a/skyvern-frontend/src/routes/workflows/components/ViewAllFoldersDialog.tsx b/skyvern-frontend/src/routes/workflows/components/ViewAllFoldersDialog.tsx
index 36cefcb2a..d24aea20e 100644
--- a/skyvern-frontend/src/routes/workflows/components/ViewAllFoldersDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/ViewAllFoldersDialog.tsx
@@ -66,7 +66,7 @@ function ViewAllFoldersDialog({
</DialogHeader>
<div className="relative mb-4">
- <MagnifyingGlassIcon className="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400" />
+ <MagnifyingGlassIcon className="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
<Input
type="text"
placeholder="Search folders..."
@@ -77,7 +77,7 @@ function ViewAllFoldersDialog({
</div>
<div
- className="max-h-[500px] overflow-y-auto pr-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:border-2 [&::-webkit-scrollbar-thumb]:border-slate-100 [&::-webkit-scrollbar-thumb]:bg-slate-300 dark:[&::-webkit-scrollbar-thumb]:border-slate-800 dark:[&::-webkit-scrollbar-thumb]:bg-slate-600 [&::-webkit-scrollbar-track]:bg-slate-100 dark:[&::-webkit-scrollbar-track]:bg-slate-800 [&::-webkit-scrollbar]:w-2"
+ className="max-h-[500px] overflow-y-auto pr-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:border-2 [&::-webkit-scrollbar-thumb]:border-border [&::-webkit-scrollbar-thumb]:bg-slate-elevation4 dark:[&::-webkit-scrollbar-thumb]:border-border dark:[&::-webkit-scrollbar-thumb]:bg-slate-elevation5 [&::-webkit-scrollbar-track]:bg-slate-elevation2 dark:[&::-webkit-scrollbar-track]:bg-slate-elevation5 [&::-webkit-scrollbar]:w-2"
onScroll={(e) =>
handleInfiniteScroll(
e,
@@ -93,7 +93,7 @@ function ViewAllFoldersDialog({
{Array.from({ length: 12 }).map((_, index) => (
<div
key={`skeleton-${index}`}
- className="flex h-24 flex-col gap-3 rounded-lg border border-slate-200 bg-slate-elevation1 p-4 dark:border-slate-700"
+ className="flex h-24 flex-col gap-3 rounded-lg border border-border bg-slate-elevation1 p-4 dark:border-border"
>
<div className="flex items-start gap-3">
<Skeleton className="mt-0.5 h-5 w-5" />
@@ -106,7 +106,7 @@ function ViewAllFoldersDialog({
))}
</div>
) : folders.length === 0 ? (
- <div className="flex flex-col items-center justify-center py-12 text-slate-400">
+ <div className="flex flex-col items-center justify-center py-12 text-muted-foreground">
<p>No folders found</p>
</div>
) : (
@@ -124,14 +124,14 @@ function ViewAllFoldersDialog({
{isFetchingNextPage && (
<div className="mt-4 flex items-center justify-center py-4">
<ReloadIcon className="mr-2 h-4 w-4 animate-spin" />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
Loading more folders...
</span>
</div>
)}
{!hasNextPage && folders.length > 20 && (
<div className="mt-4 flex items-center justify-center py-4">
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
All folders loaded
</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/components/WhileLoopPostRunFields.tsx b/skyvern-frontend/src/routes/workflows/components/WhileLoopPostRunFields.tsx
index 83d3b23ef..48f8c63d0 100644
--- a/skyvern-frontend/src/routes/workflows/components/WhileLoopPostRunFields.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/WhileLoopPostRunFields.tsx
@@ -38,10 +38,12 @@ export function WhileLoopPostRunFields({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-sm">While condition</h1>
- <h2 className="text-sm text-slate-400">{WHILE_CONDITION_HELP}</h2>
+ <h2 className="text-sm text-muted-foreground">
+ {WHILE_CONDITION_HELP}
+ </h2>
</div>
<div className="w-full space-y-2">
- <div className="text-xs capitalize text-slate-500">
+ <div className="text-xs capitalize text-muted-foreground">
{whileDefinition.condition.criteria_type.replace(/_/g, " ")}
</div>
<AutoResizingTextarea
@@ -55,7 +57,9 @@ export function WhileLoopPostRunFields({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-sm">Block output</h1>
- <h2 className="text-sm text-slate-400">{BLOCK_OUTPUT_HELP}</h2>
+ <h2 className="text-sm text-muted-foreground">
+ {BLOCK_OUTPUT_HELP}
+ </h2>
</div>
<CodeEditor
className="w-full"
@@ -78,7 +82,7 @@ export function WhileLoopPostRunFields({
<h1 className="text-sm">While condition</h1>
<HelpTooltip content={WHILE_CONDITION_HELP} />
</div>
- <div className="text-xs capitalize text-slate-500">
+ <div className="text-xs capitalize text-muted-foreground">
{whileDefinition.condition.criteria_type.replace(/_/g, " ")}
</div>
<AutoResizingTextarea
diff --git a/skyvern-frontend/src/routes/workflows/components/WorkflowFolderSelector.tsx b/skyvern-frontend/src/routes/workflows/components/WorkflowFolderSelector.tsx
index e9bcdeb3c..c6e354c5a 100644
--- a/skyvern-frontend/src/routes/workflows/components/WorkflowFolderSelector.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/WorkflowFolderSelector.tsx
@@ -63,7 +63,7 @@ function WorkflowFolderSelector({
size="icon"
className={cn(
"h-8 w-8",
- currentFolderId ? "text-blue-400" : "text-slate-400",
+ currentFolderId ? "text-blue-400" : "text-muted-foreground",
)}
>
<FolderIcon className="h-4 w-4" />
@@ -77,7 +77,7 @@ function WorkflowFolderSelector({
<div className="border-b p-3">
<h4 className="mb-2 text-sm font-medium">Move to folder</h4>
<div className="relative">
- <MagnifyingGlassIcon className="absolute left-2 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400" />
+ <MagnifyingGlassIcon className="absolute left-2 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" />
<Input
placeholder="Search folders..."
value={search}
@@ -88,7 +88,7 @@ function WorkflowFolderSelector({
</div>
</div>
<div
- className="max-h-[300px] overflow-y-auto [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:border-2 [&::-webkit-scrollbar-thumb]:border-slate-100 [&::-webkit-scrollbar-thumb]:bg-slate-300 dark:[&::-webkit-scrollbar-thumb]:border-slate-800 dark:[&::-webkit-scrollbar-thumb]:bg-slate-600 [&::-webkit-scrollbar-track]:bg-slate-100 dark:[&::-webkit-scrollbar-track]:bg-slate-800 [&::-webkit-scrollbar]:w-2"
+ className="max-h-[300px] overflow-y-auto [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:border-2 [&::-webkit-scrollbar-thumb]:border-border [&::-webkit-scrollbar-thumb]:bg-slate-elevation4 dark:[&::-webkit-scrollbar-thumb]:border-border dark:[&::-webkit-scrollbar-thumb]:bg-slate-elevation5 [&::-webkit-scrollbar-track]:bg-slate-elevation2 dark:[&::-webkit-scrollbar-track]:bg-slate-elevation5 [&::-webkit-scrollbar]:w-2"
onScroll={(e) =>
handleInfiniteScroll(
e,
@@ -101,7 +101,7 @@ function WorkflowFolderSelector({
{currentFolderId && (
<button
onClick={() => handleFolderSelect(null)}
- className="flex w-full items-center justify-between border-b px-3 py-2 text-left text-sm transition-colors hover:bg-slate-50 dark:hover:bg-slate-800"
+ className="flex w-full items-center justify-between border-b px-3 py-2 text-left text-sm transition-colors hover:bg-slate-elevation1 dark:hover:bg-slate-elevation5"
>
<div className="flex items-center gap-2">
<Cross2Icon className="h-4 w-4 text-red-400" />
@@ -127,7 +127,7 @@ function WorkflowFolderSelector({
))}
</>
) : folders.length === 0 ? (
- <div className="px-3 py-8 text-center text-sm text-slate-400">
+ <div className="px-3 py-8 text-center text-sm text-muted-foreground">
No folders found
</div>
) : (
@@ -139,14 +139,14 @@ function WorkflowFolderSelector({
key={folder.folder_id}
onClick={() => handleFolderSelect(folder.folder_id)}
disabled={isCurrentFolder}
- className="flex w-full items-center justify-between px-3 py-2 text-left text-sm transition-colors hover:bg-slate-50 disabled:opacity-50 dark:hover:bg-slate-800"
+ className="flex w-full items-center justify-between px-3 py-2 text-left text-sm transition-colors hover:bg-slate-elevation1 disabled:opacity-50 dark:hover:bg-slate-elevation5"
>
<div className="flex items-center gap-2">
<FolderIcon className="h-4 w-4 text-blue-400" />
<div className="flex flex-col">
<span>{folder.title}</span>
{folder.description && (
- <span className="text-xs text-slate-400">
+ <span className="text-xs text-muted-foreground">
{folder.description}
</span>
)}
@@ -160,7 +160,7 @@ function WorkflowFolderSelector({
})}
{isFetchingNextPage && (
<div className="flex items-center justify-center py-2">
- <ReloadIcon className="h-3 w-3 animate-spin text-slate-400" />
+ <ReloadIcon className="h-3 w-3 animate-spin text-muted-foreground" />
</div>
)}
</>
diff --git a/skyvern-frontend/src/routes/workflows/components/WorkflowVisualComparisonDrawer.tsx b/skyvern-frontend/src/routes/workflows/components/WorkflowVisualComparisonDrawer.tsx
index c35fe3198..98a645917 100644
--- a/skyvern-frontend/src/routes/workflows/components/WorkflowVisualComparisonDrawer.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/WorkflowVisualComparisonDrawer.tsx
@@ -221,7 +221,7 @@ function WorkflowComparisonRenderer({
</div>
</div>
</div>
- <div className="h-[calc(100%-3rem)] rounded-lg border bg-white">
+ <div className="h-[calc(100%-3rem)] rounded-lg border bg-card">
<FlowRenderer
hideBackground={false}
readOnly
@@ -295,7 +295,7 @@ function WorkflowVisualComparisonDrawer({
if (!isOpen) return null;
return (
- <div className="fixed inset-0 z-50 flex bg-black bg-opacity-50">
+ <div className="fixed inset-0 z-50 flex bg-black/50">
{/* Main Drawer */}
<div className="bg-navy mx-auto my-4 flex w-full max-w-[95vw] flex-col rounded-lg shadow-xl">
{/* Header */}
diff --git a/skyvern-frontend/src/routes/workflows/components/WorkflowsTable.tsx b/skyvern-frontend/src/routes/workflows/components/WorkflowsTable.tsx
index a3e1ba17d..ff1cb5505 100644
--- a/skyvern-frontend/src/routes/workflows/components/WorkflowsTable.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/WorkflowsTable.tsx
@@ -61,13 +61,15 @@ function WorkflowsTable() {
return (
<div className="space-y-4">
<Table>
- <TableHeader className="bg-slate-elevation2 text-slate-400 [&_tr]:border-b-0">
+ <TableHeader className="bg-slate-elevation2 text-muted-foreground [&_tr]:border-b-0">
<TableRow className="rounded-lg px-6 [&_th:first-child]:pl-6 [&_th]:py-4">
- <TableHead className="text-sm text-slate-400">Title</TableHead>
- <TableHead className="text-sm text-slate-400">
+ <TableHead className="text-sm text-muted-foreground">
+ Title
+ </TableHead>
+ <TableHead className="text-sm text-muted-foreground">
Last Run Status
</TableHead>
- <TableHead className="text-sm text-slate-400">
+ <TableHead className="text-sm text-muted-foreground">
Last Run Time
</TableHead>
</TableRow>
diff --git a/skyvern-frontend/src/routes/workflows/components/header/NarrativeCard.tsx b/skyvern-frontend/src/routes/workflows/components/header/NarrativeCard.tsx
index 89a46e331..003d5cc90 100644
--- a/skyvern-frontend/src/routes/workflows/components/header/NarrativeCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/components/header/NarrativeCard.tsx
@@ -1,15 +1,44 @@
+import { cn } from "@/util/utils";
+
type Props = {
index: number;
description: string;
};
+const VARIANTS = {
+ 1: {
+ cardBg: "bg-brand-soft/60 dark:bg-brand/10",
+ chipBg: "bg-brand-cta text-brand-cta-foreground",
+ },
+ 2: {
+ cardBg: "bg-warning/10 dark:bg-warning/15",
+ chipBg: "bg-warning text-warning-foreground",
+ },
+ 3: {
+ cardBg: "bg-success/10 dark:bg-success/15",
+ chipBg: "bg-success text-success-foreground",
+ },
+} as const;
+
function NarrativeCard({ index, description }: Props) {
+ const variant = VARIANTS[index as 1 | 2 | 3] ?? VARIANTS[1];
+
return (
- <div className="flex h-32 w-52 flex-col gap-3 rounded-xl bg-slate-elevation1 p-4">
- <div className="flex size-6 items-center justify-center rounded-full bg-slate-400 text-slate-950">
+ <div
+ className={cn(
+ "flex h-32 w-52 flex-col gap-3 rounded-xl border border-border p-4 shadow-sm",
+ variant.cardBg,
+ )}
+ >
+ <div
+ className={cn(
+ "flex size-6 items-center justify-center rounded-full text-xs font-semibold shadow-sm",
+ variant.chipBg,
+ )}
+ >
{index}
</div>
- <div className="text-sm text-slate-300">{description}</div>
+ <div className="text-sm text-foreground/80">{description}</div>
</div>
);
}
diff --git a/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotButton.tsx b/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotButton.tsx
index 030a1d1cc..823dfe678 100644
--- a/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotButton.tsx
+++ b/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotButton.tsx
@@ -20,7 +20,7 @@ export const WorkflowCopilotButton = forwardRef<
<ChatBubbleIcon className="h-4 w-4" />
<span>Copilot</span>
{messageCount > 0 && (
- <span className="flex h-5 w-5 items-center justify-center rounded-full bg-blue-600 text-xs font-bold text-white">
+ <span className="flex h-5 w-5 items-center justify-center rounded-full bg-brand-cta text-xs font-bold text-brand-cta-foreground">
{messageCount}
</span>
)}
diff --git a/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotChat.tsx b/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotChat.tsx
index ec11e563d..7c497e1d9 100644
--- a/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotChat.tsx
+++ b/skyvern-frontend/src/routes/workflows/copilot/WorkflowCopilotChat.tsx
@@ -111,19 +111,19 @@ const MessageItem = memo(({ message, footer }: MessageItemProps) => {
return (
<div className="flex items-start gap-3">
<div
- className={`flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold text-white ${
- message.sender === "ai" ? "bg-blue-600" : "bg-purple-600"
+ className={`flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold text-brand-foreground ${
+ message.sender === "ai" ? "bg-brand" : "bg-purple-600"
}`}
>
{message.sender === "ai" ? "AI" : "U"}
</div>
- <div className="relative flex-1 rounded-lg bg-slate-800 p-3 pr-12">
- <p className="whitespace-pre-wrap pr-3 text-sm text-slate-200">
+ <div className="relative flex-1 rounded-lg bg-slate-elevation5 p-3 pr-12">
+ <p className="whitespace-pre-wrap pr-3 text-sm text-foreground">
{message.content}
</p>
{footer ? <div className="mt-3 flex gap-2">{footer}</div> : null}
{message.timestamp ? (
- <span className="pointer-events-none absolute bottom-2 right-2 rounded bg-slate-900/70 px-1.5 py-0.5 text-[10px] text-slate-400">
+ <span className="pointer-events-none absolute bottom-2 right-2 rounded bg-slate-elevation1/70 px-1.5 py-0.5 text-[10px] text-muted-foreground">
{formatChatTimestamp(message.timestamp)}
</span>
) : null}
@@ -1256,7 +1256,7 @@ export function WorkflowCopilotChat({
return (
<div
- className="fixed z-50 flex flex-col rounded-lg border border-slate-700 bg-slate-900 shadow-2xl"
+ className="fixed z-50 flex flex-col rounded-lg border border-border bg-slate-elevation1 shadow-2xl"
style={{
left: `${position.x}px`,
top: `${position.y}px`,
@@ -1266,10 +1266,10 @@ export function WorkflowCopilotChat({
>
{/* Header */}
<div
- className="flex cursor-move items-center justify-between border-b border-slate-700 px-4 py-2"
+ className="flex cursor-move items-center justify-between border-b border-border px-4 py-2"
onMouseDown={handleMouseDown}
>
- <h3 className="text-sm font-semibold text-slate-200">
+ <h3 className="text-sm font-semibold text-foreground">
Workflow Copilot (Beta)
</h3>
<div className="flex items-center gap-2">
@@ -1277,17 +1277,17 @@ export function WorkflowCopilotChat({
type="button"
onClick={handleNewChat}
onMouseDown={(e) => e.stopPropagation()}
- className="rounded border border-slate-700 px-2 py-1 text-xs text-slate-300 hover:bg-slate-800"
+ className="rounded border border-border px-2 py-1 text-xs text-muted-foreground hover:bg-slate-elevation5"
>
New chat
</button>
<div className="h-2 w-2 rounded-full bg-green-500"></div>
- <span className="text-xs text-slate-400">Active</span>
+ <span className="text-xs text-muted-foreground">Active</span>
<button
type="button"
onClick={() => onClose?.()}
onMouseDown={(e) => e.stopPropagation()}
- className="ml-2 rounded p-1 text-slate-400 hover:bg-slate-800 hover:text-slate-200"
+ className="ml-2 rounded p-1 text-muted-foreground hover:bg-slate-elevation5 hover:text-foreground"
title="Close"
>
<Cross2Icon className="h-4 w-4" />
@@ -1299,13 +1299,13 @@ export function WorkflowCopilotChat({
<div className="flex-1 overflow-y-auto p-4">
<div className="space-y-3">
{!isLoadingHistory && messages.length === 0 && !isLoading ? (
- <div className="rounded-lg border border-slate-800 bg-slate-900/60 p-4 text-sm text-slate-300">
- <p className="font-semibold text-slate-200">Start a new chat</p>
- <p className="mt-2 text-slate-400">
+ <div className="rounded-lg border border-border bg-slate-elevation1/60 p-4 text-sm text-muted-foreground">
+ <p className="font-semibold text-foreground">Start a new chat</p>
+ <p className="mt-2 text-muted-foreground">
Ask the copilot to draft or edit your workflow. Provide a goal,
the target site, and any credentials it should use.
</p>
- <p className="mt-2 text-slate-400">
+ <p className="mt-2 text-muted-foreground">
Example: "Build workflow to find the top post on hackernews
today"
</p>
@@ -1322,7 +1322,7 @@ export function WorkflowCopilotChat({
message={message}
footer={
showQueuedFooter ? (
- <div className="flex items-center gap-2 text-xs text-slate-400">
+ <div className="flex items-center gap-2 text-xs text-muted-foreground">
<ReloadIcon className="h-3 w-3 animate-spin" />
<span>{queuedPromptWaitingStatus}</span>
</div>
@@ -1331,14 +1331,14 @@ export function WorkflowCopilotChat({
<button
type="button"
onClick={() => handleReviewWorkflow(proposedWorkflow)}
- className="rounded border border-blue-500/60 bg-blue-500/10 px-3 py-1 text-xs text-blue-100 hover:bg-blue-500/20"
+ className="rounded border border-brand/60 bg-brand/10 px-3 py-1 text-xs text-foreground hover:bg-brand/20"
>
Review
</button>
<button
type="button"
onClick={() => handleAcceptWorkflow(proposedWorkflow)}
- className="rounded bg-green-600 px-3 py-1 text-xs text-white hover:bg-green-700"
+ className="rounded bg-success px-3 py-1 text-xs text-success-foreground hover:bg-success/90"
>
Accept
</button>
@@ -1347,14 +1347,14 @@ export function WorkflowCopilotChat({
onClick={() =>
handleAcceptWorkflow(proposedWorkflow, true)
}
- className="rounded bg-emerald-600 px-3 py-1 text-xs text-white hover:bg-emerald-700"
+ className="rounded bg-success px-3 py-1 text-xs text-success-foreground hover:bg-success/80"
>
Always accept
</button>
<button
type="button"
onClick={handleRejectWorkflow}
- className="rounded bg-red-600 px-3 py-1 text-xs text-white hover:bg-red-700"
+ className="rounded bg-destructive px-3 py-1 text-xs text-destructive-foreground hover:bg-destructive/90"
>
Reject
</button>
@@ -1366,11 +1366,11 @@ export function WorkflowCopilotChat({
})}
{(isLoading || isQueuedPromptWaiting) && (
<div className="flex items-start gap-3">
- <div className="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-xs font-bold text-white">
+ <div className="flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-brand text-xs font-bold text-brand-foreground">
AI
</div>
- <div className="flex-1 rounded-lg bg-slate-800 p-3">
- <div className="flex items-center gap-2 text-sm text-slate-300">
+ <div className="flex-1 rounded-lg bg-slate-elevation5 p-3">
+ <div className="flex items-center gap-2 text-sm text-muted-foreground">
<ReloadIcon className="h-4 w-4 animate-spin" />
<span>
{isQueuedPromptWaiting
@@ -1379,7 +1379,7 @@ export function WorkflowCopilotChat({
</span>
</div>
{isQueuedPromptWaiting ? (
- <div className="mt-2 text-xs text-slate-500">
+ <div className="mt-2 text-xs text-muted-foreground">
Copilot will start automatically once the browser is ready.
</div>
) : null}
@@ -1393,7 +1393,7 @@ export function WorkflowCopilotChat({
const displayName =
TOOL_DISPLAY_NAMES[activity.tool_name] ??
activity.tool_name;
- const containerClass = `flex items-start gap-1.5 text-xs text-slate-500${
+ const containerClass = `flex items-start gap-1.5 text-xs text-muted-foreground${
activity.linkedRecovery
? " border-l border-amber-400/40 pl-2"
: ""
@@ -1427,9 +1427,11 @@ export function WorkflowCopilotChat({
</div>
{/* Input */}
- <div className="border-t border-slate-700 p-3">
+ <div className="border-t border-border p-3">
{browserStatusText ? (
- <div className="mb-2 text-xs text-slate-400">{browserStatusText}</div>
+ <div className="mb-2 text-xs text-muted-foreground">
+ {browserStatusText}
+ </div>
) : null}
<div className="flex items-end gap-2">
<textarea
@@ -1446,7 +1448,7 @@ export function WorkflowCopilotChat({
onKeyDown={handleKeyPress}
disabled={inputDisabled}
rows={1}
- className="flex-1 resize-none rounded-md border border-slate-600 bg-slate-800 px-3 py-2 text-sm text-slate-200 placeholder-slate-500 focus:border-blue-500 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"
+ className="flex-1 resize-none rounded-md border border-border bg-slate-elevation5 px-3 py-2 text-sm text-foreground placeholder-muted-foreground focus:border-brand focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"
style={{
minHeight: "38px",
maxHeight: "150px",
@@ -1457,14 +1459,14 @@ export function WorkflowCopilotChat({
<button
onClick={isLoading ? cancelSend : cancelQueuedPrompt}
title={isLoading ? "Stop Copilot" : "Edit queued prompt"}
- className="rounded-md bg-red-600 px-4 py-2 text-sm font-medium text-white hover:bg-red-700"
+ className="rounded-md bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground hover:bg-destructive/90"
>
Cancel
</button>
) : (
<button
onClick={() => handleSend()}
- className="rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700"
+ className="rounded-md bg-brand-cta px-4 py-2 text-sm font-medium text-brand-cta-foreground hover:bg-brand-cta/90"
>
Send
</button>
diff --git a/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx b/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx
index 24b263c76..9ec6db395 100644
--- a/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/debugger/DebuggerPostRunParameters.tsx
@@ -226,7 +226,7 @@ function DebuggerPostRunParameters() {
checked={activeBlock.executed_branch_result}
disabled
/>
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{activeBlock.executed_branch_result ? "True" : "False"}
</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/debugger/DebuggerTaskBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/debugger/DebuggerTaskBlockParameters.tsx
index 24f21d098..791fc8bd7 100644
--- a/skyvern-frontend/src/routes/workflows/debugger/DebuggerTaskBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/debugger/DebuggerTaskBlockParameters.tsx
@@ -148,7 +148,7 @@ function DebuggerTaskBlockParameters({ block }: Props) {
</div>
<div className="flex items-center gap-3">
<Switch checked={block.continue_on_failure} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{block.continue_on_failure ? "Enabled" : "Disabled"}
</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/FlowRenderer.tsx b/skyvern-frontend/src/routes/workflows/editor/FlowRenderer.tsx
index 63ffa0503..3930e7cdb 100644
--- a/skyvern-frontend/src/routes/workflows/editor/FlowRenderer.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/FlowRenderer.tsx
@@ -1579,7 +1579,7 @@ function FlowRenderer({
onMouseDownCapture={() => onMouseDownCapture?.()}
>
{layoutPhase === "pre-layout" && (
- <div className="absolute inset-0 z-50 flex items-center justify-center bg-slate-950">
+ <div className="absolute inset-0 z-50 flex items-center justify-center bg-background">
<div className="animate-pulse">
<LogoMinimized />
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx
index fd127a392..ec61bb266 100644
--- a/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/Workspace.tsx
@@ -1361,7 +1361,7 @@ function Workspace({
<DialogHeader>
<DialogTitle>Cycle (Get a new browser)</DialogTitle>
<DialogDescription>
- <div className="pb-2 pt-4 text-sm text-slate-400">
+ <div className="pb-2 pt-4 text-sm text-muted-foreground">
{cycleBrowser.isPending ? (
<>
Cooking you up a fresh browser...
@@ -1790,8 +1790,8 @@ function Workspace({
data-testid="browser-rate-limit-message"
className="flex w-full flex-1 items-center justify-center"
>
- <div className="flex max-w-md flex-col items-center justify-center gap-4 rounded-md border border-slate-700 bg-slate-900 p-8 text-center">
- <p className="text-sm text-slate-300">
+ <div className="flex max-w-md flex-col items-center justify-center gap-4 rounded-md border border-border bg-slate-elevation1 p-8 text-center">
+ <p className="text-sm text-muted-foreground">
Failed to load a browser. We have a high demand for
browsers right now. The browser will become
available again automatically in ~30 minutes. If the
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/DisableCache.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/DisableCache.tsx
index 3f16b9acd..803276bfe 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/DisableCache.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/DisableCache.tsx
@@ -23,7 +23,7 @@ function DisableCache({
*/}
<div className="flex items-center justify-between">
<div className="flex gap-2">
- <Label className="text-xs font-normal text-slate-300">
+ <Label className="text-xs font-normal text-muted-foreground">
Disable Cache
</Label>
<HelpTooltip content="Disable caching for this block." />
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/CurlImportDialog.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/CurlImportDialog.tsx
index 00ee4977e..66e43ea9a 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/CurlImportDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/CurlImportDialog.tsx
@@ -256,7 +256,7 @@ export function CurlImportDialog({ onImport, children }: Props) {
<CopyIcon className="h-3 w-3" />
</Button>
</div>
- <pre className="overflow-x-auto whitespace-pre-wrap break-all text-xs text-slate-400">
+ <pre className="overflow-x-auto whitespace-pre-wrap break-all text-xs text-muted-foreground">
{example.curl}
</pre>
</div>
@@ -276,7 +276,7 @@ export function CurlImportDialog({ onImport, children }: Props) {
<Badge variant="outline" className="font-mono">
{previewData.method}
</Badge>
- <span className="text-xs text-slate-400">
+ <span className="text-xs text-muted-foreground">
{previewData.url}
</span>
</div>
@@ -285,7 +285,7 @@ export function CurlImportDialog({ onImport, children }: Props) {
Object.keys(previewData.headers).length > 0 && (
<div>
<div className="mb-1 text-xs font-medium">Headers:</div>
- <div className="space-y-1 text-xs text-slate-400">
+ <div className="space-y-1 text-xs text-muted-foreground">
{Object.entries(previewData.headers).map(
([key, value]) => (
<div key={key} className="font-mono">
@@ -310,7 +310,7 @@ export function CurlImportDialog({ onImport, children }: Props) {
<div className="mb-1 text-xs font-medium">
Body:
</div>
- <pre className="overflow-x-auto whitespace-pre-wrap text-xs text-slate-400">
+ <pre className="overflow-x-auto whitespace-pre-wrap text-xs text-muted-foreground">
{bodyStr || "{}"}
</pre>
</div>
@@ -321,7 +321,7 @@ export function CurlImportDialog({ onImport, children }: Props) {
<div className="mb-1 text-xs font-medium">
Body:
</div>
- <pre className="overflow-x-auto whitespace-pre-wrap text-xs text-slate-400">
+ <pre className="overflow-x-auto whitespace-pre-wrap text-xs text-muted-foreground">
{"{}"}
</pre>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpUtils.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpUtils.tsx
index 12199049d..af9ad4b32 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpUtils.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/HttpUtils.tsx
@@ -33,11 +33,11 @@ export function MethodBadge({
case "PATCH":
return "bg-purple-100 text-purple-800 border-purple-300 dark:bg-purple-900/20 dark:text-purple-400 dark:border-purple-800";
case "HEAD":
- return "bg-gray-100 text-gray-800 border-gray-300 dark:bg-gray-900/20 dark:text-gray-400 dark:border-gray-800";
+ return "bg-slate-elevation2 text-foreground border-border dark:bg-slate-elevation1/20 dark:text-muted-foreground dark:border-border";
case "OPTIONS":
return "bg-cyan-100 text-cyan-800 border-cyan-300 dark:bg-cyan-900/20 dark:text-cyan-400 dark:border-cyan-800";
default:
- return "bg-slate-100 text-slate-800 border-slate-300 dark:bg-slate-900/20 dark:text-slate-400 dark:border-slate-800";
+ return "bg-slate-elevation2 text-foreground border-border dark:bg-slate-elevation1/20 dark:text-muted-foreground dark:border-border";
}
};
@@ -212,11 +212,11 @@ export function RequestPreview({
const hasFiles = files && files.trim() && files !== "{}";
return (
- <div className="rounded-md border bg-slate-50 p-3 dark:bg-slate-900/50">
+ <div className="rounded-md border bg-slate-elevation1 p-3 dark:bg-slate-elevation1/50">
<div className="flex items-center justify-between gap-2">
<div className="flex min-w-0 items-center gap-2">
<MethodBadge method={method} className="shrink-0" />
- <span className="truncate font-mono text-sm text-slate-600 dark:text-slate-400">
+ <span className="truncate font-mono text-sm text-muted-foreground dark:text-muted-foreground">
{url || "No URL specified"}
</span>
{hasFiles && (
@@ -240,7 +240,7 @@ export function RequestPreview({
{/* URL */}
<div>
<div className="mb-1 text-xs font-medium">URL:</div>
- <pre className="overflow-x-auto whitespace-pre-wrap break-all rounded bg-slate-100 p-2 text-xs text-slate-600 dark:bg-slate-800 dark:text-slate-400">
+ <pre className="overflow-x-auto whitespace-pre-wrap break-all rounded bg-slate-elevation2 p-2 text-xs text-muted-foreground dark:bg-slate-elevation5 dark:text-muted-foreground">
{url}
</pre>
</div>
@@ -248,7 +248,7 @@ export function RequestPreview({
{/* Headers */}
<div>
<div className="mb-1 text-xs font-medium">Headers:</div>
- <pre className="overflow-x-auto rounded bg-slate-100 p-2 text-xs text-slate-600 dark:bg-slate-800 dark:text-slate-400">
+ <pre className="overflow-x-auto rounded bg-slate-elevation2 p-2 text-xs text-muted-foreground dark:bg-slate-elevation5 dark:text-muted-foreground">
{headers || "{}"}
</pre>
</div>
@@ -257,7 +257,7 @@ export function RequestPreview({
{["POST", "PUT", "PATCH"].includes(method.toUpperCase()) && (
<div>
<div className="mb-1 text-xs font-medium">Body:</div>
- <pre className="overflow-x-auto rounded bg-slate-100 p-2 text-xs text-slate-600 dark:bg-slate-800 dark:text-slate-400">
+ <pre className="overflow-x-auto rounded bg-slate-elevation2 p-2 text-xs text-muted-foreground dark:bg-slate-elevation5 dark:text-muted-foreground">
{body || "{}"}
</pre>
</div>
@@ -268,7 +268,7 @@ export function RequestPreview({
hasFiles && (
<div>
<div className="mb-1 text-xs font-medium">Files:</div>
- <pre className="overflow-x-auto rounded bg-slate-100 p-2 text-xs text-slate-600 dark:bg-slate-800 dark:text-slate-400">
+ <pre className="overflow-x-auto rounded bg-slate-elevation2 p-2 text-xs text-muted-foreground dark:bg-slate-elevation5 dark:text-muted-foreground">
{files || "{}"}
</pre>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/QuickHeadersDialog.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/QuickHeadersDialog.tsx
index b3fc22741..2b42d88fb 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/QuickHeadersDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/HttpRequestNode/QuickHeadersDialog.tsx
@@ -120,7 +120,7 @@ export function QuickHeadersDialog({ onAdd, children }: Props) {
return (
<div
key={index}
- className={`cursor-pointer rounded-lg border p-3 transition-colors hover:bg-slate-50 dark:hover:bg-slate-800 ${
+ className={`cursor-pointer rounded-lg border p-3 transition-colors hover:bg-slate-elevation1 dark:hover:bg-slate-elevation5 ${
isSelected
? "border-blue-500 bg-blue-50 dark:bg-blue-900/20"
: ""
@@ -134,7 +134,7 @@ export function QuickHeadersDialog({ onAdd, children }: Props) {
<Badge variant="outline" className="font-mono text-xs">
{header.name}
</Badge>
- <span className="text-sm text-slate-600 dark:text-slate-400">
+ <span className="text-sm text-muted-foreground dark:text-muted-foreground">
{header.value}
</span>
</div>
@@ -144,7 +144,7 @@ export function QuickHeadersDialog({ onAdd, children }: Props) {
</Badge>
)}
</div>
- <div className="mt-1 text-xs text-slate-500">
+ <div className="mt-1 text-xs text-muted-foreground">
{header.description}
</div>
</div>
@@ -200,8 +200,8 @@ export function QuickHeadersDialog({ onAdd, children }: Props) {
<h4 className="mb-3 text-sm font-medium">
Selected Headers ({Object.keys(selectedHeaders).length})
</h4>
- <div className="rounded-lg border bg-slate-50 p-3 dark:bg-slate-800">
- <pre className="text-xs text-slate-600 dark:text-slate-400">
+ <div className="rounded-lg border bg-slate-elevation1 p-3 dark:bg-slate-elevation5">
+ <pre className="text-xs text-muted-foreground dark:text-muted-foreground">
{JSON.stringify(selectedHeaders, null, 2)}
</pre>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/IgnoreWorkflowSystemPrompt.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/IgnoreWorkflowSystemPrompt.tsx
index 2301a536c..ab28bfb5c 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/IgnoreWorkflowSystemPrompt.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/IgnoreWorkflowSystemPrompt.tsx
@@ -14,7 +14,7 @@ function IgnoreWorkflowSystemPrompt({
return (
<div className="flex items-center justify-between gap-2">
<div className="flex min-w-0 items-center gap-2">
- <Label className="truncate text-xs font-normal text-slate-300">
+ <Label className="truncate text-xs font-normal text-muted-foreground">
Ignore System Prompt
</Label>
<HelpTooltip content="When checked, this block ignores the workflow-level system prompt. Only relevant when the workflow has a workflow system prompt set." />
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx
index 0b9987d40..f943b6d47 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/StartNode/StartNode.tsx
@@ -194,30 +194,31 @@ function StartNode({ id, data, parentId }: NodeProps<StartNode>) {
id="a"
className="opacity-0"
/>
- <div className="w-[30rem] rounded-lg bg-slate-elevation4 px-6 py-4 text-center text-xs font-semibold uppercase tracking-[0.2em] text-slate-400">
+ <div className="w-[30rem] rounded-lg bg-slate-elevation4 px-6 py-4 text-center text-xs font-semibold uppercase tracking-[0.2em] text-muted-foreground">
Start
{loopParent ? (
- <div className="mt-4 flex gap-3 rounded-md bg-slate-800 p-3 normal-case tracking-normal">
- <span className="rounded bg-slate-700 p-1 text-lg">💡</span>
- <div className="space-y-1 text-left font-normal text-slate-400">
+ <div className="mt-4 flex gap-3 rounded-md bg-slate-elevation5 p-3 normal-case tracking-normal">
+ <span className="rounded bg-slate-elevation4 p-1 text-lg">💡</span>
+ <div className="space-y-1 text-left font-normal text-muted-foreground">
{loopParent.data.loopKind === "while" ? (
<>
Use{" "}
- <code className="text-white">{`{{ current_index }}`}</code> to
- get the current zero-based loop index for a given iteration.
+ <code className="text-foreground">{`{{ current_index }}`}</code>{" "}
+ to get the current zero-based loop index for a given
+ iteration.
</>
) : (
<>
Use{" "}
- <code className="text-white">{`{{ current_value }}`}</code> to
- get the current loop value for a given iteration.
+ <code className="text-foreground">{`{{ current_value }}`}</code>{" "}
+ to get the current loop value for a given iteration.
</>
)}
</div>
</div>
) : null}
{isInsideConditional && (
- <div className="mt-4 rounded-md border border-dashed border-slate-500 p-4 text-center font-normal normal-case tracking-normal text-slate-300">
+ <div className="mt-4 rounded-md border border-dashed border-input p-4 text-center font-normal normal-case tracking-normal text-muted-foreground">
Start adding blocks to be executed for the selected condition
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx
index 60e86e90b..76358392a 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/ParametersMultiSelect.tsx
@@ -104,7 +104,7 @@ function ParametersMultiSelect({
return (
<div className="space-y-2">
<header className="flex gap-2">
- <h1 className="text-xs text-slate-300">Parameters</h1>
+ <h1 className="text-xs text-muted-foreground">Parameters</h1>
<HelpTooltip content={helpTooltips["task"]["parameters"]} />
</header>
<MultiSelect
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx
index cc8e55a05..2a482ff98 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/TaskNode/TaskNodeParametersPanel.tsx
@@ -29,7 +29,7 @@ function TaskNodeParametersPanel({
return (
<div className="space-y-2">
<header className="flex gap-2">
- <h1 className="text-xs text-slate-300">Parameters</h1>
+ <h1 className="text-xs text-muted-foreground">Parameters</h1>
<HelpTooltip content={helpTooltips["task"]["parameters"]} />
</header>
<MultiSelect
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx
index 7d713b98a..bb30790da 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/PayloadParameterFields.tsx
@@ -132,7 +132,7 @@ function PayloadParameterFields({
if (parameters.length === 0 && staleKeys.length === 0) {
return (
- <p className="text-xs text-slate-500">
+ <p className="text-xs text-muted-foreground">
This workflow has no input parameters.
</p>
);
@@ -141,7 +141,7 @@ function PayloadParameterFields({
return (
<div className="space-y-3">
{parameters.length === 0 && (
- <p className="text-xs text-slate-500">
+ <p className="text-xs text-muted-foreground">
This workflow has no input parameters.
</p>
)}
@@ -153,8 +153,10 @@ function PayloadParameterFields({
<div key={param.key} className="space-y-1.5">
<div className="flex items-center justify-between">
<div className="flex items-baseline gap-2">
- <Label className="text-xs text-slate-300">{param.key}</Label>
- <span className="text-[10px] text-slate-500">
+ <Label className="text-xs text-muted-foreground">
+ {param.key}
+ </Label>
+ <span className="text-[10px] text-muted-foreground">
{param.workflow_parameter_type}
</span>
</div>
@@ -169,7 +171,9 @@ function PayloadParameterFields({
)}
</div>
{param.description && (
- <p className="text-[10px] text-slate-500">{param.description}</p>
+ <p className="text-[10px] text-muted-foreground">
+ {param.description}
+ </p>
)}
{isCredential && !isDynamic ? (
<CredentialSelector
@@ -194,7 +198,7 @@ function PayloadParameterFields({
{isCredential &&
!payloadValues[param.key] &&
param.default_value != null && (
- <p className="text-[10px] text-slate-500">
+ <p className="text-[10px] text-muted-foreground">
Default:{" "}
{credentialNameById.get(String(param.default_value)) ??
String(param.default_value)}
@@ -211,7 +215,7 @@ function PayloadParameterFields({
<p className="text-[10px] font-medium uppercase text-amber-400">
Dormant payload entries
</p>
- <p className="text-[10px] text-slate-400">
+ <p className="text-[10px] text-muted-foreground">
The target workflow no longer declares these parameters. They are
saved but never consumed at runtime, and any malformed Jinja2 here
will still fail the trigger at execute time. Delete or align the
@@ -219,9 +223,9 @@ function PayloadParameterFields({
</p>
{staleKeys.map((key) => (
<div key={key} className="flex items-center gap-2">
- <Label className="text-xs text-slate-300">{key}</Label>
+ <Label className="text-xs text-muted-foreground">{key}</Label>
<code
- className="min-w-0 grow truncate text-[10px] text-slate-400"
+ className="min-w-0 grow truncate text-[10px] text-muted-foreground"
title={payloadValues[key]}
>
{payloadValues[key]}
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowSelector.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowSelector.tsx
index ac0c71929..cd21d1c88 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowSelector.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/WorkflowTriggerNode/WorkflowSelector.tsx
@@ -131,11 +131,11 @@ function WorkflowSelector({
<div className="min-w-0 flex-1 truncate px-3 py-2">
{hasSelection ? (
<>
- <span className="text-slate-300">{workflowTitle}</span>
- <span className="ml-1.5 text-slate-500">[{value}]</span>
+ <span className="text-muted-foreground">{workflowTitle}</span>
+ <span className="ml-1.5 text-muted-foreground">[{value}]</span>
</>
) : value ? (
- <span className="text-slate-300">{value}</span>
+ <span className="text-muted-foreground">{value}</span>
) : (
<span className="text-muted-foreground">
Select a workflow to trigger...
@@ -146,7 +146,7 @@ function WorkflowSelector({
{hasSelection && (
<button
type="button"
- className="rounded p-0.5 text-slate-500 hover:bg-muted hover:text-slate-300"
+ className="rounded p-0.5 text-muted-foreground hover:bg-muted hover:text-muted-foreground"
onClick={(e) => {
e.stopPropagation();
handleClear();
@@ -169,7 +169,7 @@ function WorkflowSelector({
</button>
)}
<ChevronDownIcon
- className={`size-4 text-slate-500 transition-transform ${open ? "rotate-180" : ""}`}
+ className={`size-4 text-muted-foreground transition-transform ${open ? "rotate-180" : ""}`}
/>
</div>
</div>
@@ -178,11 +178,11 @@ function WorkflowSelector({
{open && (
<div
ref={dropdownRef}
- className="absolute z-50 mt-1 w-full overflow-hidden rounded-md border border-slate-600 bg-slate-800 shadow-lg"
+ className="absolute z-50 mt-1 w-full overflow-hidden rounded-md border border-border bg-slate-elevation5 shadow-lg"
onMouseDown={(e) => e.preventDefault()}
>
{/* Search input */}
- <div className="border-b border-slate-600 px-3 py-2">
+ <div className="border-b border-border px-3 py-2">
<input
ref={inputRef}
id={`workflow-selector-${nodeId}`}
@@ -190,7 +190,7 @@ function WorkflowSelector({
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
placeholder="Search workflows..."
- className="w-full bg-transparent text-xs text-slate-300 placeholder:text-muted-foreground focus-visible:outline-none"
+ className="w-full bg-transparent text-xs text-muted-foreground placeholder:text-muted-foreground focus-visible:outline-none"
/>
</div>
{/* Results */}
@@ -218,7 +218,7 @@ function WorkflowSelector({
))}
</>
) : workflows.length === 0 ? (
- <div className="px-3 py-3 text-xs text-slate-500">
+ <div className="px-3 py-3 text-xs text-muted-foreground">
No workflows found.
</div>
) : (
@@ -231,14 +231,14 @@ function WorkflowSelector({
type="button"
onMouseDown={(e) => e.preventDefault()}
onClick={() => handleSelect(workflow)}
- className={`flex w-full flex-col gap-0.5 px-3 py-2 text-left text-xs transition-colors hover:bg-slate-700 ${
- isSelected ? "bg-slate-700" : ""
+ className={`flex w-full flex-col gap-0.5 px-3 py-2 text-left text-xs transition-colors hover:bg-slate-elevation4 ${
+ isSelected ? "bg-slate-elevation4" : ""
}`}
>
- <span className="font-medium text-slate-200">
+ <span className="font-medium text-foreground">
{workflow.title}
</span>
- <span className="text-slate-500">
+ <span className="text-muted-foreground">
{workflow.workflow_permanent_id}
</span>
</button>
@@ -246,7 +246,7 @@ function WorkflowSelector({
})}
{isFetchingNextPage && (
<div className="flex items-center justify-center py-2">
- <ReloadIcon className="h-3 w-3 animate-spin text-slate-400" />
+ <ReloadIcon className="h-3 w-3 animate-spin text-muted-foreground" />
</div>
)}
</>
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockExecutionOptions.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockExecutionOptions.tsx
index 4effd9db7..8d6400d41 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockExecutionOptions.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockExecutionOptions.tsx
@@ -71,7 +71,7 @@ export function BlockExecutionOptions({
onIncludeActionHistoryInVerificationChange && (
<div className="flex items-center justify-between">
<div className="flex gap-2">
- <Label className="text-xs font-normal text-slate-300">
+ <Label className="text-xs font-normal text-muted-foreground">
Include Action History
</Label>
<HelpTooltip
@@ -116,7 +116,7 @@ export function BlockExecutionOptions({
return (
<div className="flex items-center justify-between">
<div className="flex gap-2">
- <Label className="text-xs font-normal text-slate-300">
+ <Label className="text-xs font-normal text-muted-foreground">
On block failure
</Label>
<HelpTooltip
@@ -159,7 +159,7 @@ export function BlockExecutionOptions({
(!isInsideForLoop || !showNextLoopOnFailure) && (
<div className="flex items-center justify-between">
<div className="flex gap-2">
- <Label className="text-xs font-normal text-slate-300">
+ <Label className="text-xs font-normal text-muted-foreground">
Continue on Failure
</Label>
<HelpTooltip
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx
index 4a4cd58ec..8842ffbd5 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/components/BlockParametersDialog.tsx
@@ -186,14 +186,14 @@ function BlockParametersDialog({
>
{param.key}
</Label>
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{getLabelForWorkflowParameterType(
param.workflow_parameter_type,
)}
</span>
</div>
{param.description && (
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
{param.description}
</p>
)}
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/components/MicroDropdown.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/components/MicroDropdown.tsx
index 4da607cba..cbfa34e0b 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/components/MicroDropdown.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/components/MicroDropdown.tsx
@@ -81,7 +81,7 @@ function MicroDropdown({ selections, selected, onChange }: Props) {
{isOpen && (
<div
className={cn(
- "absolute right-0 z-10 rounded-md bg-background text-xs text-slate-400",
+ "absolute right-0 z-10 rounded-md bg-background text-xs text-muted-foreground",
"duration-200 animate-in fade-in-0 zoom-in-95",
openUpwards
? "bottom-full mb-2 slide-in-from-bottom-2"
@@ -94,7 +94,7 @@ function MicroDropdown({ selections, selected, onChange }: Props) {
<div
key={s}
className={cn(
- "flex cursor-pointer items-center gap-1 rounded-md p-1 hover:bg-slate-800",
+ "flex cursor-pointer items-center gap-1 rounded-md p-1 hover:bg-slate-elevation5",
"animate-in fade-in-0 slide-in-from-left-2",
{
"pointer-events-none cursor-default opacity-50":
diff --git a/skyvern-frontend/src/routes/workflows/editor/nodes/components/NodeHeader.tsx b/skyvern-frontend/src/routes/workflows/editor/nodes/components/NodeHeader.tsx
index badbf6084..ebda30ea0 100644
--- a/skyvern-frontend/src/routes/workflows/editor/nodes/components/NodeHeader.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/nodes/components/NodeHeader.tsx
@@ -779,7 +779,7 @@ function NodeHeader({
) : (
gripHandle
))}
- <div className="flex h-[2.75rem] w-[2.75rem] items-center justify-center rounded border border-slate-600">
+ <div className="flex h-[2.75rem] w-[2.75rem] items-center justify-center rounded border border-border">
<WorkflowBlockIcon workflowBlockType={type} className="size-6" />
</div>
<div className="flex min-w-0 flex-col gap-1">
@@ -794,7 +794,7 @@ function NodeHeader({
<div className="flex items-center gap-2">
{transmutations && transmutations.others.length ? (
<div className="flex items-center gap-1">
- <span className="text-xs text-slate-400">
+ <span className="text-xs text-muted-foreground">
{transmutations.blockTitle}
</span>
<NoticeMe trigger="viewport">
@@ -819,7 +819,9 @@ function NodeHeader({
</NoticeMe>
</div>
) : (
- <span className="text-xs text-slate-400">{blockTitle}</span>
+ <span className="text-xs text-muted-foreground">
+ {blockTitle}
+ </span>
)}
{workflowSettingsStore.finallyBlockLabel === blockLabel && (
<span className="rounded bg-amber-600/20 px-1.5 py-0.5 text-[10px] font-medium text-amber-400">
@@ -833,7 +835,7 @@ function NodeHeader({
{extraActions}
{thisBlockIsPlaying && (
<div className="ml-auto">
- <button className="rounded p-1 hover:bg-red-500 hover:text-black disabled:opacity-50">
+ <button className="rounded p-1 hover:bg-destructive hover:text-destructive-foreground disabled:opacity-50">
{cancelBlock.isPending ? (
<ReloadIcon className="size-6 animate-spin" />
) : (
@@ -859,7 +861,7 @@ function NodeHeader({
) : (
<PlayIcon
className={cn("size-6", {
- "pointer-events-none fill-gray-500 text-gray-500":
+ "pointer-events-none fill-gray-500 text-muted-foreground":
workflowRunIsRunningOrQueued ||
!workflowPermanentId ||
debugSession === undefined ||
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowCacheKeyValuesPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowCacheKeyValuesPanel.tsx
index 83a6b5e74..3b91b245a 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowCacheKeyValuesPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowCacheKeyValuesPanel.tsx
@@ -55,27 +55,27 @@ function WorkflowCacheKeyValuesPanel({
return (
<div
- className="relative z-10 w-[44.26rem] rounded-xl border border-slate-700 bg-slate-950 p-5 shadow-xl"
+ className="relative z-10 w-[44.26rem] rounded-xl border border-border bg-background p-5 shadow-xl"
onMouseDownCapture={() => onMouseDownCapture?.()}
>
<div className="space-y-4">
<header className="flex items-start justify-between gap-3">
<div className="flex-1">
<h1 className="text-lg">Code Cache</h1>
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
Given your code key,{" "}
- <code className="font-mono text-xs text-slate-200">
+ <code className="font-mono text-xs text-foreground">
{scriptKey}
</code>
, search for saved code using a code key value. For this code key
there {totalCount === 1 ? "is" : "are"}{" "}
- <span className="font-bold text-slate-200">{totalCount}</span>{" "}
+ <span className="font-bold text-foreground">{totalCount}</span>{" "}
code key {totalCount === 1 ? "value" : "values"}
{filteredCount !== totalCount && (
<>
{" "}
(
- <span className="font-bold text-slate-200">
+ <span className="font-bold text-foreground">
{filteredCount}
</span>{" "}
filtered)
@@ -121,16 +121,17 @@ function WorkflowCacheKeyValuesPanel({
}}
/>
)}
- <div className="h-[10rem] w-full overflow-hidden overflow-y-auto border-b border-slate-700 p-1">
+ <div className="h-[10rem] w-full overflow-hidden overflow-y-auto border-b border-border p-1">
{values.length ? (
<div className="grid w-full grid-cols-[3rem_1fr_3rem] text-sm">
{values.map((cacheKeyValue, i) => (
<div
key={cacheKeyValue}
className={cn(
- "col-span-3 grid w-full cursor-pointer grid-cols-subgrid rounded-md hover:bg-slate-800",
+ "col-span-3 grid w-full cursor-pointer grid-cols-subgrid rounded-md hover:bg-slate-elevation5",
{
- "bg-slate-900 hover:bg-slate-800": i % 2 === 0,
+ "bg-slate-elevation1 hover:bg-slate-elevation5":
+ i % 2 === 0,
},
)}
onClick={() => {
@@ -139,14 +140,14 @@ function WorkflowCacheKeyValuesPanel({
>
<div
className={cn(
- "flex items-center justify-end p-1 text-slate-500",
+ "flex items-center justify-end p-1 text-muted-foreground",
)}
>
{i + 1 + (page - 1) * pageSize}
</div>
<div
className={cn(
- "flex min-w-0 flex-1 items-center justify-start p-1 text-slate-300",
+ "flex min-w-0 flex-1 items-center justify-start p-1 text-muted-foreground",
)}
title={cacheKeyValue}
>
@@ -175,7 +176,7 @@ function WorkflowCacheKeyValuesPanel({
</div>
)}
</div>
- <div className="flex items-center justify-between p-1 text-slate-500">
+ <div className="flex items-center justify-between p-1 text-muted-foreground">
{pending && <ReloadIcon className="size-6 animate-spin" />}
<Pagination className="justify-end pt-2">
<PaginationContent>
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowComparisonPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowComparisonPanel.tsx
index ad4429891..a60b72ffc 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowComparisonPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowComparisonPanel.tsx
@@ -245,7 +245,7 @@ function WorkflowComparisonRenderer({
);
return (
- <div className="h-full w-full rounded-lg border bg-white">
+ <div className="h-full w-full rounded-lg border bg-card">
<FlowRenderer
hideBackground={false}
readOnly
@@ -354,7 +354,7 @@ function WorkflowComparisonPanel({
<button
type="button"
onClick={() => onCopilotReviewClose("close")}
- className="absolute right-4 top-4 rounded p-1 text-slate-400 hover:bg-slate-700 hover:text-slate-200"
+ className="absolute right-4 top-4 rounded p-1 text-muted-foreground hover:bg-slate-elevation4 hover:text-foreground"
title="Close (Esc)"
>
<Cross2Icon className="h-5 w-5" />
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx
index 98358fb8b..0edd4bb83 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowNodeLibraryPanel.tsx
@@ -403,14 +403,14 @@ function WorkflowNodeLibraryPanel({ onNodeClick }: Props) {
}}
>
<div className="flex gap-2">
- <div className="flex h-[2.75rem] w-[2.75rem] shrink-0 items-center justify-center rounded border border-slate-600">
+ <div className="flex h-[2.75rem] w-[2.75rem] shrink-0 items-center justify-center rounded border border-border">
{item.icon}
</div>
<div className="flex flex-col gap-1">
<span className="max-w-64 truncate text-base">
{item.title}
</span>
- <span className="text-xs text-slate-400">
+ <span className="text-xs text-muted-foreground">
{item.description}
</span>
</div>
@@ -419,7 +419,7 @@ function WorkflowNodeLibraryPanel({ onNodeClick }: Props) {
</div>
))
) : (
- <div className="p-4 text-center text-sm text-slate-400">
+ <div className="p-4 text-center text-sm text-muted-foreground">
No results found
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx
index c55d88a1c..1ea325c6f 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParameterEditPanel.tsx
@@ -325,14 +325,14 @@ function WorkflowParameterEditPanel({
<Cross2Icon className="h-6 w-6 cursor-pointer" onClick={onClose} />
</header>
<div className="space-y-1">
- <Label className="text-xs text-slate-300">Key</Label>
+ <Label className="text-xs text-muted-foreground">Key</Label>
<Input value={key} onChange={(e) => setKey(e.target.value)} />
{keyValidationError && (
<p className="text-xs text-destructive">{keyValidationError}</p>
)}
</div>
<div className="space-y-1">
- <Label className="text-xs text-slate-300">Description</Label>
+ <Label className="text-xs text-muted-foreground">Description</Label>
<Input
value={description}
onChange={(e) => setDescription(e.target.value)}
@@ -436,7 +436,7 @@ function WorkflowParameterEditPanel({
});
}}
/>
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Use Default Value
</Label>
</div>
@@ -479,7 +479,7 @@ function WorkflowParameterEditPanel({
{/* Step 1: Credential Type */}
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Credential Type
</Label>
<HelpTooltip content="Select the type of credential you want to use. Password for login credentials, Secret for sensitive data fields, Credit Card for payment information." />
@@ -506,7 +506,9 @@ function WorkflowParameterEditPanel({
{/* Step 2: Source */}
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">Source</Label>
+ <Label className="text-xs text-muted-foreground">
+ Source
+ </Label>
<HelpTooltip content="Select the storage location for your credentials. Skyvern supports managed credentials such as Bitwarden, 1Password, and Azure Key Vault that connect directly to your vault. If you use a custom external credential service, you can add it here as well." />
</div>
<Select
@@ -537,7 +539,7 @@ function WorkflowParameterEditPanel({
<>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
URL Parameter Key
</Label>
<HelpTooltip content="Optional. The workflow parameter key that holds the URL. If provided, Skyvern will match the credential based on this URL." />
@@ -549,7 +551,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Bitwarden Collection ID
</Label>
<HelpTooltip content="Find in the Bitwarden collection URL. Supports workflow parameters." />
@@ -561,7 +563,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Bitwarden Item ID
</Label>
<HelpTooltip content="Find in /#/vault?itemId=[ITEM_ID]. Supports workflow parameters." />
@@ -581,7 +583,7 @@ function WorkflowParameterEditPanel({
<>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Bitwarden Collection ID
</Label>
<HelpTooltip content="Collection containing the identity, such as {{ parameter_name }}." />
@@ -593,7 +595,9 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">Identity Key</Label>
+ <Label className="text-xs text-muted-foreground">
+ Identity Key
+ </Label>
<HelpTooltip content="Identity name or identifier, such as {{ parameter_name }}." />
</div>
<Input
@@ -603,7 +607,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Identity Fields
</Label>
<HelpTooltip content="Comma-separated list of field names to extract from the Bitwarden identity (e.g., 'ssn, address, phone')." />
@@ -622,7 +626,7 @@ function WorkflowParameterEditPanel({
<>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Bitwarden Collection ID
</Label>
<HelpTooltip content="Collection containing the credit card. Supports workflow parameters." />
@@ -634,7 +638,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Bitwarden Item ID
</Label>
<HelpTooltip content="Credit card item ID. Supports workflow parameters." />
@@ -654,7 +658,7 @@ function WorkflowParameterEditPanel({
<>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
1Password Vault ID
</Label>
<HelpTooltip content="Find this in the 1Password vault URL. Supports workflow parameters." />
@@ -666,7 +670,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
1Password Item ID
</Label>
<HelpTooltip content="Find this in the 1Password item URL. Supports workflow parameters." />
@@ -677,8 +681,8 @@ function WorkflowParameterEditPanel({
/>
</div>
{credentialDataType === "creditCard" && (
- <div className="rounded-md bg-slate-800 p-2">
- <div className="space-y-1 text-xs text-slate-400">
+ <div className="rounded-md bg-slate-elevation5 p-2">
+ <div className="space-y-1 text-xs text-muted-foreground">
Credit Cards: Due to a 1Password limitation, add the
expiration date as a separate text field named "Expire Date"
in the format MM/YYYY (e.g. 09/2027).
@@ -693,7 +697,7 @@ function WorkflowParameterEditPanel({
<>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Azure Key Vault Name
</Label>
<HelpTooltip content="The name of your Azure Key Vault instance (e.g., 'my-company-vault'). This is the name you see in the Azure portal." />
@@ -705,7 +709,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Azure Username Secret Key
</Label>
<HelpTooltip content="The secret name in Azure Key Vault that stores the username (e.g., 'my-app-username')." />
@@ -718,7 +722,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Azure Password Secret Key
</Label>
<HelpTooltip content="The secret name in Azure Key Vault that stores the password (e.g., 'my-app-password')." />
@@ -730,7 +734,7 @@ function WorkflowParameterEditPanel({
</div>
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Azure TOTP Secret Key
</Label>
<HelpTooltip content="Optional. The secret name in Azure Key Vault that stores the TOTP secret for two-factor authentication." />
@@ -747,7 +751,7 @@ function WorkflowParameterEditPanel({
{showSkyvernCredentialSelector && (
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Skyvern Credential
</Label>
<HelpTooltip content="Select a credential from your Skyvern credential store. These are managed credentials you've previously added to Skyvern." />
@@ -763,7 +767,7 @@ function WorkflowParameterEditPanel({
{showCustomCredentialSelector && (
<div className="space-y-1">
<div className="flex gap-2">
- <Label className="text-xs text-slate-300">
+ <Label className="text-xs text-muted-foreground">
Custom Credential
</Label>
<HelpTooltip content="Select a credential managed by your custom credential service. These credentials are stored in your external credential vault." />
@@ -778,7 +782,9 @@ function WorkflowParameterEditPanel({
{type === "context" && (
<div className="space-y-1">
- <Label className="text-xs text-slate-300">Source Parameter</Label>
+ <Label className="text-xs text-muted-foreground">
+ Source Parameter
+ </Label>
<SourceParameterKeySelector
value={sourceParameterKey}
onChange={setSourceParameterKey}
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx
index 8bdf6ba3c..30d4d76da 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/WorkflowParametersPanel.tsx
@@ -93,13 +93,13 @@ function WorkflowParametersPanel({ onMouseDownCapture }: Props) {
return (
<div
- className="relative z-10 w-[25rem] rounded-xl border border-slate-700 bg-slate-950 p-5 shadow-xl"
+ className="relative z-10 w-[25rem] rounded-xl border border-border bg-background p-5 shadow-xl"
onMouseDownCapture={() => onMouseDownCapture?.()}
>
<div className="space-y-4">
<header>
<h1 className="text-lg">Parameters</h1>
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
Create placeholder values that you can link in nodes. You will be
prompted to fill them in before running your workflow.
</span>
@@ -141,11 +141,11 @@ function WorkflowParametersPanel({ onMouseDownCapture }: Props) {
</Tooltip>
</TooltipProvider>
{parameter.parameterType === "workflow" ? (
- <span className="shrink-0 text-sm text-slate-400">
+ <span className="shrink-0 text-sm text-muted-foreground">
{getLabelForWorkflowParameterType(parameter.dataType)}
</span>
) : (
- <span className="shrink-0 text-sm text-slate-400">
+ <span className="shrink-0 text-sm text-muted-foreground">
{parameter.parameterType === "onepassword" ||
parameter.parameterType === "secret" ||
parameter.parameterType === "creditCardData"
@@ -221,7 +221,7 @@ function WorkflowParametersPanel({ onMouseDownCapture }: Props) {
}}
>
{operationPanelState.operation === "add" && (
- <div className="w-80 rounded-xl border border-slate-700 bg-slate-950 p-5 px-2 shadow-xl">
+ <div className="w-80 rounded-xl border border-border bg-background p-5 px-2 shadow-xl">
<WorkflowParameterEditPanel
type={operationPanelState.type}
onSave={(parameter) => {
@@ -245,7 +245,7 @@ function WorkflowParametersPanel({ onMouseDownCapture }: Props) {
)}
{operationPanelState.operation === "edit" &&
operationPanelState.parameter && (
- <div className="w-80 rounded-xl border border-slate-700 bg-slate-950 p-5 px-2 shadow-xl">
+ <div className="w-80 rounded-xl border border-border bg-background p-5 px-2 shadow-xl">
<WorkflowParameterEditPanel
key={operationPanelState.parameter?.key}
type={operationPanelState.type}
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/CreateScheduleDialog.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/CreateScheduleDialog.tsx
index 3374d2f93..bd7999b77 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/CreateScheduleDialog.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/CreateScheduleDialog.tsx
@@ -184,7 +184,7 @@ function CreateScheduleDialog({
className={cn(!valid && cronExpression && "border-destructive")}
/>
{humanReadable && (
- <p className="text-sm text-slate-400">{humanReadable}</p>
+ <p className="text-sm text-muted-foreground">{humanReadable}</p>
)}
{!valid && cronExpression && (
<p className="text-sm text-destructive">
@@ -211,14 +211,14 @@ function CreateScheduleDialog({
placeholder="Search timezones..."
/>
{timezoneFilter !== null && (
- <div className="max-h-40 overflow-y-auto rounded-md border border-slate-700 bg-slate-elevation3">
+ <div className="max-h-40 overflow-y-auto rounded-md border border-border bg-slate-elevation3">
{filteredTimezones.slice(0, 20).map((tz) => (
<button
key={tz}
type="button"
className={cn(
- "w-full px-3 py-1.5 text-left text-sm hover:bg-slate-700",
- tz === timezone && "bg-slate-700 text-slate-50",
+ "w-full px-3 py-1.5 text-left text-sm hover:bg-slate-elevation4",
+ tz === timezone && "bg-slate-elevation4 text-foreground",
)}
onMouseDown={(e) => {
e.preventDefault();
@@ -230,23 +230,23 @@ function CreateScheduleDialog({
</button>
))}
{filteredTimezones.length === 0 && (
- <div className="px-3 py-2 text-sm text-slate-500">
+ <div className="px-3 py-2 text-sm text-muted-foreground">
No timezones found
</div>
)}
</div>
)}
- <p className="text-xs text-slate-500">Current: {timezone}</p>
+ <p className="text-xs text-muted-foreground">Current: {timezone}</p>
</div>
{nextRuns.length > 0 && (
<div className="space-y-2">
<Label>Next Scheduled Runs</Label>
- <div className="space-y-1 rounded-md border border-slate-700 bg-slate-elevation3 p-3">
+ <div className="space-y-1 rounded-md border border-border bg-slate-elevation3 p-3">
{nextRuns.map((run) => (
<div
key={run.toISOString()}
- className="text-xs text-slate-400"
+ className="text-xs text-muted-foreground"
>
{formatNextRun(run, timezone)}
</div>
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/ScheduleCard.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/ScheduleCard.tsx
index 7d0c24b78..a877c0429 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/ScheduleCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/ScheduleCard.tsx
@@ -18,18 +18,18 @@ function ScheduleCard({ schedule, isToggling, onToggle, onDelete }: Props) {
const nextRun = nextRuns[0];
return (
- <div className="flex flex-col gap-2 rounded-md border border-slate-700 px-3.5 pb-0.5 pt-3.5">
+ <div className="flex flex-col gap-2 rounded-md border border-border px-3.5 pb-0.5 pt-3.5">
<div className="flex items-start justify-between">
<div className="flex flex-col gap-0.5">
{schedule.name && (
- <span className="text-sm font-medium text-slate-50">
+ <span className="text-sm font-medium text-foreground">
{schedule.name}
</span>
)}
<span
className={cn(
"text-sm",
- schedule.name ? "text-slate-400" : "text-slate-50",
+ schedule.name ? "text-muted-foreground" : "text-foreground",
)}
>
{humanReadable}
@@ -37,7 +37,9 @@ function ScheduleCard({ schedule, isToggling, onToggle, onDelete }: Props) {
</div>
</div>
<div className="flex items-center justify-between">
- <span className="text-xs text-slate-400">{schedule.timezone}</span>
+ <span className="text-xs text-muted-foreground">
+ {schedule.timezone}
+ </span>
<div className="flex items-center gap-2">
<Switch
checked={schedule.enabled}
@@ -57,7 +59,7 @@ function ScheduleCard({ schedule, isToggling, onToggle, onDelete }: Props) {
</div>
</div>
{nextRun && (
- <div className="text-xs text-slate-500">
+ <div className="text-xs text-muted-foreground">
Next: {formatNextRun(nextRun, schedule.timezone)}
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/WorkflowSchedulePanel.tsx b/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/WorkflowSchedulePanel.tsx
index fcbe21ba0..cb76097f5 100644
--- a/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/WorkflowSchedulePanel.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/panels/schedulePanel/WorkflowSchedulePanel.tsx
@@ -80,9 +80,9 @@ function WorkflowSchedulePanel({ onClose }: Props) {
};
return (
- <div className="flex h-full w-[22rem] flex-col rounded-lg border border-slate-700 bg-slate-elevation3">
- <div className="flex items-center justify-between border-b border-slate-700 px-4 py-4">
- <h3 className="text-sm font-normal text-slate-50">
+ <div className="flex h-full w-[22rem] flex-col rounded-lg border border-border bg-slate-elevation3">
+ <div className="flex items-center justify-between border-b border-border px-4 py-4">
+ <h3 className="text-sm font-normal text-foreground">
Schedules
{schedules && schedules.length > 0 ? ` (${schedules.length})` : ""}
</h3>
@@ -111,14 +111,14 @@ function WorkflowSchedulePanel({ onClose }: Props) {
<div className="flex flex-col gap-3 px-4 py-2">
{isLoading && (
<div className="flex items-center justify-center py-8">
- <ReloadIcon className="size-5 animate-spin text-slate-400" />
+ <ReloadIcon className="size-5 animate-spin text-muted-foreground" />
</div>
)}
{isError && (
<div className="py-8 text-center text-sm text-red-400">
Failed to load schedules.
{error?.message && (
- <span className="block text-xs text-slate-500">
+ <span className="block text-xs text-muted-foreground">
{error.message}
</span>
)}
@@ -127,7 +127,7 @@ function WorkflowSchedulePanel({ onClose }: Props) {
{!isLoading &&
!isError &&
(!schedules || schedules.length === 0) && (
- <div className="py-8 text-center text-sm text-slate-500">
+ <div className="py-8 text-center text-sm text-muted-foreground">
No schedules configured.
<br />
Click &quot;Add&quot; to create one.
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx
index 01509753f..20a9cb6b6 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx
@@ -72,13 +72,13 @@ function ActionCard({ action, onClick, active, index, cardClassName }: Props) {
)}
</div>
</div>
- <div className="break-words text-xs text-slate-400">
+ <div className="break-words text-xs text-muted-foreground">
{action.reasoning}
</div>
{action.action_type === ActionTypes.InputText && (
<>
<Separator />
- <div className="text-xs text-slate-400">
+ <div className="text-xs text-muted-foreground">
Input:{" "}
{action.action_type === "input_text"
? (action.text ?? action.response)
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/BlockCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/BlockCard.tsx
index e98da8926..d2430c473 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/BlockCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/BlockCard.tsx
@@ -14,9 +14,9 @@ function BlockCard({ block, onClick, active }: Props) {
return (
<div
className={cn(
- "cursor-pointer space-y-3 rounded-md border bg-slate-elevation3 p-4 hover:border-slate-50",
+ "cursor-pointer space-y-3 rounded-md border bg-slate-elevation3 p-4 hover:border-foreground",
{
- "border-slate-50": active,
+ "border-foreground ring-1 ring-ring": active,
},
)}
onClick={onClick}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/ScriptFixInput.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/ScriptFixInput.tsx
index c8b2f1653..a61fbb6c5 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/ScriptFixInput.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/ScriptFixInput.tsx
@@ -75,8 +75,8 @@ function ScriptFixInput({
)}
{/* Expanded input panel */}
{isOpen && (
- <div className="flex w-full flex-col gap-2 rounded-md border border-slate-700 bg-slate-elevation2 p-3">
- <div className="flex items-center gap-2 text-xs font-medium text-slate-300">
+ <div className="flex w-full flex-col gap-2 rounded-md border border-border bg-slate-elevation2 p-3">
+ <div className="flex items-center gap-2 text-xs font-medium text-muted-foreground">
<MagicWandIcon className="h-3.5 w-3.5" />
Describe what to fix
</div>
@@ -95,7 +95,7 @@ function ScriptFixInput({
}}
/>
<div className="flex items-center justify-between">
- <span className="text-[10px] text-slate-500">
+ <span className="text-[10px] text-muted-foreground">
{isPending ? "Reviewing script..." : "Cmd/Ctrl+Enter to submit"}
</span>
<div className="flex gap-2">
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/ScriptUpdateCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/ScriptUpdateCard.tsx
index 41bb3ab9d..055301715 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/ScriptUpdateCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/ScriptUpdateCard.tsx
@@ -98,9 +98,9 @@ function EpisodeDetail({ episode }: { episode: ScriptFallbackEpisode }) {
: errorMessage;
return (
- <div className="rounded border border-slate-700 bg-slate-800/50 p-3 text-sm">
+ <div className="rounded border border-border bg-slate-elevation5/50 p-3 text-sm">
<div className="flex flex-wrap items-center gap-2">
- <span className="font-mono text-slate-200">{episode.block_label}</span>
+ <span className="font-mono text-foreground">{episode.block_label}</span>
<Badge variant="secondary" className="text-xs">
{fallbackTypeLabels[episode.fallback_type] ?? episode.fallback_type}
</Badge>
@@ -122,7 +122,7 @@ function EpisodeDetail({ episode }: { episode: ScriptFallbackEpisode }) {
</div>
{errorMessage && (
<div className="mt-2">
- <p className="text-xs text-slate-400">{displayMessage}</p>
+ <p className="text-xs text-muted-foreground">{displayMessage}</p>
{isTruncated && (
<button
onClick={() => setExpanded(!expanded)}
@@ -194,21 +194,21 @@ function DiffSection({
<CodeIcon className="size-3.5" />
{showDiff ? "Hide code changes" : "View code changes"}
{beforeVersion != null && afterVersion != null && (
- <span className="text-xs text-slate-500">
+ <span className="text-xs text-muted-foreground">
v{beforeVersion} → v{afterVersion}
</span>
)}
</button>
{showDiff && isLoading && (
- <p className="mt-2 text-xs text-slate-500">Loading diff…</p>
+ <p className="mt-2 text-xs text-muted-foreground">Loading diff…</p>
)}
{showDiff && hasBothVersions && (
- <div className="mt-3 overflow-hidden rounded border border-slate-700">
+ <div className="mt-3 overflow-hidden rounded border border-border">
<ScriptDiffViewer original={beforeText} modified={afterText} />
</div>
)}
{showDiff && noCodeAvailable && (
- <p className="mt-2 text-xs text-slate-500">
+ <p className="mt-2 text-xs text-muted-foreground">
Code not available for these versions.
</p>
)}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/TaskBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/TaskBlockParameters.tsx
index a75bdb73e..58c0ac7f6 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/TaskBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/TaskBlockParameters.tsx
@@ -102,7 +102,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The starting URL for the block
</h2>
</div>
@@ -113,7 +113,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Navigation Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
What should Skyvern do on this page?
</h2>
</div>
@@ -125,7 +125,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Navigation Payload</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify important parameters, routes, or states
</h2>
</div>
@@ -144,7 +144,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Data Extraction Goal</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
What outputs are you looking to get?
</h2>
</div>
@@ -159,7 +159,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Data Schema</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Specify the output format in JSON
</h2>
</div>
@@ -178,7 +178,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Completion Criteria</h1>
- <h2 className="text-base text-slate-400">Complete if...</h2>
+ <h2 className="text-base text-muted-foreground">Complete if...</h2>
</div>
<AutoResizingTextarea
value={block.complete_criterion ?? ""}
@@ -191,7 +191,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Termination Criteria</h1>
- <h2 className="text-base text-slate-400">Terminate if...</h2>
+ <h2 className="text-base text-muted-foreground">Terminate if...</h2>
</div>
<AutoResizingTextarea
value={block.terminate_criterion ?? ""}
@@ -204,7 +204,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Include Action History</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Whether to include action history in the completion verification
</h2>
</div>
@@ -220,13 +220,13 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Continue on Failure</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Whether to continue the workflow if this block fails
</h2>
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={block.continue_on_failure} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{block.continue_on_failure ? "Enabled" : "Disabled"}
</span>
</div>
@@ -234,7 +234,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
{hasAdvancedSettings ? (
<>
- <h2 className="text-base font-semibold text-slate-300">
+ <h2 className="text-base font-semibold text-muted-foreground">
Advanced Settings
</h2>
@@ -242,7 +242,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Engine</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The execution engine used for this block
</h2>
</div>
@@ -254,7 +254,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Error Code Mapping</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Custom error codes and their descriptions
</h2>
</div>
@@ -312,7 +312,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={true} disabled />
- <span className="text-sm text-slate-400">Enabled</span>
+ <span className="text-sm text-muted-foreground">Enabled</span>
</div>
</div>
) : null}
@@ -333,7 +333,7 @@ function TaskBlockParameters({ block, definitionBlock }: Props) {
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={true} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
Cache is disabled for this block
</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx
index 4c1ebb761..f3b746c53 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx
@@ -31,7 +31,7 @@ function ThoughtCard({ thought, onClick, active, cardClassName }: Props) {
</StatusPill>
</div>
{(thought.answer || thought.thought) && (
- <div className="break-words text-xs text-slate-400">
+ <div className="break-words text-xs text-muted-foreground">
{thought.answer || thought.thought}
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx
index 860b1ddde..ab2e80c66 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowPostRunParameters.tsx
@@ -138,7 +138,7 @@ function WorkflowPostRunParameters() {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-sm">Loop Values</h1>
- <h2 className="text-sm text-slate-400">
+ <h2 className="text-sm text-muted-foreground">
The values that are being looped over
</h2>
</div>
@@ -423,7 +423,7 @@ function WorkflowPostRunParameters() {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Run With</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Execution mode for this run
</h2>
</div>
@@ -453,7 +453,7 @@ function WorkflowPostRunParameters() {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Task 2.0 Prompt</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The original prompt for the task
</h2>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunCode.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunCode.tsx
index d898063f4..b7cc9cb42 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunCode.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunCode.tsx
@@ -351,14 +351,16 @@ function WorkflowRunCode(props?: Props) {
"rounded-full border px-2.5 py-1 text-xs transition-colors",
activeChipVersion === usedVersion
? "border-blue-500 bg-blue-500/20 text-blue-300"
- : "border-slate-700 text-slate-400 hover:border-slate-500",
+ : "border-border text-muted-foreground hover:border-input",
)}
onClick={() => setSelectedVersion(didGenerate ? usedVersion : null)}
disabled={isEditing}
>
Used: #{usedVersion}
</button>
- {didGenerate && <span className="text-xs text-slate-600">→</span>}
+ {didGenerate && (
+ <span className="text-xs text-muted-foreground">→</span>
+ )}
</>
)}
{generatedVersion != null && (
@@ -368,14 +370,16 @@ function WorkflowRunCode(props?: Props) {
"rounded-full border px-2.5 py-1 text-xs transition-colors",
activeChipVersion === generatedVersion || selectedVersion === null
? "border-emerald-500 bg-emerald-500/20 text-emerald-300"
- : "border-slate-700 text-slate-400 hover:border-slate-500",
+ : "border-border text-muted-foreground hover:border-input",
)}
onClick={() => setSelectedVersion(null)}
disabled={isEditing}
>
Generated: #{generatedVersion}
{usedVersion == null && (
- <span className="ml-1 text-[10px] text-slate-500">(initial)</span>
+ <span className="ml-1 text-[10px] text-muted-foreground">
+ (initial)
+ </span>
)}
</button>
)}
@@ -448,7 +452,7 @@ function WorkflowRunCode(props?: Props) {
value={cacheKeyValue}
onValueChange={(v: string) => setCacheKeyValue(v)}
>
- <SelectTrigger className="h-7 max-w-[15rem] gap-1.5 rounded-full border-slate-700 px-2.5 text-xs [&>span]:text-ellipsis">
+ <SelectTrigger className="h-7 max-w-[15rem] gap-1.5 rounded-full border-border px-2.5 text-xs [&>span]:text-ellipsis">
<SelectValue placeholder="Variant" />
</SelectTrigger>
<SelectContent>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunHumanInteraction.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunHumanInteraction.tsx
index f3f12136c..c8239dc7f 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunHumanInteraction.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunHumanInteraction.tsx
@@ -156,7 +156,7 @@ export function WorkflowRunHumanInteraction({ workflowRunBlock }: Props) {
<div>{workflowRunBlock.negative_descriptor}</div>
</Button>
<Button
- variant="default"
+ variant="brand"
onClick={() => {
setChoice("approve");
setIsDialogOpen(true);
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOutput.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOutput.tsx
index 4aef52f3f..7a3d9a4e5 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOutput.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOutput.tsx
@@ -36,14 +36,14 @@ function SummaryDisplay({
className="space-y-1 rounded bg-slate-elevation3 p-4"
>
{isStale && (
- <p className="text-xs text-slate-400">
+ <p className="text-xs text-muted-foreground">
Out of date - re-summarize for the current output.
</p>
)}
<p
className={
isStale
- ? "whitespace-pre-wrap text-sm text-slate-400"
+ ? "whitespace-pre-wrap text-sm text-muted-foreground"
: "whitespace-pre-wrap text-sm"
}
>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunRecording.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunRecording.tsx
index d6955906c..6deb6d5fc 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunRecording.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunRecording.tsx
@@ -64,7 +64,7 @@ function WorkflowRunRecording() {
key={index} // presigned URLs change on refetch; list order is stable
className="flex flex-col gap-2"
>
- <div className="text-sm text-slate-400">
+ <div className="text-sm text-muted-foreground">
Recording {index + 1} of {recordingUrls.length}
</div>
<video
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunStream.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunStream.tsx
index 2151dbd54..f252bed66 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunStream.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunStream.tsx
@@ -258,7 +258,7 @@ function WorkflowRunStream({
if (workflowRun?.status === Status.Created) {
return (
- <div className="flex h-full w-full flex-col items-center justify-center gap-8 rounded-md bg-slate-900 py-8 text-lg">
+ <div className="flex h-full w-full flex-col items-center justify-center gap-8 rounded-md bg-slate-elevation1 py-8 text-lg">
<span>Workflow has been created.</span>
<span>Stream will start when the workflow is running.</span>
</div>
@@ -266,7 +266,7 @@ function WorkflowRunStream({
}
if (workflowRun?.status === Status.Queued) {
return (
- <div className="flex h-full w-full flex-col items-center justify-center gap-8 rounded-md bg-slate-900 py-8 text-lg">
+ <div className="flex h-full w-full flex-col items-center justify-center gap-8 rounded-md bg-slate-elevation1 py-8 text-lg">
<span>Your workflow run is queued.</span>
<span>Stream will start when the workflow is running.</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx
index a150c537b..674453371 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx
@@ -120,7 +120,7 @@ function WorkflowRunTimeline({
</div>
)}
{workflowRunIsNotFinalized && workflowRunTimeline.length === 0 && (
- <div className="flex items-center justify-center py-8 text-sm text-slate-400">
+ <div className="flex items-center justify-center py-8 text-sm text-muted-foreground">
Formulating actions...
</div>
)}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
index 4b2bcfa67..40dd3e7cd 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineBlockItem.tsx
@@ -146,7 +146,7 @@ function LoopValueCode({
<TooltipTrigger asChild>
<code
ref={codeRef}
- className="line-clamp-2 block min-w-0 break-all rounded bg-slate-elevation1 px-1 py-0.5 font-mono text-slate-300"
+ className="line-clamp-2 block min-w-0 break-all rounded bg-slate-elevation1 px-1 py-0.5 font-mono text-muted-foreground"
>
{collapsed}
</code>
@@ -471,7 +471,7 @@ function WorkflowRunTimelineBlockItem({
<div
className={cn("min-w-0", {
"ml-3 pl-3": depth > 0,
- "border-l border-slate-700": depth > 0,
+ "border-l border-border": depth > 0,
})}
>
<div
@@ -495,14 +495,14 @@ function WorkflowRunTimelineBlockItem({
<div className="space-y-2">
<div className="flex justify-between">
<div className="flex gap-3">
- <div className="relative rounded bg-slate-800 p-2">
+ <div className="relative rounded bg-slate-elevation5 p-2">
<WorkflowBlockIcon
workflowBlockType={block.block_type}
className="size-6"
/>
{isRunning && (
<div className="absolute -bottom-1 -left-1 rounded-full bg-slate-elevation3 p-0.5">
- <ReloadIcon className="size-3 animate-spin text-slate-400" />
+ <ReloadIcon className="size-3 animate-spin text-muted-foreground" />
</div>
)}
</div>
@@ -513,7 +513,7 @@ function WorkflowRunTimelineBlockItem({
</span>
<span
ref={shimmerLabelRef}
- className="flex gap-2 text-xs text-slate-400"
+ className="flex gap-2 text-xs text-muted-foreground"
>
{block.label}
</span>
@@ -563,15 +563,15 @@ function WorkflowRunTimelineBlockItem({
</div>
</div>
{block.description ? (
- <div className="break-words text-xs text-slate-400">
+ <div className="break-words text-xs text-muted-foreground">
{block.description}
</div>
) : null}
{isForLoopBlock && (
<div className="min-w-0 space-y-2 rounded bg-slate-elevation5 px-3 py-2 text-xs">
- <div className="text-slate-300">
+ <div className="text-muted-foreground">
Iterable values:{" "}
- <span className="font-medium text-slate-200">
+ <span className="font-medium text-foreground">
{loopValues.length}
</span>
</div>
@@ -583,9 +583,9 @@ function WorkflowRunTimelineBlockItem({
return (
<div
key={index}
- className="flex min-w-0 break-words text-slate-400"
+ className="flex min-w-0 break-words text-muted-foreground"
>
- <span className="mr-1 shrink-0 text-slate-500">
+ <span className="mr-1 shrink-0 text-muted-foreground">
[{index}]
</span>
<LoopValueCode
@@ -600,9 +600,9 @@ function WorkflowRunTimelineBlockItem({
</div>
)}
{isWhileLoopBlock && (
- <div className="min-w-0 rounded bg-slate-elevation5 px-3 py-2 text-xs text-slate-300">
+ <div className="min-w-0 rounded bg-slate-elevation5 px-3 py-2 text-xs text-muted-foreground">
Iterations run:{" "}
- <span className="font-medium text-slate-200">
+ <span className="font-medium text-foreground">
{loopIterationGroups.length}
</span>
</div>
@@ -619,11 +619,11 @@ function WorkflowRunTimelineBlockItem({
"rounded border px-2 py-1.5",
evaluation.is_matched
? "border-success/50 bg-success/10"
- : "border-slate-600 bg-slate-elevation3",
+ : "border-border bg-slate-elevation3",
)}
>
{evaluation.is_default ? (
- <div className="text-slate-300">
+ <div className="text-muted-foreground">
<span className="font-medium">Default branch</span>
{evaluation.is_matched && (
<span className="ml-2 text-success">
@@ -633,23 +633,23 @@ function WorkflowRunTimelineBlockItem({
</div>
) : (
<div className="space-y-1">
- <div className="text-slate-400">
- <code className="break-all rounded bg-slate-elevation1 px-1 py-0.5 font-mono text-slate-300">
+ <div className="text-muted-foreground">
+ <code className="break-all rounded bg-slate-elevation1 px-1 py-0.5 font-mono text-muted-foreground">
{evaluation.original_expression}
</code>
</div>
{evaluation.rendered_expression &&
evaluation.rendered_expression !==
evaluation.original_expression && (
- <div className="text-slate-400">
+ <div className="text-muted-foreground">
→ rendered to{" "}
- <code className="break-all rounded bg-slate-elevation1 px-1 py-0.5 font-mono text-slate-200">
+ <code className="break-all rounded bg-slate-elevation1 px-1 py-0.5 font-mono text-foreground">
{evaluation.rendered_expression}
</code>
</div>
)}
<div className="flex items-center gap-2">
- <span className="text-slate-400">
+ <span className="text-muted-foreground">
evaluated to
</span>
<span
@@ -670,9 +670,9 @@ function WorkflowRunTimelineBlockItem({
)}
{evaluation.is_matched &&
evaluation.next_block_label && (
- <div className="mt-1 text-slate-400">
+ <div className="mt-1 text-muted-foreground">
→ Executing next block:{" "}
- <span className="font-medium text-slate-300">
+ <span className="font-medium text-muted-foreground">
{evaluation.next_block_label}
</span>
</div>
@@ -685,23 +685,23 @@ function WorkflowRunTimelineBlockItem({
<>
{block.executed_branch_expression !== null &&
block.executed_branch_expression !== undefined ? (
- <div className="text-slate-300">
+ <div className="text-muted-foreground">
Condition{" "}
- <code className="break-all rounded bg-slate-elevation3 px-1.5 py-0.5 font-mono text-slate-200">
+ <code className="break-all rounded bg-slate-elevation3 px-1.5 py-0.5 font-mono text-foreground">
{block.executed_branch_expression}
</code>{" "}
evaluated to{" "}
<span className="font-medium text-success">True</span>
</div>
) : (
- <div className="text-slate-300">
+ <div className="text-muted-foreground">
No conditions matched, executing default branch
</div>
)}
{block.executed_branch_next_block && (
- <div className="text-slate-400">
+ <div className="text-muted-foreground">
→ Executing next block:{" "}
- <span className="font-medium text-slate-300">
+ <span className="font-medium text-muted-foreground">
{block.executed_branch_next_block}
</span>
</div>
@@ -799,21 +799,21 @@ function WorkflowRunTimelineBlockItem({
});
}}
>
- <div className="rounded border border-slate-700 bg-slate-elevation4">
+ <div className="rounded border border-border bg-slate-elevation4">
<CollapsibleTrigger asChild>
<button
className="group flex w-full items-center justify-between gap-2 px-2 py-1 text-left"
onClick={(event) => event.stopPropagation()}
>
<div className="flex items-center gap-1.5">
- <ChevronRightIcon className="size-4 text-slate-300 transition-transform group-data-[state=open]:rotate-90" />
- <span className="text-xs text-slate-200">{`Iteration ${iterationNumber}`}</span>
+ <ChevronRightIcon className="size-4 text-muted-foreground transition-transform group-data-[state=open]:rotate-90" />
+ <span className="text-xs text-foreground">{`Iteration ${iterationNumber}`}</span>
</div>
{isWhileLoopBlock ? null : isValueTruncated ? (
<TooltipProvider delayDuration={300}>
<Tooltip>
<TooltipTrigger asChild>
- <code className="min-w-0 truncate rounded bg-slate-elevation1 px-1 py-0.5 text-[11px] text-slate-300">
+ <code className="min-w-0 truncate rounded bg-slate-elevation1 px-1 py-0.5 text-[11px] text-muted-foreground">
current_value: {currentValuePreview}
</code>
</TooltipTrigger>
@@ -826,7 +826,7 @@ function WorkflowRunTimelineBlockItem({
</Tooltip>
</TooltipProvider>
) : (
- <code className="min-w-0 truncate rounded bg-slate-elevation1 px-1 py-0.5 text-[11px] text-slate-300">
+ <code className="min-w-0 truncate rounded bg-slate-elevation1 px-1 py-0.5 text-[11px] text-muted-foreground">
current_value: {currentValuePreview}
</code>
)}
@@ -853,13 +853,13 @@ function WorkflowRunTimelineBlockItem({
{hasNestedChildren && isConditionalBlock && (
<Collapsible open={childrenOpen} onOpenChange={setChildrenOpen}>
- <div className="rounded border border-slate-700 bg-slate-elevation4 px-2 py-1.5">
+ <div className="rounded border border-border bg-slate-elevation4 px-2 py-1.5">
<CollapsibleTrigger asChild>
<button
className="flex w-full items-center justify-between gap-2 text-left"
onClick={(event) => event.stopPropagation()}
>
- <div className="flex items-center gap-1.5 text-xs text-slate-200">
+ <div className="flex items-center gap-1.5 text-xs text-foreground">
{childrenOpen ? (
<ChevronDownIcon className="size-4" />
) : (
@@ -868,7 +868,7 @@ function WorkflowRunTimelineBlockItem({
<span>{`Executed branch blocks (${subItems.length})`}</span>
</div>
{block.executed_branch_next_block && (
- <span className="text-[11px] text-slate-400">
+ <span className="text-[11px] text-muted-foreground">
next: {block.executed_branch_next_block}
</span>
)}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx
index bba1ce66d..a8aa62302 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimelineItemInfoSection.tsx
@@ -206,7 +206,7 @@ function WorkflowRunTimelineItemInfoSection({ activeItem }: Props) {
if (item.wait_sec !== null && typeof item.wait_sec !== "undefined") {
return (
<div className="flex w-1/2 justify-between rounded bg-slate-elevation1 p-4">
- <span className="text-sm text-slate-400">Wait Time</span>
+ <span className="text-sm text-muted-foreground">Wait Time</span>
<span className="text-sm">{item.wait_sec} Seconds</span>
</div>
);
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx
index 1d2549822..8412db901 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/CodeBlockParameters.tsx
@@ -12,7 +12,7 @@ function CodeBlockParameters({ code, parameters }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Code</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The Python snippet executed for this block
</h2>
</div>
@@ -29,7 +29,7 @@ function CodeBlockParameters({ code, parameters }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Parameters</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Inputs passed to this code block
</h2>
</div>
@@ -37,11 +37,11 @@ function CodeBlockParameters({ code, parameters }: Props) {
{parameters.map((parameter) => (
<div
key={parameter.key}
- className="rounded border border-slate-700/40 bg-slate-elevation3 p-3"
+ className="rounded border border-border/40 bg-slate-elevation3 p-3"
>
<p className="font-medium">{parameter.key}</p>
{parameter.description ? (
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
{parameter.description}
</p>
) : null}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/ConditionalBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/ConditionalBlockParameters.tsx
index 2a0aa5eee..bf1512655 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/ConditionalBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/ConditionalBlockParameters.tsx
@@ -24,7 +24,7 @@ function ConditionalBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Executed Expression</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The branch expression that was evaluated
</h2>
</div>
@@ -38,7 +38,7 @@ function ConditionalBlockParameters({
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={executedBranchResult} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{executedBranchResult ? "True" : "False"}
</span>
</div>
@@ -48,7 +48,7 @@ function ConditionalBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Next Block</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The block that was executed after the condition
</h2>
</div>
@@ -65,23 +65,23 @@ function ConditionalBlockParameters({
) : null}
{branchConditions && branchConditions.length > 0 ? (
<div className="space-y-3">
- <h2 className="text-base font-semibold text-slate-300">
+ <h2 className="text-base font-semibold text-muted-foreground">
Branch Conditions
</h2>
{branchConditions.map((condition) => (
<div
key={condition.id}
- className="space-y-2 rounded border border-slate-700/40 bg-slate-elevation3 p-3"
+ className="space-y-2 rounded border border-border/40 bg-slate-elevation3 p-3"
>
{condition.description ? (
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
{condition.description}
</p>
) : null}
{condition.criteria?.expression ? (
<div className="flex items-center gap-2">
<span className="text-sm font-medium">Expression:</span>
- <code className="text-sm text-slate-300">
+ <code className="text-sm text-muted-foreground">
{condition.criteria.expression}
</code>
</div>
@@ -89,13 +89,13 @@ function ConditionalBlockParameters({
{condition.next_block_label ? (
<div className="flex items-center gap-2">
<span className="text-sm font-medium">Next Block:</span>
- <span className="text-sm text-slate-300">
+ <span className="text-sm text-muted-foreground">
{condition.next_block_label}
</span>
</div>
) : null}
{condition.is_default ? (
- <span className="inline-block rounded bg-slate-700 px-2 py-0.5 text-xs">
+ <span className="inline-block rounded bg-slate-elevation4 px-2 py-0.5 text-xs">
Default
</span>
) : null}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/FileDownloadBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/FileDownloadBlockParameters.tsx
index 286df05d9..e6859069f 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/FileDownloadBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/FileDownloadBlockParameters.tsx
@@ -28,7 +28,7 @@ function FileDownloadBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Prompt</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Instructions followed to download the file
</h2>
</div>
@@ -39,7 +39,7 @@ function FileDownloadBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Download Suffix</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Expected suffix or filename for the downloaded file
</h2>
</div>
@@ -50,7 +50,7 @@ function FileDownloadBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Download Timeout</h1>
- <h2 className="text-base text-slate-400">In seconds</h2>
+ <h2 className="text-base text-muted-foreground">In seconds</h2>
</div>
<Input value={downloadTimeout.toString()} readOnly />
</div>
@@ -84,7 +84,7 @@ function FileDownloadBlockParameters({
typeof maxRetries !== "number" &&
typeof maxStepsPerRun !== "number" &&
!formattedErrorCodeMapping ? (
- <div className="text-sm text-slate-400">
+ <div className="text-sm text-muted-foreground">
No additional download-specific metadata configured for this block.
</div>
) : null}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/GotoUrlBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/GotoUrlBlockParameters.tsx
index 28ef528c4..265e99389 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/GotoUrlBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/GotoUrlBlockParameters.tsx
@@ -12,7 +12,7 @@ function GotoUrlBlockParameters({ url, continueOnFailure }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">URL</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The destination Skyvern navigates to
</h2>
</div>
@@ -21,13 +21,13 @@ function GotoUrlBlockParameters({ url, continueOnFailure }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Continue on Failure</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Whether to continue if navigation fails
</h2>
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={continueOnFailure} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{continueOnFailure ? "Enabled" : "Disabled"}
</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HttpRequestBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HttpRequestBlockParameters.tsx
index 0f7e8db9d..7dd74834b 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HttpRequestBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HttpRequestBlockParameters.tsx
@@ -76,7 +76,7 @@ function HttpRequestBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Files</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
File fields and their paths/URLs
</h2>
</div>
@@ -93,7 +93,7 @@ function HttpRequestBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Timeout</h1>
- <h2 className="text-base text-slate-400">In seconds</h2>
+ <h2 className="text-base text-muted-foreground">In seconds</h2>
</div>
<Input value={timeout.toString()} readOnly />
</div>
@@ -103,7 +103,7 @@ function HttpRequestBlockParameters({
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={followRedirects} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{followRedirects ? "Enabled" : "Disabled"}
</span>
</div>
@@ -123,7 +123,7 @@ function HttpRequestBlockParameters({
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={true} disabled />
- <span className="text-sm text-slate-400">Enabled</span>
+ <span className="text-sm text-muted-foreground">Enabled</span>
</div>
</div>
) : null}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HumanInteractionBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HumanInteractionBlockParameters.tsx
index b7bb7d018..9ae2533af 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HumanInteractionBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/HumanInteractionBlockParameters.tsx
@@ -20,7 +20,7 @@ function HumanInteractionBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Instructions</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Instructions for the human interaction
</h2>
</div>
@@ -47,7 +47,7 @@ function HumanInteractionBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Timeout</h1>
- <h2 className="text-base text-slate-400">In seconds</h2>
+ <h2 className="text-base text-muted-foreground">In seconds</h2>
</div>
<Input value={timeoutSeconds.toString()} readOnly />
</div>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/PrintPageBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/PrintPageBlockParameters.tsx
index 5e0f2719d..a6c37f42b 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/PrintPageBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/PrintPageBlockParameters.tsx
@@ -30,7 +30,7 @@ function PrintPageBlockParameters({
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={landscape} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{landscape ? "Enabled" : "Disabled"}
</span>
</div>
@@ -41,7 +41,7 @@ function PrintPageBlockParameters({
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={printBackground} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{printBackground ? "Enabled" : "Disabled"}
</span>
</div>
@@ -52,7 +52,7 @@ function PrintPageBlockParameters({
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={includeTimestamp} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
{includeTimestamp ? "Enabled" : "Disabled"}
</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/Taskv2BlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/Taskv2BlockParameters.tsx
index 7be054826..ff48aa311 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/Taskv2BlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/Taskv2BlockParameters.tsx
@@ -24,7 +24,7 @@ function Taskv2BlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Prompt</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
The instructions for this task
</h2>
</div>
@@ -69,7 +69,7 @@ function Taskv2BlockParameters({
</div>
<div className="flex w-full items-center gap-3">
<Switch checked={true} disabled />
- <span className="text-sm text-slate-400">
+ <span className="text-sm text-muted-foreground">
Cache is disabled for this block
</span>
</div>
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx
index 6275871da..6cd16df2d 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/TextPromptBlockParameters.tsx
@@ -21,7 +21,7 @@ function TextPromptBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Prompt</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Instructions passed to the selected LLM
</h2>
</div>
@@ -39,7 +39,7 @@ function TextPromptBlockParameters({
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">JSON Schema</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Expected shape of the model response
</h2>
</div>
@@ -66,11 +66,11 @@ function TextPromptBlockParameters({
{parameters.map((parameter) => (
<div
key={parameter.key}
- className="rounded border border-slate-700/40 bg-slate-elevation3 p-3"
+ className="rounded border border-border/40 bg-slate-elevation3 p-3"
>
<p className="font-medium">{parameter.key}</p>
{parameter.description ? (
- <p className="text-sm text-slate-400">
+ <p className="text-sm text-muted-foreground">
{parameter.description}
</p>
) : null}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/WaitBlockParameters.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/WaitBlockParameters.tsx
index f9694fb89..583730397 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/WaitBlockParameters.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/blockInfo/WaitBlockParameters.tsx
@@ -10,7 +10,7 @@ function WaitBlockParameters({ waitSec }: Props) {
<div className="flex gap-16">
<div className="w-80">
<h1 className="text-lg">Wait Duration</h1>
- <h2 className="text-base text-slate-400">
+ <h2 className="text-base text-muted-foreground">
Seconds to wait before proceeding
</h2>
</div>
diff --git a/skyvern-frontend/tailwind.config.js b/skyvern-frontend/tailwind.config.js
index 85c8473ba..bf4c2e1f6 100644
--- a/skyvern-frontend/tailwind.config.js
+++ b/skyvern-frontend/tailwind.config.js
@@ -68,12 +68,26 @@ module.exports = {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
+ brand: {
+ DEFAULT: "hsl(var(--brand))",
+ foreground: "hsl(var(--brand-foreground))",
+ soft: "hsl(var(--brand-soft))",
+ cta: "hsl(var(--brand-cta))",
+ "cta-foreground": "hsl(var(--brand-cta-foreground))",
+ },
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
+ boxShadow: {
+ sm: "var(--shadow-sm)",
+ card: "var(--shadow-card)",
+ "card-hover": "var(--shadow-card-hover)",
+ elevated: "var(--shadow-elevated)",
+ popover: "var(--shadow-popover)",
+ },
keyframes: {
"accordion-down": {
from: { height: "0" },