about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorShel Raphen <shelraphen@gmail.com>2017-05-12 11:46:36 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-12 17:46:36 +0200
commit60f3230a05247a65f6dee346fd9ddaa24bc6f34d (patch)
treec320c6289bca33d7ed824e889f90140f69bcfc73 /app
parent0cb4b9205c711223df6855d2027495a30ea04326 (diff)
Increase color contrast on privacy warning (#3015)
The current text contrast on the privacy warning is a WCAG violation. I didn't notice this because my instance has a custom theme which is better. On default theme I am barely able to read the text with my impaired vision. This patch brings the contrast to Normal Text WCAG AA compliance, and Large Text WCAG AAA compliance.
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/components.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index 3d133d4d9..de0943d17 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -226,7 +226,7 @@
 }
 
 .compose-form__warning {
-  color: darken($ui-secondary-color, 33%);
+  color: darken($ui-secondary-color, 65%);
   margin-bottom: 15px;
   background: $ui-primary-color;
   box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);