Как экспортировать «тему», используемую в инструментах инспектора Firefox?

566
Chris

Есть ли способ экспортировать светлую / темную тему родных инструментов инспектора?

Похоже на простой запрос, и после просмотра about:configпараметров я не могу ничего найти.

0
Что именно вы пытаетесь достичь здесь? В конце концов, это просто набор CSS. Daniel B 9 лет назад 0
Да, именно CSS был бы идеальным. Моя цель состоит в том, чтобы преобразовать эту тему обратно в Sublime, чтобы у меня был постоянный взгляд между Sublime и Firefox. Chris 9 лет назад 0

1 ответ на вопрос

0
Daniel B

Well, what you’re trying to do probably won’t be easy. I’d recommend just using a screenshot and a color picker tool to get the colors. If you really want to go through the trouble of inspecting XUL documents, it’s possible, of course.

You need the DOM Inspector extension installed. With dev tools open, launch the DOM Inspector and inspect the chrome://browser/content/devtools/framework/toolbox.xul chrome document. The document selection is available in the menu bar.

DOM Inspector isn’t very comfortable, but has roughly the same feature-set as the DOM view in the native dev tools.