welcome screen: update background colors, provide related keys

GitOrigin-RevId: 1fb4697f1fd32e4a9dc97b1a8a32c10814401afe
This commit is contained in:
Nadya Zabrodina
2020-09-16 12:23:33 +00:00
committed by intellij-monorepo-bot
parent 6c1453eb48
commit 941cdc466b
2 changed files with 19 additions and 3 deletions
@@ -31,7 +31,6 @@ public class WelcomeScreenUIManager {
@NotNull
private static Font loadFont() {
@SuppressWarnings("SpellCheckingInspection")
@NonNls String fontPath = "/fonts/Roboto-Light.ttf";
URL url = AppUIUtil.class.getResource(fontPath);
if (url == null) {
@@ -53,7 +52,7 @@ public class WelcomeScreenUIManager {
}
public static Color getMainTabListBackground() {
return JBColor.namedColor("WelcomeScreen.List.background", new JBColor(0xF2F2F2, 0x393939));
return JBColor.namedColor("WelcomeScreen.SidePanel.background", new JBColor(0xF2F2F2, 0x3C3F41));
}
public static Color getProjectsBackground() {
@@ -70,7 +69,8 @@ public class WelcomeScreenUIManager {
}
public static Color getMainAssociatedComponentBackground() {
return JBColor.namedColor("WelcomeScreen.AssociatedComponent.background", JBColor.WHITE);
//noinspection UseJBColor
return JBColor.namedColor("WelcomeScreen.Details.background", new JBColor(Color.white, new Color(0x313335)));
}
public static Color getLinkNormalColor() {
@@ -935,6 +935,22 @@
{
"key": "WelcomeScreen.separatorColor"
},
{
"key": "WelcomeScreen.SidePanel.background",
"description": "Tab list and side panel background"
},
{
"key": "WelcomeScreen.Details.background",
"description": "Associated panel for selected tab background"
},
{
"key": "WelcomeScreen.Projects.actions.selectionBackground",
"description": "Selection background for project actions buttons"
},
{
"key": "WelcomeScreen.Projects.actions.background",
"description": "Background for project actions buttons"
},
{
"key": "Window.border",
"description": "Dialog border. Format: \"top,left,bottom,right,hex\", e.g. \"1,1,1,1,FFFFFF\". Sizes in pixels"