Răsfoiți Sursa

Merge pull request #2738 from overleaf/ta-a11y-link-contrasts

A11y Contrast Fixes

GitOrigin-RevId: 1b76e04b81dd96d932525e75a6645b6d4801db8b
Miguel Serrano 6 ani în urmă
părinte
comite
e3d0ffeec8

+ 1 - 1
services/web/frontend/stylesheets/app/content_page.less

@@ -1,6 +1,6 @@
 /*
   Styling for content pages
-  Including: about, home, blog, /for/__, legal, contact, portals
+  Including: about, home, blog, /for/__, legal, contact, portals, wiki
 */
 .content-page {
   word-break: break-word;

+ 4 - 4
services/web/frontend/stylesheets/app/templates-v2.less

@@ -57,7 +57,7 @@
     width: 100%;
 
     h3 {
-      color: @link-color;
+      color: @link-color-alt;
       margin: 10px 0px 10px 20px;
     }
 
@@ -170,11 +170,11 @@
       }
 
       a {
-        color: @ol-green !important;
+        color: @link-color-alt !important;
       }
 
       &:hover a {
-        color: @ol-dark-green !important;
+        color: @link-hover-color-alt !important;
       }
     }
   }
@@ -188,7 +188,7 @@
       margin-bottom: 10px;
 
       a {
-        color: @ol-green !important;
+        color: @link-color-alt !important;
 
         &.currentResultPage {
           color: @ol-blue-gray-5 !important;

+ 4 - 3
services/web/frontend/stylesheets/core/ol-variables.less

@@ -15,6 +15,7 @@
 @ol-blue-gray-6: #1e2530;
 
 @ol-green: #138a07;
+@ol-type-green: #0f7a06;
 @ol-dark-green: #004a0e;
 @ol-blue: #3e70bb;
 @ol-dark-blue: #2857a1;
@@ -54,7 +55,7 @@
 @text-small-color: @ol-type-color;
 @text-color: @ol-type-color;
 @link-color: @ol-blue;
-@link-color-alt: @ol-green;
+@link-color-alt: @ol-type-green;
 @link-active-color: @ol-dark-green;
 @link-hover-color: @ol-dark-blue;
 @link-hover-color-alt: @ol-dark-green;
@@ -228,8 +229,8 @@
 
 // Footer
 @footer-bg-color: #fff;
-@footer-link-color: @ol-green;
-@footer-link-hover-color: @ol-dark-green;
+@footer-link-color: @link-color-alt;
+@footer-link-hover-color: @link-hover-color-alt;
 @footer-padding: 2em 0;
 
 // Editor header