diff options
-rw-r--r-- | src/content/dependencies/generateAlbumSecondaryNav.js | 2 | ||||
-rw-r--r-- | tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNav.js b/src/content/dependencies/generateAlbumSecondaryNav.js index d2dd7db7..e574455c 100644 --- a/src/content/dependencies/generateAlbumSecondaryNav.js +++ b/src/content/dependencies/generateAlbumSecondaryNav.js @@ -120,7 +120,7 @@ export default { return ( html.tag('span', - colorStyle, + colorStyle.slot('context', 'primary-only'), [ language.$('albumSidebar.groupBox.title', { diff --git a/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs b/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs index 29d06283..ce5ba311 100644 --- a/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateAlbumSecondaryNav.js.test.cjs @@ -7,11 +7,11 @@ 'use strict' exports[`test/snapshot/generateAlbumSecondaryNav.js > TAP > generateAlbumSecondaryNav (snapshot) > basic behavior, mode: album 1`] = ` <nav id="secondary-nav" class="nav-links-groups"> - <span style="--primary-color: #abcdef; --dark-color: #21272e; --dim-color: #818181; --dim-ghost-color: #818181cc; --bg-color: #161616cc; --bg-black-color: #06090bcc; --shadow-color: #0d0d0dcc"> + <span style="--primary-color: #abcdef"> <a href="group/vcg/">VCG</a> (<a href="album/first/" title="First">Previous</a>, <a href="album/last/" title="Last">Next</a>) </span> - <span style="--primary-color: #123456; --dark-color: #0e2842; --dim-color: #000000; --dim-ghost-color: #000000cc; --bg-color: #161616cc; --bg-black-color: #000913cc; --shadow-color: #0d0d0dcc"> + <span style="--primary-color: #123456"> <a href="group/bepis/">Bepis</a> (<a href="album/second/" title="Second">Next</a>) </span> |