Fix: Proton Color - Provide for chrome:// #659

This commit is contained in:
alstjr7375 2023-03-05 21:58:11 +09:00
parent c919e83f24
commit aea8634fc7
3 changed files with 6 additions and 6 deletions

4
css/leptonContent.css generated
View file

@ -567,7 +567,7 @@
/** Fully Dark Mode ***********************************************************/
/*= Fully Dark Mode - Dark Mode Colors =======================================*/
@supports -moz-bool-pref("userContent.page.proton_color") {
@-moz-document url-prefix("about:"), url-prefix("chrome://browser/content/places/places.xhtml"), url-prefix("https://addons.mozilla.org"), url-prefix("https://support.mozilla.org"), url-prefix("https://accounts.firefox.com"), url-prefix("view-source"), regexp("^(((jar:)?file:///)|(chrome://)).*/$")
@-moz-document url-prefix("about:"), url-prefix("chrome://"), url-prefix("https://addons.mozilla.org"), url-prefix("https://support.mozilla.org"), url-prefix("https://accounts.firefox.com"), url-prefix("view-source"), regexp("^((jar:)?file:///).*/$")
{
/*= Default Colors - Hard Coded ==============================================*/
/* Based on chrome://global/skin/in-content/common.css */
@ -2938,7 +2938,7 @@
}
/** Monospace *****************************************************************/
@supports -moz-bool-pref("userContent.page.monospace") {
@-moz-document url-prefix("about:"), url-prefix("chrome://browser/content/places/places.xhtml"), regexp("^(((jar:)?file:///)|(chrome://)).*/$")
@-moz-document url-prefix("about:"), url-prefix("chrome://"), regexp("^((jar:)?file:///).*/$")
{
* {
font-family: -moz-fixed;

View file

@ -1,7 +1,7 @@
@include moz-document(
url-prefix "about:",
url-prefix "chrome://browser/content/places/places.xhtml",
regexp "^(((jar:)?file:\/\/\/)|(chrome:\/\/)).*\/$"
url-prefix "chrome://",
regexp "^((jar:)?file:\/\/\/).*\/$"
) {
@import "../theme/monospace";
}

View file

@ -1,11 +1,11 @@
@include moz-document(
url-prefix "about:",
url-prefix "chrome://browser/content/places/places.xhtml",
url-prefix "chrome://",
url-prefix "https://addons.mozilla.org",
url-prefix "https://support.mozilla.org",
url-prefix "https://accounts.firefox.com",
url-prefix "view-source",
regexp "^(((jar:)?file:\/\/\/)|(chrome:\/\/)).*\/$"
regexp "^((jar:)?file:\/\/\/).*\/$"
) {
@import "../theme/proton_color";