startpage/settings.go
2022-09-05 14:17:07 +02:00

18 lines
406 B
Go

package main
type Settings struct {
Background string `json:"background_color"`
Foreground string `json:"foreground_color"`
Search string `json:"search_query"`
BorderRadius string `json:"border_radius"`
}
func DefaultSettings() *Settings {
return &Settings{
Background: "#2b2a33",
Foreground: "#ffffff",
Search: "https://duckduckgo.com/?q=%s",
BorderRadius: "1.5%",
}
}