From ba3d9e4f3782a86418f005a62122efa48cffcaf6 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Wed, 18 Feb 2026 16:42:13 -0500 Subject: [PATCH] refactor(login): remove duplicate theme code from template - Remove inline theme functions (lines 62-88) - applyTheme, loadTheme, changeTheme functions - Add script tag for /static/theme.js - Theme logic now uses shared theme.ts module - Eliminates code duplication with web/src/theme.ts - Part of TypeScript conversion plan Phase 6.1.1 --- templates/login.templ | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/templates/login.templ b/templates/login.templ index 62873fd..7df9758 100644 --- a/templates/login.templ +++ b/templates/login.templ @@ -9,6 +9,7 @@ templ Login(sessionExpired bool) { Login + @@ -58,35 +59,6 @@ templ Login(sessionExpired bool) { Don't have an account? Sign Up

- } \ No newline at end of file