In Settings > Colors you can choose an accent color and turn on the "Title bars and windows borders" option - I think that would give you exactly what you want.
I have found this option to be surprisingly inconsistent, both with built-in windows apps and with third-party apps. Many UWP apps don’t honor this at all, in addition to many electron apps.