From 9e2737e6736f9dd582d083c6d6fd669a28a99316 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 19:39:50 -0700 Subject: Add dark mode; gift amount unit toggle; multi-input gifts - Dark mode: theme variables + a footer "Dark mode/Light mode" toggle, persisted and applied pre-paint via a small head script (defaults to the OS preference). Hardcoded surfaces moved to CSS variables. - Gift amount: the unit label is now the clickable sats/BTC toggle, and the amount is parsed in the selected unit. - Gifts can now span multiple coins: createGift selects several confirmed coins (first input SIGHASH_SINGLE to lock the change, the rest SIGHASH_NONE), so a gift larger than any single coin works. Claim/preview sum all inputs and size the fee by input count. Verified end-to-end. Co-Authored-By: Claude Opus 4.8 (1M context) --- build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.js') diff --git a/build.js b/build.js index 52b29af..fbcd41f 100644 --- a/build.js +++ b/build.js @@ -141,9 +141,10 @@ export async function buildHtml({ minify = true, pwa = minify } = {}) { - + Hal Wallet + ${pwa ? PWA_HEAD : ''} -- cgit v1.2.3