diff --git a/src/main/kotlin/com/marvinelsen/willow/WillowApplication.kt b/src/main/kotlin/com/marvinelsen/willow/WillowApplication.kt index 323ce96..7df322e 100644 --- a/src/main/kotlin/com/marvinelsen/willow/WillowApplication.kt +++ b/src/main/kotlin/com/marvinelsen/willow/WillowApplication.kt @@ -66,7 +66,7 @@ class WillowApplication : Application() { val root = fxmlLoader.load(javaClass.getResourceAsStream("/fxml/main.fxml")) as BorderPane val primaryScene = Scene(root, WINDOW_WIDTH, WINDOW_HEIGHT) -// primaryScene.stylesheets.add(javaClass.getResource("/css/dark.css")?.toExternalForm()!!) + // primaryScene.stylesheets.add(javaClass.getResource("/css/dark.css")?.toExternalForm()!!) primaryStage.apply { title = WINDOW_TITLE diff --git a/src/main/resources/css/dark.css b/src/main/resources/css/dark.css index 440b71a..c33d6f6 100644 --- a/src/main/resources/css/dark.css +++ b/src/main/resources/css/dark.css @@ -8,6 +8,8 @@ https://openjfx.io/javadoc/23/javafx.graphics/javafx/scene/doc-files/cssref.html willow-foreground: #dfdfdf; -fx-base: willow-background; + -fx-accent: #5c7654; + -fx-focus-color: #3e8f25; -fx-background-color: willow-background; -fx-text-fill: willow-foreground; @@ -27,10 +29,10 @@ https://openjfx.io/javadoc/23/javafx.graphics/javafx/scene/doc-files/cssref.html .list-cell:even { -fx-text-fill: willow-foreground; - -fx-background-color: #1e1e1e; + -fx-background: #1e1e1e; } .list-cell:odd { -fx-text-fill: willow-foreground; - -fx-background-color: #292929; + -fx-background: #292929; }