title: Change Electron window background color without need to recreate window?
body: <p>I'd like to set the background color dynamically in an Electron window without recreating the window. For my purposes, simply setting the color of an element like  <code>body</code> with CSS is not sufficient unfortunately.</p>
  
  <p>It appears that only <a href="https://electronjs.org/docs/api/browser-view#viewsetbackgroundcolorcolor-experimental" rel="nofollow noreferrer"><code>BrowserView</code> has a <code>setBackgroundColor</code> function according to the documentation.</a></p>
  
  <p><code>BrowserWindow</code> does have the function, but unfortunately it doesn't work. Is there any known alternative?</p>