gecko-dev/toolkit/content/plugins.html
Emilio Cobos Alvarez efe2305b8d Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00

22 lines
816 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="default-src chrome: resource:; object-src 'none'" />
<meta charset="utf-8">
<meta name="color-scheme" content="light dark">
<title data-l10n-id="title-label"></title>
<link rel="stylesheet" href="chrome://global/content/plugins.css">
<link rel="localization" href="toolkit/about/aboutPlugins.ftl"/>
</head>
<body>
<div id="outside">
<script type="application/javascript" src="chrome://global/content/plugins.js"></script>
</div>
</body>
</html>