1) Remove the theme files
2) Edit "theme" table and remove the theme
3) Remove the tables that rendered when you install the theme
4) Edit "eav_attribute" table then find the records that the "source_model" like this: https://prnt.sc/stk10q
5) Run upgrade and deploy again