How to reset themes and layout?

I’m a Linux noob,
I deleted all the contents of my themes and icons folders. i wanted to reinstall the themes through the themes and layout application but its like the application doesn’t register that i deleted them.

how can i fix this issue?

Hi and welcome.

Basically everything in /usr/share/themes and /usr/share/icons belongs to a debian package.

So the fact that you have remove the contents means a reinstall of the said packages will recreate those folders.

Its a question though as to what packages.

So at a minimum I would reinstall

sudo apt install --reinstall ubuntu-budgie-themes pocillo-icon-theme gnome-themes-extra arc-theme

thank you this worked! i really appreciate the insanely fast reply as well.
if i were to do this again in the future, how would i correctly uninstall themes?

to be honest I wouldn’t. Certain packages have to exist on your system.

If you have installed a theme or icon-theme via a deb packagename manually then you can safely remove that package via

sudo apt purge packagename