Bug 149167
| Summary: | Web Inspector: UI colors should match user preferences from system's RenderTheme | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Blaze Burg <bburg> |
| Component: | Web Inspector | Assignee: | 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 | ||
Blaze Burg
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/22703463>
Timothy Hatcher
We can expose the user's color via InspectorFrontEndHost. There should be little concern about contrast issues, if the user picked the color.