Amends color of .profiler-unit to pass lighthouse accessibility audit (#359)

Amends color of .profiler-unit to pass lighthouse accessibility audit (#359)
  • Amends color of .profiler-unit to pass lighthouse accessibility audit

  • Changes muted colour to #767676

From 26e0ac12ca8888531e6a96d62a4c53b70cb88c7e Mon Sep 17 00:00:00 2001
From: Ben Hamment <Otterpocket@users.noreply.github.com>
Date: Mon, 30 Jul 2018 08:19:32 +0200
Subject: [PATCH] Amends color of .profiler-unit to pass lighthouse
 accessibility audit (#359)

* Amends color of .profiler-unit to pass lighthouse accessibility audit

* Changes muted colour to #767676

diff --git a/lib/html/includes.css b/lib/html/includes.css
index aa27846..b1f7587 100644
--- a/lib/html/includes.css
+++ b/lib/html/includes.css
@@ -35,11 +35,11 @@
     overflow: hidden;
     text-overflow: ellipsis; }
   .profiler-result .profiler-unit {
-    color: #aaa; }
+    color: #767676; }
   .profiler-result .profiler-trivial {
     display: none; }
     .profiler-result .profiler-trivial td, .profiler-result .profiler-trivial td * {
-      color: #aaa !important; }
+      color: #767676 !important; }
   .profiler-result pre, .profiler-result code, .profiler-result .profiler-number, .profiler-result .profiler-unit {
     font-family: Consolas, monospace, serif; }
   .profiler-result .profiler-number {
@@ -52,7 +52,7 @@
       white-space: nowrap; }
   .profiler-result .profiler-timings th {
     background-color: #fff;
-    color: #aaa;
+    color: #767676;
     text-align: right; }
   .profiler-result .profiler-timings th, .profiler-result .profiler-timings td {
     white-space: nowrap; }
@@ -228,7 +228,7 @@
     cursor: default;
     text-align: center; }
     .profiler-results .profiler-controls span {
-      border-right: 1px solid #aaa;
+      border-right: 1px solid #767676;
       padding-right: 5px;
       margin-right: 5px;
       cursor: pointer; }
@@ -306,7 +306,7 @@
     display: none; }
   .profiler-result-full .profiler-result .profiler-popup .profiler-info {
     font-size: 25px;
-    border-bottom: 1px solid #aaa;
+    border-bottom: 1px solid #767676;
     padding-bottom: 3px;
     margin-bottom: 25px; }
     .profiler-result-full .profiler-result .profiler-popup .profiler-info .profiler-overall-duration {
diff --git a/lib/html/includes.scss b/lib/html/includes.scss
index 4e9d88e..5f1e224 100644
--- a/lib/html/includes.scss
+++ b/lib/html/includes.scss
@@ -8,7 +8,7 @@ $anchorColor: #0077CC;
 $buttonBorderColor: #888;
 $numberColor: #111;
 $textColor: #555;
-$mutedColor: #aaa;
+$mutedColor: #767676;
 $normalFonts: Helvetica, Arial, sans-serif;
 $codeFonts: Consolas, monospace, serif;
 $zindex:2147483640; // near 32bit max 2147483647

GitHub