package web import "embed" //go:embed templates/*.html templates/*.css var templateFS embed.FS //go:embed static/chart.min.js var chartJS []byte //go:embed static/fonts/*.woff2 var fontFS embed.FS // StyleCSS returns the embedded dashboard stylesheet. Exported so the setup // wizard can serve the same CSS instead of reading a filesystem path that // does not exist inside the container image. func StyleCSS() ([]byte, error) { return templateFS.ReadFile("templates/style.css") }