How to make the options_ui page match the browser theme?

I want to make the options page (the “preference” tab in about:addons) look less awkward when the user uses a browser theme.

My current approach is to use `@media (prefers-color-scheme: dark).

How do I get the correct background colors? What is considered best practice here?

Thanks!