aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-24 23:22:03 -0400
committerXe Iaso <me@xeiaso.net>2025-04-24 23:22:06 -0400
commit7950b5ae0b349d179574b8969a6753c96869d1c7 (patch)
tree39801ae02938cd048efbb9c90886b6d0fbf3d8de
parent54cd99c7504a59ee54cede9f2732f0d3a8a4b458 (diff)
downloadanubis-Xe/star-history-dark-mode.tar.xz
anubis-Xe/star-history-dark-mode.zip
docs(README): enable dark mode for the star history viewXe/star-history-dark-mode
Closes #340 Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--README.md8
-rw-r--r--docs/docs/index.mdx19
2 files changed, 24 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3571267..3a718d2 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,13 @@ 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
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