We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6233e30 commit fcbaf14Copy full SHA for fcbaf14
lib/icon.js
@@ -12,7 +12,8 @@ var icons = {
12
};
13
14
icons.setTheme = function(name) {
15
- var theme = this.themes[name] || this.themes.default || {};
+ var defaultName = process.platform === 'win32' ? 'win7' : 'default';
16
+ var theme = this.themes[name] || this.themes[defaultName] || {};
17
_.extendOwn(this, theme);
18
19
0 commit comments