Closed Bug 1109791 Opened 11 years ago Closed 6 years ago

Experiment with dark vibrancy on dark lwthemes.

Categories

(Thunderbird :: Theme, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jsbruner, Unassigned)

Details

Attachments

(5 files, 1 obsolete file)

Currently we use -moz-mac-vibrancy-light for almost everything (Especially sidebars). However, when using dark lwthemes, it would be cool to switch to the dark style. I'm about to add a patch that implements this on the mailWindow only, just to see if we should pursue it everywhere. If Richard is okay with it, I'll add it to Compose, Chat, and AB as well.
Attachment #8534508 - Flags: review?(richard.marti)
/r/1405 - Bug 1109791 - Experiment with dark vibrancy on dark lwthemes. ui-r?=Paenglab Pull down this commit: hg pull review -r 84ca8492a5d92138ed834e9ed220ad1a5bfc5c27
Attached image Dark Mode
Attached image Light Mode
Note that the patch doesn't have perfect logic. It only works if you have either a light lwtheme or a dark one. If you don't have a lwtheme at all, the patch defaults to dark mode (which is wrong)
/r/1405 - Bug 1109791 - Experiment with dark vibrancy on dark lwthemes. ui-r?=Paenglab Pull down this commit: hg pull review -r 25574f6a1318e669f619914116368fcba0b443c1
There, I fixed the logic.
Comment on attachment 8534516 [details] Dark Mode I need to put the ui-r flag somewhere, may as well be here.
Attachment #8534516 - Flags: ui-review?(richard.marti)
https://reviewboard.mozilla.org/r/1405/#review815 Interesting idea! I like it but I need to sleep over it to make a decition. ::: mail/themes/osx/mail/mailWindow1.css (Diff revision 2) > +#folderTree:-moz-lwtheme:not(:-moz-lwtheme-darktext) { Instead of using :-moz-lwtheme:not(:-moz-lwtheme-darktext) please try :-moz-lwtheme-brighttext. This is more elegant. ::: mail/themes/osx/mail/mailWindow1.css (Diff revision 2) > + color: white; How about applying this color only to :-moz-lwtheme-brighttext? I think with -moz-mac-vibrancy-dark the selected treechildren isn't good visible. How about lighten the background with a transparent white instead of a transparent black?
Comment on attachment 8534516 [details] Dark Mode Yeah, I think we should try this. But with a better visibility of the selected treeitem.
Attachment #8534516 - Flags: ui-review?(richard.marti) → ui-review+
/r/1405 - Bug 1109791 - Experiment with dark vibrancy on dark lwthemes. ui-r?=Paenglab Pull down this commit: hg pull review -r 9af860dc68897714b630869f202f2448479d8a36
Attached image Potential Problem
My latest patch should work properly, but I did notice a potential problem. Some things do use brighttext, even though they aren't really dark themes. I have attached a screenshot of such a theme. It is using the dark vibrancy, but it would perhaps look better to use the light version. We could claim that the theme should use a different font, but in this case I don't think the author did anything wrong. What do you think Richard?
Flags: needinfo?(richard.marti)
It's worth noting though that I do not think the dark looks bad, but that the light vibrancy might look nicer.
Here's a different theme that also uses bright text, but the dark vibrancy looks quite off.
When I look at the two screenshots I would say brighttext a wrong decision as the tab title is almost unreadable on selected tab. How does it look with FX, is it using then the white icons? This are maybe edge cases and on what else would you base the decision (except not implement this bug)? Although TB with dark LW-themes doesn't look so good on OS X without the white button icons, the icons are almost not visible. For OS X lighter dark LW-themes are preferred because of the button icon problem and then the dark folderpane would look weird. I'm okay, and maybe it's better, when you think this experiment shouldn't be implemented.
Flags: needinfo?(richard.marti)
Comment on attachment 8534508 [details] MozReview Request: bz://1109791/JosiahOne I thought a little bit about the problem with the light dark-themes and I think it's better to not implement it now. When TB on OS X has white button icons, we can come back to this because then it would also make more sense to use really dark LW-themes.
Attachment #8534508 - Flags: review?(richard.marti) → review-
Attachment #8534508 - Attachment is obsolete: true
Attachment #8618895 - Flags: review-
Assignee: josiah → nobody
Status: ASSIGNED → NEW

obsolete?

Flags: needinfo?(alessandro)

Yes, obsolete.

Flags: needinfo?(alessandro)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: