diff --git a/packages/react-kit/src/components/form/Field.styles.ts b/packages/react-kit/src/components/form/Field.styles.ts index aa4b2c016..01131b19a 100644 --- a/packages/react-kit/src/components/form/Field.styles.ts +++ b/packages/react-kit/src/components/form/Field.styles.ts @@ -189,7 +189,6 @@ export const FileUploadWrapper = styled.div<{ cursor: not-allowed; opacity: 0.5; } - ${({ theme: { overrides } }) => overrides} `; export const FieldFileUpload = styled(FieldInput)` diff --git a/packages/react-kit/src/components/form/Upload/BaseUpload.tsx b/packages/react-kit/src/components/form/Upload/BaseUpload.tsx index 3575c0402..97632dcb0 100644 --- a/packages/react-kit/src/components/form/Upload/BaseUpload.tsx +++ b/packages/react-kit/src/components/form/Upload/BaseUpload.tsx @@ -320,7 +320,7 @@ function BaseUpload({ data-disabled={disabled} onClick={handleChooseFile} $error={errorMessage} - style={style} + style={{ ...style, ...theme?.overrides }} theme={theme?.triggerTheme} > {isLoading ? (