Skip to content

Commit

Permalink
Fix adobe#1907: menus don't have a dark theme anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Abykin authored and Rajat Dhyani committed Apr 20, 2017
1 parent ad7f332 commit 75d02bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/ThemeManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ define(function (require, exports, module) {
return result.content;
})
.then(function (cssContent) {
$("body").toggleClass("dark", theme.dark);
styleNode.text(cssContent);
$("body").attr('data-theme',theme.name);
pending.resolve(theme);
Expand Down

0 comments on commit 75d02bf

Please sign in to comment.