1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Add support for theme color based on preferred color scheme of OS

This commit is contained in:
Dustin Breuer 2021-11-28 16:20:51 +01:00 committed by fguillot
parent ca87894ab2
commit b21f12015e
4 changed files with 14 additions and 5 deletions

View file

@ -53,7 +53,7 @@ func (h *handler) showWebManifest(w http.ResponseWriter, r *http.Request) {
}
displayMode = user.DisplayMode
}
themeColor := model.ThemeColor(request.UserTheme(r))
themeColor := model.ThemeColor(request.UserTheme(r), "light")
manifest := &webManifest{
Name: "Miniflux",
ShortName: "Miniflux",