Skip to content

Make sign-in SSO-only and add a theme switcher - #12

Merged
iPior merged 1 commit into
mainfrom
chore/cleanup-sign-in-page
Aug 11, 2026
Merged

Make sign-in SSO-only and add a theme switcher#12
iPior merged 1 commit into
mainfrom
chore/cleanup-sign-in-page

Conversation

@iPior

@iPior iPior commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

The sign-in card was sized by the email/password form, so removing those fields on its own would have left a heading floating in an empty card. Resize the card to its content and promote the SSO button to the page's primary action, inheriting the ink-filled treatment the submit button used to own.

  • Replace LoginFormPanel, LoginSubmitButton, LoginField and useLoginForm with SignInPanel, SsoSignInButton and useSsoSignIn
  • Drop the now-dead login(email, password) from useAuth
  • Add ThemeToggle, a compact swatch picker for pages with no account menu, below the brand copy
  • Move the action button's hardcoded Bloom colors (#3b3022 hover, warm rgba shadows) onto themed --finlens-action-* vars, so the Slate theme no longer renders a warm-brown hover on a cool page

The sign-in card was sized by the email/password form, so removing those
fields on its own would have left a heading floating in an empty card.
Resize the card to its content and promote the SSO button to the page's
primary action, inheriting the ink-filled treatment the submit button
used to own.

- Replace LoginFormPanel, LoginSubmitButton, LoginField and useLoginForm
  with SignInPanel, SsoSignInButton and useSsoSignIn
- Drop the now-dead login(email, password) from useAuth
- Add ThemeToggle, a compact swatch picker for pages with no account
  menu, below the brand copy
- Move the action button's hardcoded Bloom colors (#3b3022 hover, warm
  rgba shadows) onto themed --finlens-action-* vars, so the Slate theme
  no longer renders a warm-brown hover on a cool page
@iPior
iPior merged commit 4242841 into main Aug 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant