Closed Bug 1909743 Opened 2 months ago Closed 2 months ago

Add UI for browser.display.prefers_color_scheme to the SeaMonkey colors prefpane

Categories

(SeaMonkey :: Preferences, enhancement)

enhancement

Tracking

(seamonkey2.53? affected)

RESOLVED FIXED
Tracking Status
seamonkey2.53 ? affected

People

(Reporter: nsITobin, Assigned: nsITobin)

Details

(Whiteboard: SM2.53.20)

Attachments

(4 files)

In a TOP patch we ported UXP's implementation (by athenian200) of the prefers-color-scheme media query to layout/style. Which is a based on a translation of the rust implementation from Bug 1494034 to the c++ style system but with a user preference.

0 (or any other value) - The feature is disabled
1 (default) - prefers light
2 - prefers dark

This bug will add the UI bits written by my self.

Assignee: nobody → tobin

For reference to this bug's changes and storage until it is added to the queue.

Attached image light.PNG

light color scheme works

Status: NEW → ASSIGNED
Whiteboard: SM2.53.20
Version: unspecified → Trunk
Summary: Add UI for browser.display.prefers_color_scheme to the colors prefpane → Add UI for browser.display.prefers_color_scheme to the SeaMonkey colors prefpane

Comment on attachment 9414728 [details] [diff] [review]
1909743-suite-prefereces-prefers-color-scheme.patch

Thanks r/a from me.

NIT Missing lf in pref-colors.dtd. Will fix for checkin.

Attachment #9414728 - Flags: review+
Attachment #9414728 - Flags: approval-comm-release+

Comment on attachment 9414729 [details] [diff] [review]
TOP-NOBUG-nsstyle-prefers-color-scheme-uxp1752-athenian200.patch

Thanks r/a+ for our mozilla 2.53 repo only.

Attachment #9414729 - Flags: review+
Attachment #9414729 - Flags: approval-comm-release+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/f9d1f1e2dcf1
Add UI for browser.display.prefers_color_scheme to the colors prefpane. r=frg

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: