More dark theme WIP
All checks were successful
Pull Request / build (pull_request) Successful in 3m22s

This commit is contained in:
Marvin Elsen 2024-10-03 21:33:19 +02:00
parent ee989b8997
commit 6ebdf4051c
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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;
}