mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-02 10:04:22 +00:00
Add dark mode
This commit is contained in:
parent
8607f16212
commit
3c6653a77b
15 changed files with 124 additions and 23 deletions
|
@ -9,6 +9,7 @@ type PostContext struct {
|
|||
DefaultVisibility string
|
||||
ReplyContext *ReplyContext
|
||||
Formats []PostFormat
|
||||
DarkMode bool
|
||||
}
|
||||
|
||||
type ReplyContext struct {
|
||||
|
|
|
@ -6,6 +6,7 @@ type Settings struct {
|
|||
ThreadInNewTab bool `json:"thread_in_new_tab"`
|
||||
MaskNSFW bool `json:"mask_nfsw"`
|
||||
FluorideMode bool `json:"fluoride_mode"`
|
||||
DarkMode bool `json:"dark_mode"`
|
||||
}
|
||||
|
||||
func NewSettings() *Settings {
|
||||
|
@ -15,5 +16,6 @@ func NewSettings() *Settings {
|
|||
ThreadInNewTab: false,
|
||||
MaskNSFW: true,
|
||||
FluorideMode: false,
|
||||
DarkMode: false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue