aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-24 23:26:35 -0400
committerGitHub <noreply@github.com>2025-04-25 03:26:35 +0000
commit9fab74eb8a8028368712ce78ed2e6f1cf0e14ac7 (patch)
treed8689a1f6b34242aae95bf6e78824f94d59a2a14 /docs
parente6a1c5309f0683376e87fe333adc92dd713cd51a (diff)
downloadanubis-9fab74eb8a8028368712ce78ed2e6f1cf0e14ac7.tar.xz
anubis-9fab74eb8a8028368712ce78ed2e6f1cf0e14ac7.zip
docs(README): enable dark mode for the star history view (#360)
Closes #340 Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/index.mdx19
1 files changed, 17 insertions, 2 deletions
diff --git a/docs/docs/index.mdx b/docs/docs/index.mdx
index 04e3f96..5bc8d63 100644
--- a/docs/docs/index.mdx
+++ b/docs/docs/index.mdx
@@ -29,11 +29,26 @@ For live chat, please join the [Patreon](https://patreon.com/cadey) and ask in t
## Star History
-[![Star History Chart](https://api.star-history.com/svg?repos=TecharoHQ/anubis&type=Date)](https://www.star-history.com/#TecharoHQ/anubis&Date)
+<a href="https://www.star-history.com/#TecharoHQ/anubis&Date">
+ <picture>
+ <source
+ media="(prefers-color-scheme: dark)"
+ srcSet="https://api.star-history.com/svg?repos=TecharoHQ/anubis&type=Date&theme=dark"
+ />
+ <source
+ media="(prefers-color-scheme: light)"
+ srcSet="https://api.star-history.com/svg?repos=TecharoHQ/anubis&type=Date"
+ />
+ <img
+ alt="Star History Chart"
+ src="https://api.star-history.com/svg?repos=TecharoHQ/anubis&type=Date"
+ />
+ </picture>
+</a>
## Packaging Status
-[![Packaging status](https://repology.org/badge/vertical-allrepos/anubis-anti-crawler.svg)](https://repology.org/project/anubis-anti-crawler/versions)
+[![Packaging status](https://repology.org/badge/vertical-allrepos/anubis-anti-crawler.svg?columns=3)](https://repology.org/project/anubis-anti-crawler/versions)
## Contributors