mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Changes:
- 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:
parent
e905bb0d9a
commit
1e59c18acd
11 changed files with 83 additions and 24 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue