Add dark mode
[bloat] / model / settings.go
1 package model
2
3 type Settings struct {
4         DefaultVisibility string `json:"default_visibility"`
5         CopyScope         bool   `json:"copy_scope"`
6         ThreadInNewTab    bool   `json:"thread_in_new_tab"`
7         MaskNSFW          bool   `json:"mask_nfsw"`
8         FluorideMode      bool   `json:"fluoride_mode"`
9         DarkMode          bool   `json:"dark_mode"`
10 }
11
12 func NewSettings() *Settings {
13         return &Settings{
14                 DefaultVisibility: "public",
15                 CopyScope:         true,
16                 ThreadInNewTab:    false,
17                 MaskNSFW:          true,
18                 FluorideMode:      false,
19                 DarkMode:          false,
20         }
21 }