fix: adjust default config with new palettes

This commit is contained in:
ae 2025-06-01 19:27:24 +03:00
parent 42c154903a
commit 271d8201e5
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E

28
main.go
View File

@ -38,9 +38,29 @@ type BannerInfo struct {
func init() {
config = Config{
ClearwebURL: "https://example.com",
OnionURL: "http://example.onion",
ColorThemes: []string{"vibrant", "sunset", "ocean", "neon", "forest", "cosmic"},
ClearwebURL: "https://example.com",
OnionURL: "http://example.onion",
ColorThemes: []string{
"vibrant",
"sunset",
"ocean",
"neon",
"cosmic",
"midnight",
"fire",
"pastel",
"earth",
"ice",
"autumn",
"cyberpunk",
"retro",
"monochrome",
"tropical",
"volcanic",
"aurora",
"desert",
"matrix",
},
MaxBanners: 50,
BannerWidth: 600,
BannerHeight: 120,
@ -87,7 +107,7 @@ func main() {
NewTextData(config.ClearwebURL, defaultFontSize+4.0, false),
}
for range 10 {
for range 25 {
if err := genBanner(textData); err != nil {
log.Errorf("Error generating banner: %s", err)
}