fix #1145 for rebase skin color

This commit is contained in:
oonuma ryouyu 2016-07-16 06:43:58 -07:00
parent 6f658d4eef
commit b2ff92a023
3 changed files with 9 additions and 2 deletions

View File

@ -95,6 +95,13 @@ function TreeStyleTabWindow(aWindow)
aWindow.TreeStyleTabService = this; aWindow.TreeStyleTabService = this;
XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js'); XPCOMUtils.defineLazyModuleGetter(aWindow, 'TreeStyleTabBrowser', 'resource://treestyletab-modules/browser.js');
var DevEdition=this.window.AppConstants.MOZ_DEV_EDITION;
if (DevEdition) {
var rootelem=this.document.documentElement;
rootelem.setAttribute('treestyletab-devedition', true);
}
} }
TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, { TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {

View File

@ -44,7 +44,7 @@
--tst-tab-dropmarker: -moz-dialogtext; --tst-tab-dropmarker: -moz-dialogtext;
} }
:root[devtoolstheme="dark"] { :root[devtoolstheme="dark"][treestyletab-devedition="true"] {
--tst-tab-surface: #39424D; --tst-tab-surface: #39424D;
--tst-tab-text: white; --tst-tab-text: white;
--tst-tab-border: #5f6670; --tst-tab-border: #5f6670;

View File

@ -15,7 +15,7 @@
--tst-tabbar-bg: darkgray; --tst-tabbar-bg: darkgray;
} }
:root[devtoolstheme="dark"] { :root[devtoolstheme="dark"][treestyletab-devedition="true"] {
--tst-tab-highlighted-base: ThreeDHighlight; --tst-tab-highlighted-base: ThreeDHighlight;
--tst-tab-highlighted-highlight: Highlight; --tst-tab-highlighted-highlight: Highlight;
--tst-tab-side-border: #39424D; --tst-tab-side-border: #39424D;