Closed Bug 1068939 Opened 7 years ago Closed 3 years ago

[meta] Use SVG images in Firefox DevTools

Categories

(DevTools :: CSS and Themes, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sebo, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

All PNG icons within the devtools should be replaced by SVG equivalents.
This allows to simplify CSS and to avoid having two versions of icons for normal and HiDPI displays.

Set of icons:
https://mxr.mozilla.org/mozilla-central/source/browser/themes/shared/devtools/images/



Sebastian
See Also: → 1068381
I've already started some of this work in bug 837188. Some of the icons would be easy to do I guess, since some of them are basic shapes, but it would take some time though.
Started the work here : https://github.com/nt1m/FirefoxDevToolsSVG

I probably won't touch this often, but if someone wants to contribute, feel free to :)
Summary: Replace PNG icons by SVGs → [meta] Use SVG images in Firefox DevTools
Depends on: 1174390
Depends on: 1174391
Depends on: 1174392
Depends on: 1174393
Depends on: 1174394
Depends on: 1174395
Depends on: 1174396
Keywords: meta
Product: Firefox → DevTools
The last remaining PNG icons are:

devtools/client/themes/images/vview-edit.png
devtools/client/themes/images/vview-lock.png

(and their @2x variants)

They're used in the variable view, which is still accessible from a few tools, though the main consumer was the old debugger (which was removed).

And editor-error.png, which doesn't seem to be used anymore at all.

https://dxr.mozilla.org/mozilla-central/search?q=path%3Adevtools%2Fclient%2Fthemes%2Fimages+file%3A*.png

Sebastian

Marking this meta bug as WFM as it hasn't been that useful (all the dependencies are WFM). Feel free to file individual bugs for the remaining images (though the vview-*.png are likely not going to be converted from https://bugzilla.mozilla.org/show_bug.cgi?id=1174394#c1)

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
Component: General → CSS and Themes
You need to log in before you can comment on or make changes to this bug.