Version
nuget Fable.Core ~> 3
nuget Fable.Elmish ~> 3
How to change body style in elmish app?
You can access the Dom through the Fable.Import.Browser
module.
Try e.g.,
open Fable.Import
Browser.document.body.style.fontSize <- "20px"
or
Browser.document.body.classList.add("my-class")
Browser.document.body.classList.remove("my-class")