From 8c5ac438c2ed7063f7a0e2c7dee2d149310f49ba Mon Sep 17 00:00:00 2001 From: Marvin Elsen Date: Sat, 28 Sep 2024 16:12:25 +0200 Subject: [PATCH] Add initial dark mode style --- src/main/resources/css/dark.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/main/resources/css/dark.css diff --git a/src/main/resources/css/dark.css b/src/main/resources/css/dark.css new file mode 100644 index 0000000..5f916e6 --- /dev/null +++ b/src/main/resources/css/dark.css @@ -0,0 +1,20 @@ +/* +JavaFX CSS Reference Guide +https://openjfx.io/javadoc/23/javafx.graphics/javafx/scene/doc-files/cssref.html +*/ + +.root { + willow-background: #2D2D30; + willow-foreground: #ffffff; + + -fx-background-color: willow-background; + background-color: willow-background; +} + +.label { + -fx-text-fill: willow-foreground; +} + +.radio-button { + -fx-text-fill: willow-foreground; +}