Hi, I have no prior knowledge of javafx. How can I use something like atlantafx or jmetro or materal theme with cljfx?
the code on atlantafx github worked the same:
(import (javafx.application Application)
(javafx.stage Stage)
(atlantafx.base.theme PrimerLight PrimerDark))
(defn set-theme
"set atlantafx theme"
[theme]
(Application/setUserAgentStylesheet
(.getUserAgentStylesheet (case theme
:light (PrimerLight.)
:dark (PrimerLight.))))
(Application/setUserAgentStylesheet (.getUserAgentStylesheet (PrimerDark.))))
then (set-theme :light)yeah, it seems relatively straightforward with atlantafx
I got lost in material fx readme 😄