Bug 1944416: Restore individual tabs from closed groups in closed windows r=dao,sessi...
[gecko.git] / browser / components / preferences / dialogs / colors.js
blobab9b9f6f0e50da98da427297dea589f613e87cda
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* import-globals-from /toolkit/content/preferencesBindings.js */
7 document
8 .getElementById("ColorsDialog")
9 .addEventListener("dialoghelp", window.top.openPrefsHelp);
11 document
12 .getElementById("key_close")
13 .addEventListener("command", event => Preferences.close(event));
15 Preferences.addAll([
16 { id: "browser.display.document_color_use", type: "int" },
17 { id: "browser.anchor_color", type: "string" },
18 { id: "browser.visited_color", type: "string" },
19 { id: "browser.display.foreground_color", type: "string" },
20 { id: "browser.display.background_color", type: "string" },
21 { id: "browser.display.use_system_colors", type: "bool" },
22 ]);