[PR #5855] chore: improve api error page #14525

Closed
opened 2026-04-13 09:31:13 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5855

State: closed
Merged: Yes


  • Responsive layout
  • System theme support
  • ... other visual improvements

https://github.com/user-attachments/assets/8ef73278-11cf-4e3e-81e5-1e3ccfdf87d7


Summary by cubic

Revamps the API error page with a responsive layout, system dark-mode support, and clearer typography to prevent overflow and improve readability. Adds subtle visual polish while continuing to respect custom theme tokens.

  • New Features
    • Responsive layout and vertical scrolling; mobile text scaling; buttons and badges wrap to avoid overflow.
    • System theme support (prefers-color-scheme: dark) with tokens for background/foreground/border; respects custom colors.
    • Clearer presentation with tighter padding, adjusted heading sizes/weights, stronger separators, and improved spacing.
    • Visual polish: softer, larger grid background with a subtle radial mask; smaller corner accents; long error codes/messages wrap safely.

Written for commit 046fbfd322. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5855 **State:** closed **Merged:** Yes --- - Responsive layout - System theme support - ... other visual improvements https://github.com/user-attachments/assets/8ef73278-11cf-4e3e-81e5-1e3ccfdf87d7 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Revamps the API error page with a responsive layout, system dark-mode support, and clearer typography to prevent overflow and improve readability. Adds subtle visual polish while continuing to respect custom theme tokens. - New Features - Responsive layout and vertical scrolling; mobile text scaling; buttons and badges wrap to avoid overflow. - System theme support (prefers-color-scheme: dark) with tokens for background/foreground/border; respects custom colors. - Clearer presentation with tighter padding, adjusted heading sizes/weights, stronger separators, and improved spacing. - Visual polish: softer, larger grid background with a subtle radial mask; smaller corner accents; long error codes/messages wrap safely. <sup>Written for commit 046fbfd3226f5b26b9450200f135effe279ed54c. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:31:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14525