mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-09 16:25:10 +03:00
IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)
This commit is contained in:
@@ -37,6 +37,7 @@ import com.formdev.flatlaf.json.ParseException;
|
||||
import com.formdev.flatlaf.util.ColorFunctions;
|
||||
import com.formdev.flatlaf.util.LoggingFacade;
|
||||
import com.formdev.flatlaf.util.StringUtils;
|
||||
import com.formdev.flatlaf.util.SystemInfo;
|
||||
|
||||
/**
|
||||
* This class supports loading IntelliJ .theme.json files and using them as a Laf.
|
||||
@@ -314,8 +315,19 @@ public class IntelliJTheme
|
||||
@SuppressWarnings( "unchecked" )
|
||||
private void apply( String key, Object value, UIDefaults defaults, ArrayList<Object> defaultsKeysCache, Set<String> uiKeys ) {
|
||||
if( value instanceof Map ) {
|
||||
for( Map.Entry<String, Object> e : ((Map<String, Object>)value).entrySet() )
|
||||
apply( key + '.' + e.getKey(), e.getValue(), defaults, defaultsKeysCache, uiKeys );
|
||||
Map<String, Object> map = (Map<String, Object>)value;
|
||||
if( map.containsKey( "os.default" ) || map.containsKey( "os.windows" ) || map.containsKey( "os.mac" ) || map.containsKey( "os.linux" ) ) {
|
||||
String osKey = SystemInfo.isWindows ? "os.windows"
|
||||
: SystemInfo.isMacOS ? "os.mac"
|
||||
: SystemInfo.isLinux ? "os.linux" : null;
|
||||
if( osKey != null && map.containsKey( osKey ) )
|
||||
apply( key, map.get( osKey ), defaults, defaultsKeysCache, uiKeys );
|
||||
else if( map.containsKey( "os.default" ) )
|
||||
apply( key, map.get( "os.default" ), defaults, defaultsKeysCache, uiKeys );
|
||||
} else {
|
||||
for( Map.Entry<String, Object> e : map.entrySet() )
|
||||
apply( key + '.' + e.getKey(), e.getValue(), defaults, defaultsKeysCache, uiKeys );
|
||||
}
|
||||
} else {
|
||||
if( "".equals( value ) )
|
||||
return; // ignore empty value
|
||||
|
||||
@@ -127,7 +127,11 @@
|
||||
"secondaryForeground": "#7ac2cc"
|
||||
},
|
||||
|
||||
"List.background": "#eef0f4",
|
||||
"List": {
|
||||
"background": "#eef0f4",
|
||||
"hoverBackground": "#dae6eb",
|
||||
"hoverInactiveBackground": "#dae6eb"
|
||||
},
|
||||
|
||||
"Notification": {
|
||||
"MoreButton.innerBorderColor": "#bec5cd",
|
||||
@@ -143,6 +147,12 @@
|
||||
}
|
||||
},
|
||||
|
||||
"NotificationsToolwindow": {
|
||||
"newNotification.background": "#dae6ebB3",
|
||||
"newNotification.hoverBackground": "#dae6eb",
|
||||
"Notification.hoverBackground": "#dae6eb"
|
||||
},
|
||||
|
||||
"PasswordField.background": "#FFFFFF",
|
||||
|
||||
"Plugins": {
|
||||
@@ -151,7 +161,8 @@
|
||||
"SectionHeader.foreground": "#808080",
|
||||
"SectionHeader.background": "#edeef2",
|
||||
"Tab.selectedBackground": "#cacccf",
|
||||
"Tab.hoverBackground": "#cacccf"
|
||||
"Tab.hoverBackground": "#cacccf",
|
||||
"hoverBackground": "#e6eef2"
|
||||
},
|
||||
|
||||
"Popup": {
|
||||
@@ -249,7 +260,12 @@
|
||||
}
|
||||
},
|
||||
|
||||
"Tree.background": "#eef0f4",
|
||||
"Tree": {
|
||||
"background": "#eef0f4",
|
||||
"hoverBackground": "#dae6eb",
|
||||
"hoverInactiveBackground": "#dae6eb",
|
||||
"hash": "#d0d5db"
|
||||
},
|
||||
|
||||
"WelcomeScreen": {
|
||||
"Details.background": "#eef0f4",
|
||||
|
||||
@@ -120,7 +120,8 @@
|
||||
"DefaultTabs": {
|
||||
"underlineColor": "#9649cc",
|
||||
"inactiveUnderlineColor": "#877399",
|
||||
"hoverBackground": "#dfb3ff1a"
|
||||
"hoverBackground": "#dfb3ff1a",
|
||||
"borderColor": "#1a1721"
|
||||
},
|
||||
|
||||
"DragAndDrop": {
|
||||
@@ -168,6 +169,11 @@
|
||||
"visitedForeground": "#7094FF"
|
||||
},
|
||||
|
||||
"List": {
|
||||
"hoverBackground": "#00000033",
|
||||
"hoverInactiveBackground": "#00000033"
|
||||
},
|
||||
|
||||
"MenuBar.borderColor": "#1a1721",
|
||||
|
||||
"NavBar.borderColor": "#1a1721",
|
||||
@@ -197,6 +203,12 @@
|
||||
}
|
||||
},
|
||||
|
||||
"NotificationsToolwindow": {
|
||||
"newNotification.background": "#3D3952B3",
|
||||
"newNotification.hoverBackground": "#3D3952",
|
||||
"Notification.hoverBackground": "#3D3952"
|
||||
},
|
||||
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#352140",
|
||||
"usedBackground": "#533473"
|
||||
@@ -211,6 +223,8 @@
|
||||
},
|
||||
|
||||
"Plugins": {
|
||||
"hoverBackground": "#00000022",
|
||||
|
||||
"Tab": {
|
||||
"selectedForeground": "#D0D0D9",
|
||||
"selectedBackground": "#593f73",
|
||||
@@ -284,6 +298,13 @@
|
||||
|
||||
"SearchOption.selectedBackground": "#424885",
|
||||
|
||||
"SegmentedButton": {
|
||||
"selectedButtonColor": "#45405C",
|
||||
"focusedSelectedButtonColor": "#693687",
|
||||
"selectedStartBorderColor": "#4E4C63",
|
||||
"selectedEndBorderColor": "#4E4C63"
|
||||
},
|
||||
|
||||
"SpeedSearch": {
|
||||
"foreground": "#D0D0D9",
|
||||
"borderColor": "#69418c",
|
||||
@@ -310,7 +331,8 @@
|
||||
|
||||
"Table": {
|
||||
"stripeColor": "#323242",
|
||||
"hoverBackground": "#00000028"
|
||||
"hoverBackground": "#00000028",
|
||||
"gridColor": "#1a1721"
|
||||
},
|
||||
|
||||
"TextArea": {
|
||||
@@ -360,7 +382,12 @@
|
||||
}
|
||||
},
|
||||
|
||||
"Tree.rowHeight": 20,
|
||||
"Tree": {
|
||||
"rowHeight": 20,
|
||||
"hash": "#4E4C63",
|
||||
"hoverBackground": "#00000033",
|
||||
"hoverInactiveBackground": "#00000033"
|
||||
},
|
||||
|
||||
"ValidationTooltip": {
|
||||
"errorBackground": "#802d43",
|
||||
|
||||
@@ -38,6 +38,26 @@
|
||||
"pressedBackground": "hoverBackground",
|
||||
"pressedBorderColor": "hoverBackground"
|
||||
},
|
||||
"Bookmark": {
|
||||
"iconBackground": "accentColor",
|
||||
"Mnemonic": {
|
||||
"iconForeground": "primaryForeground",
|
||||
"iconBackground": "#8d6b81",
|
||||
"iconBorderColor": "accentColor"
|
||||
}
|
||||
},
|
||||
"BookmarkMnemonicAssigned": {
|
||||
"foreground": "primaryForeground",
|
||||
"background": "#786299",
|
||||
"borderColor": "secondaryAccentColor"
|
||||
},
|
||||
"BookmarkMnemonicAvailable": {
|
||||
},
|
||||
"BookmarkMnemonicCurrent": {
|
||||
"foreground": "primaryForeground",
|
||||
"background": "#8d6b81",
|
||||
"borderColor": "accentColor"
|
||||
},
|
||||
"Button": {
|
||||
"foreground": "primaryForeground",
|
||||
"startBorderColor": "selectionBackground",
|
||||
@@ -90,7 +110,7 @@
|
||||
"inactiveWarningFocusColor": "#f1fa8c"
|
||||
},
|
||||
"DragAndDrop": {
|
||||
"areaBorderColor": "selectionBackground"
|
||||
"borderColor": "selectionBackground"
|
||||
},
|
||||
"Editor": {
|
||||
"background": "secondaryBackground",
|
||||
|
||||
@@ -111,6 +111,11 @@
|
||||
"secondaryForeground": "#77a8d9"
|
||||
},
|
||||
|
||||
"List": {
|
||||
"hoverBackground": "#00000010",
|
||||
"hoverInactiveBackground": "#00000010"
|
||||
},
|
||||
|
||||
"Notification": {
|
||||
"background": "#f7f8fa",
|
||||
"borderColor": "#D4D6D9",
|
||||
@@ -131,6 +136,12 @@
|
||||
}
|
||||
},
|
||||
|
||||
"NotificationsToolwindow": {
|
||||
"newNotification.background": "#dae9f7B3",
|
||||
"newNotification.hoverBackground": "#00000009",
|
||||
"Notification.hoverBackground": "#00000009"
|
||||
},
|
||||
|
||||
"PasswordField.background": "#FFFFFF",
|
||||
|
||||
"Plugins": {
|
||||
@@ -140,7 +151,7 @@
|
||||
"Tab.selectedBackground": "#D5D6D7",
|
||||
"Tab.hoverBackground": "#D5D6D7",
|
||||
"lightSelectionBackground": "#E9EFF7",
|
||||
"hoverBackground": "#f7faff"
|
||||
"hoverBackground": "#F8F8F8"
|
||||
},
|
||||
|
||||
"Popup": {
|
||||
@@ -225,7 +236,11 @@
|
||||
}
|
||||
},
|
||||
|
||||
"Tree.rowHeight": 22,
|
||||
"Tree": {
|
||||
"rowHeight": 22,
|
||||
"hoverBackground": "#00000010",
|
||||
"hoverInactiveBackground": "#00000010"
|
||||
},
|
||||
|
||||
"VersionControl": {
|
||||
"Log.Commit.currentBranchBackground": "#e6f0f2",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -164,6 +164,10 @@
|
||||
"background": "#323846",
|
||||
"selectionInactiveForeground": "#e5e9f0"
|
||||
},
|
||||
"MemoryIndicator": {
|
||||
"allocatedBackground": "#81a1c1",
|
||||
"usedBackground": "#5e81ac"
|
||||
},
|
||||
"Menu": {
|
||||
"background": "#323846",
|
||||
"borderColor": "#3b4252",
|
||||
@@ -231,6 +235,9 @@
|
||||
"activeBackground": "#434c5e"
|
||||
}
|
||||
},
|
||||
"PopupMenu": {
|
||||
"background": "#323846"
|
||||
},
|
||||
"ProgressBar": {
|
||||
"background": "#88c0d0",
|
||||
"failedColor": "#bf616a",
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
"backgroundColor": "#21252b",
|
||||
"borderColor": "#333841",
|
||||
"infoForeground": "#7e8491",
|
||||
"foregroundColor": "#abb2bf"
|
||||
"foregroundColor": "#abb2bf",
|
||||
"notificationBackground": "#3d424b",
|
||||
"selectionBackground": "#323844",
|
||||
"selectionForeground": "#d7dae0"
|
||||
},
|
||||
"ui": {
|
||||
"*": {
|
||||
@@ -17,10 +20,18 @@
|
||||
|
||||
"infoForeground": "#5c6370",
|
||||
|
||||
"selectionBackground": "#323844",
|
||||
"selectionBackground": {
|
||||
"os.default": "selectionBackground",
|
||||
"os.windows": "selectionBackground",
|
||||
"os.mac": "selectionBackground"
|
||||
},
|
||||
"selectionForeground": {
|
||||
"os.default": "selectionForeground",
|
||||
"os.windows": "selectionForeground",
|
||||
"os.mac": "selectionForeground"
|
||||
},
|
||||
"selectionInactiveBackground": "#2c313a",
|
||||
"selectionBackgroundInactive": "#2c313a",
|
||||
"selectionForeground": "#d7dae0",
|
||||
|
||||
"disabledBackground": "backgroundColor",
|
||||
"inactiveBackground": "backgroundColor",
|
||||
@@ -142,6 +153,9 @@
|
||||
"Editor": {
|
||||
"background": "#282c34",
|
||||
"foreground": "#abb2bf",
|
||||
"SearchField": {
|
||||
"background": "#282c34"
|
||||
},
|
||||
"shortcutForeground": "accentColor"
|
||||
},
|
||||
|
||||
@@ -192,7 +206,7 @@
|
||||
},
|
||||
|
||||
"Notification": {
|
||||
"background": "#3d424b",
|
||||
"background": "notificationBackground",
|
||||
"borderColor": "#53565f",
|
||||
|
||||
"errorForeground": "#abb2bf",
|
||||
@@ -219,6 +233,10 @@
|
||||
}
|
||||
},
|
||||
|
||||
"NotificationsToolwindow.newNotification.background" : "notificationBackground",
|
||||
"NotificationsToolwindow.newNotification.hoverBackground" : "#3d424b",
|
||||
"NotificationsToolwindow.Notification.hoverBackground" : "#3d424b",
|
||||
|
||||
"Panel.background": "backgroundColor",
|
||||
|
||||
"ParameterInfo": {
|
||||
@@ -314,6 +332,8 @@
|
||||
|
||||
"Settings.Spotlight.borderColor": "accentColor",
|
||||
|
||||
"StatusBar.background": "baseBackground",
|
||||
|
||||
"TabbedPane": {
|
||||
"underlineColor": "accentColor",
|
||||
"contentAreaColor": "#323844",
|
||||
@@ -362,6 +382,7 @@
|
||||
},
|
||||
|
||||
"ToolWindow": {
|
||||
"background": "backgroundColor",
|
||||
"Button": {
|
||||
"hoverBackground": "#323844",
|
||||
"selectedBackground": "#3d424b",
|
||||
|
||||
Reference in New Issue
Block a user