Login pages not consistently respecting dark mode

Open 💬 0 comments Opened Jun 16, 2026 by Richienb

What version of Codex CLI is running?

0.140.0

What subscription do you have?

Plus

Which model were you using?

_No response_

What platform is your computer?

_No response_

What terminal emulator and version are you using (if applicable)?

_No response_

Codex doctor report

What issue are you seeing?

The pages that can be returned from the login process are codex-rs/login/src/assets/error.html, codex-rs/login/src/assets/success_legacy.html and codex-rs/login/src/assets/success.html.

However, the first two always use a light theme, unlike the third, which respects the user's dark mode preference.

What steps can reproduce the bug?

Run codex login, and inspect the corresponding pages.

Alternatively, reproduce the bug by directly opening those HTML files in your browser.

What is the expected behavior?

All three pages should use dark mode when that is the user's preference.

Additional information

_No response_

View original on GitHub ↗