Access perspective theme folder in web dev python endpoint

From:

themes = context.systemManager.dataDir.toPath().resolve("modules").resolve("com.inductiveautomation.perspective").resolve("themes")

system.file.readFileAsString(themes.resolve("dark.css").toAbsolutePath())
1 Like