Closed Bug 1909743 Opened 11 months ago Closed 11 months ago

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

Categories

(SeaMonkey :: Preferences, enhancement)

enhancement

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Tracking Status
seamonkey2.53 + fixed

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: 11 months ago
Resolution: --- → FIXED

https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/9df8b0a61736d0ac3119bd371bf5f7467f7768ae
Add UI for browser.display.prefers_color_scheme to the colors prefpane. r=frg a=frg

No Bug - Add support for CSS prefers-color-scheme media feature as a user preference. r=frg a=frg
https://gitlab.com/seamonkey-project/seamonkey-2.53-mozilla/-/commit/1faa89901a9cfbfd015286f0f0b7e94e7c7f0d0b

Wrong bug number for the 2.53 only mozilla part.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: