[英]How to detect Google Chrome Developer tools using dark theme?
I started to develop tools in the extend of Chrome Extension in the Developer Tools (F12). 我开始在开发人员工具(F12)的Chrome扩展程序扩展中开发工具。 Extending DevTools
扩展DevTools
But since Chrome added dark theme into Developer Tools, How can I detect whether if dark theme applies? 但是,由于Chrome浏览器在开发人员工具中添加了深色主题 ,如何检测是否适用深色主题?
Chrome 54及更高版本:
chrome.devtools.panels.themeName
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.