IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater)

This commit is contained in:
Karl Tauber
2023-08-02 15:03:57 +02:00
parent 170c22c5ed
commit 7a9bdf9be0
12 changed files with 347 additions and 202 deletions

View File

@@ -370,7 +370,10 @@ public class IJThemesPanel
if( themeInfo == null || themeInfo.resourceName == null )
return;
String themeUrl = (themeInfo.sourceCodeUrl + '/' + themeInfo.sourceCodePath).replace( " ", "%20" );
String themeUrl = themeInfo.sourceCodeUrl;
if( themeInfo.sourceCodePath != null )
themeUrl += '/' + themeInfo.sourceCodePath;
themeUrl = themeUrl.replace( " ", "%20" );
try {
Desktop.getDesktop().browse( new URI( themeUrl ) );
} catch( IOException | URISyntaxException ex ) {

View File

@@ -145,7 +145,7 @@
"license": "MIT",
"licenseFile": "Hiberbee.LICENSE.txt",
"sourceCodeUrl": "https://github.com/Hiberbee/themes",
"sourceCodePath": "blob/latest/src/main/resources/themes/HiberbeeDark.theme.json"
"sourceCodePath": "blob/latest/src/intellij/src/main/resources/themes/HiberbeeDark.theme.json"
},
"HighContrast.theme.json": {
"name": "High contrast",