Skip to content

Studio: calmer login and setup pages with an accent sign-in button - #15731

Merged
shimmyshimmer merged 2 commits into
mainfrom
studio-login-page-polish
Oct 28, 2026
Merged

shimmyshimmer merged 2 commits into
mainfrom
studio-login-page-polish

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

The login page and the "Setup your account" page (first sign-in with a setup code, or an admin-forced password change) now look like the rest of Studio. The animated light-ray gradient is gone, and the card and sign-in button match the chat composer.

What changed

  • Background: the plain chat background (bg-background) in light and dark, instead of the green light-ray gradient.
  • Card shadow:
    • Dark mode: the chat composer's shadow (var(--composer-shadow)). The card had no shadow in dark before.
    • Light mode: a slightly stronger and wider version of the composer's shadow, 0 4px 18px -2px rgba(0,0,0,0.16).
  • Sign-in button ("Login" / "Change password"):
    • Uses the accent colour (bg-control-accent and its foreground) instead of the near-black / white dark variant, so it follows the colour theme picked in Appearance.
    • Larger pill: height 2.967em and side padding 1.56em, in Hellix SemiBold at 15 px with 0.02em tracking. The capitals sit 16.5 px from the top edge and 17.5 px from the bottom (pb-[0.07em]), which reads as centred on mostly lowercase labels.
    • The font family is set with [font-family:var(--font-heading)], not .font-heading, because that utility resets letter-spacing to 0.
  • Cleanup: removes components/ui/light-rays.tsx, which nothing else imports.

No backend changes, and no change to the auth flow, validation or copy.

Screenshots

BEFORE is main, AFTER is this branch, light then dark:

Login before and after

Verification

  • npm run typecheck, npm test (14281 pass, 0 fail) and npm run build all pass. Biome on the changed files reports only findings already on main.

  • Checked on a local Studio in light and dark: the single-user login, the multi-user login (username plus setup-code hint), and "Setup your account" reached by redeeming a setup code. The test account was deleted afterwards.

  • Button geometry measured in the browser: 44.5 px tall, cap-height gaps of 16.52 px above and 17.48 px below, Hellix weight 600, letter-spacing 0.3 px.

  • Cross-platform staging: all green on macOS 15, Windows and Ubuntu, with the Studio Playwright smoke passing ([staging CI] unslothai/unsloth#15731 shimmyshimmer/unsloth-staging-4#1821).

Not tested here

  • Desktop (Tauri) and Windows rendering of Hellix. The font files ship with the frontend and are unchanged.

Drop the light-ray gradient for the plain chat background, give the card the composer's shadow (a little stronger in light mode), and make the submit button a larger accent pill in Hellix SemiBold. Removes the now unused LightRays component.
shimmyshimmer added a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 28, 2026
@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T09:52:00.491822Z 71acb0f Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 71acb0fe83

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

shimmyshimmer pushed a commit to shimmyshimmer/unsloth-staging-4 that referenced this pull request Oct 28, 2026
@shimmyshimmer
shimmyshimmer merged commit 8cc613a into main Oct 28, 2026
2 of 42 checks passed
@shimmyshimmer
shimmyshimmer deleted the studio-login-page-polish branch October 28, 2026 10:00
shimmyshimmer added a commit that referenced this pull request Oct 29, 2026
## What changed

Brings back the login and setup page design from #15731: a compact,
centered accent Login button and no footer under the card.

#15731 merged at 10:00 UTC; #15726 merged 48 minutes later with its own
login rewrite (full-width button, a new `AuthShell` card and a sloth +
"Unsloth" footer) and replaced it. This restores #15731's
`auth-form.tsx`, `login-page.tsx` and `change-password-page.tsx`, and
removes `auth-shell.tsx`, which nothing else uses.

Kept from later PRs:
- The Halloween sloth on the login card (#15678).
- The title still follows the UI font size (#15759), at #15731's 24px
base.

Login page, left is main, right is this branch.

![Login page, left is main, right is this
branch.](https://raw.githubusercontent.com/shimmyshimmer/unsloth-staging-4/pr-media/pr/15903/login_before_after-c859daf01b40.png)

## How it was verified

- `npm run typecheck`, `npm run build`, `npm test` (14371 pass, 0 fail).
- Local Studio: the login page against the `main` bundle, and against
`main` as of #15731.
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