Skip to content

Commit cf1b385

Browse files
committed
use theme color in base.html
1 parent 7488cec commit cf1b385

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ephios/core/context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,5 @@ def ephios_base_context(request):
5454
"DEBUG": settings.DEBUG,
5555
"organization_name": global_preferences_registry.manager()["general__organization_name"],
5656
"platform_name": dynamic_settings.PLATFORM_NAME,
57+
"brand_color": dynamic_settings.BRAND_COLOR,
5758
}

ephios/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<meta name="application-name" content="ephios">
1919

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

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

0 commit comments

Comments
 (0)