cssFile

fun cssFile(path: String, watch: Boolean = true)(source)

Adds the style sheets of the CSS file path, after styles, like a theme: :root { --gui-base: #223 }. When watch is set they are read again when the file changes, while the program runs. Must be called before the GUI is installed with extend().