Menu ▾ ▴

#407 fix(linux): make a forced Light theme render Messenger light

closed
nobody
None
2026-11-07
2026-11-07
Anonymous
No

Originally created by: kristofferR

On a dark Linux desktop, Settings → Theme → Light turned only the menu bar light: Messenger stayed dark (#406). Messenger renders from the webview's prefers-color-scheme, and WebKitGTK reports dark whenever the GTK theme name ends in -dark (Omarchy and GNOME use Adwaita-dark for a dark desktop), whatever gtk-application-prefer-dark-theme says.

While Light is forced, Carrier now sets GTK's theme name to the light variant (Adwaita-dark → Adwaita), and puts the desktop's own name back when the theme is Dark or System. Names without a -dark suffix are left alone.

Tested on Omarchy (Hyprland, WebKitGTK 2.54, Adwaita-dark): with Theme = Light, Messenger renders light. Dark and System still follow as before.

Ref [#406]

Related

Tickets: #406

Discussion

  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: kristofferR

    [!NOTE]
    🤖 Claude Opus 5.5 responding on behalf of Kristoffer

    @codex review

     
  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review Summary: ✅ Completed This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-07T21:29:22.149567Z">2026-11-07T21:29:22.149567Z</relative-time> | `d0065c0` | Manual request |
    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
     
  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: kristofferR

    [!NOTE]
    🤖 Claude Opus 5.5 responding on behalf of Kristoffer

    @codex review

     
  • Anonymous

    Anonymous - 2026-11-07

    Originally posted by: chatgpt-codex-connector[bot]

    Codex Review: Didn't find any major issues. Hooray!

    Reviewed commit: d0065c0504

    ℹ️ About Codex in GitHub
    [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
     
  • Anonymous

    Anonymous - 2026-11-07

    Ticket changed by: kristofferR

    • status: open --> closed
     

Log in to post a comment.