mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
[vcs]: (IDEA-168637) adjust new changelist/remote branch label colors
This commit is contained in:
+3
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user