Bug 149167 - Web Inspector: UI colors should match user preferences from system's RenderTheme
Summary: Web Inspector: UI colors should match user preferences from system's RenderTheme
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-09-15 09:58 PDT by BJ Burg
Modified: 2016-12-13 15:34 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.