From 0d675eca568fabc9dba1a682c32f2da2554332f7 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 18 Apr 2018 15:38:30 +0200 Subject: Ensure proper color contrast according to WCAG AA Signed-off-by: Jan-Christoph Borchardt --- core/css/variables.scss | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core/css/variables.scss') diff --git a/core/css/variables.scss b/core/css/variables.scss index 2e4e9028b30..a60460a3088 100644 --- a/core/css/variables.scss +++ b/core/css/variables.scss @@ -7,6 +7,11 @@ $color-warning: #ffcc44; $color-success: #46ba61; $color-primary-element: $color-primary; +// rgb(118, 118, 118) / #767676 +// min. color contrast for normal text on white background according to WCAG AA +// (Works as well: color: #000; opacity: 0.57;) +$color-text-details: #767676; + @function nc-darken($color, $value) { @return darken($color, $value); } -- cgit v1.2.3