aboutsummaryrefslogtreecommitdiff
path: root/renderer/model.go
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-12 17:16:57 +0000
committerr <r@freesoftwareextremist.com>2020-01-12 17:16:57 +0000
commit3c6653a77b8951672ea169d175db154495a981fe (patch)
tree54f27eba5c3dbedcbca5744764eb0d1c1e36ac1b /renderer/model.go
parent8607f16212c9537751030c717dbfb3454e66ca23 (diff)
downloadbloat-3c6653a77b8951672ea169d175db154495a981fe.tar.gz
bloat-3c6653a77b8951672ea169d175db154495a981fe.zip
Add dark mode
Diffstat (limited to 'renderer/model.go')
-rw-r--r--renderer/model.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 102ce55..64b9946 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -10,6 +10,7 @@ type HeaderData struct {
NotificationCount int
CustomCSS string
FluorideMode bool
+ DarkMode bool
}
type NavbarData struct {
@@ -58,6 +59,7 @@ type NotificationData struct {
Notifications []*mastodon.Notification
HasNext bool
NextLink string
+ DarkMode bool
}
type UserData struct {
@@ -66,6 +68,7 @@ type UserData struct {
Statuses []*mastodon.Status
HasNext bool
NextLink string
+ DarkMode bool
}
type AboutData struct {