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:
parent
ca87894ab2
commit
b21f12015e
4 changed files with 14 additions and 5 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue