Skip to content

Commit

Permalink
Change toggle mode title
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed May 23, 2023
1 parent d1d4682 commit 2eaa62c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/SwitchTheme.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
<button
type="button"
@click="toggleTheme"
title="Toggle mode"
:title="
themeMode === themeModes.light
? 'Change to dark mode'
: 'Change to light mode'
"
>
<svg
v-if="themeMode === themeModes.dark"
Expand Down

0 comments on commit 2eaa62c

Please sign in to comment.