Oh, a silly mistake on my part. I had Dark Reader extension enabled in my browser...
And I didn't have the option enabled in the extansion to detect if website has already dark mode support.
So it added those white borders and etc.
Thank you for your time, can close this 🙂