Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Jul 18, 2024
1 parent a5cf2e6 commit 1907257
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/test_build/navbar_theme.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script>
document.write(`
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light"></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark"></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto"></i>
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title='Current theme: light'></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title='Current theme: dark'></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title='Current theme: follows OS Default'></i>
</button>
`);
</script>
6 changes: 3 additions & 3 deletions tests/test_build/sidebar_subpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
<script>
document.write(`
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light"></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark"></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto"></i>
<i class="theme-switch fa-solid fa-sun fa-lg" data-mode="light" title='Current theme: light'></i>
<i class="theme-switch fa-solid fa-moon fa-lg" data-mode="dark" title='Current theme: dark'></i>
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg" data-mode="auto" title='Current theme: follows OS Default'></i>
</button>
`);
</script>
Expand Down

0 comments on commit 1907257

Please sign in to comment.