<p dir="auto">Opening this up for a discussion, basically what i'd like to see is an API to set the background of the browser-window surrounding the web contents. When the user is resizing the window this shows up before the web contents fills the available space - if you are developing a dark application then this white border looks particularly bad.</p>
<p dir="auto">For example I noticed that Spotify is able to achieve this by using a fill color that matches the rest of the app whilst the UI resizes.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/704762/5178438/d410e3f4-74a6-11e4-8e7a-242944aaa413.gif"><img src="https://cloud.githubusercontent.com/assets/704762/5178438/d410e3f4-74a6-11e4-8e7a-242944aaa413.gif" alt="display" data-animated-image="" style="max-width: 100%;"></a></p>
<p dir="auto">I run a quick start demo, and set index.html background:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;!DOCTYPE html&gt;
&lt;html style=&quot;background: #232323&quot;&gt;
  &lt;head&gt;
    &lt;title&gt;Hello World!&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;Hello World!&lt;/h1&gt;
    We are using node.js &lt;script&gt;document.write(process.version)&lt;/script&gt;
    and atom-shell &lt;script&gt;document.write(process.versions['atom-shell'])&lt;/script&gt;.
  &lt;/body&gt;
&lt;/html&gt;"><pre class="notranslate"><code class="notranslate">&lt;!DOCTYPE html&gt;
&lt;html style="background: #232323"&gt;
  &lt;head&gt;
    &lt;title&gt;Hello World!&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;Hello World!&lt;/h1&gt;
    We are using node.js &lt;script&gt;document.write(process.version)&lt;/script&gt;
    and atom-shell &lt;script&gt;document.write(process.versions['atom-shell'])&lt;/script&gt;.
  &lt;/body&gt;
&lt;/html&gt;
</code></pre></div>
<p dir="auto">There is a flash when start application. Is there any way to set the default window background color?</p>