Software Center in Dark Theme Unreadable

So I am using the dark theme in gdm and the text in the software center is unreadable. I found a workaround by changing the font color from the .css as follows

sudo gedit /usr/share/software-center/ui/gtk3/css/softwarecenter.css
@define-color light-aubergine #DED7DB; -> modify
@define-color super-light-aubergine #F4F1F3; -> modify

My question is, is there a neat way to solve it so that anytime I change the theme the text is changed automatically?


I'd try using the old software centre (sudo apt-get install ubuntu-software) or using Synaptic. The new Software Centre tends to get broken anyway, so if you can I'd reccomend using the older version or even a package manager instead.