Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ
Solved

How to set content as light/dark mode in a custom theme?

Soleil

I'm currently making a custom theme for Thunderbird for my own personal use. I've gotten pretty much everything how I want it to look – except the main content. I prefer light mode for accessibility, and currently it's stuck in dark mode everywhere (my settings menu, calendar, mailbox, etc).

The first image is how it currently looks, and the second is how I want it to look (the black boxes are there to block sensitive info). What would I need to add/edit in my manifest.json and/or style.css to get there?

I'm currently making a custom theme for Thunderbird for my own personal use. I've gotten pretty much everything how I want it to look – except the main content. I prefer light mode for accessibility, and currently it's stuck in dark mode everywhere (my settings menu, calendar, mailbox, etc). The first image is how it currently looks, and the second is how I want it to look (the black boxes are there to block sensitive info). What would I need to add/edit in my manifest.json and/or style.css to get there?
添付されたスクリーンショット

すべての返信 (3)

選ばれた解決策

One part solved! I was able to change to light mode content by changing the :root[wltheme] variables in my stylesheet. See below. I would still like to change the color of the selected message to a light green highlight like in my mock-up (2nd image on the original post). I appreciate any advice. Thanks!

この投稿は Soleil により に変更されました

Have you considered posting in an addon focused group. See https://thunderbird.topicbox.com/groups/addons

If you were using windows, it's own themes and options would manage your issue. I have nothing I can say about apples implementation of anything really but they do copy one another a lot so perhaps you are looking in the wrong place your your solution..

Thanks Matt, I actually couldn't find that group myself. I'll post there if I run into anymore trouble.

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。