From 5296ab3818b379abef564b138c698f7eb38400cc Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Tue, 30 Dec 2025 11:00:25 -0800 Subject: [PATCH] Use default Google button theme and respect dark mode --- static/app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/app.js b/static/app.js index 788af99..a0fa328 100644 --- a/static/app.js +++ b/static/app.js @@ -81,11 +81,9 @@ export async function auth() { } }); - const isDark = window.matchMedia('(prefers-color-scheme: dark)').matches; google.accounts.id.renderButton(signin, { type: 'standard', size: 'large', - theme: isDark ? 'filled_blue' : 'filled_black', text: 'sign_in_with', shape: 'pill', logo_alignment: 'left'