Commit c0c9d191 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Increase contrast to meet WCAG AA requirements

parent c79c14fd
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.annotation-body { .annotation-body {
@include var.font-normal; @include var.font-normal;
color: var.$grey-6; color: var.$grey-7;
// Margin between top of ascent of annotation body and // Margin between top of ascent of annotation body and
// bottom of ascent of annotation-quote should be ~15px. // bottom of ascent of annotation-quote should be ~15px.
margin-top: var.$layout-h-margin - 5px; margin-top: var.$layout-h-margin - 5px;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
// Margin between top of x-height of username and // Margin between top of x-height of username and
// top of the annotation card should be ~15px // top of the annotation card should be ~15px
margin-top: -(var.$layout-h-margin) + 10px; margin-top: -(var.$layout-h-margin) + 10px;
color: var.$grey-5; color: var.$grey-6;
&__row { &__row {
display: flex; display: flex;
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
&__timestamp-edited { &__timestamp-edited {
@include var.font-small; @include var.font-small;
font-style: italic; font-style: italic;
color: var.$grey-4; color: var.$grey-5;
} }
&__timestamp-created-link { &__timestamp-created-link {
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
} }
&__timestamp-created-link { &__timestamp-created-link {
color: var.$grey-5; color: var.$grey-6;
} }
&__highlight { &__highlight {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
@include var.font-normal; @include var.font-normal;
border-left: 3px solid var.$grey-3; border-left: 3px solid var.$grey-3;
color: var.$grey-4; color: var.$grey-5;
font-family: sans-serif; font-family: sans-serif;
font-size: 12px; font-size: 12px;
font-style: italic; font-style: italic;
......
...@@ -20,11 +20,14 @@ $grey-4: #a6a6a6; ...@@ -20,11 +20,14 @@ $grey-4: #a6a6a6;
// minus blue tint. // minus blue tint.
$grey-semi: #9c9c9c; $grey-semi: #9c9c9c;
// This is the lightest grey admissible on a white, $grey-0 or $grey-1
// background to meet WCAG-AA text contrast requirements.
$grey-5: #737373; $grey-5: #737373;
// Interim color variable for migration purposes, as the step between `$grey-5` // Interim color variable for migration purposes, as the step between `$grey-5`
// and `$grey-6` is large. Represents `base-mid` in proposed future palette, // and `$grey-6` is large. Represents `base-mid` in proposed future palette,
// minus blue tint. // minus blue tint.
// This is the lightest grey admissible on $grey-2, $grey-3
$grey-mid: #595959; $grey-mid: #595959;
$grey-6: #3f3f3f; $grey-6: #3f3f3f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment