Skip to content

Commit

Permalink
New stuff |||
Browse files Browse the repository at this point in the history
- New theme, now uses discord color
- Now outputs a log file, so whenever there's an error
feel free to report it
- Changed icon of the app to discord's color
  • Loading branch information
DummyBubbleTea committed Aug 28, 2018
1 parent 43bfa53 commit 671351f
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group 'com.github.bumbleboss'
version '0.8'
version '0.9'

sourceCompatibility = 1.8

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class App extends Application {
private Stage window;
public static final File cache = new File("cache.json");
private static final String appName = "custom-rpc-java";
private static final double appVersion = 0.8;
private static final double appVersion = 0.9;
public static final Logger logger = LoggerFactory.getLogger(appName);
private static final String icon = App.class.getResource("256x256.png").toExternalForm().replace("20%", " ");
private static final String font = App.class.getResource("TipoType_Brother_1816_Medium.otf").toExternalForm().replace("%20", " ");
Expand Down
Binary file modified src/main/resources/16x16!.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%nopex[%d{HH:mm:ss}] [%level] %green[%logger{0}]: %msg%n%ex</pattern>
</encoder>
</appender>

<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file> ./logs.log</file>
<append>true</append>
<encoder>
<pattern>%nopex[%d{HH:mm:ss}] [%level] [%logger{0}]: %msg%n%ex</pattern>
</encoder>
</appender>

<root level="DEBUG">
<appender-ref ref="STDOUT"/>
<appender-ref ref="FILE"/>
</root>

</configuration>
36 changes: 18 additions & 18 deletions src/main/resources/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
src: url('TipoType_Brother_1816_Medium.otf');
}

.root{
-fx-background-color: #212121;
.root {
-fx-background-color: #2C2F33;
-fx-alignment: center;
-fx-font-family: Brother-1816-Medium;
}

/*LABEL*/
.label {
-fx-text-fill: #E5E5E5;
-fx-text-fill: #FFFFFF;
-fx-font-size: 18px;
}

Expand All @@ -22,56 +22,56 @@
-fx-font-size: 13px;
}
.text-field:focused {
-fx-background-color: #D6D6D6;
-fx-background-color: #99AAB5;
-fx-background-radius: 0;
}

/*CHECKBOXES*/
.check-box {
-fx-text-fill: #E5E5E5;
-fx-text-fill: #FFFFFF;
}
.check-box .box {
-fx-background-color: #E5E5E5;
-fx-border-color: #E5E5E5;
-fx-background-color: #FFFFFF;
-fx-border-color: #FFFFFF;
-fx-border-style: none;
-fx-border-radius: 0px;

}
.check-box:selected .mark {
-fx-background-color: #A88E79;
-fx-background-color: #7289DA;
}
.check-box:selected .box {
-fx-background-color: #D6D6D6;
-fx-background-color: #99AAB5;
}

/*BUTTONS*/
.button, .button:focused{
-fx-font-size: 18px;
-fx-background-color: #1C1C1C;
-fx-text-fill: #A88E79;
-fx-background-color: #23272A;
-fx-text-fill: #7289DA;
-fx-background-radius: 0;
}
.button:pressed {
-fx-background-color: #111111;
-fx-background-color: #2C2F33;
}

/*CHOICE_BOXES*/
.choice-box, .choice-box:focused {
-fx-mark-color: #D6D6D6;
-fx-background-color: #1C1C1C;
-fx-background-color: #23272A;
}
.choice-box > .label {
-fx-text-fill: #A88E79;
-fx-text-fill: #7289DA;
}
.choice-box .context-menu {
-fx-background-color: #1C1C1C;
-fx-background-color: #23272A;
}
.choice-box .menu-item:focused {
-fx-background-color: #A88E79;
-fx-background-color: #7289DA;
}
.choice-box .menu-item > .label {
-fx-text-fill: #D6D6D6;
-fx-text-fill: #FFFFFF;
}
.choice-box .menu-item:focused > .label {
-fx-text-fill: #212121;
-fx-text-fill: #2C2F33;
}

0 comments on commit 671351f

Please sign in to comment.