Skip to content

Commit

Permalink
use theme color in base.html
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrindt committed Jan 5, 2025
1 parent 7488cec commit cf1b385
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ephios/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ def ephios_base_context(request):
"DEBUG": settings.DEBUG,
"organization_name": global_preferences_registry.manager()["general__organization_name"],
"platform_name": dynamic_settings.PLATFORM_NAME,
"brand_color": dynamic_settings.BRAND_COLOR,
}
2 changes: 1 addition & 1 deletion ephios/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<meta name="application-name" content="ephios">

<!-- Chrome for Android theme color -->
<meta name="theme-color" content="#ff033f">
<meta name="theme-color" content="{{ brand_color }}">

<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down

0 comments on commit cf1b385

Please sign in to comment.