fix(gui): improve color schemes (#1101) (PR #1105)

* do not use hardcoded color for highlighting
* add a new theme: druid
This commit is contained in:
Surendrajat
2021-01-27 23:32:16 +05:30
committed by GitHub
parent 2bdde6a528
commit b314e0bdda
2 changed files with 2 additions and 4 deletions
@@ -30,8 +30,6 @@ public abstract class AbstractCodeArea extends RSyntaxTextArea {
private static final Logger LOG = LoggerFactory.getLogger(AbstractCodeArea.class);
public static final Color MARK_ALL_HIGHLIGHT_COLOR = Color.decode("#FFED89");
protected final ContentPanel contentPanel;
protected final JNode node;
@@ -45,7 +43,6 @@ public abstract class AbstractCodeArea extends RSyntaxTextArea {
loadSettings();
JadxSettings settings = contentPanel.getTabbedPane().getMainWindow().getSettings();
setLineWrap(settings.isCodeAreaLineWrap());
setMarkAllHighlightColor(MARK_ALL_HIGHLIGHT_COLOR);
JPopupMenu popupMenu = getPopupMenu();
popupMenu.addSeparator();
@@ -10,7 +10,8 @@ public final class EditorTheme {
new EditorTheme("idea"),
new EditorTheme("vs"),
new EditorTheme("dark"),
new EditorTheme("monokai")
new EditorTheme("monokai"),
new EditorTheme("druid")
};
public static EditorTheme[] getAllThemes() {