diff --git a/docs/javascripts/svg_dark.js b/docs/javascripts/svg_dark.js
new file mode 100644
index 0000000..a997bf0
--- /dev/null
+++ b/docs/javascripts/svg_dark.js
@@ -0,0 +1,52 @@
+document.addEventListener("DOMContentLoaded", function () {
+ // Function to fetch SVG and inject the styles
+ function injectSVGStyles(imgElement) {
+ // Retrieve the src attribute for the image
+ const imgSrc = imgElement.getAttribute('src');
+
+ // If it's an SVG file (basic check for ".svg")
+ if (imgSrc && imgSrc.endsWith('.svg')) {
+ // Fetch the SVG file
+ fetch(imgSrc)
+ .then(response => response.text()) // Get the SVG content as text
+ .then(svgText => {
+ // Parse the SVG string into an HTML element
+ const parser = new DOMParser();
+ const svgDocument = parser.parseFromString(svgText, 'image/svg+xml');
+ const svgElement = svgDocument.querySelector('svg');
+
+ if (svgElement) {
+ // Convert old to inline