Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

fix(web): keep focus rings and the running status neutral instead of brand-coloured (#16117)

moaazb6f58a988d18
diff --git a/brain/knowledge/design-system/colour.md b/brain/knowledge/design-system/colour.md
index b83a072d7d6..8e183619e6a 100644
--- a/brain/knowledge/design-system/colour.md
+++ b/brain/knowledge/design-system/colour.md
@@ -30,7 +30,7 @@ Five scales of twelve steps, plus six exceptions. **There is no semantic layer**
Steps **1 and 12 are an inverse pair**: `bg-gray-12 text-gray-1` is a dark chip in light mode and a
light chip in dark mode, correct in both, with no `dark:`. `inverse`, the focus ring, the canvas and the
-divider need no names: they are `gray-12`, `accent-8`, `gray-2` and `gray-6`. A hover is stronger than
+divider need no names: they are `gray-12`, `gray-8`, `gray-2` and `gray-6`. A hover is stronger than
the thing it hovers: a row on the page hovers to `gray-3` or `gray-4`, a `gray-3` component to `gray-4`. A
chip inside a row that hovers or selects sits on `gray-5`, so neither state swallows it.
@@ -187,6 +187,9 @@ the wrapper clips) and `imageClassName` the image. On failure it renders a monog
- **An invalid field's border is `danger-9`** (`aria-invalid:` in the primitives). Step 8 falls under 3:1 on
the light page, and an error has to read at least as strongly as the default border. Banners and badges
keep their step-7 frame.
+- **The focus ring is neutral: `ring-gray-8` / `border-gray-8`, never `accent-8`.** Embedded tenants see
+ their brand on every focused control otherwise. A ring that marks a brand-coloured selection (the active
+ OTP cell) may stay on the accent scale.
- **A selected item's border is on the accent scale** (`accent-7` to `accent-9`); a neutral selection (a
filter chip, an inverse `gray-12` box) stays neutral. Other borders stay on 6–8.
- **The stock Tailwind palette still resolves.** Not using it is a convention, not a build error.
diff --git a/packages/web/src/app/builder/data-selector/data-selector-size-togglers.tsx b/packages/web/src/app/builder/data-selector/data-selector-size-togglers.tsx
index 3d1a331607c..6ea4a3aacf3 100644
--- a/packages/web/src/app/builder/data-selector/data-selector-size-togglers.tsx
+++ b/packages/web/src/app/builder/data-selector/data-selector-size-togglers.tsx
@@ -30,7 +30,8 @@ export const DataSelectorSizeTogglers = ({
};
const buttonClassName = (btnState: DataSelectorSizeState) =>
- cn('', {
+ cn('text-gray-11 enabled:hover:text-gray-12', {
+ 'text-gray-12': state === btnState,
'opacity-50': state !== btnState,
});
diff --git a/packages/web/src/app/builder/piece-properties/date-range-property.tsx b/packages/web/src/app/builder/piece-properties/date-range-property.tsx
index 9f9ac9a2d86..aef59590d99 100644
--- a/packages/web/src/app/builder/piece-properties/date-range-property.tsx
+++ b/packages/web/src/app/builder/piece-properties/date-range-property.tsx
@@ -59,7 +59,7 @@ function DateRangeProperty({
aria-pressed={selected}
onClick={() => selectPreset(option.value)}
className={cn(
- 'rounded-full border px-3 py-1 text-sm font-medium outline-none transition-colors focus-visible:ring-2 focus-visible:ring-accent-8/50',
+ 'rounded-full border px-3 py-1 text-sm font-medium outline-none transition-colors focus-visible:ring-2 focus-visible:ring-gray-8/50',
selected
? 'border-accent-9 bg-accent-3 text-accent-11'
: 'border-gray-6 text-gray-11 hover:text-gray-12',
diff --git a/packages/web/src/app/builder/piece-properties/filter-builder-layout.tsx b/packages/web/src/app/builder/piece-properties/filter-builder-layout.tsx
index 24cc19d8b1b..ab185c8c2bb 100644
--- a/packages/web/src/app/builder/piece-properties/filter-builder-layout.tsx
+++ b/packages/web/src/app/builder/piece-properties/filter-builder-layout.tsx
@@ -222,7 +222,7 @@ function FilterRow({
aria-label={t('Remove filter')}
disabled={disabled}
onClick={onRemove}
- className="flex h-[38px] w-[30px] shrink-0 items-center justify-center rounded-md text-gray-11 outline-none transition-colors hover:text-gray-12 focus-visible:ring-2 focus-visible:ring-accent-8/50 disabled:pointer-events-none disabled:opacity-50"
+ className="flex h-[38px] w-[30px] shrink-0 items-center justify-center rounded-md text-gray-11 outline-none transition-colors hover:text-gray-12 focus-visible:ring-2 focus-visible:ring-gray-8/50 disabled:pointer-events-none disabled:opacity-50"
>
<X className="size-4" />
</button>
@@ -283,7 +283,7 @@ function AddFilterPopover({
<button
type="button"
disabled={disabled}
- className="flex w-full items-center justify-center gap-2 rounded-[11px] border-[1.5px] border-dashed border-accent-6 bg-accent-3 py-[13px] text-sm font-semibold text-accent-11 outline-none transition-colors hover:bg-accent-4 focus-visible:ring-2 focus-visible:ring-accent-8/50 disabled:pointer-events-none disabled:opacity-50"
+ className="flex w-full items-center justify-center gap-2 rounded-[11px] border-[1.5px] border-dashed border-accent-6 bg-accent-3 py-[13px] text-sm font-semibold text-accent-11 outline-none transition-colors hover:bg-accent-4 focus-visible:ring-2 focus-visible:ring-gray-8/50 disabled:pointer-events-none disabled:opacity-50"
>
<Plus className="size-4" />
{t('Add filter')}
@@ -292,7 +292,7 @@ function AddFilterPopover({
<button
type="button"
disabled={disabled}
- className="flex items-center gap-2 rounded-[9px] border border-gray-6 bg-gray-1 px-3.5 py-2 text-sm font-semibold text-accent-11 outline-none transition-colors hover:bg-accent-3 focus-visible:ring-2 focus-visible:ring-accent-8/50 disabled:pointer-events-none disabled:opacity-50"
+ className="flex items-center gap-2 rounded-[9px] border border-gray-6 bg-gray-1 px-3.5 py-2 text-sm font-semibold text-accent-11 outline-none transition-colors hover:bg-accent-3 focus-visible:ring-2 focus-visible:ring-gray-8/50 disabled:pointer-events-none disabled:opacity-50"
>
<Plus className="size-4" />
{t('Add filter')}
diff --git a/packages/web/src/app/builder/piece-properties/filter-layout.tsx b/packages/web/src/app/builder/piece-properties/filter-layout.tsx
index c086d42681a..2dec4a387ba 100644
--- a/packages/web/src/app/builder/piece-properties/filter-layout.tsx
+++ b/packages/web/src/app/builder/piece-properties/filter-layout.tsx
@@ -265,7 +265,7 @@ function FilterSummary({
aria-label={t('Remove')}
disabled={disabled}
onClick={() => clearOne(name, property)}
- className="shrink-0 rounded-full p-0.5 text-accent-11/70 outline-none transition-colors hover:text-accent-11 focus-visible:ring-2 focus-visible:ring-accent-8/50 disabled:pointer-events-none disabled:opacity-50"
+ className="shrink-0 rounded-full p-0.5 text-accent-11/70 outline-none transition-colors hover:text-accent-11 focus-visible:ring-2 focus-visible:ring-gray-8/50 disabled:pointer-events-none disabled:opacity-50"
>
<X className="size-3" />
</button>
diff --git a/packages/web/src/app/builder/piece-properties/mention-chips-input.tsx b/packages/web/src/app/builder/piece-properties/mention-chips-input.tsx
index 8cd7efb419c..22cf1b5ace8 100644
--- a/packages/web/src/app/builder/piece-properties/mention-chips-input.tsx
+++ b/packages/web/src/app/builder/piece-properties/mention-chips-input.tsx
@@ -168,7 +168,7 @@ function MentionChipsInput({
'inline-flex max-w-full items-start gap-1 rounded-md bg-gray-3 py-0.5 pl-2.5 pr-1 text-sm outline-none transition-colors',
disabled
? 'cursor-default'
- : 'cursor-pointer hover:bg-gray-3/70 focus-visible:ring-2 focus-visible:ring-accent-8/50',
+ : 'cursor-pointer hover:bg-gray-3/70 focus-visible:ring-2 focus-visible:ring-gray-8/50',
{
'bg-danger-3 text-danger-11 hover:bg-danger-4': invalid,
},
@@ -189,7 +189,7 @@ function MentionChipsInput({
type="button"
aria-label={t('Remove')}
className={cn(
- 'shrink-0 rounded-full px-1 py-0.5 text-gray-11 outline-none transition-colors hover:text-gray-12 focus-visible:ring-2 focus-visible:ring-accent-8/50',
+ 'shrink-0 rounded-full px-1 py-0.5 text-gray-11 outline-none transition-colors hover:text-gray-12 focus-visible:ring-2 focus-visible:ring-gray-8/50',
{ 'text-danger-11/70 hover:text-danger-11': invalid },
)}
onClick={(event) => {
@@ -206,7 +206,7 @@ function MentionChipsInput({
{!disabled && (
<div
- className="min-w-[140px] flex-1 rounded-sm focus-within:ring-2 focus-within:ring-accent-8/50"
+ className="min-w-[140px] flex-1 rounded-sm focus-within:ring-2 focus-within:ring-gray-8/50"
onKeyDownCapture={handleKeyDownCapture}
onPasteCapture={handlePasteCapture}
onBlur={handleComposeBlur}
diff --git a/packages/web/src/app/builder/piece-properties/number-stepper.tsx b/packages/web/src/app/builder/piece-properties/number-stepper.tsx
index 7566493a86b..201bae0dd94 100644
--- a/packages/web/src/app/builder/piece-properties/number-stepper.tsx
+++ b/packages/web/src/app/builder/piece-properties/number-stepper.tsx
@@ -3,7 +3,7 @@ import { Minus, Plus } from 'lucide-react';
import React from 'react';
const buttonClass =
- 'flex size-8 items-center justify-center text-gray-11 outline-none transition-colors hover:bg-gray-4 hover:text-gray-12 disabled:pointer-events-none disabled:opacity-40 focus-visible:ring-2 focus-visible:ring-accent-8/50';
+ 'flex size-8 items-center justify-center text-gray-11 outline-none transition-colors hover:bg-gray-4 hover:text-gray-12 disabled:pointer-events-none disabled:opacity-40 focus-visible:ring-2 focus-visible:ring-gray-8/50';
function NumberStepper({
value,
diff --git a/packages/web/src/app/builder/piece-properties/property-group-tabs.tsx b/packages/web/src/app/builder/piece-properties/property-group-tabs.tsx
index aef33166143..162879b327b 100644
--- a/packages/web/src/app/builder/piece-properties/property-group-tabs.tsx
+++ b/packages/web/src/app/builder/piece-properties/property-group-tabs.tsx
@@ -189,7 +189,7 @@ function PropertyGroupTabs({
disabled={disabled}
aria-invalid={hasError}
className={cn(
- 'relative z-10 flex-1 gap-1.5 rounded-sm px-2 py-1.5 text-sm font-medium transition-colors focus-visible:ring-2 focus-visible:ring-accent-8/50 data-[state=active]:bg-transparent data-[state=active]:shadow-none',
+ 'relative z-10 flex-1 gap-1.5 rounded-sm px-2 py-1.5 text-sm font-medium transition-colors focus-visible:ring-2 focus-visible:ring-gray-8/50 data-[state=active]:bg-transparent data-[state=active]:shadow-none',
hasError
? 'text-danger-11 data-[state=active]:text-danger-11'
: 'text-gray-11 hover:text-gray-12 data-[state=active]:text-gray-12',
diff --git a/packages/web/src/app/builder/piece-properties/static-dropdown-cards.tsx b/packages/web/src/app/builder/piece-properties/static-dropdown-cards.tsx
index 6a39db99dec..ea85c2248cc 100644
--- a/packages/web/src/app/builder/piece-properties/static-dropdown-cards.tsx
+++ b/packages/web/src/app/builder/piece-properties/static-dropdown-cards.tsx
@@ -25,7 +25,7 @@ function StaticDropdownCards({
disabled={disabled}
onClick={() => onChange(option.value)}
className={cn(
- 'flex min-w-32 flex-1 items-center gap-2.5 rounded-md border px-3 py-2.5 text-left outline-none transition-colors focus-visible:ring-2 focus-visible:ring-accent-8/50',
+ 'flex min-w-32 flex-1 items-center gap-2.5 rounded-md border px-3 py-2.5 text-left outline-none transition-colors focus-visible:ring-2 focus-visible:ring-gray-8/50',
selected
? 'border-accent-9 bg-accent-3'
: 'border-gray-6 bg-gray-1 hover:bg-gray-3/50',
diff --git a/packages/web/src/app/builder/piece-properties/text-input-with-mentions/tiptap-editor.tsx b/packages/web/src/app/builder/piece-properties/text-input-with-mentions/tiptap-editor.tsx
index 961a016fea4..b595f068949 100644
--- a/packages/web/src/app/builder/piece-properties/text-input-with-mentions/tiptap-editor.tsx
+++ b/packages/web/src/app/builder/piece-properties/text-input-with-mentions/tiptap-editor.tsx
@@ -215,7 +215,7 @@ function RichTextToolbar({
onMouseDown={(event) => event.preventDefault()}
onClick={run}
className={cn(
- 'flex size-7 items-center justify-center rounded text-gray-11 outline-none transition-colors hover:bg-gray-3 hover:text-gray-12 focus-visible:ring-2 focus-visible:ring-accent-8/50',
+ 'flex size-7 items-center justify-center rounded text-gray-11 outline-none transition-colors hover:bg-gray-3 hover:text-gray-12 focus-visible:ring-2 focus-visible:ring-gray-8/50',
active && 'bg-gray-3 text-gray-12',
)}
>
@@ -580,7 +580,7 @@ export const TiptapEditor = ({
className={cn(
'relative w-full',
isHtml &&
- 'overflow-hidden rounded-md border border-gray-6 bg-transparent transition-[color,box-shadow] focus-within:border-accent-8 focus-within:ring-[1px] focus-within:ring-accent-8/50',
+ 'overflow-hidden rounded-md border border-gray-6 bg-transparent transition-[color,box-shadow] focus-within:border-gray-8 focus-within:ring-[1px] focus-within:ring-gray-8/50',
wrapperClassName,
)}
ref={editorWrapperRef}
diff --git a/packages/web/src/app/builder/step-settings/editable-step-name.tsx b/packages/web/src/app/builder/step-settings/editable-step-name.tsx
index 793fb6e8886..2a74a223e87 100644
--- a/packages/web/src/app/builder/step-settings/editable-step-name.tsx
+++ b/packages/web/src/app/builder/step-settings/editable-step-name.tsx
@@ -111,7 +111,7 @@ const EditableStepName: React.FC<EditableStepNameProps> = ({
className={cn(
'flex items-center gap-1.5 min-w-0',
!readonly &&
- 'cursor-text rounded-sm hover:text-gray-12/80 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent-8',
+ 'cursor-text rounded-sm hover:text-gray-12/80 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-8',
)}
>
<span className="truncate text-gray-12">
diff --git a/packages/web/src/app/routes/agents/id/runs/index.tsx b/packages/web/src/app/routes/agents/id/runs/index.tsx
index 0fa01abf29e..a1856edf4ef 100644
--- a/packages/web/src/app/routes/agents/id/runs/index.tsx
+++ b/packages/web/src/app/routes/agents/id/runs/index.tsx
@@ -74,7 +74,7 @@ export const AgentRuns = ({ agentId, onClose }: AgentRunsProps) => {
>
<button
type="button"
- className="flex w-full min-w-0 items-center gap-3 px-3 py-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent-8"
+ className="flex w-full min-w-0 items-center gap-3 px-3 py-3 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-gray-8"
onClick={() => setOpenRunId(run.id)}
>
<Icon
diff --git a/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsx b/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsx
index 3fadcdc48e5..cf60af46d67 100644
--- a/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsx
+++ b/packages/web/src/app/routes/chat-with-ai/components/assistant-message.tsx
@@ -58,7 +58,7 @@ import { ToolShimmerPills } from './tool-shimmer-pills';
const PROSE_CLASSES = 'max-w-none break-words';
const ACTION_BUTTON_CLASS =
- 'flex h-6 w-6 items-center justify-center rounded-md text-gray-11 transition-colors hover:bg-gray-3 hover:text-gray-12 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent-8';
+ 'flex h-6 w-6 items-center justify-center rounded-md text-gray-11 transition-colors hover:bg-gray-3 hover:text-gray-12 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-8';
const EMPTY_BUILD_IDS: ReadonlySet<string> = new Set();
diff --git a/packages/web/src/app/routes/chat-with-ai/components/feedback-buttons.tsx b/packages/web/src/app/routes/chat-with-ai/components/feedback-buttons.tsx
index 3f2a419c90e..8de7fe788ea 100644
--- a/packages/web/src/app/routes/chat-with-ai/components/feedback-buttons.tsx
+++ b/packages/web/src/app/routes/chat-with-ai/components/feedback-buttons.tsx
@@ -13,7 +13,7 @@ import { FeedbackDialog } from './feedback-dialog';
type Rating = 'up' | 'down';
const BUTTON_CLASS =
- 'flex h-6 w-6 items-center justify-center rounded-md text-gray-11 transition-colors hover:bg-gray-3 hover:text-gray-12 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent-8';
+ 'flex h-6 w-6 items-center justify-center rounded-md text-gray-11 transition-colors hover:bg-gray-3 hover:text-gray-12 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-8';
const ACTIVE_CLASS = 'text-gray-12/80 hover:text-gray-12/80';
export function FeedbackButtons({
diff --git a/packages/web/src/app/routes/impact/details/edit-time-saved-popover.tsx b/packages/web/src/app/routes/impact/details/edit-time-saved-popover.tsx
index 923de9e5d07..53f9ce70959 100644
--- a/packages/web/src/app/routes/impact/details/edit-time-saved-popover.tsx
+++ b/packages/web/src/app/routes/impact/details/edit-time-saved-popover.tsx
@@ -142,7 +142,7 @@ export function EditTimeSavedPopover({
<div className="flex flex-col gap-4">
<div className="text-sm font-semibold">{t('Time Saved Per Run')}</div>
- <div className="flex items-center rounded-md border border-gray-6 bg-gray-1 px-3 py-1.5 gap-1 focus-within:ring-1 focus-within:ring-accent-8">
+ <div className="flex items-center rounded-md border border-gray-6 bg-gray-1 px-3 py-1.5 gap-1 focus-within:ring-1 focus-within:ring-gray-8">
<div className="flex flex-col items-center gap-0.5 flex-1">
<input
type="text"
diff --git a/packages/web/src/app/routes/mcp-server/activity/activity-detail-sheet.tsx b/packages/web/src/app/routes/mcp-server/activity/activity-detail-sheet.tsx
index 149f92a4294..9a83a2a67b0 100644
--- a/packages/web/src/app/routes/mcp-server/activity/activity-detail-sheet.tsx
+++ b/packages/web/src/app/routes/mcp-server/activity/activity-detail-sheet.tsx
@@ -192,7 +192,7 @@ function ActivityDetail({
<div
data-activity-body
tabIndex={0}
- className="flex-1 overflow-y-auto px-6 py-4 outline-none focus-visible:ring-2 focus-visible:ring-accent-8"
+ className="flex-1 overflow-y-auto px-6 py-4 outline-none focus-visible:ring-2 focus-visible:ring-gray-8"
>
<dl className="flex flex-col gap-3 text-sm">
<DetailRow
diff --git a/packages/web/src/app/routes/mcp-server/connect/client-card.tsx b/packages/web/src/app/routes/mcp-server/connect/client-card.tsx
index 0d9cf591fed..5e54a47dc69 100644
--- a/packages/web/src/app/routes/mcp-server/connect/client-card.tsx
+++ b/packages/web/src/app/routes/mcp-server/connect/client-card.tsx
@@ -22,7 +22,7 @@ export function ClientCard({
'flex items-center gap-3 rounded-md border px-3.5 py-3 text-left transition-colors',
highlighted
? 'border-accent-9 bg-accent-3'
- : 'hover:border-accent-8 hover:bg-gray-4/40',
+ : 'hover:border-gray-8 hover:bg-gray-4/40',
)}
>
<ClientIcon icon={client.icon} />
diff --git a/packages/web/src/app/routes/mcp-server/connect/client-instructions.tsx b/packages/web/src/app/routes/mcp-server/connect/client-instructions.tsx
index c9dfdb41238..0b4bd8ca246 100644
--- a/packages/web/src/app/routes/mcp-server/connect/client-instructions.tsx
+++ b/packages/web/src/app/routes/mcp-server/connect/client-instructions.tsx
@@ -102,7 +102,7 @@ export function ClientInstructions({
<button
type="button"
onClick={nav.showBrowse}
- className="flex items-center gap-2.5 rounded-md border px-4 py-3.5 text-left transition-colors hover:border-accent-8"
+ className="flex items-center gap-2.5 rounded-md border px-4 py-3.5 text-left transition-colors hover:border-gray-8"
>
<Plug className="size-4 shrink-0 text-gray-11" />
<span className="flex-1 text-sm text-gray-11">
diff --git a/packages/web/src/app/routes/mcp-server/connect/client-picker.tsx b/packages/web/src/app/routes/mcp-server/connect/client-picker.tsx
index 66d329369ad..6b8383c0952 100644
--- a/packages/web/src/app/routes/mcp-server/connect/client-picker.tsx
+++ b/packages/web/src/app/routes/mcp-server/connect/client-picker.tsx
@@ -136,7 +136,7 @@ function ClientGroupSection({
key={client.key}
type="button"
onClick={() => nav.showClient(client.key)}
- className="flex items-center gap-3.5 rounded-md border border-dashed bg-gray-3/40 px-4.5 py-4 text-left transition-colors hover:border-accent-8"
+ className="flex items-center gap-3.5 rounded-md border border-dashed bg-gray-3/40 px-4.5 py-4 text-left transition-colors hover:border-gray-8"
>
<ClientIcon icon={client.icon} className="size-8.5" />
<div className="flex min-w-0 flex-1 flex-col gap-0.5">
diff --git a/packages/web/src/app/routes/platform/security/project-role/platform-roles-list.tsx b/packages/web/src/app/routes/platform/security/project-role/platform-roles-list.tsx
index 7086e5638c6..2bc53fbd3ea 100644
--- a/packages/web/src/app/routes/platform/security/project-role/platform-roles-list.tsx
+++ b/packages/web/src/app/routes/platform/security/project-role/platform-roles-list.tsx
@@ -45,7 +45,7 @@ export function PlatformRolesList() {
<Badge
tabIndex={0}
variant="accent"
- className="text-xss uppercase tracking-wider focus-visible:ring-[1px] focus-visible:ring-accent-8/50 focus-visible:outline-none"
+ className="text-xss uppercase tracking-wider focus-visible:ring-[1px] focus-visible:ring-gray-8/50 focus-visible:outline-none"
>
{t('Built in')}
</Badge>
diff --git a/packages/web/src/app/routes/platform/security/project-role/project-role-dialog.tsx b/packages/web/src/app/routes/platform/security/project-role/project-role-dialog.tsx
index 284fa91423a..2a00ea3a317 100644
--- a/packages/web/src/app/routes/platform/security/project-role/project-role-dialog.tsx
+++ b/packages/web/src/app/routes/platform/security/project-role/project-role-dialog.tsx
@@ -214,7 +214,7 @@ function RoleDialogBody({
!isRenaming &&
'cursor-text hover:bg-gray-3 hover:text-gray-11',
isRenaming &&
- 'border border-accent-8 bg-transparent ring-[1px] ring-accent-8/50',
+ 'border border-gray-8 bg-transparent ring-[1px] ring-gray-8/50',
)}
/>
{!isBuiltIn && !isRenaming && (
diff --git a/packages/web/src/app/routes/platform/security/project-role/project-roles-list.tsx b/packages/web/src/app/routes/platform/security/project-role/project-roles-list.tsx
index b4c1de61293..0dfd310d803 100644
--- a/packages/web/src/app/routes/platform/security/project-role/project-roles-list.tsx
+++ b/packages/web/src/app/routes/platform/security/project-role/project-roles-list.tsx
@@ -65,7 +65,7 @@ export function ProjectRolesList({
key={role.id}
variant="outline"
size="sm"
- className="relative flex-nowrap cursor-pointer bg-panel hover:bg-gray-3 focus-within:border-accent-8 focus-within:ring-[3px] focus-within:ring-accent-8/50"
+ className="relative flex-nowrap cursor-pointer bg-panel hover:bg-gray-3 focus-within:border-gray-8 focus-within:ring-[3px] focus-within:ring-gray-8/50"
>
<RoleAvatar
name={role.name}
diff --git a/packages/web/src/app/routes/platform/setup/ai/providers-tab/index.tsx b/packages/web/src/app/routes/platform/setup/ai/providers-tab/index.tsx
index c13721f9439..632ef80cae4 100644
--- a/packages/web/src/app/routes/platform/setup/ai/providers-tab/index.tsx
+++ b/packages/web/src/app/routes/platform/setup/ai/providers-tab/index.tsx
@@ -390,7 +390,7 @@ function ConfigRow({
}}
className={cn(
'group flex items-center gap-4 px-5 py-3 transition-colors',
- 'cursor-pointer hover:bg-gray-4 active:bg-gray-5 focus-visible:bg-gray-4 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-8',
+ 'cursor-pointer hover:bg-gray-4 active:bg-gray-5 focus-visible:bg-gray-4 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-8',
)}
>
<div className="flex min-w-0 flex-1 flex-col gap-1">
diff --git a/packages/web/src/components/custom/input-with-icon.tsx b/packages/web/src/components/custom/input-with-icon.tsx
index 1048a016ea7..38490a79a2d 100644
--- a/packages/web/src/components/custom/input-with-icon.tsx
+++ b/packages/web/src/components/custom/input-with-icon.tsx
@@ -3,7 +3,7 @@ import React from 'react';
import { cn } from '@/lib/utils';
const inputClass =
- 'grow flex h-9 w-full rounded-sm border border-gray-6 bg-gray-1 px-3 py-2 text-sm ring-offset-gray-1 placeholder:text-gray-11 focus-within:outline-hidden focus-within:ring-1 focus-within:ring-accent-8 focus-within:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50 box-border';
+ 'grow flex h-9 w-full rounded-sm border border-gray-6 bg-gray-1 px-3 py-2 text-sm ring-offset-gray-1 placeholder:text-gray-11 focus-within:outline-hidden focus-within:ring-1 focus-within:ring-gray-8 focus-within:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50 box-border';
const InputWithIcon = React.forwardRef<
HTMLInputElement,
diff --git a/packages/web/src/components/custom/locked-alert.tsx b/packages/web/src/components/custom/locked-alert.tsx
index 9ca105c29c5..204d9e3cb76 100644
--- a/packages/web/src/components/custom/locked-alert.tsx
+++ b/packages/web/src/components/custom/locked-alert.tsx
@@ -16,7 +16,7 @@ export const LockedAlert = ({
return (
<Alert className="flex items-center gap-4 mb-4">
<div className="flex items-start gap-3">
- <Lock className="h-5 w-5 text-accent-11 mt-1" />
+ <Lock className="h-5 w-5 text-gray-12 mt-1" />
<div>
<AlertTitle className="font-semibold text-lg">{title}</AlertTitle>
<AlertDescription className="text-sm text-gray-11">
diff --git a/packages/web/src/components/custom/multi-select.tsx b/packages/web/src/components/custom/multi-select.tsx
index 2ffdd2eecbc..46ffcdd90be 100644
--- a/packages/web/src/components/custom/multi-select.tsx
+++ b/packages/web/src/components/custom/multi-select.tsx
@@ -223,7 +223,7 @@ const MultiSelectTrigger = React.forwardRef<
type="button"
loading={loading}
className={cn(
- 'flex min-h-9 h-auto w-full items-center justify-between cursor-pointer gap-2 whitespace-nowrap rounded-sm border border-gray-8 bg-transparent px-4 py-1 text-sm ring-offset-gray-1 focus:outline-hidden focus:ring-1 focus:ring-accent-8 [&>span]:line-clamp-1',
+ 'flex min-h-9 h-auto w-full items-center justify-between cursor-pointer gap-2 whitespace-nowrap rounded-sm border border-gray-8 bg-transparent px-4 py-1 text-sm ring-offset-gray-1 focus:outline-hidden focus:ring-1 focus:ring-gray-8 [&>span]:line-clamp-1',
{
'cursor-not-allowed opacity-80': disabled,
'cursor-pointer': !disabled,
diff --git a/packages/web/src/components/custom/tag-input.tsx b/packages/web/src/components/custom/tag-input.tsx
index e4f6ac8c351..4c1917d318f 100644
--- a/packages/web/src/components/custom/tag-input.tsx
+++ b/packages/web/src/components/custom/tag-input.tsx
@@ -119,7 +119,7 @@ const TagInput = forwardRef<HTMLInputElement, TagInputProps>((props, ref) => {
<div
className={cn(
// caveat: :has() variant requires tailwind v3.4 or above: https://tailwindcss.com/blog/tailwindcss-v3-4#new-has-variant
- 'has-focus-visible:ring-accent-8 border-gray-8 bg-transparent ring-offset-gray-1 flex min-h-9 w-full rounded-md border disabled:cursor-not-allowed disabled:opacity-50 has-focus-visible:outline-hidden has-focus-visible:ring-2 has-focus-visible:ring-offset-2 cursor-text',
+ 'has-focus-visible:ring-gray-8 border-gray-8 bg-transparent ring-offset-gray-1 flex min-h-9 w-full rounded-md border disabled:cursor-not-allowed disabled:opacity-50 has-focus-visible:outline-hidden has-focus-visible:ring-2 has-focus-visible:ring-offset-2 cursor-text',
className,
)}
onClick={() => internalInputRef.current?.focus()}
diff --git a/packages/web/src/components/custom/time-period-select.tsx b/packages/web/src/components/custom/time-period-select.tsx
index 80e06a702ef..88edcf43379 100644
--- a/packages/web/src/components/custom/time-period-select.tsx
+++ b/packages/web/src/components/custom/time-period-select.tsx
@@ -64,7 +64,7 @@ export const TimePeriodSelect = React.forwardRef<
<SelectTrigger
ref={ref}
data-active={isActive}
- className="hover:bg-gray-4 dark:bg-transparent dark:hover:bg-gray-4 data-[active=true]:bg-gray-1 data-[active=true]:hover:bg-gray-4 w-14 h-[29px] focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-accent-8 focus-visible:ring-offset-1 rounded-xs justify-center p-0 transition-all border-none text-sm shadow-none gap-1"
+ className="hover:bg-gray-4 dark:bg-transparent dark:hover:bg-gray-4 data-[active=true]:bg-gray-1 data-[active=true]:hover:bg-gray-4 w-14 h-[29px] focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-gray-8 focus-visible:ring-offset-1 rounded-xs justify-center p-0 transition-all border-none text-sm shadow-none gap-1"
onKeyDown={handleKeyDown}
>
<SelectValue />
diff --git a/packages/web/src/components/ui/accordion.tsx b/packages/web/src/components/ui/accordion.tsx
index 654d0a33608..6d2ee413ffd 100644
--- a/packages/web/src/components/ui/accordion.tsx
+++ b/packages/web/src/components/ui/accordion.tsx
@@ -40,7 +40,7 @@ function AccordionTrigger({
<AccordionPrimitive.Trigger
data-slot="accordion-trigger"
className={cn(
- 'flex flex-1 items-center justify-between gap-4 rounded-md px-4 py-3 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180',
+ 'flex flex-1 items-center justify-between gap-4 rounded-md px-4 py-3 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180',
className,
)}
{...props}
diff --git a/packages/web/src/components/ui/badge.tsx b/packages/web/src/components/ui/badge.tsx
index 84f66a63942..ed664b49130 100644
--- a/packages/web/src/components/ui/badge.tsx
+++ b/packages/web/src/components/ui/badge.tsx
@@ -5,7 +5,7 @@ import * as React from 'react';
import { cn } from '@/lib/utils';
const badgeVariants = cva(
- 'inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-1.5 py-px text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40 [&>svg]:pointer-events-none [&>svg]:size-3',
+ 'inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-1.5 py-px text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40 [&>svg]:pointer-events-none [&>svg]:size-3',
{
variants: {
variant: {
diff --git a/packages/web/src/components/ui/button.tsx b/packages/web/src/components/ui/button.tsx
index 9caa9b62d8d..610a3e4db29 100644
--- a/packages/web/src/components/ui/button.tsx
+++ b/packages/web/src/components/ui/button.tsx
@@ -7,7 +7,7 @@ import { LoadingSpinner } from '@/components/custom/spinner';
import { cn } from '@/lib/utils';
const buttonVariants = cva(
- "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-normal whitespace-nowrap transition-all outline-none focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-normal whitespace-nowrap transition-all outline-none focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
{
variants: {
variant: {
diff --git a/packages/web/src/components/ui/calendar.tsx b/packages/web/src/components/ui/calendar.tsx
index 6ad38ce0317..57bb01fa16e 100644
--- a/packages/web/src/components/ui/calendar.tsx
+++ b/packages/web/src/components/ui/calendar.tsx
@@ -72,7 +72,7 @@ function Calendar({
defaultClassNames.dropdowns,
),
dropdown_root: cn(
- 'relative rounded-md border border-gray-6 shadow-xs has-focus:border-accent-8 has-focus:ring-[3px] has-focus:ring-accent-8/50',
+ 'relative rounded-md border border-gray-6 shadow-xs has-focus:border-gray-8 has-focus:ring-[3px] has-focus:ring-gray-8/50',
defaultClassNames.dropdown_root,
),
dropdown: cn(
@@ -203,7 +203,7 @@ function CalendarDayButton({
data-range-end={modifiers.range_end}
data-range-middle={modifiers.range_middle}
className={cn(
- 'flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-accent-8 group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-accent-8/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-accent-9 data-[range-end=true]:text-on-accent data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-gray-4 data-[range-middle=true]:text-gray-12 data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-accent-9 data-[range-start=true]:text-on-accent data-[selected-single=true]:bg-accent-9 data-[selected-single=true]:text-on-accent dark:hover:text-gray-12 [&>span]:text-xs [&>span]:opacity-70',
+ 'flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-gray-8 group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-gray-8/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-accent-9 data-[range-end=true]:text-on-accent data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-gray-4 data-[range-middle=true]:text-gray-12 data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-accent-9 data-[range-start=true]:text-on-accent data-[selected-single=true]:bg-accent-9 data-[selected-single=true]:text-on-accent dark:hover:text-gray-12 [&>span]:text-xs [&>span]:opacity-70',
defaultClassNames.day,
className,
)}
diff --git a/packages/web/src/components/ui/checkbox.tsx b/packages/web/src/components/ui/checkbox.tsx
index 5eb9c2942f1..400b11cbfc6 100644
--- a/packages/web/src/components/ui/checkbox.tsx
+++ b/packages/web/src/components/ui/checkbox.tsx
@@ -8,7 +8,7 @@ import * as React from 'react';
import { cn } from '@/lib/utils';
const checkboxVariants = cva(
- 'peer size-4 shrink-0 rounded-[4px] border border-gray-8 shadow-xs transition-shadow outline-none focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:bg-gray-6/30 dark:aria-invalid:ring-danger-9/40',
+ 'peer size-4 shrink-0 rounded-[4px] border border-gray-8 shadow-xs transition-shadow outline-none focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:bg-gray-6/30 dark:aria-invalid:ring-danger-9/40',
{
variants: {
variant: {
diff --git a/packages/web/src/components/ui/dialog.tsx b/packages/web/src/components/ui/dialog.tsx
index 08e35f7f28d..fbadeefd9bb 100644
--- a/packages/web/src/components/ui/dialog.tsx
+++ b/packages/web/src/components/ui/dialog.tsx
@@ -69,7 +69,7 @@ function DialogContent({
{showCloseButton && (
<DialogPrimitive.Close
data-slot="dialog-close"
- className="absolute top-4 right-4 rounded-sm opacity-70 ring-offset-gray-1 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-accent-8 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-gray-4 data-[state=open]:text-gray-11 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
+ className="absolute top-4 right-4 rounded-sm opacity-70 ring-offset-gray-1 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-gray-8 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-gray-4 data-[state=open]:text-gray-11 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
>
<XIcon />
<span className="sr-only">Close</span>
diff --git a/packages/web/src/components/ui/input.tsx b/packages/web/src/components/ui/input.tsx
index 3779c804ddf..44cfea8ab31 100644
--- a/packages/web/src/components/ui/input.tsx
+++ b/packages/web/src/components/ui/input.tsx
@@ -7,7 +7,7 @@ import { cn } from '@/lib/utils';
import { SelectUtilButton } from '../custom/select-util-button';
export const inputClass =
- 'flex h-9 w-full min-w-0 rounded-md border border-gray-8 bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-accent-9 selection:text-on-accent file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-gray-12 placeholder:text-gray-11 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-gray-6/30 focus-visible:border-accent-8 focus-visible:ring-[1px] focus-visible:ring-accent-8/50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40';
+ 'flex h-9 w-full min-w-0 rounded-md border border-gray-8 bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-accent-9 selection:text-on-accent file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-gray-12 placeholder:text-gray-11 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-gray-6/30 focus-visible:border-gray-8 focus-visible:ring-[1px] focus-visible:ring-gray-8/50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40';
function Input({
className,
diff --git a/packages/web/src/components/ui/item.tsx b/packages/web/src/components/ui/item.tsx
index e7a2535e5ed..d37d014b76c 100644
--- a/packages/web/src/components/ui/item.tsx
+++ b/packages/web/src/components/ui/item.tsx
@@ -31,7 +31,7 @@ function ItemSeparator({
}
const itemVariants = cva(
- 'group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-gray-4/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-accent-8 focus-visible:ring-accent-8/50 focus-visible:ring-[3px]',
+ 'group/item flex items-center border border-transparent text-sm rounded-md transition-colors [a]:hover:bg-gray-4/50 [a]:transition-colors duration-100 flex-wrap outline-none focus-visible:border-gray-8 focus-visible:ring-gray-8/50 focus-visible:ring-[3px]',
{
variants: {
variant: {
diff --git a/packages/web/src/components/ui/radio-group.tsx b/packages/web/src/components/ui/radio-group.tsx
index 45fbc002f7f..5b736965a06 100644
--- a/packages/web/src/components/ui/radio-group.tsx
+++ b/packages/web/src/components/ui/radio-group.tsx
@@ -25,7 +25,7 @@ function RadioGroupItem({
<RadioGroupPrimitive.Item
data-slot="radio-group-item"
className={cn(
- 'aspect-square size-4 shrink-0 rounded-full border border-gray-8 text-accent-11 shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:bg-gray-6/30 dark:aria-invalid:ring-danger-9/40',
+ 'aspect-square size-4 shrink-0 rounded-full border border-gray-8 text-accent-11 shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:bg-gray-6/30 dark:aria-invalid:ring-danger-9/40',
className,
)}
{...props}
diff --git a/packages/web/src/components/ui/resizable-panel.tsx b/packages/web/src/components/ui/resizable-panel.tsx
index 69230985b0c..1d54cde55e5 100644
--- a/packages/web/src/components/ui/resizable-panel.tsx
+++ b/packages/web/src/components/ui/resizable-panel.tsx
@@ -36,7 +36,7 @@ function ResizableHandle({
<ResizablePrimitive.Separator
data-slot="resizable-handle"
className={cn(
- 'bg-gray-6 z-40 relative flex w-px items-center justify-center outline-none after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-accent-8 focus-visible:ring-offset-1 focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90',
+ 'bg-gray-6 z-40 relative flex w-px items-center justify-center outline-none after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-gray-8 focus-visible:ring-offset-1 focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90',
className,
)}
{...props}
diff --git a/packages/web/src/components/ui/select.tsx b/packages/web/src/components/ui/select.tsx
index 9807c5911ae..32f615234d2 100644
--- a/packages/web/src/components/ui/select.tsx
+++ b/packages/web/src/components/ui/select.tsx
@@ -42,7 +42,7 @@ function SelectTrigger({
data-slot="select-trigger"
data-size={size}
className={cn(
- "flex w-full items-center justify-between gap-2 rounded-md border border-gray-8 bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 data-[placeholder]:text-gray-11 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-gray-6/30 dark:hover:bg-gray-6/50 dark:aria-invalid:ring-danger-9/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-gray-11",
+ "flex w-full items-center justify-between gap-2 rounded-md border border-gray-8 bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 data-[placeholder]:text-gray-11 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-gray-6/30 dark:hover:bg-gray-6/50 dark:aria-invalid:ring-danger-9/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-gray-11",
className,
)}
{...props}
diff --git a/packages/web/src/components/ui/sheet.tsx b/packages/web/src/components/ui/sheet.tsx
index fc4cf6a477a..1fc0643c528 100644
--- a/packages/web/src/components/ui/sheet.tsx
+++ b/packages/web/src/components/ui/sheet.tsx
@@ -78,7 +78,7 @@ function SheetContent({
>
{children}
{!hideCloseButton && (
- <SheetPrimitive.Close className="absolute top-4 right-4 rounded-xs opacity-70 ring-offset-gray-1 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-accent-8 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-gray-3">
+ <SheetPrimitive.Close className="absolute top-4 right-4 rounded-xs opacity-70 ring-offset-gray-1 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-gray-8 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-gray-3">
<XIcon className="size-4" />
<span className="sr-only">Close</span>
</SheetPrimitive.Close>
diff --git a/packages/web/src/components/ui/sidebar-shadcn.tsx b/packages/web/src/components/ui/sidebar-shadcn.tsx
index 86a7ab50119..0ca6e3e993a 100644
--- a/packages/web/src/components/ui/sidebar-shadcn.tsx
+++ b/packages/web/src/components/ui/sidebar-shadcn.tsx
@@ -503,7 +503,7 @@ function SidebarGroupLabel({
data-slot="sidebar-group-label"
data-sidebar="group-label"
className={cn(
- 'flex h-7 shrink-0 items-center rounded-md px-2 text-xs font-normal text-gray-11 ring-accent-8 outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
+ 'flex h-7 shrink-0 items-center rounded-md px-2 text-xs font-normal text-gray-11 ring-gray-8 outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
'group-data-[collapsible=icon]:-mt-7 group-data-[collapsible=icon]:opacity-0',
className,
)}
@@ -524,7 +524,7 @@ function SidebarGroupAction({
data-slot="sidebar-group-action"
data-sidebar="group-action"
className={cn(
- 'absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-12 ring-accent-8 outline-hidden transition-transform hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
+ 'absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-12 ring-gray-8 outline-hidden transition-transform hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
'after:absolute after:-inset-2 md:after:hidden',
'group-data-[collapsible=icon]:hidden',
className,
@@ -571,7 +571,7 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'>) {
}
const sidebarMenuButtonVariants = cva(
- 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 group-data-[collapsible=icon]:p-0 group-data-[collapsible=icon]:justify-center text-left text-sm ring-accent-8 outline-hidden transition-[width,height,padding] hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 active:text-gray-12 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-normal data-[active=true]:text-gray-12 data-open:hover:bg-gray-4 data-open:hover:text-gray-12 group-has-data-[sidebar=menu-action]/menu-item:pr-8 [&>span:last-child]:truncate [&_svg]:size-4 [&_svg]:shrink-0',
+ 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 group-data-[collapsible=icon]:p-0 group-data-[collapsible=icon]:justify-center text-left text-sm ring-gray-8 outline-hidden transition-[width,height,padding] hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 active:text-gray-12 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:font-normal data-[active=true]:text-gray-12 data-open:hover:bg-gray-4 data-open:hover:text-gray-12 group-has-data-[sidebar=menu-action]/menu-item:pr-8 [&>span:last-child]:truncate [&_svg]:size-4 [&_svg]:shrink-0',
{
variants: {
variant: {
@@ -658,7 +658,7 @@ function SidebarMenuAction({
data-slot="sidebar-menu-action"
data-sidebar="menu-action"
className={cn(
- 'absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-12 ring-accent-8 outline-hidden transition-transform peer-hover/menu-button:text-gray-12 hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
+ 'absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-gray-12 ring-gray-8 outline-hidden transition-transform peer-hover/menu-button:text-gray-12 hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
'after:absolute after:-inset-2 md:after:hidden',
'peer-data-[size=sm]/menu-button:top-1',
'peer-data-[size=default]/menu-button:top-1.5',
@@ -781,7 +781,7 @@ function SidebarMenuSubButton({
data-size={size}
data-active={isActive}
className={cn(
- 'flex h-7 min-w-0 items-center gap-2 overflow-hidden rounded-md px-2 text-gray-12 ring-accent-8 outline-hidden hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 active:bg-gray-4 active:text-gray-12 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-gray-12',
+ 'flex h-7 min-w-0 items-center gap-2 overflow-hidden rounded-md px-2 text-gray-12 ring-gray-8 outline-hidden hover:bg-gray-4 hover:text-gray-12 focus-visible:ring-2 active:bg-gray-4 active:text-gray-12 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-gray-12',
'data-[active=true]:bg-gray-4 data-[active=true]:font-medium data-[active=true]:text-gray-12',
size === 'sm' && 'text-xs',
size === 'md' && 'text-sm',
diff --git a/packages/web/src/components/ui/slider.tsx b/packages/web/src/components/ui/slider.tsx
index 00bdeaeea88..f5cd442dc77 100644
--- a/packages/web/src/components/ui/slider.tsx
+++ b/packages/web/src/components/ui/slider.tsx
@@ -57,7 +57,7 @@ function Slider({
<SliderPrimitive.Thumb
data-slot="slider-thumb"
key={index}
- className="block size-4 shrink-0 rounded-full border border-accent-9 bg-panel shadow-sm ring-accent-8/50 transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
+ className="block size-4 shrink-0 rounded-full border border-accent-9 bg-panel shadow-sm ring-gray-8/50 transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
/>
))}
</SliderPrimitive.Root>
diff --git a/packages/web/src/components/ui/switch.tsx b/packages/web/src/components/ui/switch.tsx
index bf0c97954f9..a25a78c3429 100644
--- a/packages/web/src/components/ui/switch.tsx
+++ b/packages/web/src/components/ui/switch.tsx
@@ -29,7 +29,7 @@ function Switch({
<SwitchPrimitive.Root
data-slot="switch"
className={cn(
- 'peer inline-flex shrink-0 cursor-pointer items-center border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-8 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1 disabled:cursor-not-allowed disabled:opacity-50',
+ 'peer inline-flex shrink-0 cursor-pointer items-center border-2 border-transparent transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-gray-8 focus-visible:ring-offset-2 focus-visible:ring-offset-gray-1 disabled:cursor-not-allowed disabled:opacity-50',
COLOR_CLASSES[color],
variant === 'square' ? 'rounded-md' : 'rounded-full',
SIZE_CLASSES[size],
diff --git a/packages/web/src/components/ui/textarea.tsx b/packages/web/src/components/ui/textarea.tsx
index b81e6ff2aa2..e28c98484f7 100644
--- a/packages/web/src/components/ui/textarea.tsx
+++ b/packages/web/src/components/ui/textarea.tsx
@@ -11,7 +11,7 @@ function Textarea({ className, ...props }: ResizableTextareaProps) {
minRows={1}
maxRows={5}
className={cn(
- 'flex w-full rounded-md border border-gray-8 bg-gray-1 px-3 py-2 text-sm shadow-xs transition-[color,box-shadow] outline-none placeholder:text-gray-11 focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40',
+ 'flex w-full rounded-md border border-gray-8 bg-gray-1 px-3 py-2 text-sm shadow-xs transition-[color,box-shadow] outline-none placeholder:text-gray-11 focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 dark:aria-invalid:ring-danger-9/40',
className,
)}
{...props}
diff --git a/packages/web/src/components/ui/toggle.tsx b/packages/web/src/components/ui/toggle.tsx
index e090aa11f2a..c52a8504af3 100644
--- a/packages/web/src/components/ui/toggle.tsx
+++ b/packages/web/src/components/ui/toggle.tsx
@@ -7,7 +7,7 @@ import * as React from 'react';
import { cn } from '@/lib/utils';
const toggleVariants = cva(
- "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-gray-3 hover:text-gray-11 focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 data-[state=on]:bg-gray-4 data-[state=on]:text-gray-12 dark:aria-invalid:ring-danger-9/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-gray-3 hover:text-gray-11 focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-danger-9 aria-invalid:ring-danger-9/20 data-[state=on]:bg-gray-4 data-[state=on]:text-gray-12 dark:aria-invalid:ring-danger-9/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
{
variants: {
variant: {
diff --git a/packages/web/src/features/automations/components/automations-table.tsx b/packages/web/src/features/automations/components/automations-table.tsx
index d5d87730faa..7a56e918232 100644
--- a/packages/web/src/features/automations/components/automations-table.tsx
+++ b/packages/web/src/features/automations/components/automations-table.tsx
@@ -159,7 +159,7 @@ export const AutomationsTable = ({
type="button"
aria-label={sortActionLabel(sort)}
onClick={() => onSortChange(nextSort(sort))}
- className="flex items-center gap-1.5 rounded-sm hover:text-accent-11 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-accent-8"
+ className="flex items-center gap-1.5 rounded-sm hover:text-accent-11 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-8"
>
<Type className="h-3.5 w-3.5" />
{t('Name')}
diff --git a/packages/web/src/features/billing/components/feature-usage/auto-recharge-config-dialog.tsx b/packages/web/src/features/billing/components/feature-usage/auto-recharge-config-dialog.tsx
index 1ebb24ba1b8..adbff5ace29 100644
--- a/packages/web/src/features/billing/components/feature-usage/auto-recharge-config-dialog.tsx
+++ b/packages/web/src/features/billing/components/feature-usage/auto-recharge-config-dialog.tsx
@@ -273,7 +273,7 @@ function CreditsAmountSelect({
<button
type="button"
className={cn(
- 'flex h-9 w-full items-center justify-between gap-2 rounded-md border border-gray-6 bg-transparent px-3 py-2 text-sm shadow-xs outline-none focus-visible:border-accent-8 focus-visible:ring-[3px] focus-visible:ring-accent-8/50',
+ 'flex h-9 w-full items-center justify-between gap-2 rounded-md border border-gray-6 bg-transparent px-3 py-2 text-sm shadow-xs outline-none focus-visible:border-gray-8 focus-visible:ring-[3px] focus-visible:ring-gray-8/50',
)}
>
<span>{value.toLocaleString()}</span>
@@ -294,7 +294,7 @@ function CreditsAmountSelect({
{option.toLocaleString()}
</button>
))}
- <div className="mt-1 flex items-center gap-2 rounded-md border border-gray-6 px-3 py-2 focus-within:border-accent-8 focus-within:ring-[3px] focus-within:ring-accent-8/50">
+ <div className="mt-1 flex items-center gap-2 rounded-md border border-gray-6 px-3 py-2 focus-within:border-gray-8 focus-within:ring-[3px] focus-within:ring-gray-8/50">
<input
type="number"
min={CREDITS_MIN}
diff --git a/packages/web/src/features/flow-runs/utils/flow-run-utils.ts b/packages/web/src/features/flow-runs/utils/flow-run-utils.ts
index e09d52fd8c7..232f0c4d298 100644
--- a/packages/web/src/features/flow-runs/utils/flow-run-utils.ts
+++ b/packages/web/src/features/flow-runs/utils/flow-run-utils.ts
@@ -147,10 +147,10 @@ export const flowRunUtils = {
switch (stepOutput) {
case StepOutputStatus.RUNNING:
return {
- variant: 'primary',
+ variant: 'default',
Icon: Timer,
text: t('Running'),
- extraClassName: 'text-accent-11 stroke-accent-11',
+ extraClassName: 'text-gray-12 stroke-gray-12',
};
case StepOutputStatus.PAUSED:
return {
@@ -208,7 +208,7 @@ export const flowRunUtils = {
};
case FlowRunStatus.RUNNING:
return {
- variant: 'primary',
+ variant: 'default',
Icon: Play,
};
case FlowRunStatus.FAILED: