From ec72f3cdf6dc9fd430844d26565658b451dce251 Mon Sep 17 00:00:00 2001
From: idk <hankhill19580@gmail.com>
Date: Thu, 7 Apr 2022 22:36:09 -0400
Subject: [PATCH] disable high-contrast mode on browsers where it is possible

---
 apps/routerconsole/jsp/themes/console/dark/console.css  | 6 ++++++
 apps/routerconsole/jsp/themes/console/light/console.css | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/apps/routerconsole/jsp/themes/console/dark/console.css b/apps/routerconsole/jsp/themes/console/dark/console.css
index ec6763ef09..c3dc8585d6 100644
--- a/apps/routerconsole/jsp/themes/console/dark/console.css
+++ b/apps/routerconsole/jsp/themes/console/dark/console.css
@@ -8484,3 +8484,9 @@ table#externali2cp th {
     letter-spacing: 0 !important;
     word-spacing: 0 !important;
 }
+
+* {
+    forced-color-adjust: none;
+    -ms-high-contrast-adjust: none;
+    high-contrast-adjust: none;
+}
diff --git a/apps/routerconsole/jsp/themes/console/light/console.css b/apps/routerconsole/jsp/themes/console/light/console.css
index 0c52844cfb..5bdda13d71 100644
--- a/apps/routerconsole/jsp/themes/console/light/console.css
+++ b/apps/routerconsole/jsp/themes/console/light/console.css
@@ -8906,5 +8906,11 @@ th.options {
     }
 }
 
+* {
+    forced-color-adjust: none;
+    -ms-high-contrast-adjust: none;
+    high-contrast-adjust: none;
+}
+
 
 /* end chrome overrides */
-- 
GitLab