Bug 149167

Summary: Web Inspector: UI colors should match user preferences from system's RenderTheme
Product: WebKit Reporter: BJ Burg <bburg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description BJ Burg 2015-09-15 09:58:54 PDT
At a minimum, we should follow which settings Xcode respects (which is a small subset compared to Mail.app, Instruments.app, or other software)

 * DOM element hover/selection should match system highlight color
 * Navigation sidebar selections should match system tint (Aqua or Graphite)
 * Rendering frame timeline selections should match system highlight color
 * Console message selections should match system highlight color
 * Timeline sidebar elements should match system highlight color

We probably need to add a few methods to InspectorFrontendHost that query the frontend page's RenderTheme for these colors. It would be nice to hook up a notification for system colors changing so these update dynamically.
Comment 1 Radar WebKit Bug Importer 2015-09-15 09:59:13 PDT
<rdar://problem/22703463>
Comment 2 Timothy Hatcher 2016-02-12 13:08:29 PST
We can expose the user's color via InspectorFrontEndHost. There should be little concern about contrast issues, if the user picked the color.