File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const ThemedLogo = () => {
1111 background: no-repeat center/contain url("${BASE_URL}/static/indigo/images/logo.png");
1212 }
1313
14- {% if ENABLE_DARK_THEME_LOGO %}
14+ {% if INDIGO_ENABLE_DARK_THEME_LOGO %}
1515 body.indigo-dark-theme .themed-logo {
1616 background-image: url("${BASE_URL}/static/indigo/images/logo-white.png");
1717 }
Original file line number Diff line number Diff line change 77import importlib_resources
88from tutor import hooks
99from tutor .__about__ import __version_suffix__
10- from tutormfe .hooks import PLUGIN_SLOTS , MFE_APPS
10+ from tutormfe .hooks import MFE_APPS , MFE_ATTRS_TYPE , PLUGIN_SLOTS
1111
1212from .__about__ import __version__
1313
@@ -298,8 +298,11 @@ def _override_openedx_docker_image(
298298 ]
299299)
300300
301- @MFE_APPS .add ()
302- def _add_themed_logo (mfes ):
301+
302+ @MFE_APPS .add () # type: ignore
303+ def _add_themed_logo (
304+ mfes : dict [str , MFE_ATTRS_TYPE ],
305+ ) -> dict [str , MFE_ATTRS_TYPE ]:
303306 for mfe in mfes :
304307 PLUGIN_SLOTS .add_item (
305308 (
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ header.global-header {
289289}
290290
291291body .indigo-dark-theme {
292- {% if ENABLE_DARK_THEME_LOGO %}
292+ {% if INDIGO_ENABLE_DARK_THEME_LOGO %}
293293 .logo {
294294 background-image : url (" /static/indigo/images/logo-white.png" );
295295 }
You can’t perform that action at this time.
0 commit comments