How to create a theme that can alter most of the colours in thunderbird

Hi,
I would like to create a theme for thunderbird that can change more than just the tab and frame colour, ideally I would like to be able to change the background, sidebar and text colour aswell.

I have managed to get a basic theme working, but looks like I will need something more advanced.

I am not sure how to achieve this.