diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-04-18 15:38:30 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2018-04-18 15:38:30 +0200 |
commit | 0d675eca568fabc9dba1a682c32f2da2554332f7 (patch) | |
tree | cf9c2444a903b843e864a2120b7bdfe9b8b36cbf /core/css/variables.scss | |
parent | df3c1ac283d6ba665b0d761d5b47a15e544da990 (diff) | |
download | nextcloud-server-0d675eca568fabc9dba1a682c32f2da2554332f7.tar.gz nextcloud-server-0d675eca568fabc9dba1a682c32f2da2554332f7.zip |
Ensure proper color contrast according to WCAG AA
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css/variables.scss')
-rw-r--r-- | core/css/variables.scss | 5 |
1 files changed, 5 insertions, 0 deletions
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); } |