From 1211046eb5aea6f5aac487f8cb27d29d1e2fa4ee Mon Sep 17 00:00:00 2001 From: trilium-share-gruvbox Date: Mon, 7 Sep 2026 22:08:53 +0200 Subject: [PATCH] Add client-side blog theme switcher (dropdown, localStorage, default Tokyo Night) --- README.md | 1 + scripts/blog_theme_picker.js | 86 ++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 scripts/blog_theme_picker.js diff --git a/README.md b/README.md index 81dd536..ba3e0ca 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,7 @@ pointing the `shareCss` relation at the matching note – see | `lib/highlight.js` | vendored highlight.js | code, `application/javascript` | | `lib/3d/*` | three.js + OrbitControls + STLLoader + occt-wasm (OCCT V8 bundle + WASM) for the 3D viewer | code / file | | `lib/hljs_line_numbers.js` | highlight.js line-numbers plugin | code | +| `scripts/blog_theme_picker.js` | theme switcher dropdown in the header (client-side, localStorage, default Tokyo Night) | code, `text/html` | | `scripts/*.js` | frontend share snippets (content is pasted **verbatim** into a code note, including the ` \ No newline at end of file