Allow the Obsidian to run in frameless mode, which removes the titlebar window chrome. See Electron documentation:
This would allow more control over theming the titlebar area, similar to other Electron-based apps such as Discord, Slack, Spotify, etc.