@@ -59,7 +58,7 @@
data-watchlist-remove
data-mal-id="{{.AnimeID}}"
data-watchlist-title="{{.DisplayTitle}}"
- class="text-white/70 transition-colors hover:text-white focus:outline-none pointer-events-auto disabled:opacity-50"
+ class="text-white/70 transition-colors hover:text-white focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-white/70 pointer-events-auto disabled:opacity-50"
aria-label="Remove from Watchlist"
>
-
-
Your watchlist is empty
-
Start adding anime to keep track of what you want to watch
-
-
Browse anime
-
Discover new
+
+
+
Your watchlist is empty.
+
Start adding anime to keep track of what you want to watch.
+
{{end}}
@@ -99,9 +98,13 @@
parent.querySelectorAll('button').forEach(function(b) {
b.classList.remove('text-foreground')
b.classList.add('text-foreground-muted')
+ b.classList.remove('border-accent')
+ b.classList.add('border-transparent')
})
btn.classList.remove('text-foreground-muted')
btn.classList.add('text-foreground')
+ btn.classList.remove('border-transparent')
+ btn.classList.add('border-accent')
// Show/hide items
document.querySelectorAll('.watchlist-item').forEach(function(item) {