You wouldn't want to change the style of your website widget to compensate for dark mode on your own computer, because the styles you add to the widget will affect everyone who views it.
I would expect you could just leave it as is and the dark mode functionality of your computer should reverse everything (backgrounds and text). If you're still seeing a problem, please submit a help ticket.