[GH-ISSUE #743] Website homepage light mode syntax highlighting glitch #25729

Closed
opened 2026-04-17 15:59:57 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @bookercodes on GitHub (Dec 3, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/743

CleanShot 2024-12-03 at 11 54 39@2x

When I first open Better Auth in light mode, the syntax highlighting doesn't look quite right. It settles when I toggle dark then light mode.
CleanShot 2024-12-03 at 11 57 28@2x

Btw, no problem with dark mode

macOS 15.1.1 (24B91)
Chrome 131.0.6778.86 (Official Build) (arm64)

Originally created by @bookercodes on GitHub (Dec 3, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/743 ![CleanShot 2024-12-03 at 11 54 39@2x](https://github.com/user-attachments/assets/ce442ec4-eb8f-4ce3-ad7e-5be7aeb68913) When I first open Better Auth in light mode, the syntax highlighting doesn't look quite right. It settles when I toggle dark then light mode. ![CleanShot 2024-12-03 at 11 57 28@2x](https://github.com/user-attachments/assets/9c7d08c9-09ff-4da6-9e85-f8ebbf04f40a) Btw, no problem with dark mode macOS 15.1.1 (24B91) Chrome 131.0.6778.86 (Official Build) (arm64)
GiteaMirror added the locked label 2026-04-17 15:59:57 -05:00
Author
Owner

@bookercodes commented on GitHub (Dec 3, 2024):

I opened an Incognito window

  • When I first load Better Auth, it works fine
  • If I switch to dark mode then back to light mode, it looks fine
  • If I refresh, it looks off as shown in my first screenshot
<!-- gh-comment-id:2514353641 --> @bookercodes commented on GitHub (Dec 3, 2024): I opened an Incognito window - When I first load Better Auth, it works fine - If I switch to dark mode then back to light mode, it looks fine - If I refresh, it looks off as shown in my first screenshot
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#25729