I am relatively new to JavaFX and I have been using a CSS file to have a base for my buttons. I am looking to make a light theme and a dark theme, and for that, I want to use the color adjust settings, to adjust the brightness of my ImageViews and by that change them from black to white and vice versa. I did not find any documentation about this CSS reference and I would appreciate any help ๐ One thing I found about the ColorAdjust is its FXML implementation
<ColorAdjust brightness="0.75" contrast="0.68" hue="0.73" saturation="0.78"
Here is my CSS code if needed:
.button{
/* Background */
-fx-background-color: transparent;
}
.button:hover{
-fx-background-color: #a1a1a1;
}
.button:pressed{
-fx-background-color: transparent;
}
.imageview{
}
.toolbar{
-fx-background-color: #ffffff;
}โ`