Branding: a separate logo for dark mode #410

Closed
opened 2026-11-16 23:05:52 +00:00 by jcoffey-dev · 1 comment
Owner

Requested in https://community.coffeylabs.org/t/304 (post 3): let an admin set two logos, one for light mode and one for dark, as the default inbuxa logo already adapts (its wordmark is drawn in the current text color).

Today a custom logo is a single value: Enterprise.logoUrl, Domain.logo and Tenant.logo, served by GET /logo (BT-5). Shape to decide: a second field per level (e.g. logoDark) with GET /logo?theme=dark falling back to the light one, used by the server's sign-in page (prefers-color-scheme), the console (its theme setting) and, once inbuxa/inbuxa-webmail#101 lands, the webmail.

Related: inbuxa/inbuxa-admin#225 (URL logo in the console, fixed in console 27.1-rc.19), inbuxa/inbuxa-webmail#101.

Requested in https://community.coffeylabs.org/t/304 (post 3): let an admin set two logos, one for light mode and one for dark, as the default inbuxa logo already adapts (its wordmark is drawn in the current text color). Today a custom logo is a single value: `Enterprise.logoUrl`, `Domain.logo` and `Tenant.logo`, served by `GET /logo` (BT-5). Shape to decide: a second field per level (e.g. `logoDark`) with `GET /logo?theme=dark` falling back to the light one, used by the server's sign-in page (`prefers-color-scheme`), the console (its theme setting) and, once inbuxa/inbuxa-webmail#101 lands, the webmail. Related: inbuxa/inbuxa-admin#225 (URL logo in the console, fixed in console 27.1-rc.19), inbuxa/inbuxa-webmail#101.
jcoffey-dev added this to the 27.7 milestone 2026-11-16 23:05:52 +00:00
jcoffey-dev added the
priority
p3
enhancement
labels 2026-11-16 23:05:52 +00:00
jcoffey-dev self-assigned this 2026-11-16 23:05:52 +00:00
Author
Owner

Thanks @faisal for asking for this in https://community.coffeylabs.org/t/304 (post 3).

Fixed in #459. Each level now has a logo for dark mode: Dark mode logo URL under Settings › System › Branding (logoUrlDark), and Dark Mode Logo on each domain and tenant (logoDark). GET /logo?theme=dark serves the dark one, or the ordinary one where no dark logo is set. A domain's own logo still beats the server-wide dark one. Emails keep the ordinary logo.

The server's sign-in and RSVP pages ask for the dark logo when they show dark. So does the console in its dark theme (inbuxa/inbuxa-admin#245), and so does the webmail (inbuxa/inbuxa-webmail#112, which also fixes inbuxa/inbuxa-webmail#101).

It'll be in the next server, console and webmail release candidates.

Thanks @faisal for asking for this in https://community.coffeylabs.org/t/304 (post 3). Fixed in #459. Each level now has a logo for dark mode: **Dark mode logo URL** under Settings › System › Branding (`logoUrlDark`), and **Dark Mode Logo** on each domain and tenant (`logoDark`). `GET /logo?theme=dark` serves the dark one, or the ordinary one where no dark logo is set. A domain's own logo still beats the server-wide dark one. Emails keep the ordinary logo. The server's sign-in and RSVP pages ask for the dark logo when they show dark. So does the console in its dark theme (inbuxa/inbuxa-admin#245), and so does the webmail (inbuxa/inbuxa-webmail#112, which also fixes inbuxa/inbuxa-webmail#101). It'll be in the next server, console and webmail release candidates.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-server#410