minified theme button js

This commit is contained in:
Parker TenBroeck 2026-05-01 11:33:51 -04:00
parent 5df85e391a
commit 2e21eb15d3
3 changed files with 18 additions and 16 deletions

View file

@ -8,16 +8,10 @@ tags = ["wooden"]
category = ["craft"] category = ["craft"]
+++ +++
Unfortunately I do not have a picture of the tree nor a picture of the un-stripped log.
Unfortunately I do not have a picture of the tree nor a picture of the un stripped log.
{{image(src="log.jpg", caption="A stripped and dried log with a huge split down the middle from drying too fast")}} {{image(src="log.jpg", caption="A stripped and dried log with a huge split down the middle from drying too fast")}}
{{image(src="split.jpg", caption="A extremely rough cutting of the spoon.")}}
{{image(src="roughin.jpg", caption="Getting the rough shape of the spoon")}}
{{image(src="split.jpg", caption="A extremely rough cutting of the spon.")}} {{image(src="refined.jpg", caption="Sanding handle and cup into final shape")}}
{{image(src="roughin.jpg", caption="")}} {{image(src="shape_finished.jpg", caption="Cutting spoon cavity")}}
{{image(src="refined.jpg", caption="")}} {{image(src="charred.jpg", caption="Finishing")}}
{{image(src="shape_finished.jpg", caption="")}}
{{image(src="charred.jpg", caption="")}}

View file

@ -9,6 +9,9 @@ category = ["project"]
+++ +++
Take a look at the [GitHub](https://github.com/ParkerTenBroeck/generators)
<!--
With the release of Java 24 came the official Class-File API giving a stable and (relatively) ergonomic interface for reading, modifying, and writing java classes/bytecode at runtime with no external dependencies. Seeing this I decided to play around with it and see what fun I could have. With the release of Java 24 came the official Class-File API giving a stable and (relatively) ergonomic interface for reading, modifying, and writing java classes/bytecode at runtime with no external dependencies. Seeing this I decided to play around with it and see what fun I could have.
@ -47,7 +50,6 @@ Sometimes it's
# Injection # Injection
Take a look at the [GitHub](https://github.com/ParkerTenBroeck/generators)
@ -83,4 +85,6 @@ public static Gen<Long, Void> primes() {
Gen.yield(number); Gen.yield(number);
} }
} }
``` ```
-->

View file

@ -40,7 +40,11 @@
</button> </button>
</nav> </nav>
<script> <!-- minified version !-->
<script>!function(){const e=document.documentElement,t=document.querySelector(".theme-toggle"),a=window.matchMedia("(prefers-color-scheme: dark)"),n=()=>localStorage.theme??e.dataset.theme??(a.matches?"dark":"light"),o=(a,{manual:n=!1}={})=>{e.dataset.theme=a,localStorage.theme=a,t.setAttribute("aria-pressed","dark"===a?"true":"false")};document.documentElement.classList.add("no-theme-transition"),o(n()),requestAnimationFrame(()=>{document.documentElement.classList.remove("no-theme-transition")}),t.addEventListener("click",()=>{const e="dark"===n()?"light":"dark";o(e)})}();</script>
<!-- non minified version !-->
{# <script>
(function setupThemeToggle() { (function setupThemeToggle() {
const root = document.documentElement; const root = document.documentElement;
const btn = document.querySelector(".theme-toggle"); const btn = document.querySelector(".theme-toggle");
@ -65,4 +69,4 @@
applyTheme(next); applyTheme(next);
}); });
})(); })();
</script> </script> #}