From 8b81f804f7feb73d07427342c6c619d6f5de04b6 Mon Sep 17 00:00:00 2001 From: ponzischeme89 Date: Sun, 14 Jun 2026 09:26:07 +1200 Subject: [PATCH] v0.1.21 - Mix calculator composer restyle Mirror the throughput composer's green design language on the mix calculator inputs: brand-tinted composer surface with a calculator-icon header, green 48px fields, Mix Name disabled until a client is chosen, a darker readable on-brand hint, and optional notes via the "+ Add a note" reveal. Co-Authored-By: Claude Opus 4.8 --- frontend/package.json | 2 +- .../mix-calculator/MixCalculatorEditor.svelte | 349 +++++++++++++----- .../MixCalculatorResultsPanel.svelte | 124 +++---- 3 files changed, 306 insertions(+), 169 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index d94d562..9a6ea71 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "hunter-app", - "version": "0.1.20", + "version": "0.1.21", "private": true, "type": "module", "scripts": { diff --git a/frontend/src/lib/components/mix-calculator/MixCalculatorEditor.svelte b/frontend/src/lib/components/mix-calculator/MixCalculatorEditor.svelte index 045bdb7..e363313 100644 --- a/frontend/src/lib/components/mix-calculator/MixCalculatorEditor.svelte +++ b/frontend/src/lib/components/mix-calculator/MixCalculatorEditor.svelte @@ -1,5 +1,6 @@
-
-
-

Calculated Output

-

{preview ? 'Snapshot of the scaled raw material requirements.' : 'Run the calculation to preview the session output.'}

-
- {#if sessionNumber} + {#if sessionNumber} +
Session {sessionNumber}
- {/if} -
+
+ {/if} {#if preview}
@@ -186,55 +182,50 @@