Bug#549371: dark theme still colors inputs in iceweasel 3.5, epiphany 2.29.3

Mark Hedges hedges at scriptdolphin.com
Mon Dec 28 20:34:30 UTC 2009


On Mon, 28 Dec 2009, Mike Hommey wrote:

> On Thu, Dec 24, 2009 at 08:50:01AM -0800, Mark Hedges wrote:
> >
> > On Thu, 24 Dec 2009, Mike Hommey wrote:
> > >
> > > There were two levels to this problem, and one of them
> > > is gone: GTK elements *can* be styled with CSS since
> > > version 3.5, see the attached file, for example. It
> > > means you can do something by editing the
> > > userContent.css file in your profile. Or maybe even by
> > > fiddling with the following values:
> > > http://www.mozilla.org/unix/customizing.html#ui
> >
> > > Arguably, iceweasel could make it easier to edit input
> > > element look in the color properties dialog. I would
> > > appreciate if you could check that setting some of
> > > these ui.something values can change colors on input
> > > elements, and if the "Use system colors" has an effect
> > > on them.
>
> If you want something to happen quickly enough, stating
> "should"s won't help anything. Actually trying things
> will. Please try the above and report back. Provided the
> feedback, a workable solution could be possible without
> having to change a big pile of code.

True.  Thanks for keeping the bug open.

Incidentally, this bug makes the usernames unreadable that
are saved by the password manager for the menu that appears
below a login box when you've saved multiple usernames.
(Except when they are highlighted.)  My desktop theme uses a
dark gray background with orange text.  The password manager
submenu apparently uses the same color text as my
background, and white text when highlighted.

> http://www.mozilla.org/unix/customizing.html#ui

I cannot read this page well because I have a 1024x768
laptop screen, the width is fixed and the horizontal scroll
is disabled.

I tried these sets in user.js but they had no effect:

/*
user_pref("ui.widgetBackground",            "white"     );
user_pref("ui.widgetForeground",            "black"     );
user_pref("ui.widgetSelectBackground",      "orange"    );
user_pref("ui.widgetSelectForeground",      "cyan"      );
user_pref("ui.widget3DHighlight",           "purple"    );
user_pref("ui.widget3DShadow",              "darkgray"  );
*/

/*
user_pref("ui.menu", "white");
user_pref("ui.menutext", "black");
user_pref("ui.buttonface", "yellow");
user_pref("ui.buttontext", "red");
*/

Thanks.  --mark--





More information about the pkg-mozilla-maintainers mailing list