Skip to content

Commit

Permalink
Merge pull request #670 from Abykin/1907
Browse files Browse the repository at this point in the history
Fix adobe#1907: menus don't have a dark theme anymore
  • Loading branch information
Luke Pacholski committed Mar 28, 2017
2 parents 952a5fb + dd0aab7 commit aa1038e
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 aa1038e

Please sign in to comment.