mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
welcome screen: update background colors, provide related keys
GitOrigin-RevId: 1fb4697f1fd32e4a9dc97b1a8a32c10814401afe
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6c1453eb48
commit
941cdc466b
+3
-3
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user