Skip to content

Background and text colours of "This message may be a scam" info bar #24

@jevandusen

Description

@jevandusen

Hi, there seems to be an issue with the info bar that appears underneath the message headers (e.g., to load remote content, accept a calendar invite, etc.), when the message in the info bar is that the message may be a scam. The white text that this message uses is not readable over the theme's light blue background:

Image

In stock Thunderbird, this info bar uses a red background, so its text colour is white (which differs from other types of info bars, which use black text):

Image

It seems like there could be two possible resolutions to this: (1) change the info bar code to use black text in this case, or (2) keep it using the red background colour in this case. Option 2 might be more advisable given that the info bar is warning the user of a potential scam.

For Option 2, this can be partially achieved by adding a conditional selector to line 180:

.infobar.animated:not([value="maybeScam"]) {
	width: 98% !important;
	margin: auto !important;
	--message-bar-background-color: #e6f2fa !important;
	margin-bottom: 10px !important;
}

This causes the notification bar to appear red as initially configured by Thunderbird, but the Options button on the right is still not very readable:

Image

This appears to be due to the code block from lines 220 to 226 (which hides the button's background colour), but I don't know what selectors to add to exclude this particular case.

Happy to help test new styles and send more screenshots if needed. Thanks!

My System:

  • Operating System: Windows 11 25H2
  • Thunderbird Version: 146.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions