How to correctly design/color icon to be visible across themes?

Here is a follow-up on that issue: