From 186d3847fef3a73c26ccb11a9289827668026190 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 15 Dec 2015 09:57:44 -0400 Subject: [PATCH] Prevent white flash when running application We accomplish this by setting the background color of the `html` element to match the greyish background color of the application. --- build/css/main.css | 3 +++ lib/scss/main.scss | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/build/css/main.css b/build/css/main.css index a09fad4f..6795da1a 100644 --- a/build/css/main.css +++ b/build/css/main.css @@ -5938,6 +5938,9 @@ body { .space-right-tiny { margin-right: 5px; } +html { + background-color: #535760; } + hero-badge .badge { background-color: #535760; } diff --git a/lib/scss/main.scss b/lib/scss/main.scss index 9f0ed846..cd735e09 100644 --- a/lib/scss/main.scss +++ b/lib/scss/main.scss @@ -39,6 +39,11 @@ $btn-padding: 10px; @import "./modules/space"; +// Prevent white flash when running application +html { + background-color: $body-bg; +} + hero-badge .badge { background-color: $body-bg; }