From d44a4312a516ccd16bf528de2830f2c1ba31689b Mon Sep 17 00:00:00 2001
From: ubaskota <19787410+ubaskota@users.noreply.github.com>
Date: Wed, 22 Jan 2025 17:20:56 -0500
Subject: [PATCH] fixes dark/light mode issue by replacing the icons.html file
with a file from furo version-2022.12.7 and updating it
---
docs/source/_static/css/custom.css | 4 -
docs/source/_static/css/dark_light_mode.css | 3 +
docs/source/_templates/partials/icons.html | 108 +++-----------------
3 files changed, 17 insertions(+), 98 deletions(-)
diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css
index a09474591a..537e5e243e 100644
--- a/docs/source/_static/css/custom.css
+++ b/docs/source/_static/css/custom.css
@@ -110,7 +110,3 @@ h3.admonition-title::before {
.hidden {
display: none;
}
-/*Sets the opacity level to 50%*/
-.opacity_50 {
- opacity: 0.5;
-}
diff --git a/docs/source/_static/css/dark_light_mode.css b/docs/source/_static/css/dark_light_mode.css
index 405fdb59a0..2aabc8cf0c 100644
--- a/docs/source/_static/css/dark_light_mode.css
+++ b/docs/source/_static/css/dark_light_mode.css
@@ -1,3 +1,6 @@
+/*This file replaces the style defined in the "_head_css_variables.html"
+partial from furo==2022.12.7*/
+
body {
--color-code-background: #f8f8f8;
--color-code-foreground: black;
diff --git a/docs/source/_templates/partials/icons.html b/docs/source/_templates/partials/icons.html
index 85f8771b3e..3142069d3a 100644
--- a/docs/source/_templates/partials/icons.html
+++ b/docs/source/_templates/partials/icons.html
@@ -1,4 +1,5 @@
-{# Adapted from Just the Docs #}
+{#This file is a modified version of "icons.html" file in furo version
+2022.12.7. #} {#Adapted from Just the Docs #}
-
- Auto light/dark, in light mode
+
+ Auto light/dark mode
-
-
- Auto light/dark, in dark mode
-
-
-
-
-
-
-