./src/components/thread/tool-views/file-operation/FileEditToolView.tsx:41:11
Type error: Object literal may only specify known properties, and 'color' does not exist in type 'ReactDiffViewerStylesVariables'.

  39 |       variables: {
  40 |         dark: {
> 41 |           color: '#e2e8f0',
     |           ^
  42 |           background: '#09090b',
  43 |           addedBackground: '#104a32',
  44 |           addedColor: '#6ee7b7',
Next.js build worker exited with code: 1 and signal: null
This commit is contained in:
LE Quoc Dat 2025-07-28 21:15:33 +02:00
parent 96e77cfcbf
commit d6f3800076
1 changed files with 11 additions and 0 deletions

View File

@ -357,6 +357,17 @@ export const getOperationConfigs = (): Record<FileOperation, OperationConfig> =>
badgeColor: 'bg-red-100 text-red-700 border-red-200',
hoverColor: 'hover:bg-red-100',
},
'str-replace': {
icon: Replace,
color: 'text-blue-600',
successMessage: 'String replaced successfully',
progressMessage: 'Replacing string...',
bgColor: 'bg-blue-50',
gradientBg: 'from-blue-50 to-blue-100',
borderColor: 'border-blue-200',
badgeColor: 'bg-blue-100 text-blue-700 border-blue-200',
hoverColor: 'hover:bg-blue-100',
},
};
};