diff --git a/css/leptonContent.css b/css/leptonContent.css index 38d02a5..cd543f9 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -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; diff --git a/src/contents/_monospace.scss b/src/contents/_monospace.scss index ddd32d8..c8499b2 100644 --- a/src/contents/_monospace.scss +++ b/src/contents/_monospace.scss @@ -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"; } diff --git a/src/contents/_proton_color.scss b/src/contents/_proton_color.scss index 97adcaf..62dfe9c 100644 --- a/src/contents/_proton_color.scss +++ b/src/contents/_proton_color.scss @@ -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";