diff --git a/web_src/css/markup/dark.css b/web_src/css/markup/dark.css
index 700a48518e..f6db0c1df4 100644
--- a/web_src/css/markup/dark.css
+++ b/web_src/css/markup/dark.css
@@ -11,3 +11,12 @@
.markup [href$="#dark-mode-only"] {
display: unset;
}
+
+/*
+ The reason we're doing this here, is because dark templates always use this file, and there's no other way to detect dark theme.
+ Third party templates may not, but that doesn't really matter, since you can't change the theme logged out.
+*/
+
+.captcha-img {
+ filter: invert();
+}