Closed
Bug 1899103
Opened 1 year ago
Closed 1 year ago
Create InspectorUtils method to retrieve current color scheme
Categories
(DevTools :: Inspector: Rules, task)
DevTools
Inspector: Rules
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 | ||
Comment 1•1 year ago
|
||
Needs a test of course.
Updated•1 year ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•1 year ago
|
||
Something like ^? Added a test for the funny cases too.
Flags: needinfo?(emilio)
Reporter | ||
Comment 3•1 year ago
|
||
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
Comment 5•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•