diff --git a/docs/logo.html b/docs/logo.html
new file mode 100644
--- /dev/null
+++ b/docs/logo.html
@@ -0,0 +1,6 @@
+
+
+ ${ dolly.svg() }
+
+ tangled
+
diff --git a/docs/template.html b/docs/template.html
--- a/docs/template.html
+++ b/docs/template.html
@@ -74,6 +74,7 @@
${ x.svg() }
$if(toc-title)$$toc-title$$else$Table of Contents$endif$
+ ${ logo.html() }
${ search.html() }
${ table-of-contents:toc.html() }
@@ -88,6 +89,7 @@
class="hidden md:flex md:flex-col gap-4 fixed left-0 top-0 w-80 h-screen
bg-gray-50 dark:bg-gray-800 border-r border-gray-200 dark:border-gray-700
p-4 z-50 overflow-y-auto">
+ ${ logo.html() }
${ search.html() }
$if(toc-title)$
diff --git a/cmd/dolly/main.go b/cmd/dolly/main.go
--- a/cmd/dolly/main.go
+++ b/cmd/dolly/main.go
@@ -47,7 +47,7 @@
os.Exit(1)
}
- if !isValidHexColor(fillColor) {
+ if fillColor != "currentColor" && !isValidHexColor(fillColor) {
fmt.Fprintf(os.Stderr, "Invalid color format: %s. Use hex format like #FF5733\n", fillColor)
os.Exit(1)
}
diff --git a/nix/pkgs/docs.nix b/nix/pkgs/docs.nix
--- a/nix/pkgs/docs.nix
+++ b/nix/pkgs/docs.nix
@@ -5,6 +5,7 @@
inter-fonts-src,
ibm-plex-mono-src,
lucide-src,
+ dolly,
src,
}:
runCommandLocal "docs" {} ''
@@ -17,6 +18,9 @@
# icons
cp -rf ${lucide-src}/*.svg working/
+
+ # logo
+ ${dolly}/bin/dolly -output working/dolly.svg -color currentColor
# content - chunked
${pandoc}/bin/pandoc ${src}/docs/DOCS.md \