From 123d035417a0990ea5e98c47d7d54d188144395d Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Sun, 8 Feb 2026 09:35:11 +0000 Subject: [PATCH] style(ui): add icons to all primary buttons, align to Outlined style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add chevron_right icon macro - Add icon to checkin "Next" and register "Go to Brewlog" buttons - Align Back (checkin) and Cancel (scan_result_form) to Outlined style: inline-flex, font-medium - Rename "Log Brew" → "Save Brew" for consistency with other forms --- templates/pages/add.html | 2 +- templates/pages/checkin.html | 6 +++--- templates/pages/register.html | 3 ++- templates/partials/forms/scan_result_form.html | 2 +- templates/partials/icons.html | 6 ++++++ 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/templates/pages/add.html b/templates/pages/add.html index cdd7437..166511f 100644 --- a/templates/pages/add.html +++ b/templates/pages/add.html @@ -438,7 +438,7 @@
diff --git a/templates/pages/checkin.html b/templates/pages/checkin.html index c2f440d..74bba7f 100644 --- a/templates/pages/checkin.html +++ b/templates/pages/checkin.html @@ -185,17 +185,17 @@ block title %}Brewlog · Check In{% endblock %} {% block head %}
diff --git a/templates/pages/register.html b/templates/pages/register.html index 519851d..c61689a 100644 --- a/templates/pages/register.html +++ b/templates/pages/register.html @@ -60,7 +60,8 @@ + class="mt-4 inline-flex w-full items-center justify-center gap-2 rounded-md bg-accent px-4 py-3 text-sm font-semibold text-accent-text transition hover:bg-accent-hover" > + {{ icons::check_circle("h-4 w-4") }} Go to Brewlog diff --git a/templates/partials/forms/scan_result_form.html b/templates/partials/forms/scan_result_form.html index a363f8b..aa8980f 100644 --- a/templates/partials/forms/scan_result_form.html +++ b/templates/partials/forms/scan_result_form.html @@ -114,7 +114,7 @@ diff --git a/templates/partials/icons.html b/templates/partials/icons.html index e0c59c7..523967a 100644 --- a/templates/partials/icons.html +++ b/templates/partials/icons.html @@ -204,3 +204,9 @@ {% endmacro %} + +{% macro chevron_right(class) %} + +{% endmacro %}