[vcs]: (IDEA-168637) adjust new changelist/remote branch label colors

This commit is contained in:
Nadya Zabrodina
2017-03-15 17:44:31 +03:00
parent 3860d9b94b
commit ad09018ba5
2 changed files with 5 additions and 4 deletions
@@ -233,8 +233,9 @@ public class ChangeListChooserPanel extends JPanel {
public MyEditorComboBox() {
super(PREF_WIDTH);
JBColor fg = new JBColor(0x00b53d, 0x24953c);
TextIcon icon = new TextIcon("New", fg, ColorUtil.toAlpha(fg, 40), JBUI.scale(2));
JBColor fg = new JBColor(0x00b53d, 0x6ba65d);
JBColor bg = new JBColor(0xebfcf1, 0x313b32);
TextIcon icon = new TextIcon("New", fg, bg, JBUI.scale(2));
icon.setFont(RelativeFont.TINY.derive(getFont()));
icon.setRound(JBUI.scale(4));
JLabel label = new JLabel(icon);
@@ -66,8 +66,8 @@ public class GitPushTargetPanel extends PushTargetPanel<GitPushTarget> {
private static final Comparator<GitRemoteBranch> REMOTE_BRANCH_COMPARATOR = new MyRemoteBranchComparator();
private static final String SEPARATOR = " : ";
private static final Color NEW_BRANCH_LABEL_FG = new JBColor(0x00b53d, 0x24953c);
private static final Color NEW_BRANCH_LABEL_BG = ColorUtil.toAlpha(NEW_BRANCH_LABEL_FG, 40);
private static final Color NEW_BRANCH_LABEL_FG = new JBColor(0x00b53d, 0x6ba65d);
private static final Color NEW_BRANCH_LABEL_BG = new JBColor(0xebfcf1, 0x313b32);
private static final RelativeFont NEW_BRANCH_LABEL_FONT = RelativeFont.TINY.small();
private static final TextIcon NEW_BRANCH_LABEL = new TextIcon("New", NEW_BRANCH_LABEL_FG, NEW_BRANCH_LABEL_BG, 0);