Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b019fc2aabbed888a10facd7a123124068bebecf
https://github.com/WebKit/WebKit/commit/b019fc2aabbed888a10facd7a123124068bebecf
Author: Zak Ridouh <[email protected]>
Date: 2026-07-09 (Thu, 09 Jul 2026)
Changed paths:
M Source/WebCore/xml/XMLViewer.css
Log Message:
-----------
XML Document Viewer should respect dark mode
https://bugs.webkit.org/show_bug.cgi?id=268223
rdar://122234600
Reviewed by Tim Nguyen.
Add dark mode support to the XML Document Viewer by declaring
color-scheme: light dark on :root and using the light-dark() CSS
function to provide adjusted colors for syntax highlighting. Dark
mode colors are copied from the Web Inspector's dark theme to stay
consistent with existing syntax highlighting.
* Source/WebCore/xml/XMLViewer.css:
(:root):
(div.header):
(.comment):
(.tag):
(.attribute-name):
(.attribute-value):
Canonical link: https://commits.webkit.org/316832@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications