feat(ui): Implement Custom CSS configuration (#943)

* feat(ui): Implement Custom CSS configuration

* Update web/app/public/index.html
This commit is contained in:
TwiN
2024-12-26 23:08:16 -05:00
committed by GitHub
parent 78c9a1bd41
commit efbb739a44
7 changed files with 47 additions and 8 deletions

14
api/custom_css.go Normal file
View File

@ -0,0 +1,14 @@
package api
import (
"github.com/gofiber/fiber/v2"
)
type CustomCSSHandler struct {
customCSS string
}
func (handler CustomCSSHandler) GetCustomCSS(c *fiber.Ctx) error {
c.Set("Content-Type", "text/css")
return c.Status(200).SendString(handler.customCSS)
}