Skip to content

Commit

Permalink
Merge pull request #90 from netz39/improve-theme-toggle-button
Browse files Browse the repository at this point in the history
Fix theme toggle button label
  • Loading branch information
24367dfa authored Nov 9, 2023
2 parents 75698ff + 6ac464f commit e5cfc5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/default/navbar.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

{% if site.color_theme == 'auto' %}
<li class="separator"> | </li>
<li><a id="theme-toggle" title="{{ page.title }} " aria-label="{{ page.title }}" onclick="themeToggle()"></a></li>
<li><a id="theme-toggle" title="Theme wechseln" aria-label="Theme wechseln" onclick="themeToggle()"></a></li>
{% endif %}
<!-- Spacestatus -->
<li><a href="https://www.netz39.de/status/"><img alt="status" src="https://spaceapi.n39.eu/state.png" class="spacestatus"></a></li>
Expand Down
5 changes: 5 additions & 0 deletions _sass/base/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,8 @@ details {
}
}

// Theme toggle button
#theme-toggle {
cursor: pointer;
}

0 comments on commit e5cfc5b

Please sign in to comment.