From 0b7232c33915a09cdf0ccfbe1c98411fd8baeaf6 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 2 Sep 2016 10:30:29 -0400 Subject: [PATCH] refactor(GUI): explicitly declare `.label-danger` coloring (#676) `.label-danger` is defined by Bootstrap, and its coloring re-uses what was defined in `$brand-danger`, which is currently unset. To prevent the module from going out of sync with our new CSS palette, we explicitly declare the colorings in the component file. Signed-off-by: Juan Cruz Viotti --- build/css/main.css | 4 ++++ lib/gui/scss/components/_label.scss | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/build/css/main.css b/build/css/main.css index 8edb0e7e..ac0e16a7 100644 --- a/build/css/main.css +++ b/build/css/main.css @@ -6056,6 +6056,10 @@ body { background-color: #3b3e45; color: #919191; } +.label-danger { + background-color: #d9534f; + color: #fff; } + /* * Copyright 2016 Resin.io * diff --git a/lib/gui/scss/components/_label.scss b/lib/gui/scss/components/_label.scss index 65fea6e7..19275357 100644 --- a/lib/gui/scss/components/_label.scss +++ b/lib/gui/scss/components/_label.scss @@ -28,3 +28,8 @@ background-color: darken($palette-theme-dark-background, 10%); color: darken($palette-theme-dark-foreground, 43%); } + +.label-danger { + background-color: $palette-theme-danger-background; + color: $palette-theme-danger-foreground; +}