From 5b3a1a558eb6ebf5e62a182d29063e36d83072fc Mon Sep 17 00:00:00 2001
From: Julius Haertl <jus@bitgrid.net>
Date: Tue, 21 Feb 2017 17:33:07 +0100
Subject: [PATCH] Remove separate error colors

Signed-off-by: Julius Haertl <jus@bitgrid.net>
---
 core/css/styles.scss    | 4 ++--
 core/css/variables.scss | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/core/css/styles.scss b/core/css/styles.scss
index 713f0d63a97..524ec978dd2 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -518,7 +518,7 @@ label.infield {
 		}
 		.errors {
 			background: rgba($color-error, .35);
-			border: 1px solid $color-main-old-ff0000;
+			border: 1px solid $color-error;
 			list-style-indent: inside;
 			margin: 0 0 2em;
 			padding: 1em;
@@ -672,7 +672,7 @@ label.infield {
 #body-user .warning, #body-settings .warning {
 	margin-top: 8px;
 	padding: 5px;
-	background: $color-main-old-ffdddd;
+	background: rgba($color-error, .15);
 	border-radius: 3px;
 }
 
diff --git a/core/css/variables.scss b/core/css/variables.scss
index 93612bc9ca4..da41ec62c89 100644
--- a/core/css/variables.scss
+++ b/core/css/variables.scss
@@ -19,11 +19,10 @@ $color-loading-dark: #bbbbbb;
 
 
 // need to be reduced/replaced
-$color-main-old-ff0000: $color-error;
-$color-main-old-ffdddd: rgba($color-error, .15);
 
 $color-main-old-f8f8f8: #f8f8f8;
 $color-main-old-eeeeee: #eee;
+
 $color-main-old-dddddd: #ddd;
 $color-main-old-dcdcdc: rgb(220, 220, 200);
 $color-main-old-d3d3d3: #d3d3d3;
-- 
GitLab