How can I add custom css properties like -fx-accent
or -fx-base
.
I've tried a naive way:
.root {
-fx-small: 20;
}
.button {
-fx-font-size: -fx-small;
}
Unfortunaly, I've got:
WARNING: com.sun.javafx.css.parser.CSSParser declaration CSS Error parsing file:/home/ark/Projects/FXTest/out/production/FXTest/a.css: Expected '< number>' while parsing '-fx-font-size' at [6,15]