Closed Bug 1899103 Opened 1 year ago Closed 1 year ago

Create InspectorUtils method to retrieve current color scheme

Categories

(DevTools :: Inspector: Rules, task)

task

Tracking

(firefox128 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: nchevobbe, Assigned: emilio)

References

Details

Attachments

(1 file)

Having an easy way to retrieve the used color scheme would allow us to know which color is picked up in light-dark()


Emilio, is this something you could look into?

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Status: NEW → ASSIGNED

Something like ^? Added a test for the funny cases too.

Flags: needinfo?(emilio)

Thanks a lot Emilio, I'll check your patch in the afternoon 👍

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d1ee1079710e Add InspectorUtils.isUsedColorSchemeDark. r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: