From 02dc018ff6e0092ff45ea60895e042eda0330a2d Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Mon, 18 Dec 2017 15:13:17 -0700 Subject: [PATCH] Add support for webextension manifest.json pages --- userContent-files/webpages/manifest.css | 7 +++++++ userContent.css | 6 ++++++ userContent_imports.css | 3 ++- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 userContent-files/webpages/manifest.css diff --git a/userContent-files/webpages/manifest.css b/userContent-files/webpages/manifest.css new file mode 100644 index 0000000..c770aae --- /dev/null +++ b/userContent-files/webpages/manifest.css @@ -0,0 +1,7 @@ +@-moz-document regexp("^moz-extension://.*manifest.json$") { + + html { + background: var(--primary-dark-color) !important; + color: var(--primary-light-color) !important; + } +} \ No newline at end of file diff --git a/userContent.css b/userContent.css index f4c8909..c7dea2c 100644 --- a/userContent.css +++ b/userContent.css @@ -1108,6 +1108,12 @@ filter: invert(85%) !important; } } +@-moz-document regexp("^moz-extension://.*manifest.json$") { + html { + background: var(--primary-dark-color) !important; + color: var(--primary-light-color) !important; + } +} @-moz-document url-prefix(view-source) { *|*:root { background-color: var(--primary-dark-color) !important; diff --git a/userContent_imports.css b/userContent_imports.css index d2b046e..ed70f51 100644 --- a/userContent_imports.css +++ b/userContent_imports.css @@ -43,4 +43,5 @@ /* Import relevent website dark themes */ @import "userContent-files/webpages/view_source.css"; -@import 'userContent-files/webpages/amo_store.css'; \ No newline at end of file +@import 'userContent-files/webpages/amo_store.css'; +@import 'userContent-files/webpages/manifest.css';