Add support for webextension manifest.json pages

This commit is contained in:
overdodactyl 2017-12-18 15:13:17 -07:00
parent e581431e37
commit 02dc018ff6
3 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,7 @@
@-moz-document regexp("^moz-extension://.*manifest.json$") {
html {
background: var(--primary-dark-color) !important;
color: var(--primary-light-color) !important;
}
}

View File

@ -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;

View File

@ -43,4 +43,5 @@
/* Import relevent website dark themes */
@import "userContent-files/webpages/view_source.css";
@import 'userContent-files/webpages/amo_store.css';
@import 'userContent-files/webpages/amo_store.css';
@import 'userContent-files/webpages/manifest.css';