mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 00:38:33 +02:00
feat(middleware): add themed middleware with customizable themes and styles
- Introduced a new themed middleware that allows for dynamic theme application. - Added support for multiple themes: dark, dark-grey, solarized-dark, and custom CSS. - Included CSS files for each theme and a font CSS template for font customization. - Updated middleware registry to include the new themed middleware.
This commit is contained in:
4
internal/net/gphttp/middleware/themes/font.css
Normal file
4
internal/net/gphttp/middleware/themes/font.css
Normal file
@@ -0,0 +1,4 @@
|
||||
@import url("{{.FontURL}}");
|
||||
body {
|
||||
font-family: "{{.FontFamily}}", "arial", "roboto" !important;
|
||||
}
|
||||
Reference in New Issue
Block a user