- Scroll To Top for Albums and Artists ( closes #123 )
- Opt-in for Prefers Reduced Motion ( closes #124 )
- Thumbnails for local playlists
- Better SW caching
This commit is contained in:
Shiny Nematoda 2023-05-20 15:37:16 +00:00
parent e905bb0d9a
commit 1e59c18acd
11 changed files with 83 additions and 24 deletions

View file

@ -107,6 +107,9 @@ onBeforeMount(() => {
if (store.theme) document.body.setAttribute('data-theme', store.theme);
if (store.compact == 'true') document.body.setAttribute('data-compact', '');
/* Prefers Reduced Motion */
if (store.prm == 'true') document.body.classList.add('prm');
/* Set the default locale if set */
if (store.locale) setupLocale(store.locale);