Monorepo for Tangled tangled.org

Compare changes

Choose any two refs to compare.

Changed files
+14 -2
cmd
dolly
docs
nix
+1 -1
cmd/dolly/main.go
··· 47 47 os.Exit(1) 48 48 } 49 49 50 - if !isValidHexColor(fillColor) { 50 + if fillColor != "currentColor" && !isValidHexColor(fillColor) { 51 51 fmt.Fprintf(os.Stderr, "Invalid color format: %s. Use hex format like #FF5733\n", fillColor) 52 52 os.Exit(1) 53 53 }
+6
docs/logo.html
··· 1 + <div class="flex items-center gap-2 w-fit mx-auto"> 2 + <span class="w-16 h-16 [&>svg]:w-full [&>svg]:h-full text-black dark:text-white"> 3 + ${ dolly.svg() } 4 + </span> 5 + <span class="font-bold text-4xl not-italic text-black dark:text-white">tangled</span> 6 + </div>
+2
docs/template.html
··· 74 74 ${ x.svg() } 75 75 $if(toc-title)$$toc-title$$else$Table of Contents$endif$ 76 76 </button> 77 + ${ logo.html() } 77 78 ${ search.html() } 78 79 ${ table-of-contents:toc.html() } 79 80 </div> ··· 88 89 class="hidden md:flex md:flex-col gap-4 fixed left-0 top-0 w-80 h-screen 89 90 bg-gray-50 dark:bg-gray-800 border-r border-gray-200 dark:border-gray-700 90 91 p-4 z-50 overflow-y-auto"> 92 + ${ logo.html() } 91 93 ${ search.html() } 92 94 <div class="flex-1"> 93 95 $if(toc-title)$
+1 -1
nix/pkgs/appview-static-files.nix
··· 30 30 31 31 ${dolly}/bin/dolly -output logos/dolly.png -size 180x180 32 32 ${dolly}/bin/dolly -output logos/dolly.ico -size 48x48 33 - ${dolly}/bin/dolly -output logos/dolly.svg 33 + ${dolly}/bin/dolly -output logos/dolly.svg -color currentColor 34 34 # tailwindcss -c $src/tailwind.config.js -i $src/input.css -o tw.css won't work 35 35 # for whatever reason (produces broken css), so we are doing this instead 36 36 cd ${src} && ${tailwindcss}/bin/tailwindcss -i input.css -o $out/tw.css
+4
nix/pkgs/docs.nix
··· 5 5 inter-fonts-src, 6 6 ibm-plex-mono-src, 7 7 lucide-src, 8 + dolly, 8 9 src, 9 10 }: 10 11 runCommandLocal "docs" {} '' ··· 17 18 18 19 # icons 19 20 cp -rf ${lucide-src}/*.svg working/ 21 + 22 + # logo 23 + ${dolly}/bin/dolly -output working/dolly.svg -color currentColor 20 24 21 25 # content - chunked 22 26 ${pandoc}/bin/pandoc ${src}/docs/DOCS.md \