Closed Bug 140226 Opened 23 years ago Closed 23 years ago

[RFE] Ability to use system colors in monochrome graphics in skins

Categories

(Core :: XUL, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 31726

People

(Reporter: bamm, Assigned: hyatt)

Details

Attachments

(1 file)

I am creating a skin in system colors, like classic. The problem is when using dark backgrounds, some elements cannot be seen, such as the X in the tabs and sidebar close button and the scrollbar arrows. I use a black image on transparent background and -moz-dialog for background color. I wish there was a way to display the black part in system foreground color. I'd just like to note that native apps display these elements in the system foreground, so they are visible even in dark backgrounds.
This should only apply to monochrome gifs with color 0 set to transparent. Color 1 would then be set to a color specified in the CSS file, probably a system color such as ButtonText or CaptionText or -moz-DialogText.
Status: UNCONFIRMED → NEW
Ever confirmed: true
The attached image shows what Classic looks like with two different GTK themes. The first (top) is "thEmacs", the GTK theme I normally use, on the grounds that it uses soft tertiary colours and does not harm the eyes over long hours. The bottom shows the pathological case. It is the "terminal" GTK theme, and uses such a dark background that the check marks and so forth are just about totally invisible. Any theme that uses system colours (Classic and Lo-Fi to name two) needs to be able to deal with this situation gracefully.
Bug 45501 was resolved as dup of 31726 so I think this one should be as well :-) *** This bug has been marked as a duplicate of 31726 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
.
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: