Merge pull request #1151 from lv7777/rebase-skin-color-#1145-new

Rebase skin color #1145 

By this change, "dark" color set is applied only on the combination: Firefod Developer Edition + "dark" theme
This commit is contained in:
YUKI "Piro" Hiroshi 2016-07-16 22:58:05 +09:00 committed by GitHub
commit 7dd94bf92a
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;