Skip to content

Commit

Permalink
set primary color for arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
mallowigi committed Mar 30, 2018
1 parent 25b5aaf commit 9124ddf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Expand Up @@ -45,3 +45,8 @@ It should contain:
* Plugin version
* Plugin configuration (found in material_theme.xml)
* If needed a list of enabled plugins
* Material Theme Plugin version

If possible please also give out your Material Theme/Material Custom Theme configuration file.

Note that not providing any of the required info will result of your issue being closed.
Expand Up @@ -33,6 +33,7 @@
import org.jetbrains.annotations.NotNull;

import javax.swing.*;
import java.awt.*;
import java.util.Arrays;
import java.util.List;

Expand Down Expand Up @@ -111,8 +112,8 @@ public static Icon getIcon(final String newPath, final String accentColor) {
if (MY_TINTED_ICONS.contains(newPath)) {
return new TintedIcon(IconLoader.getIcon(newPath), ColorUtil.fromHex(accentColor), newPath);
} else if (MY_THEMED_ICONS.contains(newPath)) {
final String folderColor = MTConfig.getInstance().getSelectedTheme().getTheme().getSelectionBackground();
return new TintedIcon(IconLoader.getIcon(newPath), ColorUtil.fromHex(folderColor), newPath);
final Color folderColor = MTConfig.getInstance().getSelectedTheme().getTheme().getPrimaryColor();
return new TintedIcon(IconLoader.getIcon(newPath), folderColor, newPath);
}
return IconLoader.getIcon(newPath);
}
Expand Down

0 comments on commit 9124ddf

Please sign in to comment.