(func
className={cn(
'peer flex h-10 w-full items-center justify-center rounded-lg border-none bg-transparent px-2 text-base',
'sm:h-8 sm:text-sm',
- 'focus:outline-none focus:ring-0 focus-visible:ring-2 focus-visible:ring-primary',
+ 'focus:outline-none focus:ring-0 focus-visible:ring-2 focus-visible:ring-text-primary',
)}
/>
{comboboxLabel && (
diff --git a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx
index fc2852edda..3f446cef87 100644
--- a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx
+++ b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx
@@ -60,7 +60,7 @@ const SettingsButton = ({
'text-text-secondary transition-colors duration-150',
'hover:bg-surface-tertiary hover:text-text-primary',
'focus-visible:bg-surface-tertiary focus-visible:text-text-primary',
- 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-1',
+ 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-text-primary focus-visible:ring-offset-1',
className,
)}
aria-label={`${text} ${endpoint.label}`}
diff --git a/client/src/components/Nav/KeyboardShortcutsDialog.tsx b/client/src/components/Nav/KeyboardShortcutsDialog.tsx
index cc49b8596b..2c8131d0e8 100644
--- a/client/src/components/Nav/KeyboardShortcutsDialog.tsx
+++ b/client/src/components/Nav/KeyboardShortcutsDialog.tsx
@@ -135,7 +135,7 @@ function ShortcutRow({
@@ -146,7 +146,7 @@ function ShortcutRow({
onClick={() => onStartEdit(info.id)}
aria-label={editAriaLabel}
data-testid={`edit-shortcut-${info.id}`}
- className="inline-flex h-[22px] items-center gap-1 rounded-md border border-dashed border-border-medium bg-transparent px-2 text-[11px] font-medium text-text-secondary transition-colors hover:border-border-heavy hover:bg-surface-tertiary hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:hover:bg-surface-secondary-alt"
+ className="inline-flex h-[22px] items-center gap-1 rounded-md border border-dashed border-border-medium bg-transparent px-2 text-[11px] font-medium text-text-secondary transition-colors hover:border-border-heavy hover:bg-surface-tertiary hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-text-primary dark:hover:bg-surface-secondary-alt"
>
{localize('com_shortcut_set')}
@@ -157,7 +157,7 @@ function ShortcutRow({
onClick={() => onStartEdit(info.id)}
aria-label={editAriaLabel}
data-testid={`edit-shortcut-${info.id}`}
- className="rounded-md px-1 py-0.5 transition-colors hover:bg-surface-tertiary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:hover:bg-surface-secondary-alt"
+ className="rounded-md px-1 py-0.5 transition-colors hover:bg-surface-tertiary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-text-primary dark:hover:bg-surface-secondary-alt"
>
@@ -239,7 +239,7 @@ function PanelsSection({
{localize('com_shortcut_group_panels')}
-
+
{localize('com_shortcut_group_panels_hint')}
@@ -329,7 +329,7 @@ function KeyboardShortcutsDialog() {
{localize('com_shortcut_keyboard_shortcuts')}
-
+
{localize('com_ui_close')}
@@ -389,7 +389,7 @@ function KeyboardShortcutsDialog() {
diff --git a/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx b/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx
index f056de1fbb..7427e59753 100644
--- a/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx
@@ -144,7 +144,7 @@ const BackupCodesItem: React.FC = () => {
});
document.dispatchEvent(announcement);
}}
- className={`flex flex-col rounded-xl border p-4 backdrop-blur-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary ${
+ className={`flex flex-col rounded-xl border p-4 backdrop-blur-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-text-primary ${
isUsed
? 'border-status-error-border bg-status-error-subtle'
: 'border-status-success-border bg-status-success-subtle'
diff --git a/client/src/components/Nav/SettingsTabs/ProviderKeys/ProviderKeys.tsx b/client/src/components/Nav/SettingsTabs/ProviderKeys/ProviderKeys.tsx
index e83c4b28fb..ea591daa33 100644
--- a/client/src/components/Nav/SettingsTabs/ProviderKeys/ProviderKeys.tsx
+++ b/client/src/components/Nav/SettingsTabs/ProviderKeys/ProviderKeys.tsx
@@ -32,7 +32,7 @@ export default function ProviderKeys() {
diff --git a/client/src/components/Nav/ShortcutRecorder.tsx b/client/src/components/Nav/ShortcutRecorder.tsx
index 9c151482b0..d73ced5986 100644
--- a/client/src/components/Nav/ShortcutRecorder.tsx
+++ b/client/src/components/Nav/ShortcutRecorder.tsx
@@ -183,7 +183,7 @@ export function RecorderPill({
onKeyUp={onKeyUp}
className={cn(
'flex h-[30px] items-center gap-1.5 rounded-md border bg-surface-primary px-2 outline-none transition-colors',
- 'focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-surface-primary-alt',
+ 'focus-visible:ring-2 focus-visible:ring-text-primary focus-visible:ring-offset-1 focus-visible:ring-offset-surface-primary-alt',
stateBorder,
)}
>
diff --git a/client/src/components/SidePanel/Agents/MCPToolItem.tsx b/client/src/components/SidePanel/Agents/MCPToolItem.tsx
index c7503ceb95..6a733ce366 100644
--- a/client/src/components/SidePanel/Agents/MCPToolItem.tsx
+++ b/client/src/components/SidePanel/Agents/MCPToolItem.tsx
@@ -53,7 +53,7 @@ export default function MCPToolItem({
aria-hidden="true"
className={cn(
'flex size-4 shrink-0 items-center justify-center rounded border border-border-medium transition-colors',
- isSelected && 'bg-primary text-primary-foreground',
+ isSelected && 'bg-surface-inverted text-text-inverted',
)}
>
{isSelected && }
diff --git a/client/src/style.css b/client/src/style.css
index c57e4cfea4..90c070f98b 100644
--- a/client/src/style.css
+++ b/client/src/style.css
@@ -207,17 +207,7 @@ html {
--surface-fixed: var(--white);
--surface-fixed-hover: var(--gray-100);
--text-fixed: var(--gray-800);
- /* Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration) */
- --background: 0 0% 100%;
- --primary: 0 0% 9%;
- --primary-foreground: 0 0% 98%;
- --ring: 0 0% 3.9%;
--radius: 0.5rem;
- --chart-1: 12 76% 61%;
- --chart-2: 173 58% 39%;
- --chart-3: 197 37% 24%;
- --chart-4: 43 74% 66%;
- --chart-5: 27 87% 67%;
--switch-unchecked: 0 0% 58%;
}
.dark {
@@ -282,16 +272,6 @@ html {
--surface-fixed: var(--white);
--surface-fixed-hover: var(--gray-100);
--text-fixed: var(--gray-800);
- /* Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration) */
- --background: 0 0% 7%;
- --primary: 0 0% 98%;
- --primary-foreground: 0 0% 9%;
- --ring: 0 0% 83.1%;
- --chart-1: 220 70% 50%;
- --chart-2: 160 60% 45%;
- --chart-3: 30 80% 55%;
- --chart-4: 280 65% 60%;
- --chart-5: 340 75% 55%;
--switch-unchecked: 0 0% 40%;
}
.gizmo {
diff --git a/packages/client/src/theme/themes/dark.ts b/packages/client/src/theme/themes/dark.ts
index 6834f3765b..cf5d35c29e 100644
--- a/packages/client/src/theme/themes/dark.ts
+++ b/packages/client/src/theme/themes/dark.ts
@@ -57,10 +57,4 @@ export const darkTheme: IThemeRGB = {
// Presentation
'rgb-presentation': '33 33 33', // #212121 (gray-800)
-
- // Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration)
- 'rgb-background': '18 18 18', // 0 0% 7%
- 'rgb-primary': '250 250 250', // 0 0% 98%
- 'rgb-primary-foreground': '23 23 23', // 0 0% 9%
- 'rgb-ring': '212 212 212', // 0 0% 83.1%
};
diff --git a/packages/client/src/theme/themes/default.ts b/packages/client/src/theme/themes/default.ts
index 88933800f1..a0afb164b2 100644
--- a/packages/client/src/theme/themes/default.ts
+++ b/packages/client/src/theme/themes/default.ts
@@ -57,10 +57,4 @@ export const defaultTheme: IThemeRGB = {
// Presentation
'rgb-presentation': '255 255 255', // #fff (white)
-
- // Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration)
- 'rgb-background': '255 255 255', // 0 0% 100%
- 'rgb-primary': '23 23 23', // 0 0% 9%
- 'rgb-primary-foreground': '250 250 250', // 0 0% 98%
- 'rgb-ring': '10 10 10', // 0 0% 3.9%
};
diff --git a/packages/client/src/theme/types/index.ts b/packages/client/src/theme/types/index.ts
index 233bb6aad2..4ddf4a13fd 100644
--- a/packages/client/src/theme/types/index.ts
+++ b/packages/client/src/theme/types/index.ts
@@ -55,12 +55,6 @@ export interface IThemeRGB {
// Presentation
'rgb-presentation'?: string;
-
- // Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration)
- 'rgb-background'?: string;
- 'rgb-primary'?: string;
- 'rgb-primary-foreground'?: string;
- 'rgb-ring'?: string;
}
/**
@@ -106,12 +100,6 @@ export interface IThemeVariables {
'--border-xheavy': string;
'--brand-purple': string;
'--presentation': string;
-
- // Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration)
- '--background': string;
- '--primary': string;
- '--primary-foreground': string;
- '--ring': string;
}
/**
diff --git a/packages/client/src/theme/utils/applyTheme.ts b/packages/client/src/theme/utils/applyTheme.ts
index e0a890daa3..d5841a57ed 100644
--- a/packages/client/src/theme/utils/applyTheme.ts
+++ b/packages/client/src/theme/utils/applyTheme.ts
@@ -65,12 +65,6 @@ function mapTheme(rgb: IThemeRGB): Partial {
'rgb-border-xheavy': '--border-xheavy',
'rgb-brand-purple': '--brand-purple',
'rgb-presentation': '--presentation',
-
- // Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration)
- 'rgb-background': '--background',
- 'rgb-primary': '--primary',
- 'rgb-primary-foreground': '--primary-foreground',
- 'rgb-ring': '--ring',
};
Object.entries(mappings).forEach(([rgbKey, cssVar]) => {
diff --git a/packages/client/src/theme/utils/createTailwindColors.js b/packages/client/src/theme/utils/createTailwindColors.js
index 368768576a..09f58c3431 100644
--- a/packages/client/src/theme/utils/createTailwindColors.js
+++ b/packages/client/src/theme/utils/createTailwindColors.js
@@ -129,14 +129,6 @@ function createTailwindColors() {
'status-neutral-border': cssVar('--status-neutral-border'),
'switch-unchecked': hslVar('--switch-unchecked'),
-
- // Retained for excluded SidePanel/Agents + SidePanel/Builder (pending migration)
- background: hslVar('--background'),
- ring: hslVar('--ring'),
- primary: {
- DEFAULT: hslVar('--primary'),
- foreground: hslVar('--primary-foreground'),
- },
};
}