There are differen approaches to conditionally hide elements or rows in the total theme. This…
Export anything as SVG vector with Photoshop
Or at most much stuff. Not everything. Best works with fonts. Right-click on the layer with the font and select „transform to form“ then you can even save it as a form for later use. Then go to file „export as“. But there is another way. Have a look. Helped me a lot.

