Closed Bug 520191 Opened 15 years ago Closed 15 years ago

Use ui.xxxx color preferences to override inverse themes

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

References

Details

Attachments

(1 file)

Instead of adding overrides to content.css and forking other CSS files, we can just use the color preferences to force named look-and-feel colors
Attached patch patchSplinter Review
I pulled these colors from a linux screen capture of a webpage displayed in Firefox which used all the colors as background.

html:
http://people.mozilla.org/~mfinkle/colors-content.html

screenshot:
http://people.mozilla.org/~mfinkle/fennec/screenshots/fennec-colors.png
Assignee: nobody → mark.finkle
Attachment #404269 - Flags: review?(gavin.sharp)
Comment on attachment 404269 [details] [diff] [review]
patch

I can't really test this... are we sure we need all of these colors?

This breaks the appearance of selected items in the profile selection dialog on Mac, which worries me a bit (both text and background color are orange).
Comment on attachment 404269 [details] [diff] [review]
patch

>diff --git a/app/mobile.js b/app/mobile.js

>+pref("ui.highlighttext", "#1a1a1q");

this is what broke the profile selection: s/q/a/

I think we should probably just do this...
Attachment #404269 - Flags: review?(gavin.sharp) → review+
Good catch. This does fix several other open bugs. I'll update them as well.

pushed:
https://hg.mozilla.org/mobile-browser/rev/4933459ae7f1
Status: NEW → RESOLVED
Closed: 15 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: