Per my knowledge, currently there is no ootb method to meet your requirement. Commonly, we track the changes in SharePoint online site using M365 > Security/Compliance > Audit, however here we could not search who changed the theme.
You could send feedback to Microsoft SharePoint Feedback.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.