feat: adapt home appearance to wallpaper colors
This commit is contained in:
1 parent
c7aa4fd7dd
commit
0964fdc5b7
23 files changed
+628
-32
No files matched your search
@@ -84,6 +84,9 @@ func (s *Server) renderWithContext(
|
||||
wallpaper := s.homeWallpaperForRequest(r)
|
||||
data["HomeWallpaperURL"] = wallpaper.URL
|
||||
data["HomeWallpaperOpacity"] = wallpaper.Opacity
|
||||
data["HomeWallpaperKey"] = wallpaper.Key
|
||||
data["HomePalette"] = s.homePalette(domainUUID)
|
||||
data["HomePaletteDomain"] = domainUUID
|
||||
if wallpaper.URL != "" {
|
||||
w.Header().Set("Cache-Control", "private, no-cache")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user