Sign-in page: let the calling app choose light or dark #375

Closed
opened 2026-11-11 18:20:16 +00:00 by jcoffey-dev · 1 comment
Owner

Reported by khashmeshab on the forum (https://community.coffeylabs.org/t/232/12).

The sign-in page (resources/html-templates/login.html) follows the OS setting only. The console and webmail let the user pick light or dark, so someone on a light OS who chose dark sees a light sign-in page and then a dark app.

Suggested: the app passes its theme (auto, light, dark) as a parameter on the authorize request and the page uses it, falling back to the OS setting. A server-wide default for the page could come later. The console and webmail then send their current choice.

Reported by khashmeshab on the forum (https://community.coffeylabs.org/t/232/12). The sign-in page (`resources/html-templates/login.html`) follows the OS setting only. The console and webmail let the user pick light or dark, so someone on a light OS who chose dark sees a light sign-in page and then a dark app. Suggested: the app passes its theme (`auto`, `light`, `dark`) as a parameter on the authorize request and the page uses it, falling back to the OS setting. A server-wide default for the page could come later. The console and webmail then send their current choice.
jcoffey-dev added the enhancement
priority
p3
labels 2026-11-11 18:20:16 +00:00
Author
Owner

Done in three parts: #376 (the sign-in page takes theme=light or theme=dark from the URL), inbuxa-admin #194 and inbuxa-webmail #87 (both send the look they are showing). Without the parameter the page follows the OS as before. Thanks to khashmeshab for the idea. It will be in the next 27.1 RCs.

Done in three parts: #376 (the sign-in page takes `theme=light` or `theme=dark` from the URL), inbuxa-admin #194 and inbuxa-webmail #87 (both send the look they are showing). Without the parameter the page follows the OS as before. Thanks to khashmeshab for the idea. It will be in the next 27.1 RCs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-server#375