mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-21 19:03:02 +00:00
Invert background_color theme logic
This commit is contained in:
parent
4f96a8b449
commit
0a2f7443ad
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ class MetadataViewTestCase(TestCase):
|
|||
"display": "standalone",
|
||||
"scope": "/",
|
||||
"theme_color": "#5856e0",
|
||||
"background_color": "#161822",
|
||||
"background_color": "#ffffff",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/static/logo.svg",
|
||||
|
@ -114,7 +114,7 @@ class MetadataViewTestCase(TestCase):
|
|||
"display": "standalone",
|
||||
"scope": "/linkding/",
|
||||
"theme_color": "#5856e0",
|
||||
"background_color": "#161822",
|
||||
"background_color": "#ffffff",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/linkding/static/logo.svg",
|
||||
|
|
|
@ -11,7 +11,7 @@ def manifest(request):
|
|||
"display": "standalone",
|
||||
"scope": "/" + settings.LD_CONTEXT_PATH,
|
||||
"theme_color": "#5856e0",
|
||||
"background_color": "#ffffff" if request.user_profile.theme == "light" else "#161822",
|
||||
"background_color": "#161822" if request.user_profile.theme == "dark" else "#ffffff",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/" + settings.LD_CONTEXT_PATH + "static/logo.svg",
|
||||
|
|
Loading…
Reference in a new issue