diff --git a/docs/source/_static/yosyshq.css b/docs/source/_static/yosyshq.css
index 57ae8f87a5f..447c8536743 100644
--- a/docs/source/_static/yosyshq.css
+++ b/docs/source/_static/yosyshq.css
@@ -24,3 +24,17 @@ a.external {
th {
text-align: left;
}
+
+body[data-theme="dark"] {
+ .invert-helper {
+ filter: url("data:image/svg+xml,#f");
+ }
+}
+
+@media (prefers-color-scheme: dark) {
+ body:not([data-theme="light"]) {
+ .invert-helper {
+ filter: url("data:image/svg+xml,#f");
+ }
+ }
+}
\ No newline at end of file