Skip to content

Commit

Permalink
introduce support for Themes driven variants
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Jul 16, 2021
1 parent cb0a39d commit 9886420
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion geonode_mapstore_client/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% endblock %}


{% block body_extra_class %}gn-legacy gn-theme gn-theme-light{% endblock %}
{% block body_extra_class %}gn-legacy gn-theme gn-theme-{{ custom_theme.variant }}{% endblock %}

{% block header %}
{% include './geonode-mapstore-client/snippets/header.html' %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

</head>

<body class="gn-catalogue gn-theme gn-theme-light ms2">
<body class="gn-catalogue gn-theme gn-theme-{{ custom_theme.variant }} ms2">

{% block gn_config %}
{% include './_geonode_config.html' %}
Expand Down
2 changes: 1 addition & 1 deletion geonode_mapstore_client/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% block extra_style %}
{% endblock %}
</head>
<body class="gn-theme gn-theme-light gn-homepage ms2">
<body class="gn-theme gn-theme-{{ custom_theme.variant }} gn-homepage ms2">
{% include './geonode-mapstore-client/_geonode_config.html' %}
{% block header %}
{% include './geonode-mapstore-client/snippets/header.html' with show_hero=True %}
Expand Down

0 comments on commit 9886420

Please sign in to comment.