style.css
* {
-color : #00A0B1;
-white : #F5F5F5;
-gray : #95A5A6;
-darkGray : #7F8C8D;
-black : #2C3E50;
-abort : #7F8C8D;
}
.root{
-fx-background-color : -white;
-fx-fill-width : true;
-fx-color : -color;
-fx-fill-width : true;
-fx-font-family: 'Segoe UI';
-fx-focus-color : transparent;
-fx-faint-focus-color: transparent;
}
I was hoping to make a color palette such that the -color variable can be changed. Is there a way to change the variable with a javafx controller? many thanks