mirror of
https://github.com/we-promise/sure.git
synced 2026-06-04 10:19:03 +00:00
The Google button used Google's prebuilt `gsi-material-button` (its own CSS file + hardcoded hex colors), leaving it the odd one out: capped at 400px (its `max-width` overrode `w-full`) so it sat narrower than the OpenID/GitHub buttons, and rendered as a glaring white block in dark mode with no theming. Render every SSO provider through one `DS::Button(variant: :outline, full_width: true)` so the stack is consistent and reads as secondary to the primary email "Log in" CTA. Google keeps its official multi-color "G" mark and "Sign in with Google" wording (brand-compliant) via a new `google-icon.svg` asset and an additive `icon_custom:` flag on the button (defaults false — no change to any existing button). Delete `google-sign-in.css` and its import.