about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-26 08:28:00 +0000
committerbors <bors@rust-lang.org>2024-02-26 08:28:00 +0000
commitb09fb8ab3be9144725289ae89e60bb28301fe3c0 (patch)
tree6eb651f733e7e79de58c0dbbb1ffa05efb182cb8
parentaa2c94e416d346341fe3a875160a7d064596f4d3 (diff)
parent3ef693c55522ca16c8c4444ff71572fa12824b39 (diff)
downloadrust-b09fb8ab3be9144725289ae89e60bb28301fe3c0.tar.gz
rust-b09fb8ab3be9144725289ae89e60bb28301fe3c0.zip
Auto merge of #12350 - hamirmahal:style/sync-GitHub-Corner-colors, r=xFrednet
style: sync GitHub Corner colors

fixes #12349.

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: sync site GitHub Corner colors
-rw-r--r--util/gh-pages/index.html14
1 files changed, 2 insertions, 12 deletions
diff --git a/util/gh-pages/index.html b/util/gh-pages/index.html
index a5274eeb349..c88c298d5d7 100644
--- a/util/gh-pages/index.html
+++ b/util/gh-pages/index.html
@@ -594,19 +594,9 @@ Otherwise, have a great day =^.^=
             ></path>
         </svg>
         <style>
-            :root {
-                --theme-background-color: black;
-                --theme-foreground-color: white;
-            }
-            @media (prefers-color-scheme: dark) {
-                :root {
-                    --theme-background-color: white;
-                    --theme-foreground-color: black;
-                }
-            }
             .github-corner svg {
-                fill: var(--theme-background-color);
-                color: var(--theme-foreground-color);
+                fill: var(--fg);
+                color: var(--bg);
             }
             .github-corner:hover .octo-arm {
                 animation: octocat-wave 560ms ease-in-out;