Closed
Bug 1899103
Opened 2 years ago
Closed 2 years 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•2 years ago
|
||
Needs a test of course.
Updated•2 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•2 years ago
|
||
Something like ^? Added a test for the funny cases too.
Flags: needinfo?(emilio)
| Reporter | ||
Comment 3•2 years 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•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years 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
•