diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index d2c8420..78b4db4 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -14,6 +14,7 @@ If you get sick reading, we will not claim responsibility on your health. Please package Launcher; // import Launcher.net.Updater; +import Launcher.net.Updater; import com.tofvesson.async.Async; import com.tofvesson.reflection.SafeReflection; import javafx.animation.KeyFrame; @@ -54,8 +55,8 @@ public class Main extends Application { // Semantic versioning system data public static final String semVerDevState = "Alpha-Dev"; // Development stage public static final int semVerMajor = 0; // Major version - public static final int semVerMinor = 0; // Minor version - public static final int semVerPatch = 2; // Patch version + public static final int semVerMinor = 3; // Minor version + public static final int semVerPatch = 0; // Patch version double xOffset = 0, yOffset = 0; // Offsets for dragging @@ -80,7 +81,7 @@ public class Main extends Application { primaryStage.initStyle(StageStyle.UNDECORATED); //TODO: Remove the comments under when updater class is fixed - /* if(args.length<2 || !args[1].equals("false")){ + if(args.length<2 || !args[1].equals("false")){ Stage d = new Stage(); Timeline t = new Timeline(); t.getKeyFrames().add(new KeyFrame(Duration.millis(1), event ->{ d.close(); primaryStage.show(); })); @@ -95,7 +96,7 @@ public class Main extends Application { }); t1.setDaemon(true); t1.start(); - } else primaryStage.show(); */ // Remove ugly trash + } else primaryStage.show(); // Remove ugly trash root = (Pane) Tabs.load("main"); // Load via layout loader ((Label)root.lookup("#version")).setText(((Label) root.lookup("#version")) // Dynamically set version label diff --git a/src/assets/style/default-theme.css b/src/assets/style/default-theme.css index a74ee9d..a6eb150 100644 --- a/src/assets/style/default-theme.css +++ b/src/assets/style/default-theme.css @@ -1,46 +1,46 @@ #pane { - -fx-background-color: #05030c; + -fx-background-color: #290d95; } #rectangle { - -fx-fill: #050519; + -fx-fill: #17177d; -fx-text-fill: white; } #rectangle-1 { - -fx-fill: #070620; + -fx-fill: #1b1884; -fx-text-fill: white; } #rectangle-2 { - -fx-fill: #060317; + -fx-fill: #20118e; -fx-text-fill: white; } #rectangle-3 { - -fx-fill: #0b052e; + -fx-fill: #170c77; -fx-text-fill: white; } #download-modpack, #download-modpack-a, #view-modpack-a, #view-modpack, #Launch-VM, #Update-VM { - -fx-background-color: #0a073b; + -fx-background-color: #0d08a2; -fx-background-radius: 0em; -fx-text-fill: white; } #download-modpack:hover, #view-modpack:hover, #view-modpack-a:hover, #download-modpack-a:hover, #Launch-VM:hover, #Update-VM:hover { - -fx-background-color: #07061b; + -fx-background-color: #161580; -fx-background-radius: 0em; -fx-text-fill: white; } #default-theme,#dark-theme, #light-theme { - -fx-background-color: #0d072f; + -fx-background-color: #320da9; -fx-background-radius: 0em; -fx-text-fill: white; } #default-theme:hover { - -fx-background-color: #0d0c39; + -fx-background-color: #19168c; -fx-background-radius: 0em; -fx-text-fill: white; } @@ -82,7 +82,7 @@ } #Modpack-back, #home-back, #Settings-back, #instance-back { - -fx-fill: #0a0e2e; + -fx-fill: #1b2f96; -fx-text-fill: white; } #exit, #min{ @@ -96,7 +96,7 @@ #search-modpacks { -fx-prompt-text-fill: white; -fx-text-fill: white; - -fx-background-color: #0a0e2e; + -fx-background-color: #162f99; -fx-padding: 5px; } @@ -123,17 +123,17 @@ } .tab:hover{ - -fx-background-color: #09042e; + -fx-background-color: #1f0e90; } .selected { - -fx-background-color: #05030c; + -fx-background-color: #301d73; -fx-background-radius: 0em; } .selected:hover { - -fx-background-color: #05030c; + -fx-background-color: #2c1a69; } #minecraftuser, #minecraftpass{