Closed Bug 1619725 Opened 4 years ago Closed 4 years ago

Lighten up the lwt-accent-color used in dark mode.

Categories

(Thunderbird :: Theme, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 78.0

People

(Reporter: aleca, Assigned: Paenglab)

Details

Attachments

(1 file)

When using dark mode or the dark theme, the main Tab bar and bottom Status bar look almost pitch black do to the background-color being set as --lwt-accent-color which comes with a value of rgb(12, 12, 13).

I propose updating that value to rgb(24, 24, 26) in order to dim those dark elements and reduce the somewhat jarring contrast with the other areas.

Also, I propose updating the Today Pane background with this value:

:root[lwt-tree] #today-pane-panel > vbox {
    background-color: rgb(38, 35, 35);
}

As we shouldn't use the same dark variation of the main tabs for that section.

Thoughts?

A little ping to put this under your radar.

Flags: needinfo?(richard.marti)

Like this?

(In reply to Alessandro Castellani (:aleca) from comment #0)

When using dark mode or the dark theme, the main Tab bar and bottom Status bar look almost pitch black do to the background-color being set as --lwt-accent-color which comes with a value of rgb(12, 12, 13).

I propose updating that value to rgb(24, 24, 26) in order to dim those dark elements and reduce the somewhat jarring contrast with the other areas.

Done with a override when the default dark theme is used which comes from toolkit and we can't change the value there.

Also, I propose updating the Today Pane background with this value:

:root[lwt-tree] #today-pane-panel > vbox {
    background-color: rgb(38, 35, 35);
}

I added a background-image with some transparency to simulate the colour change. We can't hard code this vbox to be still themeable for third party themes.

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(richard.marti)
Attachment #9146705 - Flags: review?(alessandro)
Comment on attachment 9146705 [details] [diff] [review]
1619725-lwt-accent-color.patch

Review of attachment 9146705 [details] [diff] [review]:
-----------------------------------------------------------------

This is perfect, and I like the solution of using a linear gradient to overcome the toolkit styling issue.
Attachment #9146705 - Flags: review?(alessandro) → review+
Target Milestone: --- → Thunderbird 78.0

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/fed192723bc2
Lighten up the lwt-accent-color used in dark mode. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: